]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Call _dl_open_check after relocation [BZ #24259]
[thirdparty/glibc.git] / ChangeLog
CommitLineData
d0093c5c
L
12019-07-01 H.J. Lu <hongjiu.lu@intel.com>
2
3 [BZ #24259]
4 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
5 relocation.
6 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
7 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
8 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
9 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
10 and tst-cet-legacy-mod-6c.
11 (CFLAGS-tst-cet-legacy-5a.c): New.
12 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
13 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
14 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
15 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
16 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
17 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
18 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
19 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
20 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
21 ($(objpfx)tst-cet-legacy-5a): Likewise.
22 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
23 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
24 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
25 ($(objpfx)tst-cet-legacy-5b): Likewise.
26 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
27 (tst-cet-legacy-5b-ENV): Likewise.
28 ($(objpfx)tst-cet-legacy-6a): Likewise.
29 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
30 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
31 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
32 ($(objpfx)tst-cet-legacy-6b): Likewise.
33 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
34 (tst-cet-legacy-6b-ENV): Likewise.
35 * sysdeps/x86/tst-cet-legacy-5.c: New file.
36 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
37 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
38 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
39 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
40 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
41 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
42 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
43 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
44 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
45 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
46 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
47 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
48 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
49
3db85a98
PC
502019-06-30 Paul A. Clarke <pc@us.ibm.com>
51
52 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
53 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
54 (__fegetround_ISA300) New.
55 (__fegetround_ISA2) New.
56 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
57 (_FPU_MFFS): Move implementation...
58 (_FPU_GETCW): Here.
59 (_FPU_MFFSL): Move implementation....
60 (_FPU_GET_RC_ISA300): Here. New.
61 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
62 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
63 (fegetenv_status): New.
64 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
65 instead of fegetenv_register().
66 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
67
d0645912
WD
682019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
69
70 * benchtests/bench-math-inlines.c: Increase iterations.
71 * benchtests/bench-memcmp.c: Likewise.
72 * benchtests/bench-rawmemchr.c: Likewise.
73 * benchtests/bench-strcmp.c: Likewise.
74 * benchtests/bench-strcpy_chk.c: Likewise.
75 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
76 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
77 (INNER_LOOP_ITERS_SMALL): Likewise.
78 * benchtests/bench-strncat.c: Increase iterations.
79 * benchtests/bench-strncmp.c: Increase iterations.
80 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
81 * benchtests/bench-strrchr.c: Increase iterations.
82 * benchtests/bench-strstr.c: Keep iterations unchanged.
83 * benchtests/bench-strtod.c: Increase iterations.
84
afe23eb0
AY
852019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
86
87 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
88 with INNER_LOOP_ITERS_LARGE.
89 * benchtests/bench-memchr.c: Likewise.
90 * benchtests/bench-rawmemchr.c: Likewise.
91 * benchtests/bench-strcat.c: Likewise.
92 * benchtests/bench-strchr.c: Likewise.
93 * benchtests/bench-string.h: Likewise.
94 * benchtests/bench-strlen.c: Likewise.
95 * benchtests/bench-strncpy.c: Likewise.
96 * benchtests/bench-strnlen.c: Likewise.
97
507f55c0
FW
982019-06-28 Florian Weimer <fweimer@redhat.com>
99
100 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
101 Use mmap instead of malloc. malloc with M_PERTURB writes to the
102 entire allocated memory range.
103
589787f8
TK
1042019-06-28 Tobias Klauser <tklauser@distanz.ch>
105
106 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
107 (prepare_version_base): New helper inline function.
108 (prepare_version): New macro replacing PREPARE_VERSION.
109 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
110
f0b2132b
FW
1112019-06-28 Florian Weimer <fweimer@redhat.com>
112
113 [BZ #24741]
114 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
115 mismatch in a versioned symbol reference.
116 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
117 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
118 tst-sonamemove-dlopen.
119 (module-names): Add tst-sonamemove-linkmod1,
120 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
121 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
122 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
123 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
124 (tst-sonamemove-runmod1.so): Link against
125 tst-sonamemove-runmod2.so.
126 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
127 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
128 tst-sonamemove-runmod2.so.
129 (tst-sonamemove-dlopen): Link with -ldl.
130 (tst-sonamemove-dlopen.out): Likewise.
131 * elf/tst-sonamemove-link.c: New file.
132 * elf/tst-sonamemove-dlopen.c: Likewise.
133 * elf/tst-sonamemove-linkmod1.c: Likewise.
134 * elf/tst-sonamemove-linkmod1.map: Likewise.
135 * elf/tst-sonamemove-runmod1.c: Likewise.
136 * elf/tst-sonamemove-runmod1.map: Likewise.
137 * elf/tst-sonamemove-runmod2.c: Likewise.
138 * elf/tst-sonamemove-runmod2.map: Likewise.
139
17432d71
FW
1402019-06-28 Florian Weimer <fweimer@redhat.com>
141
142 * support/xdlfcn.h (xdlvsym): Declare function.
143 * support/xdlfcn.c (xdlvsym): Define funciton.
144
5a659ccc
FW
1452019-06-28 Florian Weimer <fweimer@redhat.com>
146
147 [BZ #24744]
148 io: Remove the copy_file_range emulation.
149 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
150 not define and call copy_file_range_compat.
151 * io/Makefile (tests-static, tests-internal): Do not add
152 tst-copy_file_range-compat.
153 * io/copy_file_range-compat.c: Remove file.
154 * io/copy_file_range.c (copy_file_range): Define as stub.
155 * io/tst-copy_file_range-compat.c: Remove file.
156 * io/tst-copy_file_range.c (xdevfile): Remove variable.
157 (typical_sizes): Update comment. Remove 16K sizes.
158 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
159 Remove variables.
160 (find_maximum_offset, pipe_as_source, pipe_as_destination)
161 (delayed_write_failure_beginning, delayed_write_failure_end)
162 (cross_device_failure, enospc_failure_1, enospc_failure)
163 (oappend_failure): Remove functions.
164 (tests): Adjust test case list.
165 (do_test): Remove file system search code. Check for ENOSYS from
166 copy_file_range. Do not free xdevfile.
167 * manual/llio.texi (Copying File Data): Document ENOSYS error from
168 copy_file_range. Do not document the EXDEV error, which future
169 kernels may not report. Update the wording to reflect that
170 further errors are possible.
171 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
172 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
173 not undefine.
174 * sysdeps/unix/sysv/linux/arm/kernel-features.h
175 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
176 Likewise.
177 * sysdeps/unix/sysv/linux/kernel-features.h
178 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
179 Remove definition.
180 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
181 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
182 not undefine.
183 * sysdeps/unix/sysv/linux/sh/kernel-features.h
184 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
185 Likewise.
186
1626f499
GG
1872019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
188
189 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
190 used as a mask for the mode argument of __vfprintf_internal.
191 * stdio-common/printf-parse.h (printf_arg): New union member:
192 pa_float128.
193 * stdio-common/vfprintf-internal.c
194 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
195 (PARSE_FLOAT_VA_ARG): Likewise.
196 (SETUP_FLOAT128_INFO): Likewise.
197 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
198 SETUP_FLOAT128_INFO.
199 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
200 floating-point value to the new union member, pa_float128.
201 (printf_positional): Zero-initialize args_value[cnt] with memset.
202
a620bd79
FW
2032019-06-27 Florian Weimer <fweimer@redhat.com>
204
205 [BZ #24740]
206 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
207 buffer size if necessary.
208 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
209 Likewise.
210 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
211 New function.
212 (large_buffer_checks): Likewise.
213 (do_test): Call large_buffer_checks.
214
d039da1c
L
2152019-06-26 H.J. Lu <hongjiu.lu@intel.com>
216
217 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
218 * sysdeps/x86/dl-lookupcfg.h: Here.
219 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
220
9d5d214e
AZ
2212019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
222
aa32f5bf
AZ
223 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
224 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
225 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
226 file.
227 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
228 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
229 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
230 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
231 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
232
9d5d214e
AZ
233 * sysdeps/powerpc/powerpc32/fpu/Makefile
234 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
235 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
236 and fctidz optimization.
237 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
238 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
240 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
241 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
242 CFLAGS-s_lround-power5+.c): New rule.
243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
244 New file.
245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
246 Likewise.
247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
248 Likewise.
249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
250 Likewise.
251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
252 Likewise.
253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
254 Remove file.
255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
256 Likewise.
257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
258 Likewise.
259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
260 Likewise.
261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
262 Likewise.
263 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
264 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
265 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
266 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
267 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
268 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
269 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
270
a63b96fb
VC
2712019-06-26 Vincent Chen <vincentc@andestech.com>
272
273 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
274 specific system calls, fp_udfiex_crtl and udftrap.
275
c78b3f55
SL
2762019-06-26 Stefan Liebler <stli@linux.ibm.com>
277
278 * nptl/tst-eintr1.c (tf1): Add return statement.
279 (do_test): Remove unused th variable.
280
9e6a7d9c
SL
2812019-06-26 Stefan Liebler <stli@linux.ibm.com>
282
283 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
284 Return error if get_character fails.
285
c89e669a
SL
2862019-06-25 Stefan Liebler <stli@linux.ibm.com>
287
288 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
289
a55541fd
RL
2902019-06-24 Rafal Luzynski <digitalfreak@lingonborough.com>
291
292 [BZ #24652]
293 * localedata/locales/szl_PL (day): Use the correct Unicode
294 sequences instead of non-ASCII characters.
295
2bd81b60
GK
2962019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
297
298 [BZ #24652]
299 * localedata/locales/szl_PL (abday): Spelling corrections.
300 (day): Likewise.
301 (abmon): Likewise.
302 (mon): Rename to...
303 (alt_mon): This, then apply spelling corrections.
304 (mon): New entry, month names in the genitive case.
305
fefa2179
RL
3062019-06-21 Rafal Luzynski <digitalfreak@lingonborough.com>
307
308 [BZ #23831]
309 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
310 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
311 (thousands_sep): Likewise.
312 (grouping): Set to 3;3.
313
85c748f9
TK
3142019-06-21 Tobias Klauser <tklauser@distanz.ch>
315
316 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
317 PREPARE_VERSION_KNOWN.
318 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
319 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
320 define.
321 (VDSO_HASH_LINUX_2_6_39): Likewise.
322 (VDSO_NAME_LINUX_4_9): Likewise.
323 (VDSO_HASH_LINUX_4_9): Likewise.
324 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
325 * sysdeps/unix/sysv/linux/powerpc/init-first.c
326 (_libc_vdso_platform_setup): Likewise.
327 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
328 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
329 Likewise.
330 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
331 Likewise.
332
db13e32c
MC
3332019-06-20 Mike Crowe <mac@mcrowe.com>
334
ce5b73a7
MC
335 * nptl/eintr.c: Use libsupport.
336 * nptl/tst-eintr1.c: Likewise.
337 * nptl/tst-eintr2.c: Likewise.
338 * nptl/tst-eintr3.c: Likewise.
339 * nptl/tst-eintr4.c: Likewise.
340 * nptl/tst-eintr5.c: Likewise.
341 * nptl/tst-mutex-errorcheck.c: Likewise.
342 * nptl/tst-mutex5.c: Likewise.
343
8bf225d5
MC
344 * support/test-driver.h: Add verbose_printf macro.
345
db13e32c
MC
346 * support/xtime.h: Add xclock_now() helper function.
347
21cc130b
DL
3482019-06-20 Dmitry V. Levin <ldv@altlinux.org>
349 Florian Weimer <fweimer@redhat.com>
350
351 [BZ #24228]
352 * libio/genops.c (_IO_unbuffer_all)
353 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
354 buffers and access _IO_FILE_complete members of legacy libio streams.
355 * libio/tst-bz24228.c: New file.
356 * libio/tst-bz24228.map: Likewise.
357 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
358 [build-shared] (generated): Add tst-bz24228.mtrace and
359 tst-bz24228.check.
360 [run-built-tests && build-shared] (tests-special): Add
361 $(objpfx)tst-bz24228-mem.out.
362 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
363 ($(objpfx)tst-bz24228-mem.out): New rule.
364
49bc41b6
PC
3652019-06-19 Paul A. Clarke <pc@us.ibm.com>
366
367 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
368 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
369 (__FPU_MFFSL): Likewise.
370 (_FPU_SETCW): Likewise.
371
335c1007
SS
3722019-06-19 Stan Shebs <stanshebs@google.com>
373 Raoni Fassina Firmino <raoni@linux.ibm.com>
374
375 [BZ #24640]
376 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
377 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
378 static-linking version.
379 * sysdeps/unix/sysv/linux/powerpc/Makefile
380 (tests-static): Add test-gettimebasefreq-static.
381 (tests): Likewise.
382 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
383 New file.
384
f59a54ab
RL
3852019-06-19 Rafal Luzynski <digitalfreak@lingonborough.com>
386
387 [BZ #24614]
388 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
389 between the currency symbol and the minus sign).
390 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
391
f0c5a803
SL
3922019-06-19 Stefan Liebler <stli@linux.ibm.com>
393
394 [BZ #24556]
395 * string/test-strcasestr.c (check_result): Add NULL check.
396 * nss/tst-field.c (check_rewrite): Likewise.
397 * benchtests/bench-strstr.c (do_one_test): Likewise.
398 * string/test-strstr.c (check_result): Likewise.
399 * argp/argp-test.c (popt): Increase size of buf to 12.
400 * benchtests/bench-malloc-simple.c (bench):
401 Do not initialize tests array out of bounds.
402
fabf5e49
FW
4032019-06-19 Florian Weimer <fweimer@redhat.com>
404
405 [BZ #24166]
406 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
407 dls_serpath field.
408
2c75b545
FW
4092019-06-18 Florian Weimer <fweimer@redhat.com>
410
411 [BZ #24323]
412 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
413 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
414 fail when called from dlopen.
415 * elf/Makefile [have-fpie && build-shared] (tests): Add
416 tst-dlopen-pie.
417 (tst-dlopen-pie): Link with -ldl.
418 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
419 * elf/tst-dlopen-pie.c (do_test): New file.
420
02d8b5ab
RL
4212019-06-17 Rafal Luzynski <digitalfreak@lingonborough.com>
422
423 [BZ #24614]
424 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
425 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
426 between the currency symbol and the minus sign).
427 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
428 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
429
78049de0
AZ
4302019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
431
112a0ae1
AZ
432 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
433 sysdep-rtld-routines): Remove rules.
434 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
435 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
436 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
437 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
438 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
439 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
440 vDSO path for SHARED.
441 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
442 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
443 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
444 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
445 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
446 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
447
dee07df1
AZ
448 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
449 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
450 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
451 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
452 CFLAGS-s_llround-power5+.c): New rule.
453 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
454 New file.
455 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
456 Likewise.
457 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
458 Likewise.
459 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
460 Likewise.
461 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
462 Likewise.
463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
464 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
466 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
468 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
469 * sysdeps/powerpc/powerpc64/fpu/Makefile
470 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
471 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
472 (libm-sysdep_routines): Remove s_llround-* objects.
473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
474 file.
475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
476 Likewise.
477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
478 Likewise.
479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
480 Likewise.
481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
482 Likewise.
483 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
484 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
485 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
486 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
487 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
488 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
489 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
490 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
491 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
492 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
493 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
494 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
495 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
496 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
497
2166283f
AZ
498 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
499 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
500 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
501 * sysdeps/powerpc/powerpc32/fpu/Makefile
502 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
503 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
504 optimization.
505 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
506 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
507 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
509 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
510 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
511 CFLAGS-s_lrint-ppc32.c): New rule.
512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
513 Remove file.
514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
515 Likewise.
516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
517 Likewise.
518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
519 Likewise.
520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
521 Likewise.
522 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
523 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
524 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
525 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
527 New file.
528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
529 Likewise.
530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
531 Likewise.
532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
533 Likewise.
534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
535 Likewise.
536
78049de0
AZ
537 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
538 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
539 s_llrint-ppc64.
540 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
541 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
542 file.
543 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
544 Likewise.
545 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
546 Likewise.
547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
548 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
550 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
552 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
553 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
554 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
555 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
556 (libm-sysdep_routines): Remove s_llrint-* objects.
557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
558 file.
559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
560 Likewise.
561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
562 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
563 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
564 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
565 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
566 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
567 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
568 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
569 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
570 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
571
48c3c123
FW
5722019-06-14 Florian Weimer <fweimer@redhat.com>
573
574 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
575 argument to __glibc_has_include to inhibit macro expansion.
576
8d141877
FW
5772019-06-14 Florian Weimer <fweimer@redhat.com>
578
579 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
580 function-like macro, so that __has_include can inhibit expansion
581 of its argument.
582
a26e2e9f
JM
5832019-06-13 Joseph Myers <joseph@codesourcery.com>
584
cf274686
JM
585 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
586 New macro.
587
a26e2e9f
JM
588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
589 Allow memset in libc.so.
590
82bc69c0
SN
5912019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
592
593 * sysdeps/aarch64/dl-dtprocnum.h: New file.
594 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
595 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
596 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
597 symbols at load time.
598 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
599
55f82d32
SN
6002019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
601
602 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
603 (DT_AARCH64_VARIANT_PCS): Define.
604
21bd039b
AZ
6052019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
606
11926960
AZ
607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
608 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
609 objects.
610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
611 Remove file.
612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
613 Likewise.
614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
616 Likewise.
617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
618 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
619 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
620 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
621 Remove s_finite* objects.
622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
628 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
629 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
630 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
631 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
632
a7218676
AZ
633 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
634 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
635
6427a6ac
AZ
636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
637 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
638 objects.
639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
640 Remove file.
641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
642 Likewise.
643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
645 Likewise.
646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
647 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
648 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
649 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
650 Remove s_isinf* and s_isinf* objects.
651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
657 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
658 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
659 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
660 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
661
a8c590f7
AZ
662 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
663 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
664
2666f963
AZ
665 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
666 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
667 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
669 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
670 s_isnanf-* objects.
671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
672 Remove file
673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
674 Likewise.
675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
676 Likewise.
677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
678 Likewise.
679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
681 Likewise.
682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
683 Likewise.
684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
685 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
686 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
687 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
688 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
689 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
690 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
691 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
692 Remove s_isnan-* and s_isnanf-* objects.
693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
696 Likewise.
697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
702 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
703 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
704 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
705 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
706 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
707 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
708 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
709 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
710
197dbda1
AZ
711 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
712 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
713
2731a326
AZ
714 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
715 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
716 CFLAGS-bench-isfinite.c): New rule.
717 * benchtests/isnan-input: New file.
718 * benchtests/isinf-input: New file.
719 * benchtests/isfinite-input: New file.
720
e41d66e4
AZ
721 * sysdeps/powerpc/fpu/s_copysign.c: New file.
722 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
723 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
724 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
726 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
727 s_copysign-ppc32.
728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
729 Remove file.
730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
731 Likewise.
732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
733 Likewise.
734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
735 Likewise.
736 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
737 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
738 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
739 Remove s_copysign-power6 s_copysign-ppc64.
740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
741 Remove file.
742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
743 Likewise.
744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
746 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
747 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
748 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
749 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
750
21bd039b
AZ
751 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
752 round_to_integer_float, round_mode): Add RINT handling.
753 (reset_fenv_mode): New symbol.
754 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
755 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
756 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
757 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
758 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
759 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
760
cfa61144
FW
7612019-06-12 Florian Weimer <fweimer@redhat.com>
762
763 [BZ #24632]
764 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
765 * libio/freopen.c (freopen): Use it.
766
744e8296
FW
7672019-06-12 Florian Weimer <fweimer@redhat.com>
768
769 Linux: Deprecate sysctl.
770 * include/sysctl.h (__sysctl): Remove declaration.
771 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
772 check.
773 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
774 (sysctl): Add deprecation attribute.
775 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
776 directly, to avoid the deprecation warning. Do not include
777 <string.h>.
778 (__sysctl): Remove hidden alias.
779
5dad6ffb
FW
7802019-06-12 Florian Weimer <fweimer@redhat.com>
781
782 Linux: Use kernel headers for statx definitions if available.
783 * include/bits/statx-generic.h: New file.
784 * include/bits/types/struct_statx.h: Likewise.
785 * include/bits/types/struct_statx_timestamp.h: Likewise.
786 * io/Makefile (headers): Add bits/statx-generic.h.
787 * io/bits/statx-generic.h: New file. Partly copied from
788 io/bits/statx.h.
789 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
790 define original_statx.
791 * io/bits/types/struct_statx.h: Likewise.
792 * io/bits/types/struct_statx_timestamp.h: Likewise.
793 (statx_generic): Use original_statx.
794 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
795 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
796
4e75c2a4
FW
7972019-06-12 Florian Weimer <fweimer@redhat.com>
798
799 * misc/sys/cdefs.h (__glibc_has_include): Define.
800
680942b0
WD
8012019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
802
803 * string/memmem.c (__memmem): Rewrite to improve performance.
804
5e0a7ecb
WD
8052019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
806
807 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
808 warning.
809 (two_way_long_needle): Block inlining.
810 * string/strstr.c (strstr2): Add new function.
811 (strstr3): Likewise.
812 (STRSTR): Completely rewrite strstr to improve performance.
813
80b2bfb5
WD
8142019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
815
816 * benchtests/bench-strstr.c (test_hard_needle): New function.
817
e6e24243
JM
8182019-06-10 Joseph Myers <joseph@codesourcery.com>
819
820 * malloc/tst-calloc.c: Include <libc-diag.h>.
821 (null_test): Ignore -Wunused-result around calls to calloc.
822 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
823 (do_test): Ignore -Wunused-result around call to malloc.
824
51ea67d5
FW
8252019-06-07 Florian Weimer <fweimer@redhat.com>
826
827 Linux: Add getdents64 system call.
828 * include/dirnent.h (getdents): Add comment and change buffer
829 argument type to void *.
830 (getdents64): Likewise. Add hidden prototype.
831 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
832 getdents64.
833 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
834 Add tst-getdents64.
835 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
836 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
837 argument type to void *.
838 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
839 Add hidden definition and getdents64 alias.
840 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
841 Likewise.
842 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
843 * manual/filesys.texi (Accessing Directories): Add Low-level
844 Directory Access node reference.
845 (Opening a Directory): Cross-reference it.
846 (Low-level Directory Access): New node.
847 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
848 getdents64.
849 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
850 Likewise.
851 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
852 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
853 Likewise.
854 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
855 Likewise.
856 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
857 Likewise.
858 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
859 Likewise.
860 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
861 Likewise.
862 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
863 Likewise.
864 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
865 Likewise.
866 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
867 (GLIBC_2.30): Likewise.
868 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
869 (GLIBC_2.30): Likewise.
870 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
871 (GLIBC_2.30): Likewise.
872 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
873 (GLIBC_2.30): Likewise.
874 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
875 Likewise.
876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
877 (GLIBC_2.30): Likewise.
878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
879 (GLIBC_2.30): Likewise.
880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
881 (GLIBC_2.30): Likewise.
882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
883 (GLIBC_2.30): Likewise.
884 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
885 Likewise.
886 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
887 Likewise.
888 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
889 Likewise.
890 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
891 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
892 Likewise.
893 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
894 Likewise.
895 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
896 Likewise.
897 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
898 Likewise.
899
de751ebc
PC
9002019-06-06 Paul A. Clarke <pc@us.ibm.com>
901
902 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
903 (__FPU_MFFS): New.
904 (__FPU_MFFSL): New.
905 (_FPU_GET_RC): New.
906 (_FPU_GETCW): Use __FPU_MFFS().
907 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
908
28dd3939
FW
9092019-06-06 Florian Weimer <fweimer@redhat.com>
910
911 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
912 internal GCC preprocessor identifier __has_include__.
913
0158473d
PC
9142019-06-05 Paul A. Clarke <pc@us.ibm.com>
915
916 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
917 with call to equivalent function.
918
e863dbf6
FW
9192019-06-04 Florian Weimer <fweimer@redhat.com>
920
921 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
922 (do_release_shlib): Adjust for __twalk_r.
923 (__gconv_release_shlib): Call __twalk_r.
924
4802be92
AS
9252019-06-04 Andreas Schwab <schwab@suse.de>
926
927 [BZ #18830]
928 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
929 no irreversible characters occurred.
930 * iconv/gconv_simple.c (internal_ucs4_loop)
931 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
932 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
933 (ucs4_internal_loop_single, internal_ucs4le_loop)
934 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
935 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
936 (ucs4le_internal_loop_single): Add const to outend.
937 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
938 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
939 * iconv/Makefile (tests): Add tst-iconv7.
940 * iconv/tst-iconv7.c: New file.
941
dc91a19e
JM
9422019-06-03 Joseph Myers <joseph@codesourcery.com>
943
944 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
945
6a1a9a49 9462019-06-01 Florian Weimer <fweimer@redhat.com>
6b33f373
FW
947
948 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
949 * sysdeps/unix/sysv/linux/arm/Makefile
950 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
951 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
952 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
953 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
954 compatibility symbols.
955
0bb8f8c7
FW
9562019-05-31 Florian Weimer <fweimer@redhat.com>
957
958 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
959 system calls for the arm architecture: breakpoint, get_tls,
960 set_tls, usr26, usr32.
961
9250e661
GG
9622019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
963
964 * sysdeps/powerpc/Makefile
965 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
966 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
967 Declare '.machine power7' to get support for ldbrx.
968 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
969 directive based on the directory of the file.
970 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
971 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
972 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
973 '.machine' directive.
974 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
975 (VADDUQM_V7_V8): Remove.
976 (__STRCASECMP): Replace macros with actual instructions.
977 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
978 '.machine' directive.
979 (VCLZD_V8_v7): Remove.
980 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
981
fbd6c928
AZ
9822019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
983
984 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
985 Remove file.
986 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
987
e47308c9
AZ
9882019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
989
990 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
991 NEARBYINT handling.
992 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
993 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
994 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
995 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
996 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
997 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
998
157cda1f 9992019-05-28 mansayk <6688000@gmail.com>
1000
1001 [BZ #24370]
1002 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
1003
182a3746 10042019-05-28 mansayk <6688000@gmail.com>
1005
1006 [BZ #24369]
1007 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
1008 (abmon): Likewise, but remove the trailing dots.
1009
c6df1ce3
JM
10102019-05-28 Joseph Myers <joseph@codesourcery.com>
1011
1012 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
1013
85188d82
FW
10142019-05-27 Florian Weimer <fweimer@redhat.com>
1015
1016 * nptl/nptl-init.c: Add comment.
1017
5c23c821
FW
10182019-05-24 Florian Weimer <fweimer@redhat.com>
1019
1020 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
1021 struct in_addr/struct in6_addr alignment.
1022
bee1f2c4
JM
10232019-05-23 Joseph Myers <joseph@codesourcery.com>
1024
1025 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1026 (F_SEAL_FUTURE_WRITE): New macro.
1027
481c30cb
AH
10282019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
1029
1030 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
1031 * elf/tst-ldconfig-bad-aux-cache.c: New file.
1032 * elf/tst-ldconfig_aux-cache.root: New directory.
1033 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
1034 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
1035 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
1036
cb755eed
ZW
10372019-05-22 Zack Weinberg <zackw@panix.com>
1038
1039 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
1040 host type.
1041 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
1042 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
1043
1044 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
1045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
1046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
1047 Delete.
1048
1049 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
1050 Issue an #error if used with a compiler in SPE-float mode.
1051 * sysdeps/powerpc/powerpc32/__longjmp_common.S
1052 * sysdeps/powerpc/powerpc32/setjmp_common.S
1053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
1055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
1056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
1057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1059 Remove code to preserve SPE register state.
1060
1061 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1062 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1063 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
1064 Remove __SPE__ ifndefs.
1065
46ae0732
WD
10662019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
1067
1068 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
1069 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
1070 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
1071 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
1072 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
1073 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
1074 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
1075 (INNER_LOOP_ITERS_MEDIUM): New define.
1076 (INNER_LOOP_ITERS_SMALL): New define.
1077 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
1078 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
1079 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
1080 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
1081 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
1082
004e52fe
AZ
10832019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
1084
1085 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
1086 New define.
1087 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
1088 (SEMTIMEDOP_IPC_ARGS): Likewise.
1089
c9c15ac3
FW
10902019-05-21 Florian Weimer <fweimer@redhat.com>
1091
1092 [BZ #24584]
1093 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
1094 before updating __counter field and release it afterwards. Add
1095 overflow check.
1096 * iconv/gconv.h (struct __gconv_step): Mention synchronization
1097 requirement for __counter member.
1098
7e740ab2
FW
10992019-05-21 Florian Weimer <fweimer@redhat.com>
1100
1101 [BZ #24583]
1102 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
1103 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
1104 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
1105 instead of __gconv_release_step.
1106 * libio/Makefile (tests): Add tst-wfile-gconv.
1107 (tests-container): Add tst-wfile-ascii.
1108 (tst-wfile-gconv-ENV): Enable mtrace.
1109 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
1110 (tests-special): Add tst-wfile-gconv-mem.out.
1111 (tst-wfile-gconv.out): Depend on locales.
1112 (tst-wfile-gconv-mem.out): Add mtrace rule.
1113 * libio/tst-wfile-ascii.c: New file.
1114 * libio/tst-wfile-gconv.c: Likewise.
1115
09e1b0e3
FW
11162019-05-20 Florian Weimer <fweimer@redhat.com>
1117
1118 [BZ #24588]
1119 libio: Remove codecvt vtable.
1120 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
1121 __libio_codecvt.
1122 * libio/iofgetpos.c (_IO_new_fgetpos): Call
1123 __libio_codecvt_encoding.
1124 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
1125 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
1126 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
1127 * libio/iofwide.c (__libio_codecvt): Remove variable.
1128 (_IO_fwide): Do not copy __libio_codecvt.
1129 (__libio_codecvt_out): Rename from do_out and export.
1130 (do_unshift): Remove function.
1131 (__libio_codecvt_in): Rename from do_in and export.
1132 (__libio_codecvt_encoding): Rename from do_encoding and export.
1133 (do_always_noconv): Remove function.
1134 (__libio_codecvt_length): Rename from do_length and export.
1135 (do_max_length): Remove function.
1136 * libio/libio.h (enum __codecvt_result): Remove definition; moved
1137 to libioP.h.
1138 (struct _IO_codecvt): Remove fields __codecvt_destr,
1139 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
1140 __codecvt_do_encoding, __codecvt_do_always_noconv,
1141 __codecvt_do_length, __codecvt_do_max_length.
1142 * libio/libioP.h (enum __codecvt_result): Define; moved from
1143 libio.h.
1144 (__libio_codecvt_out, __libio_codecvt_in)
1145 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
1146 functions.
1147 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
1148 (_IO_wfile_underflow): Call __libio_codecvt_in.
1149 (_IO_wfile_underflow): Likewise.
1150 (_IO_wfile_underflow_mmap): Likewise.
1151 (_IO_wfile_sync): Call __libio_codecvt_encoding,
1152 __libio_codecvt_length.
1153 (adjust_wide_data): Call __libio_codecvt_encoding,
1154 __libio_codecvt_in.
1155 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
1156 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
1157 __libio_codecvt_length.
1158
75c51570
FW
11592019-05-20 Florian Weimer <fweimer@redhat.com>
1160
1161 * support/support.h (support_sbindir_prefix): Declare.
1162 (support_install_rootsbindir): Update comment.
1163 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
1164 * support/support_paths.c (support_sbindir_prefix): Define.
1165
ff6bec7d
MC
11662019-05-20 Mike Crowe <mac@mcrowe.com>
1167
b62bb3bc
MC
1168 * support/timespec.c: Add backslash to correct newline in failure
1169 message.
1170
ff6bec7d
MC
1171 * support/timespec.h: Correct confusing comment.
1172
dfba907f
AZ
11732019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1174
236c18e5
AZ
1175 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
1176 define.
1177 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
1178 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
1179 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
1180 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
1181
dfba907f
AZ
1182 [BZ #24570]
1183 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
1184 usage.
1185
13886008
JM
11862019-05-20 Joseph Myers <joseph@codesourcery.com>
1187
1188 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
1189 (NT_ARM_PACG_KEYS): Likewise.
1190
1f50f2ad
WD
11912019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
1192
1193 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
1194 (tcache_put): Remove redundant assert.
1195 (tcache_get): Remove redundant asserts.
1196 (__libc_malloc): Check tcache count is not zero.
1197 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
1198
fef7c63c
FW
11992019-05-17 Florian Weimer <fweimer@redhat.com>
1200
1201 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
1202
5f161b23
JM
12032019-05-16 Joseph Myers <joseph@codesourcery.com>
1204
1205 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1206 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
1207 0x050100].
1208 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
1209 Likewise.
1210 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1211 (__ASSUME_STATX): Likewise.
1212
ec255a97
FW
12132019-05-16 Florian Weimer <fweimer@redhat.com>
1214
1215 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
1216 flags argument.
1217 (LINE_PARSER): Do not map IPv4 addresses.
1218 (internal_nis_gethostent_r): Remove flags argument. Adjust call
1219 to parse_line.
1220 (_nss_nis_gethostent_r): Always pass AF_INET to
1221 internal_nis_gethostent_r.
1222 (internal_gethostbyname2_r): Remove flags argument. Adjust call
1223 to parse_line.
1224 (_nss_nis_gethostbyname2_r): Adjust call to
1225 internal_nis_gethostent_r.
1226 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
1227 call to internal_nis_gethostent_r.
1228 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
1229 from parse_line.
1230 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
1231 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
1232 Remove flags argument. Do not map IPv4 addresses.
1233 (internal_nisplus_gethostent_r): Adjust call to
1234 _nss_nisplus_parse_hostent.
1235 (internal_gethostbyname2_r): Remove flags argument. Adjust call
1236 to _nss_nisplus_parse_hostent.
1237 (_nss_nisplus_gethostbyname2_r): Adjust call to
1238 internal_gethostbyname2_r.
1239 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
1240 Adjust call to internal_gethostbyname2_r.
1241 (_nss_nisplus_gethostbyaddr_r): Adjust call to
1242 _nss_nisplus_parse_hostent.
1243 (_nss_nisplus_gethostbyname4_r): Adjust call to
1244 internal_gethostbyname2_r.
1245
9c02d078
FW
12462019-05-16 Florian Weimer <fweimer@redhat.com>
1247
1248 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
1249 Remove flags.
1250 (LINE_PARSER): Remove address mapping.
1251 (EXTRA_ARGS_VALUE): Remove flags argument.
1252 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
1253 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
1254 gethostbyname3_multi.
1255 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
1256 _nss_files_gethostbyname3_r.
1257 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
1258
85b0e1e8
FW
12592019-05-16 Florian Weimer <fweimer@redhat.com>
1260
1261 * support/support_test_compare_blob.c (report_blob): Report
1262 incorrect NULL blobs.
1263
11b451c8
MW
12642019-05-15 Mark Wielaard <mark@klomp.org>
1265
1266 [BZ# 24476]
1267 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
1268 __libc_once_get (once) and static_buf == NULL.
1269 (__dlerror): Check we have a valid key, set result to static_buf
1270 otherwise.
1271
32ff3975
AS
12722019-05-15 Andreas Schwab <schwab@suse.de>
1273
1274 [BZ #20568]
1275 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
1276 __codecvt_do_length.
1277 * libio/Makefile (tests): Add tst-wfile-sync.
1278 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
1279 * libio/tst-wfile-sync.c: New file.
1280 * libio/tst-wfile-sync.input: New file.
1281
a9368c34
FW
12822019-05-15 Florian Weimer <fweimer@redhat.com>
1283
1284 nss: Turn __nss_database_lookup into a compatibility symbol.
1285 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
1286 __nss_database_lookup.
1287 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
1288 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
1289 __nss_database_lookup.
1290 (__nss_next): Move to …
1291 * nss/compat-lookup.c (nss_next): … here. Change it to fail
1292 unconditionally.
1293 (__nss_database_lookup): New function.
1294 * nss/Versions (GLIBC_2.0): Update comment.
1295 (GLIBC_PRIVATE): Export __nss_database_lookup2.
1296 * grp/initgroups.c (internal_getgrouplist): Call
1297 __nss_database_lookup2 instead of __nss_database_lookup.
1298 * nscd/aicache.c (addhstaiX): Likewise.
1299 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1300 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1301 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
1302 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
1303 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
1304 Likewise.
1305 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
1306 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
1307 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1308
d50f0918 13092019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
32ff3975 1310
d50f0918
AH
1311 * support/support.h (support_install_rootsbindir): New variable.
1312 * support/support_paths.c: Likewise.
1313 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
1314
7ac6fad9
FW
13152019-05-15 Florian Weimer <fweimer@redhat.com>
1316
1317 * iconv/gconv.h (__gconv_transliterate): Move declaration …
1318 * iconv/gconv_int.h (__gconv_transliterate): … here.
1319 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
1320 * iconv/skeleton.c: Likewise.
1321
04b261bd
FW
13222019-05-14 Florian Weimer <fweimer@redhat.com>
1323
1324 Linux: Add the tgkill function.
1325 * bits/signal_ext.h: New file.
1326 * manual/signal.texi (Signaling Another Process): Document tgkill.
1327 * signal/Makefile (headers): Add bits/signal_ext.h.
1328 * signal/signal.h: Include <bits/signal_ext.h>.
1329 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
1330 (tst-tgkill): Link with libpthread.
1331 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
1332 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
1333 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
1334 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
1335 tgkill.
1336 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1337 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1338 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
1339 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1340 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1341 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1342 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1343 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1344 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1345 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1346 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
1347 Likewise.
1348 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1349 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1350 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1352 Likewise.
1353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1354 Likewise.
1355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
1356 Likewise.
1357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
1358 Likewise.
1359 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
1360 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1361 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1362 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1363 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1364 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1365 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1366 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1367
6807f47b
CD
13682019-05-14 Carlos O'Donell <carlos@redhat.com>
1369
1370 * manual/search.texi (Tree Search Function): Adjust twalk_r
1371 documentation.
1372
fdb8a0be
AZ
13732019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1374
da2b83ef
AZ
1375 [BZ #24544]
1376 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
1377 pre-defined value.
1378
c7ac9caa
AZ
1379 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
1380 * support/support.h (support_bindir_prefix): New variable.
1381 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
1382
91f043ae
AZ
1383 * config.make.in (bindir): New variable.
1384
c50e1c26
AZ
1385 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
1386 (lll_trylock): Call __lll_trylock.
1387 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
1388 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
1389 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
1390 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1391 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
1392 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
1393 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1394 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1395 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
1396 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
1397 lowlevellock-futex.h.
1398
959aff9f
AZ
1399 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1400 initialization for LLL_LOCK_INITIALIZER different than 0.
1401 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
1402 Assume LLL_LOCK_INITIALIZER being 0.
1403 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
1404 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
1405 Likewise.
1406 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
1407 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
1408
d7e4c642
AZ
1409 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
1410 Optimize futex call and add systemtap probe.
1411
fdb8a0be
AZ
1412 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
1413 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
1414 __libc_disable_asynccancel, __librt_enable_asynccancel,
1415 __libc_disable_asynccancel, __librt_enable_asynccancel,
1416 __librt_disable_asynccancel): Move to ...
1417 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
1418 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
1419 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
1420 * sysdeps/generic/single-thread.h: New file.
1421 * sysdeps/unix/sysdep.h: Include single-thread.h.
1422 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
1423 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1424
f6efec90
MF
14252019-05-08 Mike FABIAN <mfabian@redhat.com>
1426
1427 [BZ #24535]
1428 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
1429 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
1430 Unicode 12.1.0.
1431 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
1432 * localedata/unicode-gen/PropList.txt: Likewise.
1433 * localedata/unicode-gen/UnicodeData.txt: Likewise.
1434 * localedata/charmaps/UTF-8: Regenerate.
1435 * localedata/locales/i18n_ctype: Likewise.
1436 * localedata/locales/tr_TR: Likewise.
1437 * localedata/locales/translit_circle: Likewise.
1438 * localedata/locales/translit_cjk_compat: Likewise.
1439 * localedata/locales/translit_combining: Likewise.
1440 * localedata/locales/translit_compat: Likewise.
1441 * localedata/locales/translit_font: Likewise.
1442 * localedata/locales/translit_fraction: Likewise.
1443
5ad533e8
WD
14442019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
1445
1446 [BZ #24531]
1447 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
1448 (do_set_tcache_count): Only update if count is small enough.
1449 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
1450
4aee85f9
FW
14512019-05-10 Florian Weimer <fweimer@redhat.com>
1452
1453 * nptl/sem_close.c (struct walk_closure): Define.
1454 (walker): Adjust for __twalk_r.
1455 (sem_close): Call __twalk_r.
1456
eb669ff5
AZ
14572019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1458
1459 * support/timespec.c (test_timespec_before_impl,
1460 test_timespec_equal_or_after_impl): print timespec member as intmax_t
1461 insted of long int.
1462
51983996
MC
14632019-05-09 Mike Crowe <mac@mcrowe.com>
1464
44ac6ee9
MC
1465 * nptl/tst-abstime.c: Use libsupport.
1466
495514ee
MC
1467 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
1468 small bug where only tv.tv_usec was checked which could cause an
1469 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
1470 than a second.
1471
1472 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
1473 libsupport.
1474
40d0816f
MC
1475 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
1476 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
1477
d8e0b901
MC
1478 * nptl/tst-cond11.c: Use libsupport.
1479
51983996
MC
1480 * support/timespec.h: New file. Provide timespec helper functions
1481 along with macros in the style of those in check.h.
1482 * support/timespec.c: New file. Implement check functions declared
1483 in support/timespec.h.
1484 * support/timespec-add.c: New file from gnulib containing
1485 timespec_add implementation that handles overflow.
1486 * support/timespec-sub.c: New file from gnulib containing
1487 timespec_sub implementation that handles overflow.
1488 * support/README: Mention timespec.h.
1489
18aa51ee
SN
14902019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1491
1492 [BZ #24537]
1493 * nptl/Makefile: Move tst-eintr1 to xtests.
1494
252296c6
AZ
14952019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1496
ae45cf84
AZ
1497 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
1498 TRUNC handling.
1499 (round_mode): Add definition for TRUNC.
1500 * sysdeps/powerpc/fpu/s_trunc.c: New file.
1501 * sysdeps/powerpc/fpu/s_truncf.c: New file.
1502 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
1503 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1504 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
1505 Likewise.
1506 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
1507 Likewise.
1508 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
1509 Likewise.
1510 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1511 Likewise.
1512 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
1513 file.
1514 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
1515 Likewise.
1516 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
1517 Likewise.
1518 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
1519 Likewise.
1520 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
1521 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
1522 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
1523 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
1524 s_truncf-power5+, and s_truncf-ppc64.
1525 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
1526 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
1527 file.
1528 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
1529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
1530 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
1531 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
1532 file.
1533 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
1534 Likewise.
1535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
1536 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
1537 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1538 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
1539 s_truncf-power5+, and s_truncf-ppc64.
1540 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
1541 file.
1542 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
1543 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
1544 Likewise.
1545 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
1546 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1547 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1548 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
1549 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
1550
a1cb1888
AZ
1551 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
1552 ROUND handling.
1553 (round_mode): Add definition for ROUND.
1554 (round_to_integer_float): Likewise.
1555 * sysdeps/powerpc/fpu/s_round.c: New file.
1556 * sysdeps/powerpc/fpu/s_roundf.c: New file.
1557 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
1558 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1559 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
1560 Likewise.
1561 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
1562 Likewise.
1563 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
1564 Likewise.
1565 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1566 Likewise.
1567 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
1568 file.
1569 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
1570 Likewise.
1571 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
1572 Likewise.
1573 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
1574 Likewise.
1575 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
1576 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
1577 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
1578 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
1579 s_roundf-power5+, and s_roundf-ppc64.
1580 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
1581 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
1582 file.
1583 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
1584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
1585 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
1586 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
1587 file.
1588 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
1589 Likewise.
1590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
1591 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
1592 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1593 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
1594 s_roundf-power5+, and s_roundf-ppc64.
1595 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
1596 file.
1597 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
1598 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
1599 Likewise.
1600 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
1601 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1602 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1603 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
1604 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
1605
252296c6
AZ
1606 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
1607 Add FLOOR option.
1608 (round_mode): Add definition for FLOOR.
1609 * sysdeps/powerpc/fpu/s_floor.c: New file.
1610 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
1611 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
1612 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1614 Remove file.
1615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
1616 Likewise
1617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1618 Likewise.
1619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1620 Likewise.
1621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
1622 New file.
1623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
1624 Likewise.
1625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
1626 Likewise.
1627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
1628 Likewise.
1629 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
1630 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
1631 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1632 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
1633 s_floorf-power5+, and s_floorf-ppc64.
1634 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
1635 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
1636 file.
1637 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
1638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
1639 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
1640 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
1641 file.
1642 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
1643 Likewise.
1644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
1645 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
1646 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1647 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
1648 s_floorf-power5+, and s_floorf-ppc64.
1649 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
1650 file.
1651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
1652 file.
1653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
1654 Likewise.
1655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
1656 Likewise.
1657 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1658 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1659 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
1660 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
1661
33647a72
MC
16622019-05-08 Mike Crowe <mac@mcrowe.com>
1663
1664 * support/xclock_gettime.c (xclock_gettime): New file. Provide
1665 clock_gettime wrapper for use in tests that fails the test rather
1666 than returning failure.
1667
1668 * support/xtime.h: New file to declare xclock_gettime.
1669
1670 * support/Makefile: Add xclock_gettime.c.
1671
1672 * support/README: Mention xtime.h.
1673
b2f601ba
FW
16742019-05-08 Florian Weimer <fweimer@redhat.com>
1675
1676 malloc/tst-mallocfork2: Use process-shared barriers.
1677 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
1678 (signal_count, sigusr1_sender_pid): Remove.
1679 (iterations): Define constant.
1680 (shared): New variable.
1681 (sigusr1_received): Update comment.
1682 (sigusr1_handler): Do not send SIGSTOP to the sender process.
1683 (signal_sender): Optional use barriers to avoid sending signals
1684 during irrelevant times.
1685 (do_it): Initialize variable shared. Use xfork for error
1686 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
1687 the iteration count, independent of signal delivery. Check for
1688 deadlocks in fork. Introduce barriers for reducing signal
1689 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
1690 replaced by the barriers. Count signals during fork/free/malloc
1691 and report them.
1692 * malloc/Makefile (tst-mallocfork): Link with libpthread.
1693
c4a392cf
JM
16942019-05-07 Joseph Myers <joseph@codesourcery.com>
1695
7621676f
JM
1696 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1697 version to 5.1.
1698 (clock_adjtime64) New syscall.
1699 (clock_getres_time64) Likewise.
1700 (clock_gettime64) Likewise.
1701 (clock_nanosleep_time64) Likewise.
1702 (clock_settime64) Likewise.
1703 (futex_time64) Likewise.
1704 (io_pgetevents_time64) Likewise.
1705 (io_uring_enter) Likewise.
1706 (io_uring_register) Likewise.
1707 (io_uring_setup) Likewise.
1708 (mq_timedreceive_time64) Likewise.
1709 (mq_timedsend_time64) Likewise.
1710 (pidfd_send_signal) Likewise.
1711 (ppoll_time64) Likewise.
1712 (pselect6_time64) Likewise.
1713 (recvmmsg_time64) Likewise.
1714 (rt_sigtimedwait_time64) Likewise.
1715 (sched_rr_get_interval_time64) Likewise.
1716 (semtimedop_time64) Likewise.
1717 (timer_gettime64) Likewise.
1718 (timer_settime64) Likewise.
1719 (timerfd_gettime64) Likewise.
1720 (timerfd_settime64) Likewise.
1721 (utimensat_time64) Likewise.
1722
c4a392cf
JM
1723 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
1724 version to 9 branch.
1725
32e902a9
AY
17262019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
1727
1728 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
1729 __memmove_thunderx2 to the list of implementations
1730 * sysdeps/aarch64/multiarch/memmove.c: Likewise
1731 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
1732 (__memmove_thunderx2): Rewritten using SIMD ld/st
1733 (__memcpy_thunderx2): Fixed handling overlapping cases.
1734 Used ldp/stp instead of ldr/str if possible. Made loops
1735 tails branchless.
1736
ac3da35d
FW
17372019-05-03 Florian Weimer <fweimer@redhat.com>
1738
1739 * misc/tst-tsearch.c (walk_tree): Add more error checking.
1740
b2af6fb2
AZ
17412019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1742
7dfde28a 1743 [BZ #24506]
b2af6fb2
AZ
1744 * elf/tst-pldd.c (in_str_list): New function.
1745 (do_test): Add default names for ld and libc as one option.
1746
7b807a35
FW
17472019-05-02 Florian Weimer <fweimer@redhat.com>
1748
1749 misc: Add twalk_r function.
1750 * include/search.h (__twalk_r): Declare.
1751 * manual/examples/twalk.c: New file.
1752 * manual/search.texi (Tree Search Function): Document twalk_r.
1753 * misc/Versions (2.30): Export twalk_r.
1754 (GLIBC_PRIVATE): Export __twalk_r.
1755 * misc/search.h [__USE_GNU] (twalk_r): Declare.
1756 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
1757 (twalk_r): Add weak alias.
1758 * misc/tst-tsearch.c (struct walk_trace_element): Define.
1759 (walk_trace): New variable.
1760 (struct twalk_with_twalk_r_closure): Define.
1761 (twalk_with_twalk_r_action): New function.
1762 (twalk_with_twalk_r): Likewise.
1763 (walk_action): Call walk_trace_add.
1764 (walk_tree_with): Rename from walk_tree. Add walk argument.
1765 (walk_tree): New function.
1766 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
1767 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1768 Likewise.
1769 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1770 Likewise.
1771 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1772 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
1773 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
1774 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
1775 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
1776 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1777 Likewise.
1778 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1779 Likewise.
1780 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1781 Likewise.
1782 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1783 (GLIBC_2.30): Likewise.
1784 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1785 (GLIBC_2.30): Likewise.
1786 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1787 (GLIBC_2.30): Likewise.
1788 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1789 (GLIBC_2.30): Likewise.
1790 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1791 Likewise.
1792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1793 (GLIBC_2.30): Likewise.
1794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1795 (GLIBC_2.30): Likewise.
1796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1797 (GLIBC_2.30): Likewise.
1798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1799 (GLIBC_2.30): Likewise.
1800 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1801 Likewise.
1802 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1803 Likewise.
1804 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1805 Likewise.
1806 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1807 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1808 Likewise.
1809 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1810 Likewise.
1811 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1812 Likewise.
1813 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1814 Likewise.
1815
20aa5819
PE
18162019-04-30 Paul Eggert <eggert@cs.ucla.edu>
1817
1818 Make mktime etc. compatible with __time64_t
1819 Keep these functions compatible with Gnulib while adding
1820 __time64_t support. The basic idea is to move private API
1821 declarations from include/time.h to time/mktime-internal.h, since
1822 the former file cannot easily be shared with Gnulib whereas the
1823 latter can.
1824 Also, do some other minor cleanup while in the neighborhood.
1825 * include/time.h: Include stdbool.h, time/mktime-internal.h.
1826 (__mktime_internal): Move this prototype to time/mktime-internal.h,
1827 since Gnulib needs it.
1828 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
1829 Move these macros to time/mktime-internal.h, since Gnulib needs them.
1830 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
1831 (in_time_t_range): New static function.
1832 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
1833 so that glibc users are not tempted to use __time64_t.
1834 * time/mktime-internal.h: Rewrite so that it does both glibc
1835 and Gnulib work. Include time.h if not _LIBC.
1836 (mktime_offset_t) [!_LIBC]: Define for gnulib.
1837 (__time64_t): New type or macro, moved here from
1838 posix/bits/types.h.
1839 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
1840 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
1841 from include/time.h.
1842 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
1843 New macros, taken from GNulib.
1844 (__mktime_internal): New prototype, moved here from include/time.h.
1845 * time/mktime.c (mktime_min, mktime_max, convert_time)
1846 (ranged_convert, __mktime_internal, __mktime64):
1847 * time/timegm.c (__timegm64):
1848 Use __time64_t, not time_t.
1849 * time/mktime.c: Stop worrying about whether time_t is floating-point.
1850 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
1851 Rename from mktime.
1852 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
1853 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
1854 for libc_hidden_def.
1855 Include errno.h.
1856 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
1857 Rename from timegm.
1858 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
1859
87c266d7
MR
18602019-04-30 Maciej W. Rozycki <macro@wdc.com>
1861
1862 [BZ #19444]
1863 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
1864 from `-Wmaybe-uninitialized'.
1865 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
1866
c4c0848b
AZ
18672019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1868
6cac323c
AZ
1869 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
1870 function.
1871 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
1872 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
1873 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
1874 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
1875 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
1876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1877 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
1878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1879 Remove file.
1880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
1881 Likewise.
1882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1883 Likewise.
1884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
1885 Likewise.
1886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
1887 New file.
1888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
1889 Likewise.
1890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
1891 Likewise.
1892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
1893 Likewise.
1894 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
1895 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
1896 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
1897 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
1898 Likewise.
1899 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
1900 Likewise.
1901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
1902 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
1903 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
1904 file.
1905 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
1906 Likewise.
1907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
1908 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
1909 * here.
1910 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1911 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
1912 s_ceilf-power5+, and s_ceilf-ppc64.
1913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
1914 file.
1915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
1916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
1917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
1918 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
1919 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
1920 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
1921 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
1922
c4c0848b
AZ
1923 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
1924 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
1925 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
1926
f492fc99
YD
19272019-04-29 Yann Droneaud <ydroneaud@opteya.com>
1928
1929 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
1930 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
1931 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
1932 (sem_getvalue): Likewise.
1933
c57afec0
FW
19342019-04-26 Florian Weimer <fweimer@redhat.com>
1935
1936 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
1937 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
1938
a8ff215e
FW
19392019-04-26 Florian Weimer <fweimer@redhat.com>
1940
1941 Makeconfig: Move -Wl,-rpath-link options before library references.
1942 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
1943 (link-libc): Remove $(link-libc-rpath-link).
1944
19452019-04-25 Florian Weimer <fweimer@redhat.com>
1946
1947 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1948 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1949 (+link-static-before-libc): Remove $(CC).
1950 (+link-static, +link-static-tests): Add $(CC).
1951 (+link-before-libc): Remove $(CC).
1952 (+link, +link-pie, +link-pie-printers): Add $(CC).
1953
e30fb31c
FW
19542019-04-26 Florian Weimer <fweimer@redhat.com>
1955
1956 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1957 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1958 (+link-static-before-libc): Remove $(CC).
1959 (+link-static, +link-static-tests): Add $(CC).
1960 (+link-before-libc): Remove $(CC).
1961 (+link, +link-pie, +link-pie-printers): Add $(CC).
1962
deacca00
DA
19632019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
1964
1965 [BZ#24484]
1966 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
1967
b5ffdc48
FW
19682019-04-25 Florian Weimer <fweimer@redhat.com>
1969
1970 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
1971 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
1972 (bench-link-targets): New variable.
1973 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
1974
94a4e9e4
FW
19752019-04-25 Florian Weimer <fweimer@redhat.com>
1976
1977 Also enable BIND_NOW for programs if --enable-bind-now.
1978 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
1979 (+link-pie): Use $(link-extra-flags).
1980 (+link-static): Likewise.
1981 [! $(build-pie-default)] (+link): Likewise.
1982 * manual/install.texi (Configuring and compiling): Update
1983 --enable-bind-now description.
1984 * INSTALL: Regenerated.
1985
fe92a91f
WD
19862019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
1987
1988 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
1989 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
1990
f9b645b4
MF
19912019-04-24 Mike Frysinger <vapier@gentoo.org>
1992
1993 [BZ #18465]
1994 * malloc/Makefile (others): Add memusagestat.
1995 ($(objpfx)memusagestat): Delete rule.
1996 (LDLIBS-memusagestat): New variable.
1997
439bf534
FW
19982019-04-24 Florian Weimer <fweimer@redhat.com>
1999
2000 * locale/Makefile (tests-special): Guard setting by
2001 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
2002 to run while cross-compiling.
2003
1a4c2735
AZ
20042019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2005
2006 [BZ #18035]
2007 * elf/Makefile (tests-container): Add tst-pldd.
2008 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
2009 (E(find_maps)): Avoid use alloca, use default read file operations
2010 instead of explicit LFS names, and fix infinite loop.
2011 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
2012 (get_process_info): Use _Static_assert instead of assert, use default
2013 directory operations instead of explicit LFS names, and free some
2014 leadek pointers.
2015 * elf/tst-pldd.c: New file.
2016
2d398aa2
L
20172019-04-23 H.J. Lu <hongjiu.lu@intel.com>
2018
2019 * malloc/arena.c (do_set_mallopt_check): Removed.
2020
e485b2b6
FW
20212019-04-23 Florian Weimer <fweimer@redhat.com>
2022
2023 locale: Add LOCPATH diagnostics to the locale program.
2024 * locale/programs/locale.c (setlocale_failed): New variable.
2025 (try_setlocale): New function.
2026 (quote_string): Likewise.
2027 (setlocale_diagnostics): Likewise.
2028 (main): Call try_setlocale instead of setlocale. Call
2029 setlocale_diagnostics.
2030 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
2031 (tst-locale-locpath.out): New target.
2032 * locale/tst-locale-locpath.sh: New file.
2033
25f7a3c9
AZ
20342019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2035
2036 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
2037 to 2.30 notes.
2038
9bf8e29c
AZ
20392019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2040
2041 [BZ #23741]
2042 * malloc/hooks.c (malloc_check, realloc_check): Use
2043 __builtin_add_overflow on overflow check and adapt to
2044 checked_request2size change.
2045 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
2046 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
2047 allocation size to PTRDIFF_MAX.
2048 (REQUEST_OUT_OF_RANGE): Remove macro.
2049 (checked_request2size): Change to inline function and limit maximum
2050 requested size to PTRDIFF_MAX.
2051 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
2052 maximum allocation size to PTRDIFF_MAX.
2053 (_mid_memalign): Use _int_memalign call for overflow check.
2054 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
2055 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
2056 limit maximum requested size to PTRDIFF_MAX.
2057 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
2058 valloc, pvalloc): Add __attribute_alloc_size__.
2059 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
2060 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
2061 larger than PTRDIFF_MAX.
2062 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
2063 around tests of malloc with negative sizes.
2064 * malloc/tst-posix_memalign.c (do_test): Likewise.
2065 * malloc/tst-pvalloc.c (do_test): Likewise.
2066 * malloc/tst-valloc.c (do_test): Likewise.
2067 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
2068 with resulting size allocation larger than PTRDIFF_MAX with
2069 reallocarray_nowarn.
2070 (reallocarray_nowarn): New function.
2071 * NEWS: Mention the malloc function semantic change.
2072
0e169691
AZ
20732019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2074
52faba65
AZ
2075 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
2076 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
2077
3a16dd78
AZ
2078 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
2079 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2080 * sysdeps/powerpc/fpu/s_fma.c: New file.
2081 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
2082
1dac8bd6
AZ
2083 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
2084 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
2085
a3ae315a
AZ
2086 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
2087 the magic flag store.
2088 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
2089 Likewise.
2090 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
2091 Likewise.
2092 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
2093 Remove rt_sigreturn call.
2094
ffe8a9a8
AZ
2095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2096 Remove rt_sigreturn call.
2097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2098 Likewise.
2099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
2100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2101
0e169691
AZ
2102 * support/Makefile (libsupport-routines): Add support_subprocess,
2103 xposix_spawn, xposix_spawn_file_actions_addclose, and
2104 xposix_spawn_file_actions_adddup2.
2105 (tst-support_capture_subprocess-ARGS): New rule.
2106 * support/capture_subprocess.h (support_capture_subprogram): New
2107 prototype.
2108 * support/support_capture_subprocess.c (support_capture_subprocess):
2109 Refactor to use support_subprocess and support_capture_poll.
2110 (support_capture_subprogram): New function.
2111 * support/tst-support_capture_subprocess.c (write_mode_to_str,
2112 str_to_write_mode, test_common, parse_int, handle_restart,
2113 do_subprocess, do_subprogram, do_multiple_tests): New functions.
2114 (do_test): Add support_capture_subprogram tests.
2115 * support/subprocess.h: New file.
2116 * support/support_subprocess.c: Likewise.
2117 * support/xposix_spawn.c: Likewise.
2118 * support/xposix_spawn_file_actions_addclose.c: Likewise.
2119 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
2120 * support/xspawn.h: Likewise.
2121
bae8cf0e
MG
21222019-04-17 Mike Gerow <gerow@google.com>
2123
2124 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
2125 groups limit.
2126
e3f454ba
FW
21272019-04-11 Florian Weimer <fweimer@redhat.com>
2128
2129 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
2130 domain with empty string.
2131 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2132
32d85c11
FW
21332019-04-11 Florian Weimer <fweimer@redhat.com>
2134
2135 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
2136 comment.
2137 (alloc_buffer_next): Change return type to non-const. Update
2138 comment.
2139
221710af
FW
21402019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
2141
2142 * manual/time.texi (Formatting Calendar Time): Add missing percent
2143 sign to conversion specifier.
2144
e621246e
CD
21452019-04-09 Carlos O'Donell <carlos@redhat.com>
2146 Kwok Cheung Yeung <kcy@codesourcery.com>
2147
2148 [BZ #16573]
2149 * malloc/mtrace.c: Define prototypes for all hooks.
2150 (set_default_hooks): New function.
2151 (set_trace_hooks): Likewise.
2152 (save_default_hooks): Likewise.
2153 (tr_freehook): Use new s*_hooks functions.
2154 (tr_mallochook): Likewise.
2155 (tr_reallochook): Likewise.
2156 (tr_memalignhook): Likewise.
2157 (mtrace): Likewise.
2158 (muntrace): Likewise.
2159
648279f4
WD
21602019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2161
2162 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
2163 (generic_stpcpy): New function.
2164 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
2165 (generic_stpncpy): New function.
2166 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
2167 (generic_strcat): New function.
2168 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
2169 (generic_strcpy): New function.
2170 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
2171 (STUPID_STRNCAT): Remove function.
2172 (generic_strncat): New function.
2173 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
2174 (STUPID_STRNCPY): Remove function.
2175 (generic_strncpy): New function.
2176 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
2177 (generic_strnlen): New function.
2178 (memchr_strnlen): New function.
2179 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
2180 (memchr_strlen): Likewise.
2181
93eebae5
WD
21822019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2183
2184 * benchtests/bench-strstr.c (input): Add realistic input text.
2185 (stupid_strstr): Remove function.
2186 (basic_strstr): Add function.
2187 (twoway_strstr): Add function.
2188 (do_one_test): Add result checking.
2189 (do_test): Use new input text. Remove accidental early matches.
2190 (test_main): Improve range of tests, reduce unaligned cases.
2191
a173d09f
WD
21922019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2193
2194 * benchtests/bench-memmem.c (simple_memmem): Remove function.
2195 (basic_memmem): Add function.
2196 (twoway_memmem): Add function.
2197
6103c0a8
WD
21982019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2199
2200 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
2201 * benchtests/bench-malloc-thread.c: Likewise.
2202 * benchtests/bench-skeleton.c: Likewise.
2203 * benchtests/bench-strtod.c: Likewise.
2204 * benchtests/bench-timing.h: Likewise.
2205
33322186
FW
22062019-04-08 Florian Weimer <fweimer@redhat.com>
2207
2208 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
2209 definitions.
2210 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
2211 RES_INSECURE2 security checks.
2212 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
2213 RES_INSECURE2 handling.
2214
3f8b44be
FW
22152019-04-08 Florian Weimer <fweimer@redhat.com>
2216
2217 resolv: Remove support for RES_USE_INET6 and the inet6 option.
2218 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
2219 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
2220 GETHOSTBYNAME.
2221 * resolv/Makefile (tests): Remove tst-res_use_inet6.
2222 (tests-internal): Update justification for tst-resolv-res_init,
2223 tst-resolv-res_init-thread.
2224 (tst-res_use_inet6): Remove target.
2225 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
2226 * resolv/res_debug.c (p_option): Remove "inet6" support.
2227 * resolv/res_init.c (res_setoptions): Likewise.
2228 * resolv/res_use_inet6.h: Remove file.
2229 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
2230 definition.
2231 (res_use_inet6): Always return false.
2232 * resolv/resolv.h (RES_USE_INET6): Remove definition.
2233 * resolv/resolv_context.h: Adjust file comment.
2234 (struct resolv_context): Update comment on __next field.
2235 (__resolv_context_put): Update comment.
2236 * resolv/tst-res_use_inet6.c: Remove file.
2237 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
2238 "inet6" support.
2239 (test_cases): Adjust test case.
2240 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
2241 (thread_byname2_af_inet6): Use old byname_inet6 code.
2242 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
2243 (gai): Remove do_inet6 argument.
2244 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
2245 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
2246 (thread_gai_unspec_inet6): Remove functions.
2247 (do_test): Adjust thread_funcs.
2248 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
2249 RES_USE_INET6 flag.
2250 (gaih_inet): Do not disable RES_USE_INET6 flag.
2251
6b5c8607 22522019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
94e358f6
AY
2253
2254 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
2255 and remove redundant code.
2256
e3fd0b0e
AZ
22572019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2258
f82ed45d
AZ
2259 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
2260 New rule.
2261 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
2262 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
2263 Likewise.
2264 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
2265 Likewise.
2266 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
2267 Likewise.
2268 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2269 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
2270 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
2271 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
2272 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2273 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
2274 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2275 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
2276 wcsrchr-power7.
2277 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
2278 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
2279 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2280 Remove wcsrchr optimizations.
2281 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2282
662c2cc4
AZ
2283 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
2284 the loop unroll.
2285
421e3005
AZ
2286 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
2287 New rule.
2288 * sysdeps/powerpc/power6/wcschr.c: Remove file.
2289 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
2290 Likewise.
2291 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
2292 Likewise.
2293 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
2294 Likewise.
2295 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2296 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
2297 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
2298 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
2299 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2300 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
2301 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2302 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
2303 wcschr-power7.
2304 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
2305 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
2306 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2307 Remove wcschr optimizations.
2308 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2309
7ba0100c
AZ
2310 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
2311 the loop unroll.
2312
447a1306
AZ
2313 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
2314 New rule.
2315 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
2316 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
2317 Likewise.
2318 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
2319 Likewise.
2320 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
2321 Likewise.
2322 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2323 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
2324 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
2325 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
2326 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2327 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
2328 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2329 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
2330 wcscpy-power7.
2331 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
2332 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
2333 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2334 Remove wcscpy optimizations.
2335 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2336
e3fd0b0e
AZ
2337 * include/loop_unroll.h: New file.
2338 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
2339 besides generic implementation.
2340
8260f236
DD
23412019-04-03 DJ Delorie <dj@redhat.com>
2342
2343 * time/tst-strftime3.c (tm_to_printed): Disable warning about
2344 snprintf truncating output.
2345
0bd545ee
DD
23462019-04-02 DJ Delorie <dj@redhat.com>
2347
2348 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
2349 warning.
2350
466afec3
TS
23512019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2352
2353 [BZ #22964]
2354 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
2355 era.
2356 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
2357 (mkreftable): Add rules for the new Japanese era and the new dates.
2358
2f1d6155
TS
23592019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2360 Rafal Luzynski <digitalfreak@lingonborough.com>
2361
2362 * time/tst-strftime2.c (date_t): Explicitly define the type.
2363 (dates): Use natural month and year numbers to express a date.
2364 (is_before): New function to compare dates.
2365 (mkreftable): Minor improvements to simplify maintenance.
2366 (do_test): Reflect the changes in dates array.
2367
84aea169
TS
2368 [BZ #24293]
2369 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
2370 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
2371 * time/tst-strftime2.c (locales): Likewise.
2372 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
2373 2010-04-01, and 2011-04-01.
2374 (mkreftable): Add rules for the new locales and the new dates.
2375
62449176
CD
23762019-04-01 Carlos O'Donell <carlos@redhat.com>
2377
2378 * localedata/locales/ja_JP: Add comments to era entries.
2379
e0e4c321
DD
23802019-04-01 DJ Delorie <dj@redhat.com>
2381
2382 [BZ #24394]
2383 * time/strptime_l.c (%Ey): Fix fencepost error.
2384 * time/tst-strftime3.c: New.
2385 * time/Makefile (tests): Add tst-strftime3.
2386
6b5c8607 23872019-04-01 Uros Bizjak <ubizjak@gmail.com>
993e3107
UB
2388
2389 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
2390 conditional branch to DIVBYZERO. Fix unwind info.
2391 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
2392 excb after conditional branch to $powerof2. Add missing unop
2393 instructions and .align directives and reorder instructions to
2394 match __divqu.
2395
d5ecee82
RH
23962019-04-01 Richard Henderson <rth@twiddle.net>
2397
2398 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
2399 Do not redefine.
2400 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
2401 Do not redefine.
2402
656dd306
MR
24032019-03-30 Maciej W. Rozycki <macro@wdc.com>
2404
2405 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
2406 $libc_cv_riscv_float_abi in `test' invocation.
2407 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
2408
10cce669
PC
24092019-03-29 Paul A. Clarke <pc@us.ibm.com>
2410
2411 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
2412 asm with builtin.
2413 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
2414 Likewise.
2415 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2416 (_GET_SI_FPSCR): Likewise.
2417 (_SET_SI_FPSCR): Likewise.
2418
5e67e4bf 24192019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4997e8f3
AZ
2420
2421 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
2422 clang 2.8.
2423 (signbit): Use builtin for clang 3.3.
2424 (isinf): Use builtin for clang 3.7.
2425
01963891
AZ
24262019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2427
2428 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
2429
67112f7a
AH
24302019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
2431
2432 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
2433 quote in printf.
2434
7a773abf
MC
24352019-03-25 Mike Crowe <mac@mcrowe.com>
2436
82849fde
MC
2437 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
2438 pthread_rwlock_timedrdlock with calls to
2439 pthread_rwlock_timedwrlock to ensure that the latter is tested
2440 too. Use new function name in diagnostic messages too.
2441
7a773abf
MC
2442 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
2443 (do_test) Use libsupport test macros rather than hand-coded
2444 conditionals and error messages. Ensure that sem_init returns zero
2445 rather than not -1. Use <support/test-driver.c> rather than
2446 test-skeleton.c.
2447
2448 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
2449 test macros rather than hand-coded conditionals and error messages.
2450 Use <support/test-driver.c> rather than test-skeleton.c.
2451
9ac2de69
JM
24522019-03-25 Joseph Myers <joseph@codesourcery.com>
2453
d7563e62
JM
2454 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
2455
9ac2de69
JM
2456 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
2457 (NT_MIPS_MSA): Likewise.
2458
38cc11da
AZ
24592019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2460
7621e38b
WD
2461 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
2462 * benchtests/README: Update description.
2463 * benchtests/bench-timing.h: Default to hp-timing.
2464 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
2465 HP_TIMING_PRINT): Remove.
2466 (HP_TIMING_NOW): Add generic implementation.
2467 (hp_timing_t): Change to uint64_t.
2468
1e372ded
AZ
2469 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
2470 HP_TIMING_INLINE.
2471 * nptl/descr.h: Likewise.
2472 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
2473 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
2474 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
2475 Abstract hp-timing usage with RTLD_* macros.
2476 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
2477 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
2478 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
2479 HP_TIMING_NONAVAIL): Likewise.
2480 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
2481 Likewise.
2482 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
2483 HP_SMALL_TIMING_AVAIL): Likewise.
2484 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
2485 HP_SMALL_TIMING_AVAIL): Likewise.
2486 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
2487 HP_SMALL_TIMING_AVAIL): Likewise.
2488 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
2489 HP_SMALL_TIMING_AVAIL): Likewise.
2490 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
2491 Likewise.
2492 * sysdeps/generic/hp-timing-common.h: Update comment with
2493 HP_TIMING_AVAIL removal.
2494
359653aa
AZ
2495 * include/random-bits.h: New file.
2496 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
2497 (__res_context_mkquery): Remove usage hp-timing usage and replace with
2498 random_bits.
2499 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
2500 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
2501 Likewise.
2502
6e8ba7fd
AZ
2503 * include/libc-internal.h (__get_clockfreq): Remove prototype.
2504 * rt/Makefile (clock-routines): Remove get_clockfreq.
2505 * rt/get_clockfreq.c: Remove file.
2506 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
2507 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
2508 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
2509 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
2510 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
2511
77b6f553
AZ
2512 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
2513 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
2514 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
2515 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
2516 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
2517
38cc11da
AZ
2518 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
2519 pthread_clock_settime.
2520 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
2521 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
2522 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
2523 * elf/rtld.c (_dl_start_final): Likewise.
2524 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
2525 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
2526 Remove.
2527 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
2528 (_dl_cpuclock_offset): Remove.
2529 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
2530 cpuclock_offset_ununsed.
2531 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
2532 cpuclock_offset set.
2533 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
2534 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2535 * nptl/pthread_clock_gettime.c: Remove file.
2536 * nptl/pthread_clock_settime.c: Likewise.
2537 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
2538 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
2539 and CLOCK_PROCESS_CPUTIME_ID support.
2540 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
2541 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
2542 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
2543 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
2544 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
2545 Likewise.
2546 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
2547
421749d6
SL
25482019-03-22 Stefan Liebler <stli@linux.ibm.com>
2549
2550 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
2551 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
2552 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
2553 New defines.
2554 * sysdeps/s390/memmem-arch13.S: New file.
2555 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
2556 if it is only used as fallback.
2557 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
2558 * sysdeps/s390/multiarch/ifunc-impl-list.c
2559 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
2560
6f47401b
SL
25612019-03-22 Stefan Liebler <stli@linux.ibm.com>
2562
2563 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
2564 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
2565 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
2566 New defines.
2567 * sysdeps/s390/multiarch/ifunc-impl-list.c
2568 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
2569 * sysdeps/s390/strstr-arch13.S: New file.
2570 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
2571 if it is only used as fallback.
2572 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
2573
96fbb9a3
SL
25742019-03-22 Stefan Liebler <stli@linux.ibm.com>
2575
2576 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
2577 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
2578 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
2579 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
2580 ifunc selector.
2581 * sysdeps/s390/multiarch/ifunc-impl-list.c
2582 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
2583 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
2584 S390_IS_ARCH13_MIE3): New defines.
2585
a899a551
SL
25862019-03-22 Stefan Liebler <stli@linux.ibm.com>
2587
2588 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
2589 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
2590 * sysdeps/s390/configure.ac: Add checks for arch13 support.
2591 * sysdeps/s390/configure: Regenerated.
2592
1a7df49c
SL
25932019-03-22 Stefan Liebler <stli@linux.ibm.com>
2594
2595 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
2596 Add vxe2, vxp, dflt, sort flags.
2597 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
2598 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
2599 capabilities.
2600 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
2601 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
2602 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
2603 HWCAP_S390_DFLT): Define.
2604
5e67e4bf 26052019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5abcddd7
GG
2606
2607 [BZ #24372]
2608 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
2609 of compiler warning.
2610 * locale/programs/ld-collate.c (collate_output): Likewise.
2611
ac64195c
DD
26122019-03-21 DJ Delorie <dj@redhat.com>
2613
2614 [BZ #24372]
2615 * iconv/iconvconfig.c (write_output): Replace floating point math
2616 with integer math to avoid imprecise results.
2617 * locale/programs/ld-collate.c (collate_output): Likewise.
2618
61f5e947
SL
26192019-03-21 Stefan Liebler <stli@linux.ibm.com>
2620
2621 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
2622 Add HWCAP_S390_VX and HWCAP_S390_VXE.
2623
57ada43c 26242019-03-20 mansayk <6688000@gmail.com>
2625
2626 [BZ #24296]
2627 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
2628 (abday): Likewise, but remove the trailing dots.
2629
a2e57f89
JM
26302019-03-19 Joseph Myers <joseph@codesourcery.com>
2631
2632 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
2633 macro.
2634 (HWCAP_PACA): Likewise.
2635 (HWCAP_PACG): Likewise.
2636 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
2637 Increase to 32.
2638 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
2639
e87d8ada
ST
26402019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2641
2642 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
2643 should be handled.
2644
477e739b
JM
26452019-03-15 Joseph Myers <joseph@codesourcery.com>
2646
2647 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2648 version to 5.0.
2649 (old_getpagesize): New syscall.
2650
238d60a1
FY
26512019-03-15 Felix Yan <felixonmars@archlinux.org>
2652
2653 [BZ #24293]
2654 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
2655 * localedata/locales/cmn_TW (era): Likewise.
2656 * localedata/locales/hak_TW (era): Likewise.
2657 * localedata/locales/lzh_TW (era): Likewise.
2658 * localedata/locales/nan_TW (era): Likewise.
2659
5dde9ef7
DD
26602019-03-14 Adam Maris <amaris@redhat.com>
2661
2662 * malloc/malloc.c (_int_malloc): Check for large bin list
2663 corruption when inserting unsorted chunk.
2664
a0a0dc83
FW
26652019-03-14 Florian Weimer <fweimer@redhat.com>
2666
2667 Remove obsolete, never-implemented XSI STREAMS declarations.
2668 * manual/terminal.texi (Allocation): Remove portability note and
2669 adjust example.
2670 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
2671 _SC_STREAMS.
2672 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
2673 * sysdeps/unix/inet/Subdirs (streams): Remove.
2674 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
2675 (conformtest-headers-UNIX98): Likewise.
2676 (conformtest-headers-XOPEN2K): Likewise.
2677 (conformtest-headers-POSIX2008): Likewise.
2678 * posix/compat-streams.c: New file.
2679 * posix/Makefile (routines): Add it.
2680 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
2681 getpmsg, isastream, putmsg, putpmsg.
2682 (GLIBC_2.30): New section.
2683 * bits/stropts.h: Remove file.
2684 * bits/xtitypes.h: Likewise.
2685 * conform/data/stropts.h-data: Likewise.
2686 * include/stropts.h: Likewise.
2687 * include/sys/stropts.h: Likewise.
2688 * include/xtitypes.h: Likewise.
2689 * streams/Makefile: Likewise.
2690 * streams/fattach.c: Likewise.
2691 * streams/fdetach.c: Likewise.
2692 * streams/getmsg.c: Likewise.
2693 * streams/getpmsg.c: Likewise.
2694 * streams/isastream.c: Likewise.
2695 * streams/putmsg.c: Likewise.
2696 * streams/putpmsg.c: Likewise.
2697 * streams/stropts.h: Likewise.
2698 * streams/sys/stropts.h: Likewise.
2699 * sysdeps/ia64/bits/xtitypes.h: Likewise.
2700 * sysdeps/s390/bits/xtitypes.h: Likewise.
2701 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
2702 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
2703 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
2704 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
2705 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
2706 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
2707 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
2708 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
2709 * sysdeps/x86/bits/xtitypes.h: Likewise.
2710
081bdf94
FW
27112019-03-14 Florian Weimer <fweimer@redhat.com>
2712
2713 * nss/tst-nss-files-alias-truncated.c (do_test): Load
2714 libnss_files.
2715 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
2716 but not with libnss_files.
2717 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
2718
97f8225d
ZW
27192019-03-14 Zack Weinberg <zackw@panix.com>
2720
2721 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
2722 Specify encoding="utf-8" when opening headers to check.
2723
0c1041ee
JM
27242019-03-13 Joseph Myers <joseph@codesourcery.com>
2725
2726 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2727 version to 5.0.
2728 (Context.checkout_tar): Handle variable major version for Linux
2729 kernel.
2730
043440e7
FW
27312019-03-13 Florian Weimer <fweimer@redhat.com>
2732
2733 [BZ #24047]
2734 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
2735
29218b26
ZW
27362019-03-13 Zack Weinberg <zackw@panix.com>
2737
2738 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
2739 Move to stdlib.
2740 * include/inttypes.h: Adjust to match.
2741 * include/stdint.h: New wrapper.
2742
711a322a
ZW
27432019-03-13 Zack Weinberg <zackw@panix.com>
2744
2745 * scripts/check-obsolete-constructs.py: New test script.
2746 * scripts/check-installed-headers.sh: Remove tests for
2747 obsolete typedefs, superseded by check-obsolete-constructs.py.
2748 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
2749 as a special test. Update commentary.
2750 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
2751 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
2752 Update commentary.
2753 * posix/sys/types.h (__u_intN_t): Remove.
2754 (u_int8_t): Typedef using __uint8_t.
2755 (u_int16_t): Typedef using __uint16_t.
2756 (u_int32_t): Typedef using __uint32_t.
2757 (u_int64_t): Typedef using __uint64_t.
2758
7c651308
SL
27592019-03-13 Stefan Liebler <stli@linux.ibm.com>
2760
2761 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
2762 call _dl_procinfo.
2763 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
2764 Ignore types other than AT_HWCAP.
2765 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
2766 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
2767 Likewise.
2768 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
2769 in the case of falling back to generic output mechanism.
2770 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
2771 Likewise.
2772
38b52865
FW
27732019-03-12 Florian Weimer <fweimer@redhat.com>
2774
2775 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
2776
08504de7
FW
27772019-03-12 Florian Weimer <fweimer@redhat.com>
2778
2779 [BZ #24047]
2780 resolv: Enable full ICMP errors for UDP DNS sockets
2781 * resolv/res_enable_icmp.c: New file.
2782 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
2783 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
2784 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
2785 socket.
2786
5fbcd763
MH
27872019-03-11 Mao Han <han_mao@c-sky.com>
2788
2789 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
2790 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
2791
c4e5f34b
MH
27922019-03-11 Mao Han <han_mao@c-sky.com>
2793
2794 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
2795 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
2796 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
2797
827e30f3
MH
27982019-03-11 Mao Han <han_mao@c-sky.com>
2799
2800 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
2801 directly.
2802 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
2803 definition.
2804
6229c9bf
MH
28052019-03-11 Mao Han <han_mao@c-sky.com>
2806
2807 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
2808 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
2809 in mcontext_t
2810
86bdd49d
MF
28112019-03-08 Mike FABIAN <mfabian@redhat.com>
2812
2813 [BZ #24307]
2814 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
2815 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
2816 Unicode 12.0.0.
2817 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
2818 * localedata/unicode-gen/PropList.txt: Likewise.
2819 * localedata/unicode-gen/UnicodeData.txt: Likewise.
2820 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
2821 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
2822 * localedata/charmaps/UTF-8: Regenerate.
2823 * localedata/locales/i18n_ctype: Likewise.
2824 * localedata/locales/tr_TR: Likewise.
2825 * localedata/locales/translit_circle: Likewise.
2826 * localedata/locales/translit_cjk_compat: Likewise.
2827 * localedata/locales/translit_combining: Likewise.
2828 * localedata/locales/translit_compat: Likewise.
2829 * localedata/locales/translit_font: Likewise.
2830 * localedata/locales/translit_fraction: Likewise.
2831
c5f65462
JM
28322019-03-07 Joseph Myers <joseph@codesourcery.com>
2833
2834 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
2835 than after operators.
2836 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
2837 (setitimer_locked): Likewise.
2838 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
2839 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2840 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
2841 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
2842 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
2843 (PPC_CPU_SUPPORTED): Likewise.
2844 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
2845 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
2846 (stat_overflow): Likewise.
2847 (statfs_overflow): Likewise.
2848 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
2849 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
2850 (eq_ttyname_r): Likewise.
2851 (run_chroot_tests): Likewise.
2852
27a2f2f3
FW
28532019-03-07 Florian Weimer <fweimer@redhat.com>
2854
2855 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
2856 header check.
2857
ae514971 28582019-03-07 Martin Liska <mliska@suse.cz>
2859
2860 * math/Makefile: Change location where math-vector-fortran.h is
2861 installed.
2862 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
2863 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
2864 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
2865 * scripts/check-installed-headers.sh: Skip Fortran header files.
2866 * scripts/check-wrapper-headers.py: Likewise.
2867
0ddb7ea8
AZ
28682019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2869
2870 * nptl/nptl-init.c (__have_futex_clock_realtime,
2871 __have_futex_clock_realtime): Remove definition.
2872 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
2873 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
2874 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
2875 __ASSUME_FUTEX_CLOCK_REALTIME support.
2876 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
2877 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2878 * sysdeps/unix/sysv/linux/kernel-features.h
2879 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
2880 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
2881 Adjust comment.
2882
590675c0
GG
28832019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2884
2885 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
2886 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
2887 __GI___wcscpy and wcscpy.
2888
de71ee7b
FW
28892019-03-04 Florian Weimer <fweimer@redhat.com>
2890
2891 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
2892 declaration.
2893 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
2894 defined.
2895
ce6ddae0
SL
28962019-03-04 Stefan Liebler <stli@linux.ibm.com>
2897
2898 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
2899 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2900
31efface
TS
29012019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2902
2903 [BZ #24162]
2904 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
2905 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
2906
f0eaf862
GG
29072019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2908
2909 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
2910 tests.
2911 (do_test): Likewise.
2912 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
2913 (do_test_call_varg): Likewise.
2914 (do_test_call_rarg): Likewise.
2915 * sysdeps/ieee754/ldbl-opt/Makefile
2916 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
2917 tst-nldbl-error.
2918 ($(objpfx)tst-nldbl-warn.c): New rule.
2919 ($(objpfx)tst-nldbl-error.c): Likewise.
2920 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
2921 New variables.
2922
d11086a9
GG
29232019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2924
2925 [BZ #23984]
2926 * include/bits/error-ldbl.h: New file.
2927 * include/error.h: Include stdarg.h. Declare internal functions
2928 __error_internal and __error_at_line_internal.
2929 * misc/Makefile (headers): Add bits/error-ldbl.h.
2930 * misc/bits/error-ldbl.h: New file.
2931 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
2932 avoid the inclusion of bits/error.h.
2933 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
2934 and __nldbl_error_at_line.
2935 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
2936 (__nldbl_error, __ndlbl_error_at_line): New functions.
2937 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
2938 Redirect error and error_at_line.
2939 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2941 Likewise.
2942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2943 Likewise.
2944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2945 Likewise.
2946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2947 Likewise.
2948 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2949 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2950 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2951
90188e7d
GG
29522019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2953
2954 [BZ #23984]
2955 * include/bits/err-ldbl.h: New file.
2956 * include/err.h: Add prototypes for the internal functions:
2957 __vwarnx_internal and __vwarn_internal.
2958 * misc/Makefile (headers): Add bits/err-ldbl.h.
2959 * misc/bits/err-ldbl.h: New file.
2960 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
2961 defined, i.e.: when -mlong-double-64 is in use.
2962 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
2963 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
2964 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
2965 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
2966 (VA_CALL): New macro.
2967 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
2968 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
2969 functions.
2970 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
2971 declare prototypes for the new functions.
2972 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2974 Likewise.
2975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2976 Likewise.
2977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2978 Likewise.
2979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2980 Likewise.
2981 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2982 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2983 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2984
ea2d89d0
GG
29852019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2986
2987 * sysdeps/ieee754/ldbl-opt/Makefile
2988 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
2989 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
2990 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
2991
6e1f6440
GG
29922019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2993
2994 [BZ #23983]
2995 * argp/Makefile (headers): Add bits/argp-ldbl.h.
2996 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
2997 * argp/bits/argp-ldbl.h: New file.
2998 * include/argp.h: Include stdarg.h. Add prototypes for internal
2999 functions: __argp_error_internal and __argp_failure_internal.
3000 * include/bits/argp-ldbl.h: New file.
3001 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
3002 __nldbl_argp_error and __nldbl_argp_failure.
3003 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
3004 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
3005 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
3006 Redirect argp_error and argp_failure calls.
3007 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3009 Likewise.
3010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3011 Likewise.
3012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3013 Likewise.
3014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3015 Likewise.
3016 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3017 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3018 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3019
c259196b
FW
30202019-03-01 Florian Weimer <fweimer@redhat.com>
3021
3022 [BZ #20419]
3023 * elf/tst-big-note-lib.S: Create a syntactically valid note.
3024 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
3025 code, to avoid creating an ABI tag note.
3026 (modules-names-nobuild): Add tst-big-note-lib.
3027
928b305d
SL
30282019-03-01 Stefan Liebler <stli@linux.ibm.com>
3029
3030 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
3031 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
3032
36f30c10
FW
30332019-03-01 Florian Weimer <fweimer@redhat.com>
3034
3035 [BZ #20271]
3036 * sysdeps/unix/sysv/linux/netlink_assert_response.c
3037 (__netlink_assert_response): Add additional missing newlines.
3038
462e83a4
JM
30392019-02-28 Joseph Myers <joseph@codesourcery.com>
3040
3041 * sysdeps/powerpc/powerpc32/dl-machine.c
3042 (__elf_machine_fixup_plt): Use space before '('.
3043 (__process_machine_rela): Likewise.
3044 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
3045 Likewise.
3046 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
3047 Likewise.
3048 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
3049 Likewise.
3050 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
3051 (pattern): Likewise.
3052 (delta): Likewise.
3053 (check_result): Likewise.
3054 (check_excepts): Likewise.
3055 (check_op): Likewise.
3056 (fail_xr): Likewise.
3057 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
3058 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
3059 (SCNHSZ): Likewise.
3060 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
3061 Likewise.
3062 (ARGS): Likewise.
3063 (__makecontext): Likewise.
3064 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
3065 Likewise.
3066
cc3e573c
FW
30672019-02-28 Florian Weimer <fweimer@redhat.com>
3068
3069 [BZ #23937]
3070 elf: Add test with a local IFUNC resolver.
3071 * elf/ifuncmain9.c: New file.
3072 * elf/ifuncmain9pic.c: Likewise.
3073 * elf/ifuncmain9picstatic.c: Likewise.
3074 * elf/ifuncmain9pie.c: Likewise.
3075 * elf/ifuncmain9static.c: Likewise.
3076 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
3077 ifuncmain9static, ifuncmain9picstatic.
3078 * elf/Makefile [multi-arch && build-shared] (tests-internal):
3079 Add ifuncmain9, ifuncmain9pic.
3080 * elf/Makefile [multi-arch && build-shared && have-fpie]
3081 (ifunc-pie-tests): Add ifuncmain9pie.
3082 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
3083 (CFLAGS-ifuncmain9picstatic.c): Likewise.
3084 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
3085
92ad88fe
L
30862019-02-27 H.J. Lu <hongjiu.lu@intel.com>
3087
3088 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
3089 * configure: Regenerated.
3090 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
3091
6bd4d02e
AZ
30922019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3093
3094 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
3095 symbol as __wcspcy instead of wcscpy.
3096
1b218417
ST
30972019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3098
3099 * include/stdio.h (__renameat2): New hidden prototype.
3100 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
3101 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
3102 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
3103 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
3104
c4f50205
JM
31052019-02-27 Joseph Myers <joseph@codesourcery.com>
3106
f627dd4d
JM
3107 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
3108 if statement.
3109
c4f50205
JM
3110 * benchtests/bench-strcpy.c (do_test): Use space before '('.
3111 * benchtests/bench-string.h (cmdline_process_function): Likewise.
3112 * benchtests/bench-strlen.c (do_test): Likewise.
3113 (test_main): Likewise.
3114 * catgets/gencat.c (read_old): Likewise.
3115 * elf/cache.c (load_aux_cache): Likewise.
3116 * iconvdata/bug-iconv8.c (do_test): Likewise.
3117 * math/test-tgmath-ret.c (do_test): Likewise.
3118 * nis/nis_call.c (rec_dirsearch): Likewise.
3119 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3120 * nptl/tst-audit-threads.c (do_test): Likewise.
3121 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
3122 * nss/nss_test1.c (init): Likewise.
3123 * nss/test-netdb.c (test_hosts): Likewise.
3124 * posix/execvpe.c (maybe_script_execute): Likewise.
3125 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
3126 * stdio-common/tst-printf.c (do_test): Likewise.
3127 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
3128 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
3129 * stdlib/qsort.c (STACK_SIZE): Likewise.
3130 * stdlib/test-canon.c (do_test): Likewise.
3131 * stdlib/tst-swapcontext1.c (do_test): Likewise.
3132 * string/memcmp.c (OPSIZ): Likewise.
3133 * string/test-strcpy.c (do_test): Likewise.
3134 (do_random_tests): Likewise.
3135 * string/test-strlen.c (do_test): Likewise.
3136 (test_main): Likewise.
3137 * string/test-strrchr.c (do_test): Likewise.
3138 (do_random_tests): Likewise.
3139 * string/tester.c (test_memrchr): Likewise.
3140 (test_memchr): Likewise.
3141 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
3142 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
3143 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
3144 (read_encoded_value_with_base): Likewise.
3145 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
3146 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
3147 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
3148 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
3149 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
3150 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
3151 Likewise.
3152 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
3153 Likewise.
3154 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
3155 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
3156 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
3157 Likewise.
3158 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
3159 Likewise.
3160 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
3161 Likewise.
3162 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
3163 Likewise.
3164 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
3165 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
3166 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3167 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
3168 * time/test_time.c (main): Likewise.
3169
7b3fb620
AZ
31702019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3171
457208b1
AZ
3172 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
3173
30a7e208
AZ
3174 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
3175 wmemcpy.
3176
ddf21ec7
AZ
3177 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
3178 wmemcpy.
3179
4d801563
AZ
3180 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
3181
81a14439
AZ
3182 * include/wchar.h (__wcscpy): New prototype.
3183 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
3184 (__wcscpy): Route internal symbol to generic implementation.
3185 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
3186 Add internal __wcscpy alias.
3187 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
3188 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
3189 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
3190 * wcsmbs/wcscpy.c (wcscpy): Add
3191 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
3192 use generic implementation.
3193 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
3194
39ef0744
AZ
3195 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
3196 wmemset.
3197
7b3fb620
AZ
3198 * sysdeps/m68k/wcpcpy.c: Remove file.
3199 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
3200
e0cb7b61
JM
32012019-02-26 Joseph Myers <joseph@codesourcery.com>
3202
aa0e4663
JM
3203 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
3204 than after operators.
3205 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
3206 * sysdeps/mach/hurd/getcwd.c
3207 (__hurd_canonicalize_directory_name_internal): Likewise.
3208 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
3209 (pthread_mutex_consistent): Likewise.
3210 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
3211 Likewise.
3212 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
3213 (__pthread_mutex_transfer_np): Likewise.
3214 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
3215 (__pthread_mutex_unlock): Likewise.
3216 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
3217 (mtx_owned_p): Likewise.
3218 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
3219 (pthread_mutexattr_getrobust): Likewise.
3220 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
3221 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
3222 Likewise.
3223 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3224 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
3225 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
3226 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
3227 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
3228 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3229 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
3230 Likewise.
3231 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
3232 Likewise.
3233 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
3234 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
3235 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
3236 (____longjmp_chk): Likewise.
3237 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
3238 Likewise.
3239 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3240 (INTERNAL_SYSCALL): Likewise.
3241 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3242 (INTERNAL_SYSCALL): Likewise.
3243 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3244 (__get_clockfreq_via_cpuinfo): Likewise.
3245
e0cb7b61
JM
3246 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
3247 comments.
3248 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
3249 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
3250 (WORD_COPY_BWD): Likewise.
3251 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3252 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3253 Likewise.
3254 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
3255 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
3256 comment.
3257 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
3258
a04549c1
JM
32592019-02-25 Joseph Myers <joseph@codesourcery.com>
3260
3261 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
3262 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
3263 rather than after operators.
3264 * elf/cache.c (print_cache): Likewise.
3265 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
3266 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
3267 * hurd/hurdinit.c (_hurd_setproc): Likewise.
3268 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
3269 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
3270 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
3271 (reauth_proc): Likewise.
3272 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
3273 (__file_name_split_at): Likewise.
3274 (__directory_name_split_at): Likewise.
3275 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
3276 * hurd/port2fd.c (_hurd_port2fd): Likewise.
3277 * iconv/gconv_dl.c (do_print): Likewise.
3278 * inet/netinet/in.h (struct sockaddr_in): Likewise.
3279 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
3280 * locale/setlocale.c (new_composite_name): Likewise.
3281 * malloc/memusagestat.c (main): Likewise.
3282 * misc/fstab.c (fstab_convert): Likewise.
3283 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
3284 Likewise.
3285 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
3286 (getgrent_next_file): Likewise.
3287 (internal_getgrnam_r): Likewise.
3288 (internal_getgrgid_r): Likewise.
3289 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
3290 Likewise.
3291 (internal_getgrent_r): Likewise.
3292 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
3293 (getpwent_next_nss): Likewise.
3294 (getpwent_next_file): Likewise.
3295 (internal_getpwnam_r): Likewise.
3296 (internal_getpwuid_r): Likewise.
3297 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
3298 Likewise.
3299 (getspent_next_nss): Likewise.
3300 (internal_getspnam_r): Likewise.
3301 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
3302 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
3303 * string/strchr.c (STRCHR): Likewise.
3304 * string/strchrnul.c (STRCHRNUL): Likewise.
3305 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
3306 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3307 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
3308 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
3309 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
3310 Likewise.
3311 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
3312 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
3313 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
3314 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
3315 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
3316 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
3317 (open_file): Likewise.
3318 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
3319 (pthread_mutexattr_setprotocol): Likewise.
3320 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3321 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
3322 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
3323 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
3324 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
3325 Likewise.
3326 (elf_machine_rela): Likewise.
3327 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3328 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3329 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
3330 * sysdeps/posix/rename.c (rename): Likewise.
3331 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
3332 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
3333 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
3334 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
3335 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3336 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
3337 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
3338 Likewise.
3339 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
3340 Likewise.
3341 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
3342 * time/tzfile.c (__tzfile_compute): Likewise.
3343
34a5a146
JM
33442019-02-22 Joseph Myers <joseph@codesourcery.com>
3345
3346 * benchtests/bench-memmem.c (simple_memmem): Break lines before
3347 rather than after operators.
3348 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
3349 * crypt/md5.c (md5_finish_ctx): Likewise.
3350 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
3351 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
3352 * elf/cache.c (load_aux_cache): Likewise.
3353 * elf/dl-load.c (open_verify): Likewise.
3354 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
3355 * elf/readelflib.c (process_elf_file): Likewise.
3356 * elf/rtld.c (dl_main): Likewise.
3357 * elf/sprof.c (generate_call_graph): Likewise.
3358 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
3359 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
3360 * hurd/dtable.c (reauth_dtable): Likewise.
3361 * hurd/getdport.c (__getdport): Likewise.
3362 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
3363 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
3364 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
3365 Likewise.
3366 * hurd/hurdioctl.c (fioctl): Likewise.
3367 * hurd/hurdselect.c (_hurd_select): Likewise.
3368 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
3369 (STOPSIGS): Likewise.
3370 * hurd/hurdstartup.c (_hurd_startup): Likewise.
3371 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
3372 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
3373 * hurd/msgportdemux.c (msgport_server): Likewise.
3374 * hurd/setauth.c (_hurd_setauth): Likewise.
3375 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
3376 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
3377 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
3378 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
3379 * login/tst-utmp.c (do_check): Likewise.
3380 (simulate_login): Likewise.
3381 * mach/lowlevellock.h (lll_lock): Likewise.
3382 (lll_trylock): Likewise.
3383 * math/test-fenv.c (ALL_EXC): Likewise.
3384 * math/test-fenvinline.c (ALL_EXC): Likewise.
3385 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
3386 * nis/nis_call.c (__do_niscall3): Likewise.
3387 * nis/nis_callback.c (cb_prog_1): Likewise.
3388 * nis/nis_defaults.c (searchaccess): Likewise.
3389 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3390 * nis/nis_ismember.c (internal_ismember): Likewise.
3391 * nis/nis_local_names.c (nis_local_principal): Likewise.
3392 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
3393 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
3394 Likewise.
3395 * nis/ypclnt.c (yp_match): Likewise.
3396 (yp_first): Likewise.
3397 (yp_next): Likewise.
3398 (yp_master): Likewise.
3399 (yp_order): Likewise.
3400 * nscd/hstcache.c (cache_addhst): Likewise.
3401 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3402 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
3403 (internal_getpwuid_r): Likewise.
3404 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
3405 * posix/glob.h (__GLOB_FLAGS): Likewise.
3406 * posix/regcomp.c (peek_token): Likewise.
3407 (peek_token_bracket): Likewise.
3408 (parse_expression): Likewise.
3409 * posix/regexec.c (sift_states_iter_mb): Likewise.
3410 (check_node_accept_bytes): Likewise.
3411 * posix/tst-spawn3.c (do_test): Likewise.
3412 * posix/wordexp-test.c (testit): Likewise.
3413 * posix/wordexp.c (parse_tilde): Likewise.
3414 (exec_comm): Likewise.
3415 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
3416 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
3417 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
3418 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
3419 * stdio-common/tst-fileno.c (do_test): Likewise.
3420 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
3421 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
3422 * stdlib/strtod_l.c (round_and_return): Likewise.
3423 (____STRTOF_INTERNAL): Likewise.
3424 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
3425 * string/strcspn.c (STRCSPN): Likewise.
3426 * string/test-memmem.c (simple_memmem): Likewise.
3427 * termios/tcsetattr.c (tcsetattr): Likewise.
3428 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
3429 * time/asctime.c (asctime_internal): Likewise.
3430 * time/strptime_l.c (__strptime_internal): Likewise.
3431 * time/sys/time.h (timercmp): Likewise.
3432 * time/tzfile.c (__tzfile_compute): Likewise.
3433
b0b50fe0
PF
34342019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
3435
b39d961c
TS
3436 [BZ #21915]
3437 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
b0b50fe0 3438
f43b8dd5
GG
34392019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3440
3441 * argp/argp-help.c (__argp_error_internal): New function,
3442 renamed from __argp_error, but that takes a 'mode_flags'
3443 parameter to control the format of long double parameters.
3444 (__argp_error): Converted into a call __argp_error_internal.
3445 (__argp_failure_internal): New function, renamed from
3446 __argp_failure, but that takes a 'mode_flags' parameter.
3447 (__argp_failure): Converted into a call __argp_failure_internal.
3448 * misc/err.c (__vwarnx_internal): New function, renamed from
3449 vwarnx, but that takes a 'mode_flags' parameter.
3450 (vwarnx): Converted into a call to __vwarnx_internal.
3451 (__vwarn_internal): New function, renamed from vwarn, but that
3452 takes a 'mode_flags' parameter.
3453 (vwarn): Converted into a call to __vwarn_internal.
3454 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
3455 call to __vfxprintf with 'mode_flags'.
3456 (__error_internal): New function, renamed from error, but that
3457 takes a 'mode_flags' parameter.
3458 (error): Converted into a call to __error_internal.
3459 (__error_at_line_internal): New function, renamed from
3460 error_at_line, but that takes a 'mode_flags' parameter.
3461 (error_at_line): Converted into a call to
3462 __error_at_line_internal.
3463 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
3464 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
3465 Likewise.
3466
dc0afac3 34672019-02-20 Martin Liska <mliska@suse.cz>
3468
3469 * math/Makefile: Install math-vector-fortran.h.
3470 * bits/math-vector-fortran.h: New file.
3471 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
3472
4a2dd41c
GG
34732019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3474
3475 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
3476 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
3477
04de9302
WS
34782019-02-19 Wolfram Sang <wsa@the-dreams.de>
3479
3480 * nptl/pthread_mutex_trylock.c: Fix comment.
3481
b026ce1e
CD
34822019-02-19 Carlos O'Donell <carlos@redhat.com>
3483
3484 * nptl/pthread_tryjoin.c: Fix comment.
3485
8c9289b6
JM
34862019-02-18 Joseph Myers <joseph@codesourcery.com>
3487
3488 [BZ #24231]
3489 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
3490 after R_SPARC_H34 case.
3491
308e022f
FW
34922019-02-18 Florian Weimer <fweimer@redhat.com>
3493
3494 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
3495 (getanswer): Do not call Dprintf.
3496 (res_gethostbyname2_context): Likewise.
3497 (res_gethostbyaddr_context): Likewise.
3498
a5406364
FW
34992019-02-18 Florian Weimer <fweimer@redhat.com>
3500
3501 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
3502 declaration.
3503 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
3504 Remove definitions.
3505 * libio/stdfiles.c: Update comment.
3506 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
3507 set _IO_stdin, _IO_stdout, _IO_stderr.
3508 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
3509 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
3510 inline function.
3511 (_IO_deallocate_file): New inline function.
3512 * libio/iolibio.h (_IO_vprintf): Remove definition.
3513 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
3514 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
3515 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
3516 _IO_legacy_file.
3517 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
3518 __builtin_expect. Use _IO_legacy_file.
3519
6c29942c
SL
35202019-02-18 Stefan Liebler <stli@linux.ibm.com>
3521
3522 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
3523 Initialize ctid with a known value and remove update of ctid
3524 after clone.
3525 (wait_tid): Adjust arguments and call futex_wait with ctid_val
3526 as assumed current value of ctid_ptr.
3527
225d9445 35282019-02-16 Florian Weimer <fweimer@redhat.com>
ad18dade
FW
3529
3530 Check that non-sysdeps headers have wrapper headers.
3531 * scripts/check-wrapper-headers.py: New file.
3532 * Makefile (tests-special): Add check-wrapper-headers.out.
3533 (check-wrapper-headers.out): New target.
3534 * Rules (tests-special): Add check-wrapper-headers.out.
3535 (check-wrapper-headers.out): New target.
3536
225d9445 35372019-02-16 Florian Weimer <fweimer@redhat.com>
ebd32784
FW
3538
3539 Add missing header wrappers under include/.
3540 * include/ar.h: New file.
3541 * include/bits/mqueue2.h: Likewise.
3542 * include/bits/stdio.h: Likewise.
3543 * include/bits/stdio2.h: Likewise.
3544 * include/fstab.h: Likewise.
3545 * include/fts.h: Likewise.
3546 * include/lastlog.h: Likewise.
3547 * include/netinet/icmp6.h: Likewise.
3548 * include/netinet/igmp.h: Likewise.
3549 * include/netinet/ip6.h: Likewise.
3550 * include/re_comp.h: Likewise.
3551 * include/regexp.h: Likewise.
3552 * include/rpcsvc/bootparam.h: Likewise.
3553 * include/rpcsvc/yp_prot.h: Likewise.
3554 * include/sys/random.h: Likewise.
3555 * include/sys/stropts.h: Likewise.
3556 * include/sys/ttychars.h: Likewise.
3557 * include/sys/vfs.h: Likewise.
3558 * include/wait.h: Likewise.
3559
225d9445 35602019-02-16 Florian Weimer <fweimer@redhat.com>
a198d37a
FW
3561
3562 * nptl_db/proc_service.h: Move to ...
3563 * sysdeps/nptl/proc_service.h: ... here.
3564 * nptl_db/thread_db.h: Move to ...
3565 * sysdeps/nptl/thread_db.h: ... here.
3566 * nptl/descr.h: Include <thread_db.h>.
3567
e442e40d
AZ
35682019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3569
3570 * io/Makefile (tests): Add tst-lockf.
3571 * io/lockf.c (lockf): Use __fcntl and only define for
3572 !__OFF_T_MATCHES_OFF64_T.
3573 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
3574 __OFF_T_MATCHES_OFF64_T case.
3575 * io/tst-lockf.c: New file.
3576 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
3577 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
3578 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
3579 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
3580 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
3581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
3582 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
3583 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
3584 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
3585
bc10e22c
FW
35862019-02-15 Florian Weimer <fweimer@redhat.com>
3587
3588 [BZ #24211]
3589 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
3590 pd->result after the thread descriptor has been freed.
3591
365f05c7
JM
35922019-02-15 Joseph Myers <joseph@codesourcery.com>
3593
8a11f970
JM
3594 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
3595 from function return type.
3596
365f05c7
JM
3597 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
3598
6b5c8607 35992019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
56a731d4
JK
3600
3601 * scripts/test_printers_common.py: Set TERM to a known harmless
3602 value.
3603
712182c8
JM
36042019-02-14 Joseph Myers <joseph@codesourcery.com>
3605
3606 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
3607 (xdr_u_int): Likewise.
3608 (xdr_enum): Likewise.
3609 (xdr_bytes): Reword fall-through comment.
3610 (xdr_string): Likewise.
3611
eb76e5b4
AZ
36122019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3613
3614 [BZ #2421]
3615 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
3616 (tests): Add tst-join8 tst-join9.
3617 * nptl/lll_timedwait_tid.c: Remove file.
3618 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
3619 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
3620 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
3621 * nptl/pthread_join_common.c (timedwait_tid): New function.
3622 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
3623 is set.
3624 * nptl/tst-join5.c (thread_join): New function.
3625 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
3626 check.
3627 * nptl/tst-join8.c: New file.
3628 * nptl/tst-join9.c: Likewise.
3629 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
3630 lll_futex_timed_wait_cancel): Add generic macros.
3631 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
3632 Remove definitions.
3633 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3634 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3635 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3636 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
3637 Remove function.
3638 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
3639 Likewise.
3640 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3641 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3642 (lll_futex_timed_wait_cancel): New macro.
3643
3904fd85
WD
36442019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
3645
3646 * benchtests/Makefile: Add malloc-simple benchmark.
3647 * benchtests/bench-malloc-simple.c: New benchmark.
3648
24ca04fe
SP
36492019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
3650
3651 * benchtests/bench-memmove.c (do_one_test): Remove unused
3652 ORIG_SRC.
3653 (do_test): Adjust.
3654 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
3655 ORIG_SRC.
3656 (do_test): Adjust.
3657
85bd1ddb
JW
36582019-01-13 Jim Wilson <jimw@sifive.com>
3659
3660 [BZ #24040]
3661 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
3662 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
3663 (func): New.
3664 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
3665 call func directly.
3666 * nptl/Makefile (tests): Add tst-unwind-thread.
3667 (CFLAGS-tst-unwind-thread.c): Define.
3668 * nptl/tst-unwind-thread.c: New file.
3669 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
3670 as undefined.
3671
86140c62
JM
36722019-02-13 Joseph Myers <joseph@codesourcery.com>
3673
10756268
JM
3674 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
3675 comment wording.
3676 * nis/nis_call.c (__do_niscall3): Likewise.
3677
05383720
JM
3678 * catgets/gencat.c (normalize_line): Use braces around empty
3679 'else' body.
3680 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3681 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
3682 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
3683 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
3684 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
3685 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
3686 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
3687 definition.
3688
86140c62
JM
3689 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
3690 execlp returns.
3691
16f87cfd
WD
36922019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
3693
3694 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
3695 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
3696 * benchtests/bench-strchr.c (stupid_strchr): Remove.
3697 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
3698 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
3699 * benchtests/bench-strlen.c (builtin_strlen): Remove.
3700 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
3701 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
3702 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
3703 * benchtests/bench-strspn.c (stupid_strspn): Remove.
3704 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
3705 * benchtests/bench-bcopy.c: Delete file.
3706 * benchtests/bench-bzero.c: Likewise.
3707 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
3708 (simple_memccpy): Remove.
3709 (generic_memccpy): Add function.
3710 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
3711 * benchtests/bench-memmove.c (simple_bcopy): Remove.
3712 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
3713 (generic_mempcpy): Add new function.
3714 * benchtests/bench-memset.c (simple_bzero): Remove.
3715 (builtin_bzero): Remove.
3716 (builtin_memset): Remove.
3717 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
3718 (generic_rawmemchr): Add new function.
3719
0c6d82e9
FW
37202019-02-12 Florian Weimer <fweimer@redhat.com>
3721
3722 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
3723
b3fbfe81
AZ
37242019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3725
3726 [BZ #24122]
3727 * elf/Makefile (tests): Add tst-audit13.
3728 (modules-names): Add tst-audit13mod1.
3729 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3730 rule.
3731 * elf/tst-audit13.c: New file.
3732 * elf/tst-audit13mod1.c: Likewise.
3733
3b856d09
FW
37342019-02-12 Florian Weimer <fweimer@redhat.com>
3735
3736 [BZ #24122]
3737 * elf/rtld.c (unload_audit_module): New function.
3738 (report_audit_module_load_error): Likewise.
3739 (load_audit_module): Likewise. Extracted from dl_main. Call
3740 _dl_close if the laversion symbol cannot be found. Use early
3741 returns for error handling. Add malloc error check. Check for a
3742 zero return value from la_version. Remove spurious comment about
3743 static TLS initialization. Remove useless casts.
3744 (notify_audit_modules_of_loaded_object): New function. Extracted
3745 from dl_main.
3746 (load_audit_module): Likewise.
3747 (dl_main): Call load_audit_modules.
3748
32db86d5
JM
37492019-02-12 Joseph Myers <joseph@codesourcery.com>
3750
3751 * elf/dl-exception.c (_dl_exception_create_format): Add
3752 fall-through comments.
3753 * elf/ldconfig.c (parse_conf_include): Likewise.
3754 * elf/rtld.c (print_statistics): Likewise.
3755 * locale/programs/charmap.c (parse_charmap): Likewise.
3756 * misc/mntent_r.c (__getmntent_r): Likewise.
3757 * posix/wordexp.c (parse_arith): Likewise.
3758 (parse_backtick): Likewise.
3759 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
3760 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
3761 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3762
a51bc4fe
PC
37632019-02-11 Paul A. Clarke <pc@us.ibm.com>
3764
3765 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
3766 Use float instead of double.
3767
fb25b135
TS
37682019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3769
3770 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
3771
32ea7299
JM
37722019-02-08 Joseph Myers <joseph@codesourcery.com>
3773
3774 * sysdeps/powerpc/bits/mathinline.h: Remove.
3775
eef4d4f8
FW
37762019-02-08 Florian Weimer <fweimer@redhat.com>
3777
3778 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
3779 * math/bits/math-finite.h: Move to ...
3780 * bits/math-finite.h: ... here.
3781
fdfbd47d
FW
37822019-02-08 Florian Weimer <fweimer@redhat.com>
3783
3784 * sysdeps/generic/bits/unistd_ext.h: Move to ...
3785 * bits/unistd_ext.h: here.
3786
11eb21c4
PF
37872019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
3788
3789 [BZ #21915]
3790 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
3791 * nss/tst-nss-files-hosts-long.c: New file.
3792 * nss/tst-nss-files-hosts-long.root: New directory.
3793 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
3794 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
3795
e47d82c9
FW
37962019-02-08 Florian Weimer <fweimer@redhat.com>
3797
3798 * include/bits/unistd_ext.h: Remove file.
3799 * posix/bits/unistd_ext.h: Move to ...
3800 * sysdeps/generic/bits/unistd_ext.h: ... here.
3801
8f89ab21
FW
38022019-02-08 Florian Weimer <fweimer@redhat.com>
3803
3804 * include/bits/unistd_ext.h: New file.
3805
144a794e
TS
38062019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
3807
3808 * time/tst-strftime2.c: Use array_length macros instead of magic
3809 numbers.
3810
669ff911
FW
38112019-02-08 Florian Weimer <fweimer@redhat.com>
3812
3813 [BZ #24161]
3814 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
3815 argument.
3816 * nptl/register-atfork.c (__run_fork_handlers): Only perform
3817 locking if the new do_locking argument is true.
3818 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
3819 __run_fork_handlers.
3820
d0bd87d4 38212019-02-08 Florian Weimer <fweimer@redhat.com>
1d0fc213
FW
3822
3823 [BZ #6399]
3824 Linux: Add gettid system call wrapper.
3825 * posix/Makefile (headers): Add bits/unistd_ext.h.
3826 * posix/bits/unistd_ext.h: New file.
3827 * posix/unistd.h: Include it.
3828 * manual/process.texi (Process Identification): Document gettid.
3829 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
3830 tst-gettid, tst-gettid-kill.
3831 (tst-gettid): Link with $(shared-thread-library).
3832 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
3833 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
3834 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
3835 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
3836 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
3837 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
3838 Add gettid.
3839 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3840 Likewise.
3841 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3842 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3843 Likewise.
3844 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3845 Likewise.
3846 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3847 Likewise.
3848 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3849 Likewise.
3850 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3851 Likewise.
3852 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3853 Likewise.
3854 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3855 Likewise.
3856 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3857 (GLIBC_2.30): Likewise.
3858 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3859 (GLIBC_2.30): Likewise.
3860 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3861 (GLIBC_2.30): Likewise.
3862 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3863 (GLIBC_2.30): Likewise.
3864 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3865 Likewise.
3866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3867 (GLIBC_2.30): Likewise.
3868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3869 (GLIBC_2.30): Likewise.
3870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3871 (GLIBC_2.30): Likewise.
3872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3873 (GLIBC_2.30): Likewise.
3874 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3875 Likewise.
3876 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3877 Likewise.
3878 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3879 Likewise.
3880 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3881 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3882 Likewise.
3883 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3884 Likewise.
3885 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3886 Likewise.
3887 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3888 Likewise.
3889 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
3890
225d9445 38912019-02-08 Florian Weimer <fweimer@redhat.com>
f289e656
FW
3892
3893 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
3894 compatibility symbols.
3895
823624bd
SL
38962019-02-07 Stefan Liebler <stli@linux.ibm.com>
3897
3898 [BZ #24180]
3899 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3900 Add compiler barriers and comments.
3901
8311c83f
FW
39022019-02-07 Florian Weimer <fweimer@redhat.com>
3903
3904 * include/array_length.h (array_length): Do not use a statement
3905 expression and _Static_assert, so that array_length can be used at
3906 file scope and as a constant expression.
3907
94b63e66
FW
39082019-02-07 Florian Weimer <fweimer@redhat.com>
3909
3910 * support/xdlfcn.h (xdlmopen): Declare.
3911 * support/xdlmopen.c: New file.
3912 * support/Makefile (libsupport-routines): Add xdlmopen.
3913
c2d8f0b7
JM
39142019-02-06 Joseph Myers <joseph@codesourcery.com>
3915
3916 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
3917 before return type, without separate inline.
3918 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
3919 * elf/dl-tunables.h (tunable_is_name): Likewise.
3920 * malloc/malloc.c (do_set_trim_threshold): Likewise.
3921 (do_set_top_pad): Likewise.
3922 (do_set_mmap_threshold): Likewise.
3923 (do_set_mmaps_max): Likewise.
3924 (do_set_mallopt_check): Likewise.
3925 (do_set_perturb_byte): Likewise.
3926 (do_set_arena_test): Likewise.
3927 (do_set_arena_max): Likewise.
3928 (do_set_tcache_max): Likewise.
3929 (do_set_tcache_count): Likewise.
3930 (do_set_tcache_unsorted_limit): Likewise.
3931 * nis/nis_subr.c (count_dots): Likewise.
3932 * nptl/allocatestack.c (advise_stack_range): Likewise.
3933 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
3934 (do_sin): Likewise.
3935 (reduce_sincos): Likewise.
3936 (do_sincos): Likewise.
3937 * sysdeps/unix/sysv/linux/x86/elision-conf.c
3938 (do_set_elision_enable): Likewise.
3939 (TUNABLE_CALLBACK_FNDECL): Likewise.
3940
3b935595
FW
39412019-02-06 Florian Weimer <fweimer@redhat.com>
3942
3943 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
3944 (xdlsym): Use dlerror to detect a NULL symbol.
3945
b4333340
FW
39462019-02-06 Florian Weimer <fweimer@redhat.com>
3947
3948 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
3949 <stap-probe.h>.
3950 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3951
b6d8a999
SL
39522019-02-06 Stefan Liebler <stli@linux.ibm.com>
3953
3954 * libio/tst-bz24153.c (wide): Use wide char format specifier.
3955
94eeeec0
SL
39562019-02-06 Stefan Liebler <stli@linux.ibm.com>
3957
3958 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
3959 __wmemcmp and weak alias to wmemcmp.
3960
bc79db3f
SL
39612019-02-06 Stefan Liebler <stli@linux.ibm.com>
3962
3963 [BZ #23403]
3964 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
3965 TLS_TCB_AT_TP tls variant.
3966 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
3967 Add alignment checks.
3968 * support/Makefile (libsupport-routines): Add xposix_memalign and
3969 xpthread_setstack.
3970 * support/support.h: Add xposix_memalign.
3971 * support/xthread.h: Add xpthread_attr_setstack.
3972 * support/xposix_memalign.c: New File.
3973 * support/xpthread_attr_setstack.c: Likewise.
3974
f1ac7455
FW
39752019-02-05 Florian Weimer <fweimer@redhat.com>
3976
3977 [BZ #24164]
3978 arm: Use "nr" constraint for Systemtap probes, to avoid the
3979 compiler using memory operands for constants, due to the "o"
3980 alternative in the default "nor" constraint.
3981 * include/stap-probe.h [USE_STAP_PROBE]: Include
3982 <stap-probe-machine.h>
3983 * sysdeps/generic/stap-probe-machine.h: New file.
3984 * sysdeps/arm/stap-probe-machine.h: Likewise.
3985
7a0dcfc6
JM
39862019-02-04 Joseph Myers <joseph@codesourcery.com>
3987
77dc0d86
JM
3988 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
3989 with 0, not tcache->entries[tc_idx].
3990
7a0dcfc6
JM
3991 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
3992 once.
3993
65f7767a
AS
39942019-02-04 Andreas Schwab <schwab@suse.de>
3995
3996 [BZ #16976]
3997 [BZ #17396]
3998 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
3999 looking up collating elements match against (wide) character
4000 sequence instead of name. Correct alignment adjustment.
4001 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
4002 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
4003 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
4004 (LOCALES): Add cs_CZ.ISO-8859-2.
4005 * posix/tst-fnmatch4.c: New file.
4006 * posix/tst-fnmatch5.c: New file.
4007 * include/wchar.h (__wmemcmp): Declare.
4008 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
4009 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
4010 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
4011 * sysdeps/s390/wmemcmp.c: Likewise.
4012
3f635fb4
L
40132019-02-04 H.J. Lu <hongjiu.lu@intel.com>
4014
4015 [BZ #24155]
4016 CVE-2019-7309
4017 * NEWS: Updated for CVE-2019-7309.
4018 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
4019 upper 32 bits of RDX register for x32. Use unsigned Jcc
4020 instructions, instead of signed.
4021 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
4022 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
4023
2ab5741b
FW
40242019-02-04 Florian Weimer <fweimer@redhat.com>
4025
4026 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
4027 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
4028 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
4029 Likewise.
4030 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
4031 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
4032 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
4033 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
4034 Likewise.
4035 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
4036 Likewise.
4037 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
4038 Likewise.
4039 (posix_spawn_file_actions_addopen): Likewise.
4040 (posix_spawn_file_actions_addclose): Likewise.
4041 (posix_spawn_file_actions_adddup2): Likewise.
4042 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
4043 qualifiers.
4044 (posix_spawn_file_actions_addfchdir_np): Likewise.
4045
8692ebdb
DN
40462019-02-04 David Newall <glibc@davidnewall.com>
4047
4048 elf: Implement --preload option for the dynamic linker.
4049 * elf/rtld.c (preloadarg): New variable.
4050 (handle_preload_list): Pass through “where” argument to
4051 do_preload.
4052 (dl_main): Handle "--preload" and add second call to
4053 handle_preload_list.
4054 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
4055 (tst-rtld-preload-OBJS): Set variable.
4056 (tst-rtld-preload.out): New target.
4057 * elf/tst-rtld-preload.sh: New file.
4058
5e10136b
MM
40592019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
4060
4061 * Makefile (testrun.sh): Exit in case of incorrect argument.
4062
221baae0
FW
40632019-02-04 Florian Weimer <fweimer@redhat.com>
4064
4065 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
4066 alignment gaps.
4067
b8c72381
FW
40682019-02-03 Florian Weimer <fweimer@redhat.com>
4069
4070 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
4071 implicit overflow checks.
4072
11f382ee
AJ
40732019-02-03 Aurelien Jarno <aurelien@aurel32.net>
4074
4075 * stdlib/isomac.c: Include <unistd.h>.
4076
77c7d55e
FW
40772019-02-03 Florian Weimer <fweimer@redhat.com>
4078
4079 * include/time.h (__tzfile_default): Use int, not long int, for
4080 the GMT offsets.
4081 * time/tzfile.c (struct ttinfo): Change type of the offset member
4082 to int.
4083 (__tzfile_read): Remove useless cast.
4084 (__tzfile_default): Adjust prototype.
4085 * time/tzset.c (tz_rule): Change type of the offset member to int.
4086 (parse_offset): Change the type of the sign variable to int.
4087
ee9941f9
FW
40882019-02-03 Florian Weimer <fweimer@redhat.com>
4089
4090 [BZ #24153]
4091 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
4092 * libio/getchar.c (getchar): Likewise.
4093 * libio/getchar_u.c (getchar_unlocked): Likewise.
4094 * libio/getwchar.c (getwchar): Likewise.
4095 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4096 * libio/iogets.c (_IO_gets): Likewise.
4097 * libio/vscanf.c (_IO_vscanf): Likewise.
4098 * libio/vwscanf.c (__vwscanf): Likewise.
4099 * libio/tst-bz24153.c: New file.
4100 * libio/Makefile (tests): Add it.
4101
c70824b9
FW
41022019-02-02 Florian Weimer <fweimer@redhat.com>
4103
4104 [BZ #14829]
4105 * manual/resource.texi (Basic Scheduling Functions): Add
4106 portability note. Change process to task throughout the section.
4107 Remove incorrect comment about sched_yield as it affects
4108 tasks/threads, not entire processes.
4109 * sysdeps/unix/sysv/linux/bits/posix_opt.h
4110 (_POSIX_PRIORITY_SCHEDULING): Update comment.
4111
4dcbbc3b
JM
41122019-02-01 Joseph Myers <joseph@codesourcery.com>
4113
4114 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
4115 * configure: Regenerated.
4116 * manual/install.texi (Tools for Compilation): Update minimum GCC
4117 version.
4118 * INSTALL: Regenerated.
4119
6175507c
FW
41202019-02-01 Florian Weimer <fweimer@redhat.com>
4121
4122 * support/support_test_compare_string.c
4123 (support_test_compare_string): Use "string" in error message.
4124 * support/tst-test_compare_string.c (do_test): Adjust.
4125
baef1943
FW
41262019-02-01 Florian Weimer <fweimer@redhat.com>
4127
4128 * support/support_format_address_family.c
4129 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
4130
395599f0
FW
41312019-02-01 Florian Weimer <fweimer@redhat.com>
4132
4133 * manual/socket.texi (Internet Address Formats): Clarify the byte
4134 order of struct sockaddr_in, struct sockaddr_in6. Document
4135 sin6_flowinfo and sin6_scope_id.
4136
b06f4c00
WD
41372019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
4138
4139 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
4140 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
4141 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
4142 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
4143 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
4144 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
4145
83d1cc42
FX
41462019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4147
4148 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
4149 [!MEMCHR](MEMCHR): Set to __memchr.
4150 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
4151 Add memchr_generic and memchr_nosimd.
4152 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
4153 (__libc_ifunc_impl_list): Add memchr ifuncs.
4154 * sysdeps/aarch64/multiarch/memchr.c: New file.
4155 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
4156 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
4157
c7d3890f
FX
41582019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4159
4160 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
4161 Add memset_emag.
4162 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
4163 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
4164 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
4165 Add IS_EMAG check for ifunc dispatch.
4166 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
4167 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
4168
07c3d1ec
FX
41692019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4170
4171 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
4172 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4173 Add emag.
4174 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
4175 New macro.
4176
114f792e
SL
41772019-02-01 Stefan Liebler <stli@linux.ibm.com>
4178
4179 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
4180
d5627550
VG
41812019-01-31 Vineet Gupta <vgupta@synopsys.com>
4182
4183 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
4184 syscall-template file.
4185
5fc9ed4c
CD
41862019-01-31 Carlos O'Donell <carlos@redhat.com>
4187 Torvald Riegel <triegel@redhat.com>
4188 Rik Prohaska <prohaska7@gmail.com>
4189
4190 [BZ# 23844]
4191 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
4192 tst-rwlock-trywrlock-stall.
4193 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4194 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
4195 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
4196 Set __wrphase_fute to 1 only if we started the write phase.
4197 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
4198 * nptl/tst-rwlock-trywrlock-stall.c: New file.
4199 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
4200 * support/xpthread_rwlock_destroy.c: New file.
4201 * support/xthread.h: Declare xpthread_rwlock_destroy.
4202
932329a5
JM
42032019-02-01 Joseph Myers <joseph@codesourcery.com>
4204
4205 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
4206 version to 4.0.2.
4207
5f10701f
PP
42082019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4209
4210 [BZ #24051]
4211 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
4212 * libio/fileops.c (_IO_new_file_underflow): Likewise
4213 * libio/wfileops.c (_IO_wfile_underflow): Likewise
4214 * libio/putchar.c (putchar): Likewise.
4215 * libio/putchar_u.c (putchar_unlocked): Likewise.
4216 * libio/putwchar.c (putchar): Likewise.
4217 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
4218 * libio/tst-bz24051.c: New test.
4219 * libio/Makefile (tests): Add tst-bz24051
4220
583dd860
PE
42212019-01-31 Paul Eggert <eggert@cs.ucla.edu>
4222
b626c5aa 4223 CVE-2019-9169
583dd860
PE
4224 regex: fix read overrun [BZ #24114]
4225 Problem found by AddressSanitizer, reported by Hongxu Chen in:
4226 https://debbugs.gnu.org/34140
4227 * posix/regexec.c (proceed_next_node):
4228 Do not read past end of input buffer.
4229
2bac7daa
FW
42302019-01-31 Florian Weimer <fweimer@redhat.com>
4231
4232 [BZ #24059]
4233 * nss/nss_files/files-alias.c (get_next_alias): Handle
4234 continuation line without newline at the end.
4235 * nss/tst-nss-files-alias-truncated.c: New file.
4236 * nss/Makefile [$(build-shared)] (tests): Add
4237 tst-nss-files-alias-truncated.
4238 (tst-nss-files-alias-truncated): Link with libnss_files.so.
4239 * support/namespace.h (struct support_chroot_configuration): Add
4240 aliases member.
4241 (struct support_chroot): Add path_aliases member.
4242 * support/support_chroot.c (support_chroot_create): Handle
4243 aliases.
4244 (support_chroot_free): Free path_aliases.
4245
330c9d0d
SP
42462019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
4247
de44ab67
SP
4248 * version.h (RELEASE): Set to "development".
4249 (VERSION): Set to "2.29.9000".
4250 * NEWS: Add section for 2.30.
4251
56c86f5d
SP
4252 * version.h (RELEASE): Set to "stable".
4253 (VERSION): Set to "2.29".
4254 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
4255
330c9d0d
SP
4256 * NEWS: Add the list of bugs fixed in 2.29.
4257 * manual/contrib.texi: Update contributors list with some more
4258 names.
4259 * manual/install.texi: Update latest versions of packages
4260 tested.
4261 * INSTALL: Regenerated.
4262
e1e47c91
SP
42632019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
4264
4265 * po/be.po: Update translations.
4266 * po/bg.po: Likewise.
4267 * po/ca.po: Likewise.
4268 * po/cs.po: Likewise.
4269 * po/da.po: Likewise.
4270 * po/de.po: Likewise.
4271 * po/el.po: Likewise.
4272 * po/eo.po: Likewise.
4273 * po/es.po: Likewise.
4274 * po/fi.po: Likewise.
4275 * po/fr.po: Likewise.
4276 * po/gl.po: Likewise.
4277 * po/hr.po: Likewise.
4278 * po/hu.po: Likewise.
4279 * po/ia.po: Likewise.
4280 * po/id.po: Likewise.
4281 * po/it.po: Likewise.
4282 * po/ja.po: Likewise.
4283 * po/ko.po: Likewise.
4284 * po/lt.po: Likewise.
4285 * po/nb.po: Likewise.
4286 * po/nl.po: Likewise.
4287 * po/pl.po: Likewise.
4288 * po/pt_BR.po: Likewise.
4289 * po/ru.po: Likewise.
4290 * po/rw.po: Likewise.
4291 * po/sk.po: Likewise.
4292 * po/sl.po: Likewise.
4293 * po/sv.po: Likewise.
4294 * po/tr.po: Likewise.
4295 * po/uk.po: Likewise.
4296 * po/vi.po: Likewise.
4297 * po/zh_CN.po: Likewise.
4298 * po/zh_TW.po: Likewise.
4299
8d016826
UB
43002019-01-24 Uroš Bizjak <ubizjak@gmail.com>
4301
4302 [BZ #24130]
4303 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
4304 of $f3 register on $y_is_neg path.
4305
a0bb5abd
ST
43062019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
4307
b96e22d0 4308 [BZ #24110]
a0bb5abd
ST
4309 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
4310 sigaltstack.ss_flags.
4311
b22eed37
TS
43122019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
4313
4314 [BZ #23758]
4315 * manual/time.texi (strftime): Document "%Ey".
4316 * time/strftime_l.c (__strftime_internal): Set the default width
4317 padding with zero of "%Ey" to 2.
4318
32f600a2
TS
4319 [BZ #24096]
4320 * manual/time.texi (strftime): Document "%EC" and "%EY".
4321 * time/Makefile (tests): Add tst-strftime2.
4322 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
4323 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
4324 override padding for "%Ey".
4325 If an optional flag ('_' or '-') is specified to "%EY", interpret the
4326 "%Ey" in the subformat as if decorated with that flag.
4327 * time/tst-strftime2.c: New file.
4328
8e889c5d
AZ
43292019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4330
3367acdb
AZ
4331 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
4332 are not defined.
4333
8e889c5d
AZ
4334 [BZ #24122]
4335 * elf/Makefile (tests): Add tst-audit13.
4336 (modules-names): Add tst-audit13mod1.
4337 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
4338 rule.
4339 * elf/rtld.c (dl_main): Handle invalid audit module version.
4340 * elf/tst-audit13.c: New file.
4341 * elf/tst-audit13mod1.c: Likewise.
4342
a95dc01c
ST
43432019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
4344
4345 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
4346 returned by __hurd_at_flags.
ee4d7902
ST
4347 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
4348 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
4349 directly instead of __hurd_file_name_lookup.
a95dc01c 4350
712f1167
JM
43512019-01-21 Joseph Myers <joseph@codesourcery.com>
4352
4353 * scripts/build-many-glibcs.py (Context.checkout): Default
4354 binutils version to 2.32 branch.
4355
108bc404
FW
43562019-01-21 Florian Weimer <fweimer@redhat.com>
4357
4358 [BZ #20018]
4359 CVE-2016-10739
4360 resolv: Reject trailing characters in host names
4361 * include/arpa/inet.h (__inet_aton_exact): Declare.
4362 (inet_aton): Remove hidden prototype. No longer used internally.
4363 * nscd/gai.c (__inet_aton): Do not define.
4364 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
4365 * nss/digits_dots.c (__inet_aton): Likewise.
4366 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
4367 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
4368 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
4369 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
4370 (tst-resolv-trailing): Likewise.
4371 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
4372 libc.
4373 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
4374 Make static. Add endp parameter.
4375 (__inet_aton_exact): New function.
4376 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
4377 (__inet_addr): Call inet_aton_end.
4378 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
4379 not just IPv6. Call __inet_aton_exact.
4380 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
4381 (tests): Make const. Add additional test cases with trailing
4382 characters.
4383 (do_test): Use array_length.
4384 * resolv/tst-inet_aton_exact.c: New file.
4385 * resolv/tst-resolv-trailing.c: Likewise.
4386 * resolv/tst-resolv-nondecimal.c: Likewise.
4387 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
4388
5165de69
L
43892019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4390
4391 [BZ# 24097]
4392 CVE-2019-6488
4393 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
4394 Clear the upper 32 bits of RSI register.
4395 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
4396 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
4397 and tst-size_t-wcsnlen.
4398 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
4399 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
4400
c7c54f65
L
44012019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4402
4403 [BZ# 24097]
4404 CVE-2019-6488
4405 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
4406 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4407 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4408 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
4409 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
4410
ee915088
L
44112019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4412
4413 [BZ# 24097]
4414 CVE-2019-6488
4415 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
4416 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4417 * sysdeps/x86_64/strcmp.S: Likewise.
4418 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
4419 tst-size_t-strncmp and tst-size_t-wcsncmp.
4420 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
4421 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
4422 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
4423
82d0b4a4
L
44242019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4425
4426 [BZ# 24097]
4427 CVE-2019-6488
4428 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
4429 RDX_LP for length. Clear the upper 32 bits of RDX register.
4430 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
4431 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
4432 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
4433 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
4434
ecd8b842
L
44352019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4436
4437 [BZ# 24097]
4438 CVE-2019-6488
4439 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
4440 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
4441 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
4442 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
4443
231c5676
L
44442019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4445
4446 [BZ# 24097]
4447 CVE-2019-6488
4448 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
4449 length. Clear the upper 32 bits of RDX register.
4450 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4451 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
4452 Likewise.
4453 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4454 Likewise.
4455 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
4456 tst-size_t-wmemchr.
4457 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
4458
b304fc20
L
44592019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4460
4461 [BZ# 24097]
4462 CVE-2019-6488
4463 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
4464 length. Clear the upper 32 bits of RDX register.
4465 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4466 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4467 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
4468 tst-size_t-wmemcmp.
4469 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
4470 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
4471
97700a34
L
44722019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4473
4474 [BZ# 24097]
4475 CVE-2019-6488
4476 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
4477 upper 32 bits of RDX register.
4478 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
4479 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
4480 tst-size_t-wmemchr.
4481 * sysdeps/x86_64/x32/test-size_t.h: New file.
4482 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
4483 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
4484
6ca53a24
FW
44852019-01-18 Florian Weimer <fweimer@redhat.com>
4486
4487 [BZ #24112]
4488 resolv: Do not send queries for non-host-names in nss_dns.
4489 * resolv/nss_dns/dns-host.c (check_name): New function.
4490 (_nss_dns_gethostbyname2_r): Use it.
4491 (_nss_dns_gethostbyname_r): Likewise.
4492 (_nss_dns_gethostbyname4_r): Likewise.
4493
5e30b8ef
FW
44942019-01-21 Florian Weimer <fweimer@redhat.com>
4495
4496 * resolv/inet_addr.c: Reformat to GNU style.
4497 (__inet_addr, __inet_aton): Update comment.
4498
71effcea
FW
44992019-01-18 Florian Weimer <fweimer@redhat.com>
4500
4501 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
4502 ("malloc: Use current (C11-style) atomics for fastbin access").
4503 This commit introduces a substantial performance regression on
4504 POWER and Aarch64.
4505 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
4506 (REMOVE_FB): Define.
4507 (_int_malloc): Use it and reindent.
4508 (_int_free): Use CAS loop with
4509 catomic_compare_and_exchange_val_rel.
4510 (malloc_consolidate): Use atomic_exchange_acq.
4511
4512
562f4362
L
45132019-01-18 H.J. Lu <hongjiu.lu@intel.com>
4514
4515 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
4516 -Wl,-z,now.
4517 (LDFLAGS-tst-minsigstksz-2): Likewise.
4518 (LDFLAGS-tst-minsigstksz-3): Likewise.
4519 (LDFLAGS-tst-minsigstksz-3a): Likewise.
4520 (LDFLAGS-tst-minsigstksz-4): Likewise.
4521
80dfa298
TS
45222019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
4523
4524 * manual/time.texi (strftime): Fix the wording to "alternative" rather
4525 than "alternate".
4526
008b598e
PC
45272019-01-16 Paul A. Clarke <pc@us.ibm.com>
4528
4529 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
4530
fbbc9a4e
ZW
45312019-01-16 Zack Weinberg <zackw@panix.com>
4532
6b5c8607
TS
4533 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
4534 (xget_sigstack_location): New test support functions.
4535 * support/xsigstack.c: New file, implementing them.
4536 * support/tst-xsigstack.c: New test for them.
4537 * support/Makefile: Update.
fbbc9a4e 4538
6b5c8607
TS
4539 * signal/tst-minsigstksz-1.c
4540 * signal/tst-minsigstksz-2.c
4541 * signal/tst-minsigstksz-3.c
4542 * signal/tst-minsigstksz-3a.c
4543 * signal/tst-minsigstksz-4.c: New tests.
4544 * signal/Makefile: Run them.
fbbc9a4e 4545
5f1135e4
SP
45462019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
4547
4548 * po/libc.pot: Regenerate.
4549
ecdacd34
TMQMF
45502019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4551
4552 * math/libm-test-fma.inc (fma_test_data): Set
4553 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
4554
56054664
RA
45552019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4556
4557 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
4558 (do_test): Changed __vector __int128_t to __vector unsigned int.
4559
1a153e47
LS
45602019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4561
4562 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4563 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
4564 stpcpy-avx2 and stpncpy-avx2.
4565 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
4566 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
4567 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
4568 and __stpncpy_avx2.
4569 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
4570 ifunc-strcpy.h}: rename header for a more generic name.
4571 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
4572 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
4573 AVX unaligned load is fast and vzeroupper is preferred.
4574 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
4575 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
4576 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
4577 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
4578 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
4579 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
4580
a1b02ae7
DL
45812019-01-12 Dmitry V. Levin <ldv@altlinux.org>
4582
4583 * argp/argp-help.c: Fix typo in comment.
4584 * misc/sys/cdefs.h: Likewise.
4585 * posix/regexec.c (sift_states_iter_mb): Likewise.
4586 * socket/sockatmark.c: Likewise.
4587 * socket/sys/socket.h: Likewise.
4588 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
4589 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
4590 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
4591 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4592 * sysdeps/unix/sockatmark.c: Likewise.
4593 * time/strptime_l.c: Likewise.
4594
5cbbf01e
TS
45952019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
4596
4597 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
4598 missing space after the cast of "_NL_CURRENT".
4599
0bc9bdf1
RA
46002019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4601
4602 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
4603 ifdef to fix read of VSCR.
4604 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
4605 tst-ucontext-ppc64-vscr.c to test list.
4606 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
4607
5494af04
AH
46082019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
4609
4610 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
4611 fall-through.
4612
e17f63ff
JW
46132019-01-09 Jim Wilson <jimw@sifive.com>
4614
4615 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
4616
02f440c1
WD
46172019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
4618
4619 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
4620 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
4621 __memcpy_falkor for ares.
4622 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
4623 Add new define.
4624 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4625 Add ares cpu.
4626
69da3c9e
L
46272019-01-07 H.J. Lu <hongjiu.lu@intel.com>
4628
4629 [BZ #24066]
4630 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
4631 4_FP_W_TYPEs are used for IEEE quad precision.
4632 * soft-fp/extendhftf2.c: Likewise.
4633 * soft-fp/extendsftf2.c: Likewise.
4634 * soft-fp/extendxftf2.c: Likewise.
4635 * soft-fp/trunctfdf2.c: Likewise.
4636 * soft-fp/trunctfhf2.c: Likewise.
4637 * soft-fp/trunctfsf2.c: Likewise.
4638 * soft-fp/trunctfxf2.c: Likewise.
4639 * sysdeps/alpha/ots_cvttx.c: Likewise.
4640 * sysdeps/alpha/ots_cvtxt.c: Likewise.
4641 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
4642 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
4643 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
4644 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
4645 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
4646 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
4647 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
4648 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
4649 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
4650 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
4651 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
4652 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
4653 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
4654 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
4655 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
4656 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
4657
2ef42716
AJ
46582019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4659
4660 [BZ #24024]
4661 * Makeconfig: Build libm with -fno-math-errno but build the remaining
4662 code with -fmath-errno.
4663 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
4664 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
4665 * string/test-strerror-errno.c: New file.
4666
7395f3a0
AJ
46672019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4668
4669 [BZ #24046]
4670 * localedata/locales/en_US (date_fmt): Add, set to
4671 "%a %d %b %Y %r %Z".
4672
010fe231
FW
46732019-01-07 Florian Weimer <fweimer@redhat.com>
4674
4675 [BZ #24063]
4676 * manual/arith.texi (Math Error Reporting): Use @code{errno}
4677 instead of @var{errno}.
4678 (Parsing of Integers): Likewise.
4679 (Parsing of Floats): Likewise.
4680 * manual/filesys.texi (Working with Directory Trees): Likewise.
4681 (Temporary Files): Likewise.
4682 * manual/job.texi (Terminal Access Functions): Likewise.
4683 * manual/llio.texi (Synchronizing I/O): Likewise.
4684 * manual/math.texi (SVID Random): Likewise.
4685 * manual/message.texi (The catgets Functions): Likewise.
4686 (Translation with gettext): Likewise.
4687 (Locating gettext catalog): Likewise.
4688 (Charset conversion in gettext): Likewise.
4689 * manual/nss.texi (NSS Module Function Internals): Likewise.
4690 * manual/search.texi (Hash Search Function): Likewise.
4691 * manual/setjmp.texi (System V contexts): Likewise.
4692 * manual/time.texi (Sleeping): Likewise.
4693 * manual/users.texi (Lookup User): Likewise.
4694 (Lookup Group): Likewise.
4695
b79dc8d0
AZ
46962019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4697
4698 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
4699 fix typo.
4700
890461fe 47012019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
27c5e756
MJ
4702
4703 [BZ #19444]
4704 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
4705 __builtin_unreachable for default case in switch.
4706 (__ieee754_yn): Likewise.
4707 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4708 (__ieee754_ynl): Likewise.
4709 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4710 (__ieee754_ynl): Likewise.
4711 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4712 (__ieee754_ynl): Likewise.
4713
8b18d418
SN
47142019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
4715
4716 * manual/maint.texi: Use @{ and @}.
4717
4392898d
FW
47182019-01-04 Florian Weimer <fweimer@redhat.com>
4719
4720 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
4721 function.
4722 (do_in_chroot_1): Call it.
4723 (run_chroot_tests):
4724 Improve error reporting in case it is not possible to create a
4725 collision for the PTY name required by the test.
4726
17cc27d5
AZ
47272019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4728
ce7eb0e9
AZ
4729 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
4730 lll_wait_tid with timeout.
4731 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
4732 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
4733 futex_reltimed_wait_cancelable for cancelabla mode.
4734 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
4735 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
4736 macros.
4737 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
4738 * sysdeps/posix/waitid.c (__sigwait): Likewise.
4739 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
4740 SYSCALL_CANCEL_NCS): New macro.
4741 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
4742 (lll_timedwait_tid): Remove macro.
4743 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
4744 Likewise.
4745 (lll_timedwait_tid): Likewise.
4746 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
4747 Likewise.
4748 (lll_timedwait_tid): Likewise.
4749 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
4750 Likewise.
4751 (lll_timedwait_tid): Likewise.
4752 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
4753 Use INTERNAL_SYSCALL_CANCEL.
4754 * sysdeps/unix/sysv/linux/futex-internal.h
4755 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
4756 instead of __pthread_{enable,disable}_asynccancel.
4757 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
4758 (lll_futex_wait_cancel): New macro.
4759
0b13e255
AZ
4760 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
4761 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
4762
85c828a4
AZ
4763 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
4764 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
4765
d0d7f85f
AZ
4766 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
4767 in backtrace analysis.
4768 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
4769 side-effects.
4770 (tf_send): Likewise.
4771
17cc27d5
AZ
4772 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
4773 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
4774 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
4775 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
4776 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
4777 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
4778 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
4779 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
4780 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
4781 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
4782 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
4783 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
4784 Likewise.
4785 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
4786 tst-cancel-wrappers.sh.
4787 (generated): Remove tst-cancel-wrappers.out.
4788 (tst-cancel-wrappers.out): Remove rule.
4789 * nptl/tst-cancel-wrappers.sh: Remove file.
4790
7d7af8f1
SN
47912019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4792
4793 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
4794 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
4795 Update.
4796
805334b2
AZ
47972019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4798
4799 [BZ #23640]
4800 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
4801 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
4802 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
4803 close-on-exec reset for adddup2 file action.
4804 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
4805
03992356
ZW
48062019-01-03 Zack Weinberg <zackw@panix.com>
4807
4808 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
4809 parameter. Only use deprecated scanf when __USE_GNU is defined
4810 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
4811 than 201103L, whichever is relevant for the language being compiled.
4812
4813 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
4814 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
4815 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
4816 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
4817 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
4818
4819 * libio/iovsscanf.c
4820 * libio/fwscanf.c
4821 * libio/iovswscanf.c
4822 * libio/swscanf.c
4823 * libio/vscanf.c
4824 * libio/vwscanf.c
4825 * libio/wscanf.c
4826 * stdio-common/fscanf.c
4827 * stdio-common/scanf.c
4828 * stdio-common/vfscanf.c
4829 * stdio-common/vfwscanf.c
4830 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4831 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
4832 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
4833 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
4834 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
4835 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
4836 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
4837 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
4838 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
4839 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
4840 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
4841 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
4842 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
4843 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
4844 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
4845
4846 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
4847 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
4848 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
4849 not sscanf.
4850 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
4851 with a preprocessor macro.
4852
4853 * stdio-common/bug21.c, stdio-common/scanf14.c:
4854 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
4855 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4856 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
4857 to xscanf, xfscanf, xsscanf.
4858
4859 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
4860 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4861 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
4862 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
4863 xfscanf, xsscanf.
4864 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
4865 override feature selection macros or provide definitions of u_char etc.
4866 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
4867 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
4868 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
4869 with -std=gnu89.
4870
8083afa5
AZ
48712019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4872
6f343c1f
AZ
4873 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4874 bits/termios-misc.h.
4875 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
4876 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4877 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4878 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4879 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
4880 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
4881
51f4beb0
AZ
4882 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
4883 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4884 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
4885 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
4886 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
4887 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
4888 termios-misc.h.
4889 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
4890 (sysdep_headers): Add termios-misc.h.
4891
f69c5cb2
AZ
4892 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
4893 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4894 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4895
3aa4a07e
AZ
4896 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4897 termios-tcflow.h.
4898 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
4899 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
4900 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
4901 TCSAFLUSH): Move to termios-tcflow.h.
4902 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4903 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4904 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4905 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4906
22679ddf
AZ
4907 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4908 termios-c_lflag.h.
4909 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
4910 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
4911 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
4912 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
4913 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
4914 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
4915 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
4916 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
4917 Likewise.
4918 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4919 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4920 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4921 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4922
72eb6ecc
AZ
4923 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4924 termios-c_cflag.h.
4925 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
4926 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
4927 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
4928 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
4929 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
4930 termios-c_cflag.h.
4931 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4932 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4933 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4934 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4935
9c5d0d02
AZ
4936 [BZ #23783]
4937 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4938 termios-baud.h.
4939 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
4940 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
4941 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
4942 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
4943 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
4944 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
4945 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
4946 __MAX_BAUD): Move to termios-baud.h.
4947 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
4948 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
4949 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4950 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4951 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4952
7b832018
AZ
4953 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4954 termios-c_oflag.h.
4955 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
4956 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
4957 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
4958 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
4959 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
4960 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
4961 termios-c_oflag.h.
4962 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
4963 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
4964 FFR1): Likewise.
4965 [USE_MISC] (XTABS): Likewise.
4966 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4967 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4968 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4969 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
4970
3127003e
AZ
4971 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4972 termios-c_iflag.h.
4973 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
4974 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
4975 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
4976 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
4977 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
4978 IUTF8): Move to termios-c_iflag.h.
4979 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4980 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4981 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4982 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4983
48c1dd96
AZ
4984 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4985 termios-cc.h.
4986 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
4987 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
4988 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
4989 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
4990 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
4991 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
4992 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
4993 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
4994 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4995 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4996 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4997 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4998
e5a50db3
AZ
4999 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
5000 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
5001 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
5002 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
5003 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5004 termios-struct.h.
5005 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
5006 termios-struct.h.
5007 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
5008 Likewise.
5009 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
5010 Likewise.
5011 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
5012 Likewise.
5013 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
5014 Likewise.
5015 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
5016 _HAVE_C_OSPEED): Define.
5017 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
5018 _HAVE_C_OSPEED): Likewise.
5019 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
5020 _HAVE_C_OSPEED): Likewise.
5021 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
5022 (cfsetospeed): Check for define value instead of existence.
5023 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
5024 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
5025 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
5026 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
5027 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
5028
8083afa5
AZ
5029 [BZ #17783]
5030 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
5031 Define.
5032 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
5033 (TIOCSER_TEMT): Likewise.
5034 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
5035 (TEOCSER_TEMT): Likewise.
5036
4d7d7dc6
P
50372019-01-02 PanderMusubi <pander@users.sourceforge.net>
5038
5039 [BZ #24011]
5040 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
5041
8e291a29
JM
50422019-01-02 Joseph Myers <joseph@codesourcery.com>
5043
5044 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
5045
55137f7d
ST
50462019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5047
5048 * sysdeps/htl/pt-barrierattr-setpshared.c
5049 (pthread_barrierattr_setpshared): Add stub warning.
5050 * sysdeps/htl/pt-condattr-setpshared.c
5051 (pthread_condattr_setpshared): Likewise.
5052 * sysdeps/htl/pt-mutexattr-setpshared.c
5053 (pthread_mutexattr_setpshared): Likewise.
5054 * sysdeps/htl/pt-rwlockattr-setpshared.c
5055 (pthread_rwlockattr_setpshared): Likewise.
5056 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
5057 (pthread_mutexattr_setpshared): Likewise.
5058
2ce09e01
JM
50592019-01-02 Joseph Myers <joseph@codesourcery.com>
5060
acb55dcb
JM
5061 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
5062 constants to match with Linux 4.20.
5063
2ce09e01
JM
5064 * sysdeps/mips/mips32/libm-test-ulps: Update.
5065 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5066
fe20bb1d
AJ
50672019-01-02 Aurelien Jarno <aurelien@aurel32.net>
5068
5069 [BZ #24034]
5070 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
5071 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
5072 than __typeof (...) for the a_ptr variable.
5073
2d9837c1
GG
50742019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5075
5076 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
5077 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
5078 * libio/Makefile (tests): Add tst-sprintf-ub and
5079 tst-sprintf-chk-ub.
5080 (CFLAGS-tst-sprintf-ub.c): New variable.
5081 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
5082 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
5083 destination buffer and check for overflows in fortified mode.
5084 * libio/libioP.h (PRINTF_CHK): New macro.
5085 * libio/tst-sprintf-chk-ub.c: New file.
5086 * libio/tst-sprintf-ub.c: Likewise.
5087
d5c6df0b 50882019-01-02 Florian Weimer <fweimer@redhat.com>
8c1aafc1
FW
5089
5090 [BZ #24018]
5091 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
5092 failure.
5093
66081e38
FW
50942019-01-02 Florian Weimer <fweimer@redhat.com>
5095
5096 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
5097
04277e02
JM
50982019-01-01 Joseph Myers <joseph@codesourcery.com>
5099
6ef3d225
JM
5100 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
5101 macro.
5102
e3d4e292
JM
5103 * sysdeps/unix/sysv/linux/netpacket/packet.h
5104 (PACKET_IGNORE_OUTGOING): New macro.
5105
f4507797
JM
5106 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
5107 macro.
5108
47ad5e1a
JM
5109 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5110 version to 4.20.
5111 (riscv_flush_icache): New syscall.
5112
7628a1b0
JM
5113 * manual/texinfo.tex: Update to version 2018-12-28.17 with
5114 trailing whitespace removed.
5115 * scripts/config.guess: Update to version 2019-01-01.
5116 * scripts/config.sub: Update to version 2019-01-01.
5117 * scripts/move-if-change: Update from gnulib.
5118
c9123888
JM
5119 * NEWS: Update copyright dates.
5120 * catgets/gencat.c (print_version): Likewise.
5121 * csu/version.c (banner): Likewise.
5122 * debug/catchsegv.sh: Likewise.
5123 * debug/pcprofiledump.c (print_version): Likewise.
5124 * debug/xtrace.sh (do_version): Likewise.
5125 * elf/ldconfig.c (print_version): Likewise.
5126 * elf/ldd.bash.in: Likewise.
5127 * elf/pldd.c (print_version): Likewise.
5128 * elf/sotruss.sh: Likewise.
5129 * elf/sprof.c (print_version): Likewise.
5130 * iconv/iconv_prog.c (print_version): Likewise.
5131 * iconv/iconvconfig.c (print_version): Likewise.
5132 * locale/programs/locale.c (print_version): Likewise.
5133 * locale/programs/localedef.c (print_version): Likewise.
5134 * login/programs/pt_chown.c (print_version): Likewise.
5135 * malloc/memusage.sh (do_version): Likewise.
5136 * malloc/memusagestat.c (print_version): Likewise.
5137 * malloc/mtrace.pl: Likewise.
5138 * manual/libc.texinfo: Likewise.
5139 * nptl/version.c (banner): Likewise.
5140 * nscd/nscd.c (print_version): Likewise.
5141 * nss/getent.c (print_version): Likewise.
5142 * nss/makedb.c (print_version): Likewise.
5143 * posix/getconf.c (main): Likewise.
5144 * scripts/test-installation.pl: Likewise.
5145 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5146
04277e02
JM
5147 * All files with FSF copyright notices: Update copyright dates
5148 using scripts/update-copyrights.
5149 * locale/programs/charmap-kw.h: Regenerated.
5150 * locale/programs/locfile-kw.h: Likewise.
5151
e740e5b1
JM
51522018-12-31 Joseph Myers <joseph@codesourcery.com>
5153
5154 * timezone/zdump.c: Update from tzcode 2018i.
5155 * timezone/zic.c: Likewise.
5156
9b7f98b3
PE
51572018-12-31 Paul Eggert <eggert@cs.ucla.edu>
5158
5159 regex: improve Gnulib port to AIX
5160 From the glibc point of view, this removes duplicate macro
5161 definitions and is obviously safe.
5162 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
5163 * posix/regex_internal.h:
5164 (__attribute__, __attribute_warn_unused_result__):
5165 Remove; already defined elsewhere.
5166
b50dd3bc
FW
51672018-12-31 Florian Weimer <fw@deneb.enyo.de>
5168
5169 [BZ #24027]
5170 * malloc/malloc.c (_int_realloc): Always call memcpy for the
5171 copying operation. (ncopies had the wrong type, resulting in an
5172 integer wraparound and too few elements being copied.)
5173
0b9c8490
L
51742018-12-31 H.J. Lu <hongjiu.lu@intel.com>
5175
5176 [BZ #24022]
5177 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
5178 <asm/syscalls.h> exists with __has_include__ before including it.
5179
01047fa6
JM
51802018-12-31 Joseph Myers <joseph@codesourcery.com>
5181
5182 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5183 version to 4.20.
5184
6b5c8607 51852018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
065957a3
JW
5186
5187 * hurd/lookup-retry: Include <unistd.h>.
5188 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
5189 Release it on return. Handle "pid" magical lookup retry.
5190
989182c4
RL
51912018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
5192
5193 [BZ #10496]
5194 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
5195 (t_fmt_ampm): Likewise.
5196 * localedata/locales/aa_ER (t_fmt): Likewise.
5197 (t_fmt_ampm): Likewise.
5198 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
5199 (t_fmt_ampm): Likewise.
5200 * localedata/locales/aa_ET (t_fmt): Likewise.
5201 (t_fmt_ampm): Likewise.
5202 * localedata/locales/am_ET (t_fmt): Likewise.
5203 (t_fmt_ampm): Likewise.
5204 * localedata/locales/byn_ER (t_fmt): Likewise.
5205 (t_fmt_ampm): Likewise.
5206 * localedata/locales/om_ET (t_fmt): Likewise.
5207 (t_fmt_ampm): Likewise.
5208 * localedata/locales/sid_ET (t_fmt): Likewise.
5209 (t_fmt_ampm): Likewise.
5210 * localedata/locales/so_DJ (t_fmt): Likewise.
5211 (t_fmt_ampm): Likewise.
5212 * localedata/locales/so_ET (t_fmt): Likewise.
5213 (t_fmt_ampm): Likewise.
5214 * localedata/locales/so_SO (t_fmt): Likewise.
5215 (t_fmt_ampm): Likewise.
5216 * localedata/locales/ti_ER (t_fmt): Likewise.
5217 (t_fmt_ampm): Likewise.
5218 * localedata/locales/ti_ET (t_fmt): Likewise.
5219 (t_fmt_ampm): Likewise.
5220 * localedata/locales/tig_ER (t_fmt): Likewise.
5221 (t_fmt_ampm): Likewise.
5222 * localedata/locales/wal_ET (t_fmt): Likewise.
5223 (t_fmt_ampm): Likewise.
5224
5225 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
5226 * localedata/locales/ar_IN (t_fmt): Likewise.
5227 * localedata/locales/bhb_IN (t_fmt): Likewise.
5228 * localedata/locales/bho_IN (t_fmt): Likewise.
5229 * localedata/locales/bi_VU (t_fmt): Likewise.
5230 * localedata/locales/bn_BD (t_fmt): Likewise.
5231 * localedata/locales/bn_IN (t_fmt): Likewise.
5232 * localedata/locales/brx_IN (t_fmt): Likewise.
5233 * localedata/locales/doi_IN (t_fmt): Likewise.
5234 * localedata/locales/en_HK (t_fmt): Likewise.
5235 (t_fmt_ampm): Likewise.
5236 * localedata/locales/en_IN (t_fmt): Likewise.
5237 * localedata/locales/en_PH (t_fmt): Likewise.
5238 * localedata/locales/gu_IN (t_fmt): Likewise.
5239 * localedata/locales/hi_IN (t_fmt): Likewise.
5240 * localedata/locales/hif_FJ (t_fmt): Likewise.
5241 * localedata/locales/hne_IN (t_fmt): Likewise.
5242 * localedata/locales/kn_IN (t_fmt): Likewise.
5243 * localedata/locales/kok_IN (t_fmt): Likewise.
5244 * localedata/locales/ks_IN (t_fmt): Likewise.
5245 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
5246 * localedata/locales/mag_IN (t_fmt): Likewise.
5247 * localedata/locales/mai_IN (t_fmt): Likewise.
5248 * localedata/locales/mjw_IN (t_fmt): Likewise.
5249 * localedata/locales/ml_IN (t_fmt): Likewise.
5250 * localedata/locales/mni_IN (t_fmt): Likewise.
5251 * localedata/locales/mr_IN (t_fmt): Likewise.
5252 * localedata/locales/ms_MY (t_fmt): Likewise.
5253 * localedata/locales/pa_IN (t_fmt): Likewise.
5254 * localedata/locales/raj_IN (t_fmt): Likewise.
5255 * localedata/locales/sa_IN (t_fmt): Likewise.
5256 * localedata/locales/sat_IN (t_fmt): Likewise.
5257 * localedata/locales/sd_IN (t_fmt): Likewise.
5258 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
5259 * localedata/locales/tcy_IN (t_fmt): Likewise.
5260 * localedata/locales/the_NP (t_fmt): Likewise.
5261 * localedata/locales/to_TO (t_fmt): Likewise.
5262 * localedata/locales/ur_IN (t_fmt): Likewise.
5263
5264 * localedata/locales/hif_FJ (d_t_fmt): Set to
5265 "%A %d %b %Y %I:%M:%S %p".
5266 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
5267
5268 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
5269 * localedata/locales/ar_BH (t_fmt): Likewise.
5270 * localedata/locales/ar_DZ (t_fmt): Likewise.
5271 * localedata/locales/ar_EG (t_fmt): Likewise.
5272 * localedata/locales/ar_IQ (t_fmt): Likewise.
5273 * localedata/locales/ar_JO (t_fmt): Likewise.
5274 * localedata/locales/ar_KW (t_fmt): Likewise.
5275 * localedata/locales/ar_LB (t_fmt): Likewise.
5276 * localedata/locales/ar_LY (t_fmt): Likewise.
5277 * localedata/locales/ar_OM (t_fmt): Likewise.
5278 * localedata/locales/ar_QA (t_fmt): Likewise.
5279 * localedata/locales/ar_SD (t_fmt): Likewise.
5280 * localedata/locales/ar_SS (t_fmt): Likewise.
5281 * localedata/locales/ar_SY (t_fmt): Likewise.
5282 * localedata/locales/ar_TN (t_fmt): Likewise.
5283 * localedata/locales/ar_YE (t_fmt): Likewise.
5284
5285 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
5286 (t_fmt_ampm): Likewise.
5287 * localedata/locales/gez_ET (t_fmt): Likewise.
5288 (t_fmt_ampm): Likewise.
5289
5290 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
5291 (t_fmt_ampm): Likewise.
5292 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
5293
5294 * localedata/locales/zh_HK (t_fmt):
5295 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
5296
5297 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
5298 because this locale does not use the 12-hour clock.
5299 (t_fmt): Set to "%Z %H:%M:%S".
5300 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
5301
5302 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
5303 because this locale does not use the 12-hour clock.
5304 (t_fmt): Set to "%H:%M:%S %Z".
5305 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
5306
5307 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
5308 because this locale does not use the 12-hour clock.
5309 (t_fmt): Set to "%T".
5310 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
5311 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
5312
5313 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
5314 because this locale does not use the 12-hour clock.
5315 (t_fmt): Set to "%H:%M:%S %Z".
5316 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
5317
5318 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
5319 because this locale does not use the 12-hour clock.
5320 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
5321 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
5322
27841a7d
RL
53232018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
5324
5325 [BZ #10496]
5326 [BZ #23724]
5327 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
5328 (t_fmt_ampm): Likewise.
5329 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
5330 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
5331 (d_fmt): Set to "%-d.%-m.%y".
5332
0253580a
AZ
53332018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5334
5335 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
5336 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
5337 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
5338 Likewise.
5339 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
5340 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
5341 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
5342 function.
5343 * support/blob_repeat.c (check_mul_overflow_size_t,
5344 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
5345
09104e5b
AJ
53462018-12-28 Aurelien Jarno <aurelien@aurel32.net>
5347
5348 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
5349
c0feb731
PE
53502018-12-27 Paul Eggert <eggert@cs.ucla.edu>
5351
5352 regex: simplify Gnulib port
5353 This simplifies the code, by removing stuff intended for porting
5354 to Gnulib but no longer needed there.
5355 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
5356 uses of libc_hidden_def, weak_alias.
5357 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
5358 _Restrict_ except for public-facing headers.
5359 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
5360 Remove; already defined elsewhere.
5361 * posix/regex.c, posix/regex_internal.h:
5362 Use __GNUC_PREREQ instead of rolling our own.
5363 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
5364
5289f1f5
WD
53652018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
5366
5367 * benchtests/bench-strlen.c (generic_strlen): New function.
6b5c8607 5368 (memchr_strlen): New function.
5289f1f5 5369
ba4b8fab
L
53702018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5371
5372 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
5373 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
5374 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
5375
9412979a
L
53762018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5377
5378 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5379
8700a785
L
53802018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5381
5382 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
5383 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
5384 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
5385 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
5386 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
5387 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
5388 <sysdeps/ieee754/flt-32/s_sincosf.c>.
5389
57b3ff8e
JM
53902018-12-21 Joseph Myers <joseph@codesourcery.com>
5391
5392 [BZ #24023]
5393 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
5394 PLT reference in libc.so.
5395 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
5396 _Q_lltoq and _Q_qtod PLT references in libc.so.
5397
90d3320d
WD
53982018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
5399
5400 * benchtests/bench-memchr.c: Cleanup defines.
5401 * benchtests/bench-memcmp.c: Likewise.
5402 * benchtests/bench-memset.c: Likewise.
5403 * benchtests/bench-memset-large.c: Likewise.
5404 * benchtests/bench-memset-walk.c: Likewise.
5405 * benchtests/bench-stpcpy.c: Likewise.
5406 * benchtests/bench-stpncpy.c: Likewise.
5407 * benchtests/bench-strcat.c: Likewise.
5408 * benchtests/bench-strchr.c: Likewise.
5409 * benchtests/bench-strcmp.c: Likewise.
5410 * benchtests/bench-strcpy.c: Likewise.
5411 * benchtests/bench-strcspn.c: Likewise.
5412 * benchtests/bench-string.h: Likewise.
5413 * benchtests/bench-strlen.c: Likewise.
5414 * benchtests/bench-strncat.c: Likewise.
5415 * benchtests/bench-strncmp.c: Likewise.
5416 * benchtests/bench-strncpy.c: Likewise.
5417 * benchtests/bench-strnlen.c: Likewise.
5418 * benchtests/bench-strpbrk.c: Likewise.
5419 * benchtests/bench-strrchr.c: Likewise.
5420 * benchtests/bench-strspn.c: Likewise.
5421
192963be
JM
54222018-12-21 Joseph Myers <joseph@codesourcery.com>
5423
5d025ea6
JM
5424 * stdlib/longlong.h: Update from GCC.
5425
192963be
JM
5426 [BZ #23993]
5427 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
5428 * configure: Regenerated.
5429 * manual/install.texi (Tools for Compilation): Update minimum GCC
5430 version.
5431 * INSTALL: Regenerated.
5432
6b5c8607 54332018-12-21 Istvan Kurucsai <pistukem@gmail.com>
c0e82f11
IK
5434
5435 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
5436
6b5c8607 54372018-12-20 Istvan Kurucsai <pistukem@gmail.com>
ebe544bf
IK
5438
5439 * malloc/malloc.c (mremap_chunk): Additional checks.
5440
5f72b005
MH
54412018-12-21 Mao Han <han_mao@c-sky.com>
5442
5443 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
5444 * scripts/build-many-glibcs.py: Add C-SKY targets.
5445 * sysdeps/csky/Implies: New file.
5446 * sysdeps/csky/Makefile: Likewise.
5447 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
5448 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
5449 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
5450 * sysdeps/csky/abiv2/memcmp.S: Likewise.
5451 * sysdeps/csky/abiv2/memcpy.S: Likewise.
5452 * sysdeps/csky/abiv2/memmove.S: Likewise.
5453 * sysdeps/csky/abiv2/memset.S: Likewise.
5454 * sysdeps/csky/abiv2/setjmp.S: Likewise.
5455 * sysdeps/csky/abiv2/start.S: Likewise.
5456 * sysdeps/csky/abiv2/strcmp.S: Likewise.
5457 * sysdeps/csky/abiv2/strcpy.S: Likewise.
5458 * sysdeps/csky/abiv2/strlen.S: Likewise.
5459 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
5460 * sysdeps/csky/abort-instr.h: Likewise.
5461 * sysdeps/csky/atomic-machine.h: Likewise.
5462 * sysdeps/csky/bits/endian.h: Likewise.
5463 * sysdeps/csky/bits/fenv.h: Likewise.
5464 * sysdeps/csky/bits/link.h: Likewise.
5465 * sysdeps/csky/bits/setjmp.h: Likewise.
5466 * sysdeps/csky/bsd-_setjmp.S: Likewise.
5467 * sysdeps/csky/bsd-setjmp.S: Likewise.
5468 * sysdeps/csky/configure: Likewise.
5469 * sysdeps/csky/configure.ac: Likewise.
5470 * sysdeps/csky/dl-machine.h: Likewise.
5471 * sysdeps/csky/dl-procinfo.c: Likewise.
5472 * sysdeps/csky/dl-procinfo.h: Likewise.
5473 * sysdeps/csky/dl-sysdep.h: Likewise.
5474 * sysdeps/csky/dl-tls.h: Likewise.
5475 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
5476 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
5477 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
5478 * sysdeps/csky/fpu/fegetenv.c: Likewise.
5479 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
5480 * sysdeps/csky/fpu/fegetmode.c: Likewise.
5481 * sysdeps/csky/fpu/fegetround.c: Likewise.
5482 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
5483 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
5484 * sysdeps/csky/fpu/fenv_private.h: Likewise.
5485 * sysdeps/csky/fpu/fesetenv.c: Likewise.
5486 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
5487 * sysdeps/csky/fpu/fesetmode.c: Likewise.
5488 * sysdeps/csky/fpu/fesetround.c: Likewise.
5489 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
5490 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
5491 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
5492 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
5493 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
5494 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
5495 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
5496 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
5497 * sysdeps/csky/fpu_control.h: Likewise.
5498 * sysdeps/csky/gccframe.h: Likewise.
5499 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
5500 * sysdeps/csky/ldsodefs.h: Likewise.
5501 * sysdeps/csky/libc-tls.c: Likewise.
5502 * sysdeps/csky/linkmap.h: Likewise.
5503 * sysdeps/csky/machine-gmon.h: Likewise.
5504 * sysdeps/csky/memusage.h: Likewise.
5505 * sysdeps/csky/nofpu/Implies: Likewise.
5506 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
5507 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
5508 * sysdeps/csky/nptl/Makefile: Likewise.
5509 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
5510 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
5511 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
5512 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
5513 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
5514 * sysdeps/csky/nptl/tls.h: Likewise.
5515 * sysdeps/csky/preconfigure: Likewise.
5516 * sysdeps/csky/sfp-machine.h: Likewise.
5517 * sysdeps/csky/sotruss-lib.c: Likewise.
5518 * sysdeps/csky/stackinfo.h: Likewise.
5519 * sysdeps/csky/sysdep.h: Likewise.
5520 * sysdeps/csky/tininess.h: Likewise.
5521 * sysdeps/csky/tst-audit.h: Likewise.
5522 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
5523 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
5524 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
5525 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
5526 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
5527 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
5528 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
5529 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
5530 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
5531 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
5532 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
5533 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
5534 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
5535 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
5536 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
5537 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
5538 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
5539 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
5540 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
5541 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
5542 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
5543 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
5544 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
5545 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
5546 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
5547 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
5548 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
5549 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
5550 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
5551 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
5552 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
5553 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
5554 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
5555 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
5556 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
5557 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
5558 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
5559 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
5560 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
5561 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
5562 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
5563 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
5564 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
5565 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
5566
6b5c8607 55672018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
ac253355
AA
5568
5569 * include/time.h (__difftime64): Add.
5570 * time/difftime.c (subtract): convert to 64-bit time.
5571 * time/difftime.c (__difftime64): Add.
5572 * time/difftime.c (__difftime): Wrap around __difftime64.
5573
ab416931
L
55742018-12-20 H.J. Lu <hongjiu.lu@intel.com>
5575
5576 * manual/examples/add.c: Remove redundant "if not".
5577 * manual/examples/argp-ex1.c: Likewise.
5578 * manual/examples/argp-ex2.c: Likewise.
5579 * manual/examples/argp-ex3.c: Likewise.
5580 * manual/examples/argp-ex4.c: Likewise.
5581 * manual/examples/atexit.c: Likewise.
5582 * manual/examples/db.c: Likewise.
5583 * manual/examples/dir.c: Likewise.
5584 * manual/examples/dir2.c: Likewise.
5585 * manual/examples/execinfo.c: Likewise.
5586 * manual/examples/filecli.c: Likewise.
5587 * manual/examples/filesrv.c: Likewise.
5588 * manual/examples/fmtmsgexpl.c: Likewise.
5589 * manual/examples/genpass.c: Likewise.
5590 * manual/examples/inetcli.c: Likewise.
5591 * manual/examples/inetsrv.c: Likewise.
5592 * manual/examples/isockad.c: Likewise.
5593 * manual/examples/longopt.c: Likewise.
5594 * manual/examples/memopen.c: Likewise.
5595 * manual/examples/memstrm.c: Likewise.
5596 * manual/examples/mkdirent.c: Likewise.
5597 * manual/examples/mkfsock.c: Likewise.
5598 * manual/examples/mkisock.c: Likewise.
5599 * manual/examples/mygetpass.c: Likewise.
5600 * manual/examples/pipe.c: Likewise.
5601 * manual/examples/popen.c: Likewise.
5602 * manual/examples/rprintf.c: Likewise.
5603 * manual/examples/search.c: Likewise.
5604 * manual/examples/select.c: Likewise.
5605 * manual/examples/setjmp.c: Likewise.
5606 * manual/examples/sigh1.c: Likewise.
5607 * manual/examples/sigusr.c: Likewise.
5608 * manual/examples/stpcpy.c: Likewise.
5609 * manual/examples/strdupa.c: Likewise.
5610 * manual/examples/strftim.c: Likewise.
5611 * manual/examples/subopt.c: Likewise.
5612 * manual/examples/swapcontext.c: Likewise.
5613 * manual/examples/termios.c: Likewise.
5614 * manual/examples/testopt.c: Likewise.
5615 * manual/examples/testpass.c: Likewise.
5616 * manual/examples/timeval_subtract.c: Likewise.
5617
515f463f
JM
56182018-12-19 Joseph Myers <joseph@codesourcery.com>
5619
da75c1b1
JM
5620 * sysdeps/x86/fpu/math_private.h: New file.
5621 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
5622
515f463f
JM
5623 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
5624 definition.
5625 (cosh): Likewise.
5626 (tanh): Likewise.
5627
1616d034
TMQMF
56282018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5629
5630 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
5631 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
5632 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
5633 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
5634 fields.
5635 (_dl_show_auxv): Give a special treatment to
5636 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
5637 and AT_L3_CACHEGEOMETRY.
5638 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
5639 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
5640 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
5641 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
5642
61595e3d
AS
56432018-12-19 Andreas Schwab <schwab@suse.de>
5644
5645 * nscd/connections.c (check_use): Don't abort on invalid len.
5646
bbb7dc84
ST
56472018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
5648
5649 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
5650 values in the 64bit value cases.
5651
6b5c8607 56522018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
64c2277d 5653
c4c2836a
AA
5654 * include/time.h
5655 (__ctime64_r): Add.
5656 * time/ctime_r.c
5657 (__ctime64_r): Add.
5658 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
5659
7755e504
AA
5660 * include/time.h
5661 (__ctime64): Add.
5662 * time/gmtime.c
5663 (__ctime64): Add.
5664 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
5665
a1d346ce
AA
5666 * include/time.h
5667 (__gmtime64_r): Add.
5668 * time/gmtime.c
5669 (__gmtime64_r): Add.
5670 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5671
131db8b0
AA
5672 * include/time.h
5673 (__gmtime64): Add.
5674 * time/gmtime.c
5675 (__gmtime64): Add.
5676 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5677
64c2277d
AA
5678 * include/time.h
5679 (__localtime64_r): Add.
5680 * time/localtime.c
5681 (__localtime64_r): Add.
5682 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
5683
56b98bf1
AZ
56842018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5685
64dd7a16
AZ
5686 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
5687 kernel_sigction definition.
5688
8b1d5da5
AZ
5689 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
5690
f9eabb19
AZ
5691 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
5692
56b98bf1
AZ
5693 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
5694 __syscall_rt_sigaction.
5695 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
5696 (kernel_sigaction): Use Linux generic defintion.
5697 (STUB): Define.
5698 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
5699 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
5700 (__syscall_rt_sigaction): Remove implementation.
5701 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
5702 hidden.
5703 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
5704 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
5705 INTERNAL_SYSCALL): Remove definitions.
5706 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
5707 action and signal set size.
5708 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
5709 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
5710
43a45c2d
AZ
57112018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5712 James Clarke <jrtc27@jrtc27.com>
5713
dfa6216f 5714 [BZ #23967]
43a45c2d
AZ
5715 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
5716 Define if SA_RESTORER is defined.
5717 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
5718 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
5719 already defined.
5720 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
5721 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
5722 definitions.
5723 (HAS_SA_RESTORER): Define.
5724 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
5725 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
5726 (HAS_SA_RESTORER): Define.
5727 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
5728 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
5729 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
5730 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
5731 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5732
646ce7e0
JM
57332018-12-18 Joseph Myers <joseph@codesourcery.com>
5734
5735 * sysdeps/unix/sysv/linux/kernel-features.h
5736 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
5737 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5738 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
5739 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5740 (__ASSUME_ST_INO_64_BIT): Likewise.
5741 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
5742 <kernel-features.h>.
5743 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5744 Remove conditional code.
5745 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
5746 <kernel-features.h>.
5747 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5748 Remove conditional code.
5749 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
5750 <kernel-features.h>.
5751 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5752 Remove conditional code.
5753 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
5754 <kernel-features.h>.
5755 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
5756 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
5757
80190d2b
SL
57582018-12-18 Stefan Liebler <stli@linux.ibm.com>
5759
5760 * sysdeps/s390/multiarch/ifunc-resolve.h
5761 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
5762 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
5763 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
5764 Delete macro definition.
5765 (s390_libc_ifunc_init): Rename to
5766 s390_libc_ifunc_expr_stfle_init.
5767 * sysdeps/s390/bzero: Use
5768 s390_libc_ifunc_expr_stfle_init instead of
5769 s390_libc_ifunc_init.
5770 * sysdeps/s390/memcmp.c: Likewise.
5771 * sysdeps/s390/memcpy.c: Likewise.
5772 * sysdeps/s390/mempcpy.c: Likewise.
5773 * sysdeps/s390/memset.c: Likewise.
5774
12f0dcb8
SL
57752018-12-18 Stefan Liebler <stli@linux.ibm.com>
5776
5777 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
5778 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
5779
25654a8c
SL
57802018-12-18 Stefan Liebler <stli@linux.ibm.com>
5781
5782 * sysdeps/s390/multiarch/Makefile
5783 (sysdep_routines): Remove wmemcmp variants.
5784 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
5785 * sysdeps/s390/multiarch/ifunc-impl-list.c
5786 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
5787 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
5788 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
5789 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
5790 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
5791 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
5792 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
5793 * sysdeps/s390/ifunc-wmemcmp.h: New file.
5794
d2a7436c
SL
57952018-12-18 Stefan Liebler <stli@linux.ibm.com>
5796
5797 * sysdeps/s390/multiarch/Makefile
5798 (sysdep_routines): Remove wmemset variants.
5799 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
5800 * sysdeps/s390/multiarch/ifunc-impl-list.c
5801 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
5802 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
5803 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
5804 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
5805 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
5806 * sysdeps/s390/multiarch/wmemset.c: Move to ...
5807 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
5808 * sysdeps/s390/ifunc-wmemset.h: New file.
5809
c62534ae
SL
58102018-12-18 Stefan Liebler <stli@linux.ibm.com>
5811
5812 * sysdeps/s390/multiarch/Makefile
5813 (sysdep_routines): Remove wmemchr variants.
5814 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
5815 * sysdeps/s390/multiarch/ifunc-impl-list.c
5816 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
5817 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
5818 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
5819 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
5820 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
5821 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
5822 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
5823 * sysdeps/s390/ifunc-wmemchr.h: New file.
5824
79b44cf6
SL
58252018-12-18 Stefan Liebler <stli@linux.ibm.com>
5826
5827 * sysdeps/s390/multiarch/Makefile
5828 (sysdep_routines): Remove wcscspn variants.
5829 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
5830 * sysdeps/s390/multiarch/ifunc-impl-list.c
5831 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
5832 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
5833 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
5834 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
5835 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
5836 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
5837 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
5838 * sysdeps/s390/ifunc-wcscspn.h: New file.
5839
8e87c1f6
SL
58402018-12-18 Stefan Liebler <stli@linux.ibm.com>
5841
5842 * sysdeps/s390/multiarch/Makefile
5843 (sysdep_routines): Remove wcspbrk variants.
5844 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
5845 * sysdeps/s390/multiarch/ifunc-impl-list.c
5846 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
5847 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
5848 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
5849 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
5850 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
5851 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
5852 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
5853 * sysdeps/s390/ifunc-wcspbrk.h: New file.
5854
8507e831
SL
58552018-12-18 Stefan Liebler <stli@linux.ibm.com>
5856
5857 * sysdeps/s390/multiarch/Makefile
5858 (sysdep_routines): Remove wcsspn variants.
5859 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
5860 * sysdeps/s390/multiarch/ifunc-impl-list.c
5861 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
5862 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
5863 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
5864 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
5865 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
5866 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
5867 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
5868 * sysdeps/s390/ifunc-wcsspn.h: New file.
5869
4753713a
SL
58702018-12-18 Stefan Liebler <stli@linux.ibm.com>
5871
5872 * sysdeps/s390/multiarch/Makefile
5873 (sysdep_routines): Remove wcsrchr variants.
5874 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
5875 * sysdeps/s390/multiarch/ifunc-impl-list.c
5876 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
5877 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
5878 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
5879 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
5880 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
5881 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
5882 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
5883 * sysdeps/s390/ifunc-wcsrchr.h: New file.
5884
c09c1b6f
SL
58852018-12-18 Stefan Liebler <stli@linux.ibm.com>
5886
5887 * sysdeps/s390/multiarch/Makefile
5888 (sysdep_routines): Remove wcschrnul variants.
5889 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
5890 * sysdeps/s390/multiarch/ifunc-impl-list.c
5891 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
5892 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
5893 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
5894 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
5895 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
5896 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
5897 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
5898 * sysdeps/s390/ifunc-wcschrnul.h: New file.
5899
cf3ccc31
SL
59002018-12-18 Stefan Liebler <stli@linux.ibm.com>
5901
5902 * sysdeps/s390/multiarch/Makefile
5903 (sysdep_routines): Remove wcschr variants.
5904 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
5905 * sysdeps/s390/multiarch/ifunc-impl-list.c
5906 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
5907 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
5908 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
5909 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
5910 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
5911 * sysdeps/s390/multiarch/wcschr.c: Move to ...
5912 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
5913 * sysdeps/s390/ifunc-wcschr.h: New file.
5914
e9873e1d
SL
59152018-12-18 Stefan Liebler <stli@linux.ibm.com>
5916
5917 * sysdeps/s390/multiarch/Makefile
5918 (sysdep_routines): Remove wcsncmp variants.
5919 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
5920 * sysdeps/s390/multiarch/ifunc-impl-list.c
5921 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
5922 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
5923 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
5924 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
5925 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
5926 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
5927 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
5928 * sysdeps/s390/ifunc-wcsncmp.h: New file.
5929
3459e23d
SL
59302018-12-18 Stefan Liebler <stli@linux.ibm.com>
5931
5932 * sysdeps/s390/multiarch/Makefile
5933 (sysdep_routines): Remove wcscmp variants.
5934 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
5935 * sysdeps/s390/multiarch/ifunc-impl-list.c
5936 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
5937 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
5938 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
5939 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
5940 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
5941 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
5942 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
5943 * sysdeps/s390/ifunc-wcscmp.h: New file.
5944
814a76e1
SL
59452018-12-18 Stefan Liebler <stli@linux.ibm.com>
5946
5947 * sysdeps/s390/multiarch/Makefile
5948 (sysdep_routines): Remove wcsncat variants.
5949 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
5950 * sysdeps/s390/multiarch/ifunc-impl-list.c
5951 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
5952 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
5953 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
5954 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
5955 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
5956 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
5957 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
5958 * sysdeps/s390/ifunc-wcsncat.h: New file.
5959
3389cae4
SL
59602018-12-18 Stefan Liebler <stli@linux.ibm.com>
5961
5962 * sysdeps/s390/multiarch/Makefile
5963 (sysdep_routines): Remove wcscat variants.
5964 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
5965 * sysdeps/s390/multiarch/ifunc-impl-list.c
5966 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
5967 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
5968 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
5969 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
5970 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
5971 * sysdeps/s390/multiarch/wcscat.c: Move to ...
5972 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
5973 * sysdeps/s390/ifunc-wcscat.h: New file.
5974
c3081bcb
SL
59752018-12-18 Stefan Liebler <stli@linux.ibm.com>
5976
5977 * sysdeps/s390/multiarch/Makefile
5978 (sysdep_routines): Remove wcpncpy variants.
5979 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
5980 * sysdeps/s390/multiarch/ifunc-impl-list.c
5981 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
5982 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
5983 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
5984 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
5985 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
5986 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
5987 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
5988 * sysdeps/s390/ifunc-wcpncpy.h: New file.
5989
0966dd86
SL
59902018-12-18 Stefan Liebler <stli@linux.ibm.com>
5991
5992 * sysdeps/s390/multiarch/Makefile
5993 (sysdep_routines): Remove wcsncpy variants.
5994 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
5995 * sysdeps/s390/multiarch/ifunc-impl-list.c
5996 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
5997 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
5998 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
5999 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
6000 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
6001 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
6002 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
6003 * sysdeps/s390/ifunc-wcsncpy.h: New file.
6004
0582e428
SL
60052018-12-18 Stefan Liebler <stli@linux.ibm.com>
6006
6007 * sysdeps/s390/multiarch/Makefile
6008 (sysdep_routines): Remove wcpcpy variants.
6009 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
6010 * sysdeps/s390/multiarch/ifunc-impl-list.c
6011 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
6012 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
6013 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
6014 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
6015 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
6016 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
6017 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
6018 * sysdeps/s390/ifunc-wcpcpy.h: New file.
6019
804f2e5c
SL
60202018-12-18 Stefan Liebler <stli@linux.ibm.com>
6021
6022 * sysdeps/s390/multiarch/Makefile
6023 (sysdep_routines): Remove wcscpy variants.
6024 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
6025 * sysdeps/s390/multiarch/ifunc-impl-list.c
6026 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
6027 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
6028 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
6029 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
6030 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
6031 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
6032 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
6033 * sysdeps/s390/ifunc-wcscpy.h: New file.
6034
c7e7cd26
SL
60352018-12-18 Stefan Liebler <stli@linux.ibm.com>
6036
6037 * sysdeps/s390/multiarch/Makefile
6038 (sysdep_routines): Remove wcsnlen variants.
6039 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
6040 * sysdeps/s390/multiarch/ifunc-impl-list.c
6041 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
6042 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
6043 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
6044 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
6045 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
6046 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
6047 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
6048 * sysdeps/s390/ifunc-wcsnlen.h: New file.
6049
2e02d0b7
SL
60502018-12-18 Stefan Liebler <stli@linux.ibm.com>
6051
6052 * sysdeps/s390/multiarch/Makefile
6053 (sysdep_routines): Remove wcslen variants.
6054 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
6055 * sysdeps/s390/multiarch/ifunc-impl-list.c
6056 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
6057 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
6058 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
6059 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
6060 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
6061 * sysdeps/s390/multiarch/wcslen.c: Move to ...
6062 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
6063 * sysdeps/s390/ifunc-wcslen.h: New file.
6064
89bfcbdf
SL
60652018-12-18 Stefan Liebler <stli@linux.ibm.com>
6066
6067 * sysdeps/s390/multiarch/Makefile
6068 (sysdep_routines): Remove memrchr variants.
6069 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
6070 * sysdeps/s390/multiarch/ifunc-impl-list.c
6071 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
6072 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
6073 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
6074 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
6075 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
6076 * sysdeps/s390/multiarch/memrchr.c: Move to ...
6077 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
6078 * sysdeps/s390/ifunc-memrchr.h: New file.
6079
196655ba
SL
60802018-12-18 Stefan Liebler <stli@linux.ibm.com>
6081
6082 * sysdeps/s390/multiarch/Makefile
6083 (sysdep_routines): Remove memccpy variants.
6084 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
6085 * sysdeps/s390/multiarch/ifunc-impl-list.c
6086 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
6087 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
6088 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
6089 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
6090 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
6091 * sysdeps/s390/multiarch/memccpy.c: Move to ...
6092 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
6093 * sysdeps/s390/ifunc-memccpy.h: New file.
6094
4c7b3cec
SL
60952018-12-18 Stefan Liebler <stli@linux.ibm.com>
6096
6097 * sysdeps/s390/multiarch/Makefile
6098 (sysdep_routines): Remove rawmemchr variants.
6099 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
6100 * sysdeps/s390/multiarch/ifunc-impl-list.c
6101 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
6102 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
6103 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
6104 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
6105 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
6106 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
6107 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
6108 * sysdeps/s390/ifunc-rawmemchr.h: New file.
6109
581a051c
SL
61102018-12-18 Stefan Liebler <stli@linux.ibm.com>
6111
6112 * sysdeps/s390/multiarch/Makefile
6113 (sysdep_routines): Remove memchr variants.
6114 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
6115 * sysdeps/s390/multiarch/ifunc-impl-list.c
6116 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
6117 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
6118 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
6119 * sysdeps/s390/multiarch/memchr.c: Move to ...
6120 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
6121 * sysdeps/s390/ifunc-memchr.h: New file.
6122 * sysdeps/s390/s390-64/memchr.S: Move to ...
6123 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
6124 for 31/64bit and ifunc handling.
6125 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
6126 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
6127 * sysdeps/s390/s390-32/memchr.S: Likewise.
6128
5d2ec20a
SL
61292018-12-18 Stefan Liebler <stli@linux.ibm.com>
6130
6131 * sysdeps/s390/multiarch/Makefile
6132 (sysdep_routines): Remove strcspn variants.
6133 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
6134 * sysdeps/s390/multiarch/ifunc-impl-list.c
6135 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
6136 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
6137 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
6138 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
6139 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
6140 * sysdeps/s390/multiarch/strcspn.c: Move to ...
6141 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
6142 * sysdeps/s390/ifunc-strcspn.h: New file.
6143
572cca93
SL
61442018-12-18 Stefan Liebler <stli@linux.ibm.com>
6145
6146 * sysdeps/s390/multiarch/Makefile
6147 (sysdep_routines): Remove strpbrk variants.
6148 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
6149 * sysdeps/s390/multiarch/ifunc-impl-list.c
6150 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
6151 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
6152 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
6153 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
6154 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
6155 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
6156 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
6157 * sysdeps/s390/ifunc-strpbrk.h: New file.
6158
483fc569
SL
61592018-12-18 Stefan Liebler <stli@linux.ibm.com>
6160
6161 * sysdeps/s390/multiarch/Makefile
6162 (sysdep_routines): Remove strspn variants.
6163 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
6164 * sysdeps/s390/multiarch/ifunc-impl-list.c
6165 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
6166 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
6167 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
6168 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
6169 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
6170 * sysdeps/s390/multiarch/strspn.c: Move to ...
6171 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
6172 * sysdeps/s390/ifunc-strspn.h: New file.
6173
26ea8760
SL
61742018-12-18 Stefan Liebler <stli@linux.ibm.com>
6175
6176 * sysdeps/s390/multiarch/Makefile
6177 (sysdep_routines): Remove strrchr variants.
6178 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
6179 * sysdeps/s390/multiarch/ifunc-impl-list.c
6180 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
6181 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
6182 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
6183 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
6184 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
6185 * sysdeps/s390/multiarch/strrchr.c: Move to ...
6186 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
6187 * sysdeps/s390/ifunc-strrchr.h: New file.
6188
a1361e65
SL
61892018-12-18 Stefan Liebler <stli@linux.ibm.com>
6190
6191 * sysdeps/s390/multiarch/Makefile
6192 (sysdep_routines): Remove strchrnul variants.
6193 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
6194 * sysdeps/s390/multiarch/ifunc-impl-list.c
6195 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
6196 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
6197 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
6198 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
6199 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
6200 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
6201 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
6202 * sysdeps/s390/ifunc-strchrnul.h: New file.
6203
32f12653
SL
62042018-12-18 Stefan Liebler <stli@linux.ibm.com>
6205
6206 * sysdeps/s390/multiarch/Makefile
6207 (sysdep_routines): Remove strchr variants.
6208 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
6209 * sysdeps/s390/multiarch/ifunc-impl-list.c
6210 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
6211 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
6212 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
6213 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
6214 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
6215 * sysdeps/s390/multiarch/strchr.c: Move to ...
6216 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
6217 * sysdeps/s390/ifunc-strchr.h: New file.
6218
316b8842
SL
62192018-12-18 Stefan Liebler <stli@linux.ibm.com>
6220
6221 * sysdeps/s390/multiarch/Makefile
6222 (sysdep_routines): Remove strncmp variants.
6223 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
6224 * sysdeps/s390/multiarch/ifunc-impl-list.c
6225 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
6226 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
6227 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
6228 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
6229 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
6230 * sysdeps/s390/multiarch/strncmp.c: Move to ...
6231 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
6232 * sysdeps/s390/ifunc-strncmp.h: New file.
6233
cdab85fe
SL
62342018-12-18 Stefan Liebler <stli@linux.ibm.com>
6235
6236 * sysdeps/s390/multiarch/Makefile
6237 (sysdep_routines): Remove strcmp variants.
6238 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
6239 * sysdeps/s390/multiarch/ifunc-impl-list.c
6240 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
6241 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
6242 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
6243 * sysdeps/s390/multiarch/strcmp.c: Move to ...
6244 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
6245 * sysdeps/s390/ifunc-strcmp.h: New file.
6246 * sysdeps/s390/s390-64/strcmp.S: Move to ...
6247 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
6248 for 31/64bit and ifunc handling.
6249 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
6250 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
6251 * sysdeps/s390/s390-32/strcmp.S: Likewise.
6252
b9353351
SL
62532018-12-18 Stefan Liebler <stli@linux.ibm.com>
6254
6255 * sysdeps/s390/multiarch/Makefile
6256 (sysdep_routines): Remove strncat variants.
6257 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
6258 * sysdeps/s390/multiarch/ifunc-impl-list.c
6259 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
6260 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
6261 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
6262 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
6263 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
6264 * sysdeps/s390/multiarch/strncat.c: Move to ...
6265 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
6266 * sysdeps/s390/ifunc-strncat.h: New file.
6267
8e5a0afb
SL
62682018-12-18 Stefan Liebler <stli@linux.ibm.com>
6269
6270 * sysdeps/s390/multiarch/Makefile
6271 (sysdep_routines): Remove strcat variants.
6272 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
6273 * sysdeps/s390/multiarch/ifunc-impl-list.c
6274 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
6275 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
6276 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
6277 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
6278 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
6279 * sysdeps/s390/multiarch/strcat.c: Move to ...
6280 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
6281 * sysdeps/s390/ifunc-strcat.h: New file.
6282
25218822
SL
62832018-12-18 Stefan Liebler <stli@linux.ibm.com>
6284
6285 * sysdeps/s390/multiarch/Makefile
6286 (sysdep_routines): Remove stpncpy variants.
6287 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
6288 * sysdeps/s390/multiarch/ifunc-impl-list.c
6289 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
6290 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
6291 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
6292 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
6293 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
6294 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
6295 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
6296 * sysdeps/s390/ifunc-stpncpy.h: New file.
6297
d1bdbf38
SL
62982018-12-18 Stefan Liebler <stli@linux.ibm.com>
6299
6300 * sysdeps/s390/multiarch/Makefile
6301 (sysdep_routines): Remove strncpy variants.
6302 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
6303 * sysdeps/s390/multiarch/ifunc-impl-list.c
6304 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
6305 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
6306 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
6307 * sysdeps/s390/multiarch/strncpy.c: Move to ...
6308 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
6309 * sysdeps/s390/ifunc-strncpy.h: New file.
6310 * sysdeps/s390/s390-64/strncpy.S: Move to ...
6311 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
6312 and adjust ifunc handling.
6313 * sysdeps/s390/s390-32/strncpy.S: Move to ...
6314 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
6315 and adjust ifunc handling.
6316 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
6317 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
6318
97044931
SL
63192018-12-18 Stefan Liebler <stli@linux.ibm.com>
6320
6321 * sysdeps/s390/multiarch/Makefile
6322 (sysdep_routines): Remove stpcpy variants.
6323 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
6324 * sysdeps/s390/multiarch/ifunc-impl-list.c
6325 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
6326 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
6327 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
6328 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
6329 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
6330 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
6331 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
6332 * sysdeps/s390/ifunc-stpcpy.h: New file.
6333
914a4e05
SL
63342018-12-18 Stefan Liebler <stli@linux.ibm.com>
6335
6336 * sysdeps/s390/multiarch/Makefile
6337 (sysdep_routines): Remove strcpy variants.
6338 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
6339 * sysdeps/s390/multiarch/ifunc-impl-list.c
6340 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
6341 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
6342 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
6343 * sysdeps/s390/multiarch/strcpy.c: Move to ...
6344 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
6345 * sysdeps/s390/ifunc-strcpy.h: New file.
6346 * sysdeps/s390/s390-64/strcpy.S: Move to ...
6347 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
6348 for 31/64bit and ifunc handling.
6349 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
6350 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
6351 * sysdeps/s390/s390-32/strcpy.S: Likewise.
6352
de10e44d
SL
63532018-12-18 Stefan Liebler <stli@linux.ibm.com>
6354
6355 * sysdeps/s390/multiarch/Makefile
6356 (sysdep_routines): Remove strnlen variants.
6357 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
6358 * sysdeps/s390/multiarch/ifunc-impl-list.c
6359 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
6360 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
6361 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
6362 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
6363 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
6364 * sysdeps/s390/multiarch/strnlen.c: Move to ...
6365 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
6366 * sysdeps/s390/ifunc-strnlen.h: New file.
6367
ff3ca374
SL
63682018-12-18 Stefan Liebler <stli@linux.ibm.com>
6369
6370 * sysdeps/s390/multiarch/Makefile
6371 (sysdep_routines): Remove strlen variants.
6372 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
6373 * sysdeps/s390/multiarch/ifunc-impl-list.c
6374 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
6375 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
6376 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
6377 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
6378 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
6379 * sysdeps/s390/multiarch/strlen.c: Move to ...
6380 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
6381 * sysdeps/s390/ifunc-strlen.h: New file.
6382
d2c4c403
SL
63832018-12-18 Stefan Liebler <stli@linux.ibm.com>
6384
6385 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
6386 * sysdeps/s390/multiarch/ifunc-impl-list.c
6387 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
6388 * sysdeps/s390/ifunc-memmem.h: New file.
6389 * sysdeps/s390/memmem.c: Likewise.
6390 * sysdeps/s390/memmem-c.c: Likewise.
6391 * sysdeps/s390/memmem-vx.c: Likewise.
6392
8c25dddd
SL
63932018-12-18 Stefan Liebler <stli@linux.ibm.com>
6394
6395 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
6396 * sysdeps/s390/multiarch/ifunc-impl-list.c
6397 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
6398 * sysdeps/s390/ifunc-strstr.h: New file.
6399 * sysdeps/s390/strstr.c: Likewise.
6400 * sysdeps/s390/strstr-c.c: Likewise.
6401 * sysdeps/s390/strstr-vx.c: Likewise.
6402
cdd927d9
SL
64032018-12-18 Stefan Liebler <stli@linux.ibm.com>
6404
6405 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
6406 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
6407 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
6408 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
6409 New defines.
6410 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
6411 * sysdeps/s390/memmove-c.c: New file.
6412 * sysdeps/s390/memmove.c: Likewise.
6413 * sysdeps/s390/multiarch/ifunc-impl-list.c
6414 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
6415
2ee1bc57
SL
64162018-12-18 Stefan Liebler <stli@linux.ibm.com>
6417
6418 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
6419 * sysdeps/s390/configure.ac: Add check for z13 support.
6420 * sysdeps/s390/configure: Regenerated.
6421
d097d976
SL
64222018-12-18 Stefan Liebler <stli@linux.ibm.com>
6423
6424 * sysdeps/s390/memcopy.h: New file.
6425
e099aab0
SL
64262018-12-18 Stefan Liebler <stli@linux.ibm.com>
6427
6428 * sysdeps/s390/s390-32/bcopy.S: Remove.
6429 * sysdeps/s390/s390-64/bcopy.S: Likewise.
6430
18eb862d
SL
64312018-12-18 Stefan Liebler <stli@linux.ibm.com>
6432
6433 * sysdeps/s390/ifunc-memcpy.h: New File.
6434 * sysdeps/s390/memcpy.S: Move to ...
6435 * sysdeps/s390/memcpy-z900.S ... here.
6436 Move implementations from memcpy-s390x.s to here.
6437 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
6438 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6439 Remove memcpy/mempcpy variants.
6440 * sysdeps/s390/Makefile (sysdep_routines):
6441 Add memcpy/mempcpy variants.
6442 * sysdeps/s390/multiarch/ifunc-impl-list.c
6443 (__libc_ifunc_impl_list): Adjust ifunc variants for
6444 memcpy and mempcpy.
6445 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
6446 to ...
6447 * sysdeps/s390/memcpy.c: ... here.
6448 Adjust ifunc variants for memcpy.
6449 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
6450 * sysdeps/s390/mempcpy.c: ... here.
6451 Adjust ifunc variants for mempcpy.
6452 * sysdeps/s390/mempcpy.S: Delete file.
6453
df3eb8de
SL
64542018-12-18 Stefan Liebler <stli@linux.ibm.com>
6455
6456 * sysdeps/s390/s390-64/memcpy.S: Move to ...
6457 * sysdeps/s390/memcpy.S: ... here.
6458 Adjust to be usable for 31/64bit.
6459 * sysdeps/s390/s390-32/memcpy.S: Delete File.
6460 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
6461 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
6462 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6463 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
6464 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
6465 Adjust to be usable for 31/64bit.
6466 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
6467 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
6468 * sysdeps/s390/multiarch/memcpy.c: ... here.
6469 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
6470
b7e024a8
SL
64712018-12-18 Stefan Liebler <stli@linux.ibm.com>
6472
6473 * sysdeps/s390/ifunc-memcmp.h: New File.
6474 * sysdeps/s390/memcmp.S: Move to ...
6475 * sysdeps/s390/memcmp-z900.S ... here.
6476 Move implementations from memcmp-s390x.s to here.
6477 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
6478 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6479 Remove memcmp variants.
6480 * sysdeps/s390/Makefile (sysdep_routines):
6481 Add memcmp variants.
6482 * sysdeps/s390/multiarch/ifunc-impl-list.c
6483 (__libc_ifunc_impl_list): Adjust ifunc variants for
6484 memcmp.
6485 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
6486 to ...
6487 * sysdeps/s390/memcmp.c: ... here.
6488 Adjust ifunc variants for memcmp.
6489
6c6b8c74
SL
64902018-12-18 Stefan Liebler <stli@linux.ibm.com>
6491
6492 * sysdeps/s390/s390-64/memcmp.S: Move to ...
6493 * sysdeps/s390/memcmp.S: ... here.
6494 Adjust to be usable for 31/64bit.
6495 * sysdeps/s390/s390-32/memcmp.S: Delete File.
6496 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
6497 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6498 Remove memcmp.
6499 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6500 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
6501 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
6502 Adjust to be usable for 31/64bit.
6503 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
6504 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
6505 * sysdeps/s390/multiarch/memcmp.c: ... here.
6506 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
6507
07be3928
SL
65082018-12-18 Stefan Liebler <stli@linux.ibm.com>
6509
6510 * sysdeps/s390/s390-32/bzero.S: Delete file.
6511 * sysdeps/s390/s390-64/bzero.S: Likewise.
6512 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
6513 * sysdeps/s390/bzero.c: New file.
6514 * sysdeps/s390/memset-z900.S: Add bzero entry points.
6515 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
6516 * sysdeps/s390/multiarch/ifunc-impl-list.c
6517 (__libc_ifunc_impl_list): Add bzero ifunc variants.
6518
712a254a
SL
65192018-12-18 Stefan Liebler <stli@linux.ibm.com>
6520
6521 * sysdeps/s390/ifunc-memset.h: New File.
6522 * sysdeps/s390/memset.S: Move to ...
6523 * sysdeps/s390/memset-z900.S ... here.
6524 Move implementations from memset-s390x.s to here.
6525 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
6526 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6527 Remove memset variants.
6528 * sysdeps/s390/Makefile (sysdep_routines):
6529 Add memset variants.
6530 * sysdeps/s390/multiarch/ifunc-impl-list.c
6531 (__libc_ifunc_impl_list): Adjust ifunc variants for
6532 memset.
6533 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
6534 to ...
6535 * sysdeps/s390/memset.c: ... here.
6536 Adjust ifunc variants for memset.
6537
5f1743d1
SL
65382018-12-18 Stefan Liebler <stli@linux.ibm.com>
6539
6540 * sysdeps/s390/s390-64/memset.S: Move to ...
6541 * sysdeps/s390/memset.S: ... here.
6542 Adjust to be usable for 31/64bit.
6543 * sysdeps/s390/s390-32/memset.S: Delete File.
6544 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
6545 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6546 Remove memset.
6547 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6548 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
6549 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
6550 Adjust to be usable for 31/64bit.
6551 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
6552 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
6553 * sysdeps/s390/multiarch/memset.c: ... here.
6554 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
6555
e8023f26
SL
65562018-12-18 Stefan Liebler <stli@linux.ibm.com>
6557
6558 * sysdeps/s390/multiarch/ifunc-resolve.h
6559 (s390_libc_ifunc_init, s390_libc_ifunc,
6560 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
6561
b8686c0d
SL
65622018-12-18 Stefan Liebler <stli@linux.ibm.com>
6563
6564 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
6565 * sysdeps/s390/configure.ac: Add check for z10 support.
6566 * sysdeps/s390/configure: Regenerated.
6567
cd815050
L
65682018-12-18 H.J. Lu <hongjiu.lu@intel.com>
6569
6570 * sysdeps/i386/atomic-machine.h: Merged with ...
6571 * sysdeps/x86_64/atomic-machine.h: To ...
6572 * sysdeps/x86/atomic-machine.h: This. New file.
6573
053c52b1
FW
65742018-12-18 Florian Weimer <fweimer@redhat.com>
6575
6576 Rewrite locale/gen-translit.pl in Python.
6577 * locale/Makefile (generated): Add C-translit.h.
6578 (before-compile): Add $(objpfx)C-translit.h.
6579 (C-translit.h): Move to $(objpfx). Create target directory.
6580 Build using Python script.
6581 * locale/gen-translit.py: New file.
6582 * locale/gen-translit.pl: Remove file.
6583 * locale/C-translit.h.in: Change comment character to '#' for
6584 easier parsing without a C preprocessor.
6585 * locale/C-translit.h: Remove generated file.
6586 * manual/install.texi (Tools for Compilation): Do not mention
6587 C-translit.h.
6588 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
6589 Remove locale/C-translit.h.
6590 * scripts/update-copyrights: Likewise.
6591 * INSTALL: Regenerate.
6592
40e6c1ec
FW
65932018-12-18 Florian Weimer <fweimer@redhat.com>
6594
6595 [BZ #23995]
6596 * localedata/locales/bi_VU: Remove executable bit from file.
6597
6b5c8607 65982018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
6e15f3e2
AA
6599
6600 * include/time.h
6601 (__localtime64): Add.
6602 * manual/maint.texi: Document Y2038 symbol handling.
6603 * time/localtime.c
6604 (__localtime64): Add.
bfb79db4 6605 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6e15f3e2 6606
df648905
JM
66072018-12-17 Joseph Myers <joseph@codesourcery.com>
6608
551e81d9
JM
6609 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
6610 Do not clobber r12.
6611
df648905
JM
6612 * scripts/glibcextract.py (compare_macro_consts): Take parameters
6613 to allow extra macros from first or second sources.
6614 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
6615 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6616 (tests-special): Add $(objpfx)tst-mman-consts.out.
6617 ($(objpfx)tst-mman-consts.out): New makefile target.
6618
6bbfc5c0
MH
66192018-12-17 Mao Han <han_mao@c-sky.com>
6620
6621 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
6622 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
6623 without stat64 system call support.
6624 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
6625 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
6626 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6627 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
6628 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
6629 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
6630 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
6631 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
6632 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
6633 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
6634 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
6635
ef202e53
PE
66362018-12-15 Paul Eggert <eggert@cs.ucla.edu>
6637
6638 regex: fix storage-exhaustion error
6639 [BZ #18040]
6640 * posix/regexec.c (get_subexp):
6641 Do not continue if storage is exhausted.
6642
077caf61
AG
66432018-12-15 Assaf Gordon <assafgordon@gmail.com>
6644
6645 regex: fix heap-use-after-free error
6646 [BZ #18040]
6647 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
6648 https://debbugs.gnu.org/32592
6649 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
6650 call extend_buffers which reallocates the re_string_t internal buffer.
6651 Local variable 'buf' was not updated in such case, resulting in
6652 use-after-free.
6653 * posix/regexec.c (get_subexp): Update 'buf' after call to
6654 get_subexp_sub.
6655
0c1719e6
FW
66562018-12-15 Florian Weimer <fweimer@redhat.com>
6657
6658 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
6659 (minimum_stride_size): Use it.
6660 (support_blob_repeat_allocate): Likewise.
6661
033a2c0a
JM
66622018-12-14 Joseph Myers <joseph@codesourcery.com>
6663
6664 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
6665 definition.
6666 (acosh): Likewise.
6667 (atanh): Likewise.
6668
e361dc04
FW
66692018-12-14 Florian Weimer <fweimer@redhat.com>
6670
6671 * manual/process.texi (Process Creation Concepts): Remove
6672 documentation of process (ID) lifetime. List more process
6673 creation functions. Reference Process Identification section.
6674 (Process Identification): Add information about process ID
6675 lifetime. Describe Linux thread/task IDs.
6676 * manual/signal.texi (Signaling Another Process): Mention that the
6677 signal is always sent to the process.
6678
bd51ff5e
GG
66792018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6680
6681 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
6682 and tst-ldbl-efgcvt.
6683 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
6684 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
6685 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
6686 (fcvt_tests, output_error, output_r_error, do_test): Use the
6687 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
6688 select the type of floating-point variables and arguments; to
6689 produce extra tests for double and conversion specifiers for
6690 printf; and to set the names of called functions.
6691 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
6692 in tst-efgcvt-template.c.
6693 * misc/tst-ldbl-efgcvt.c: Likewise.
6694
268bb71e
SL
66952018-12-14 Stefan Liebler <stli@linux.ibm.com>
6696
6697 * nss/Makefile (tst-nss-test3.out): New rule.
6698
db6df070
JM
66992018-12-13 Joseph Myers <joseph@codesourcery.com>
6700
6701 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
6702 clobber sp.
6703
ade8b817
CD
67042018-12-13 fanjinke <fanjinke@hygon.cn>
6705
6706 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
6707 "HygonGenuine".
6708
3d265911
AS
67092018-12-13 Andreas Schwab <schwab@suse.de>
6710
f21e8f8c 6711 [BZ #23861]
3d265911 6712 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
f21e8f8c
AS
6713 (__pthread_rwlock_rdlock_full): Update expected value for
6714 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
6715 * nptl/tst-rwlock-pwn.c: New file.
6716 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3d265911 6717
bf8ae8c0
JM
67182018-12-12 Joseph Myers <joseph@codesourcery.com>
6719
6720 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
6721 definition.
6722
de099757
LS
67232018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6724
6725 * benchtests/scripts/compare_bench.py (do_compare): write to
6726 stderr in casestat is not present.
6727 * benchtests/scripts/compare_bench.py (plot_graphs): write to
6728 stderr in case timings field is not present. Also string showing
6729 the output filename goes into the stderr.
6730
1990185f
LS
67312018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6732
6733 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
6734 and ZeroDivisorError exceptions.
6735 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
6736 argument to loop through user provided statistics.
6737 * benchtests/scripts/compare_bench.py (main): Include the --stats
6738 argument.
6739
587426d4
LS
67402018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6741
6742 * benchtests/scripts/compare_bench.py (compare_runs): Continue
6743 instead of return.
6744
46703efa
FW
67452018-12-12 Florian Weimer <fweimer@redhat.com>
6746
6747 * sysdeps/posix/timespec_get.c: Add missing “any later version”
6748 clause to copyright header.
6749
1d880d4a
TMQMF
67502018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6751
6752 [BZ #23614]
6753 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
6754 registers saved in the stack frame.
6755 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
6756 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
6757
1a502f52
GG
67582018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6759
6760 * include/bits/monetary-ldbl.h: New file.
6761 * include/bits/printf-ldbl.h: Likewise.
6762 * include/bits/stdio-ldbl.h: Likewise.
6763 * include/bits/stdlib-ldbl.h: Likewise.
6764 * include/bits/syslog-ldbl.h: Likewise.
6765 * include/bits/wchar-ldbl.h: Likewise.
6766
df682d1d
GG
67672018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6768
6769 * libio/libio.h: Remove redirection for _IO_vfprintf.
6770
c2c082c1
AS
67712018-12-11 Andreas Schwab <schwab@suse.de>
6772
6773 * Makerules: Remove all references to abilist-pattern.
6774 (update-all-abi): Simplify find expression.
6775
505b5b29
SN
67762018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
6777
6778 [BZ #23961]
6779 * math/auto-libm-test-in: Add new test case.
6780 * math/auto-libm-test-out-pow: Regenerated.
6781 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
6782
304c61a2
DD
67832018-12-10 DJ Delorie <dj@redhat.com>
6784
6785 [BZ #23948]
6786 * support/test-container.c: Move postclean step to before we
6787 change namespaces.
6788
a8110b72
JM
67892018-12-10 Joseph Myers <joseph@codesourcery.com>
6790
cb7be159
JM
6791 * scripts/gen-as-const.py (main): Handle --python option.
6792 * scripts/gen-py-const.awk: Remove.
6793 * Makerules (py-const-script): Use gen-as-const.py.
6794 ($(py-const)): Likewise.
6795 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
6796 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
6797 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
6798 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
6799 ~PTHREAD_MUTEX_NO_ELISION_NP.
6800 * manual/README.pretty-printers: Update reference to
6801 gen-py-const.awk.
6802
a8110b72
JM
6803 * scripts/glibcextract.py: New file.
6804 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
6805 or tempfile. Import glibcexctract.
6806 (compute_c_consts): Remove. Moved to glibcextract.py.
6807 (gen_test): Update reference to compute_c_consts.
6808 (main): Likewise.
6809 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
6810 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
6811 * sysdeps/unix/sysv/linux/Makefile
6812 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
6813 Redirect stderr as well as stdout.
6814
f9ba9eb8
RÁE
68152018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
6816
6817 [BZ #19767]
6818 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
b39d961c
TS
6819 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
6820 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
f9ba9eb8 6821 ALWAYS_USE_VSYSCALL.
b39d961c 6822 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
f9ba9eb8
RÁE
6823 ALWAYS_USE_VSYSCALL.
6824 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
6825 ALWAYS_USE_VSYSCALL.
6826
8d20a2f4
FW
68272018-12-10 Florian Weimer <fweimer@redhat.com>
6828
6829 [BZ #23972]
6830 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
6831 offset instead of count for clarity. Fix typo in comment.
6832 (__old_getdents64): Keep track of previous offset. Use it to call
6833 handle_overflow.
6834 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
6835 that d_off is never zero.
6836
80472e2f
AS
68372018-12-10 Andreas Schwab <schwab@suse.de>
6838
6839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
6840 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
6841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
6842 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
6843 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
6844
0afcb29d
JM
68452018-12-10 Joseph Myers <joseph@codesourcery.com>
6846
6847 * timezone/private.h: Update from tzcode 2018g.
6848 * timezone/tzfile.h: Likewise.
6849 * timezone/tzselect.ksh: Likewise.
6850 * timezone/zdump.c: Likewise.
6851 * timezone/zic.c: Likewise.
6852
b93f4052
PP
68532018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6854
6855 [BZ #23490]
6856 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
6857 (do_test): Adjust buffer size and fix format.
6858
7c9a7c68
DD
68592018-12-07 DJ Delorie <dj@redhat.com>
6860
6861 [BZ #23907]
6862 * malloc/tst-tcfree3.c: New.
6863 * malloc/Makefile: Add it.
6864
37caec3a
L
68652018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6866
6867 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
6868
10446f5d
GG
68692018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6870
6871 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
6872 used as a mask for the mode argument of __vfscanf_internal and
6873 __vfwscanf_internal.
6874 * stdio-common/vfscanf-internal.c
6875 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
6876 (__strtof128_internal): Define to __wcstof128_internal.
6877 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
6878 __strtof128_internal or __wcstof128_internal when the format of
6879 long double is the same as _Float128.
6880
45f33aac
ST
68812018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
6882
6883 * include/unistd.h (__confstr): Add prototype and hidden prototype.
6884 * posix/confstr.c (confstr): Rename to __confstr.
6885 (__confstr): Add hidden def.
6886 (confstr): Add weak alias for __confstr.
6887 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
6888 confstr.
6889
a092ca94
L
68902018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6891
6892 * NEWS: Mention getcpu.
6893 * include/sched.h (__getcpu): New libc_hidden_proto.
6894 * manual/resource.texi: Document getcpu.
6895 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
6896 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
6897 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
6898 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6899 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6900 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6901 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6902 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6903 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6904 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6905 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6906 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6907 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
6908 Likewise.
6909 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6910 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6911 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6913 Likewise.
6914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6915 Likewise.
6916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6917 Likewise.
6918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
6919 Likewise.
6920 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
6921 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6922 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6923 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6924 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6925 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6926 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6927 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6928 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
6929 * sysdeps/unix/sysv/linux/getcpu.c: New file.
6930 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
6931 Also check getcpu.
6932
7c857b6f
ST
69332018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
6934
6935 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
6936 functions.
6937 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
6938
3a3fb755
FW
69392018-12-07 Florian Weimer <fweimer@redhat.com>
6940
6941 [BZ #17405]
6942 * posix/Makefile (routines): Add spawn_faction_addfchdir.
6943 * posix/Versions (GLIBC_2.29): Export
6944 posix_spawn_file_actions_addfchdir_np.
6945 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
6946 * posix/spawn_faction_destroy.c
6947 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
6948 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
6949 and the field action.fchdir_action.
6950 * posix/tst-spawn-chdir.c (add_chdir): New function.
6951 (do_test): Add do_fchdir loop. Call add_chdir.
6952 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
6953 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6954 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6955 posix_spawn_file_actions_addfchdir_np.
6956 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
6957 Likewise.
6958 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
6959 Likewise.
6960 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
6961 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
6962 Likewise.
6963 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
6964 Likewise.
6965 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
6966 Likewise.
6967 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
6968 Likewise.
6969 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
6970 Likewise.
6971 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
6972 Likewise.
6973 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6974 (GLIBC_2.29): Likewise.
6975 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6976 (GLIBC_2.29): Likewise.
6977 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6978 (GLIBC_2.29): Likewise.
6979 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6980 (GLIBC_2.29): Likewise.
6981 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6982 Likewise.
6983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6984 (GLIBC_2.29): Likewise.
6985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6986 (GLIBC_2.29): Likewise.
6987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6988 (GLIBC_2.29): Likewise.
6989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6990 (GLIBC_2.29): Likewise.
6991 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6992 Likewise.
6993 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6994 Likewise.
6995 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6996 Likewise.
6997 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6998 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6999 Likewise.
7000 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
7001 Likewise.
7002 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
7003 Likewise.
7004 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
7005 Likewise.
7006
c37cd439
JM
70072018-12-06 Joseph Myers <joseph@codesourcery.com>
7008
7009 * manual/texinfo.tex: Update to version 2018-09-21.20 with
7010 trailing whitespace removed.
7011 * scripts/config.guess: Update to version 2018-11-28.
7012 * scripts/config.sub: Update to version 2018-11-28.
7013 * scripts/install-sh: Update to version 2018-03-11.20.
7014 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
7015 * scripts/move-if-change: Update to version 2018-03-07 03:47.
7016
899478c2
FW
70172018-12-07 Florian Weimer <fweimer@redhat.com>
7018
7019 [BZ #23927]
7020 CVE-2018-19591
7021 * inet/tst-if_index-long.c: New file.
7022 * inet/Makefile (tests): Add tst-if_index-long.
7023
f255336a
FW
70242018-12-07 Florian Weimer <fweimer@redhat.com>
7025
7026 * support/check.h (support_record_failure_is_failed): Declare.
7027 * support/descriptors.h: New file.
7028 * support/support_descriptors.c: Likewise.
7029 * support/tst-support_descriptors.c: Likewise.
7030 * support/support_record_failure.c
7031 (support_record_failure_is_failed): New function.
7032 * support/Makefile (libsupport-routines): Add support_descriptors.
7033 (tests): Add tst-support_descriptors.
7034
35caceb1
ZW
70352018-12-05 Zack Weinberg <zackw@panix.com>
7036 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7037
7038 * stdio-common/vfprintf-internal.c
7039 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
7040 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
7041 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
7042 and __no_long_double.
7043 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
7044 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
7045 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
7046 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
7047 and __nldbl_*syslog* functions.
7048 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
7049 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
7050 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
7051 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
7052 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
7053 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
7054 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
7055 (__nldbl_vwprintf, __nldbl_wprintf):
7056 Directly call the appropriate __v*printf_internal routine, passing
7057 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
7058 variable names.
7059 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
7060 (__nldbl___printf_chk, __nldbl___snprintf_chk)
7061 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
7062 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
7063 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
7064 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
7065 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
7066 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
7067 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
7068 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
7069 Likewise, and also pass PRINTF_FORTIFY when appropriate.
7070 (__nldbl_syslog, __nldbl_vsyslog):
7071 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
7072 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
7073 appropriate.
7074 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
7075 appropriate.
7076
4e2f43f8
ZW
70772018-12-05 Zack Weinberg <zackw@panix.com>
7078 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7079
7080 [BZ #11319]
7081 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
7082 Moved here from debug/vsprintf_chk.c.
7083 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
7084 and completion logic for the strfile to match exactly what
7085 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
7086 _IO_str_init_static_internal instead of maxlen-1.
7087 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
7088 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
7089 __vsprintf_internal.
7090
7091 * debug/vsprintf_chk.c (__vsprintf_chk)
7092 * debug/sprintf_chk.c (__sprintf_chk):
7093 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
7094 'flags' argument is positive, and slen as maxlen. No need to lock
7095 the FILE and/or construct a temporary FILE. Minimize and normalize
7096 header inclusions and variable names. Do not libc_hidden_def anything.
7097
7098 * debug/asprintf_chk.c (__asprintf_chk)
7099 * debug/dprintf_chk.c (__dprintf_chk)
7100 * debug/fprintf_chk.c (__fprintf_chk)
7101 * debug/fwprintf_chk.c (__fwprintf_chk)
7102 * debug/printf_chk.c (__printf_chk)
7103 * debug/snprintf_chk.c (__snprintf_chk)
7104 * debug/swprintf_chk.c (__swprintf_chk)
7105 * debug/vasprintf_chk.c (__vasprintf_chk)
7106 * debug/vdprintf_chk.c (__vdprintf_chk)
7107 * debug/vfprintf_chk.c (__vfprintf_chk)
7108 * debug/vfwprintf_chk.c (__vfwprintf_chk)
7109 * debug/vprintf_chk.c (__vprintf_chk)
7110 * debug/vsnprintf_chk.c (__vsnprintf_chk)
7111 * debug/vswprintf_chk.c (__vswprintf_chk)
7112 * debug/vwprintf_chk.c (__vwprintf_chk)
7113 * debug/wprintf_chk.c (__wprintf_chk):
7114 Directly call the corresponding vxxprintf_internal function, passing
7115 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
7116 the FILE and/or construct a temporary FILE. Minimize and normalize
7117 header inclusions and variable names. Do not libc_hidden_def anything.
7118
7119 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
7120 __obstack_vprintf_internal.
7121 (__obstack_vprintf_chk): Convert into a wrapper that calls
7122 __obstack_vprintf_internal (these two functions already had the
7123 same code) and move to new file...
7124 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
7125 file.
7126 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
7127 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
7128 * debug/Makefile (routines): Add vobprintf_chk.
7129
7130 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7131 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
7132 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
7133 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
7134 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
7135 (__nldbl___obstack_vfprintf_chk):
7136 Directly call the corresponding vxxprintf_internal function,
7137 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
7138 duplicate comparison of slen with 0 or maxlen from the corresponding
7139 non-__nldbl function.
7140
7141 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
7142 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
7143 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
7144 Remove libc_hidden_proto.
7145
7146 * stdio-common/vfprintf-internal.c
7147 (__vfprintf_internal, __vfwprintf_internal):
7148 Do not check _IO_FLAGS2_FORTIFY.
7149 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
7150 * libio/libioP.h: Update prototype of __vsprintf_internal and add
7151 a comment explaining why it has the maxlen argument.
7152 (_IO_acquire_lock_clear_flags2_fct): Remove.
7153 (_IO_acquire_lock_clear_flags2): Remove.
7154 (_IO_release_lock): Remove conditional statement which will
7155 now never execute.
7156 (_IO_acquire_lock): Remove variable which is now unused.
7157 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
7158 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
7159
7160 * stdio-common/Makefile (tests): Add tst-bz11319 and
7161 tst-bz11319-fortify2.
7162 (CFLAGS-tst-bz11319-fortify2.c): New macro.
7163 * stdio-common/tst-bz11319-fortify2.c: New file.
7164 * stdio-common/tst-bz11319.c: Likewise.
7165
124fc732
ZW
71662018-12-05 Zack Weinberg <zackw@panix.com>
7167 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7168
7169 * misc/syslog.c: Include libioP.h, not iolibio.h.
7170 (__vsyslog_internal): New function with the former body of
7171 __vsyslog_chk; takes mode_flags argument same as
7172 __v*printf_internal. Call __vfprintf_internal directly.
7173
7174 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
7175 Remove libc_hidden_def.
7176 (__syslog, __syslog_chk): Use __vsyslog_internal.
7177 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
7178
7179 * include/sys/syslog.h: Add multiple inclusion guard.
7180 Add prototype for __vsyslog_internal.
7181 Remove declaration and libc_hidden_proto for __vsyslog_chk.
7182
7183 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
7184 Use __vsyslog_internal.
7185
698fb75b
ZW
71862018-12-05 Zack Weinberg <zackw@panix.com>
7187 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7188
7189 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
7190 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
7191 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
7192 New functions.
7193 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
7194 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
7195
7196 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
7197 Include wctype.h here if COMPILE_WPRINTF is defined.
7198 Define __vfprintf_internal or __vfwprintf_internal, depending
7199 on COMPILE_WPRINTF.
7200 Temporarily, on entry to this function, update mode_flags
7201 according to the environmental settings corresponding to
7202 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
7203 Throughout, check mode_flags instead of __ldbl_is_dbl and
7204 _IO_FLAGS2_FORTIFY on the destination FILE.
7205 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
7206 Include vfprintf-internal.c. Don't include wctype.h.
7207 * stdio-common/vfprintf.c: New file. Just define __vfprintf
7208 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
7209 and vfprintf.
7210 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
7211 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
7212 and vfwprintf.
7213 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
7214
7215 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
7216 and add mode_flags argument; use __vfprintf_internal.
7217 (__vdprintf): New function. Alias vdprintf to this.
7218 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
7219 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
7220 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
7221 (__obstack_printf): Use __obstack_printf_internal.
7222 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
7223 public aliases __vsnprintf and vsnprintf.
7224 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
7225 called internally.
7226 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
7227 public aliases _IO_vsprintf and vsprintf.
7228 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
7229 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
7230 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
7231 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
7232 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
7233
7234 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
7235 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
7236 * stdio-common/fprintf.c, stdio-common/fxprintf.c
7237 * stdio-common/printf.c: Use __vfprintf_internal.
7238
7239 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
7240 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
7241 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
7242
7243 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
7244 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
7245 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
7246 __vfwprintf_internal.
7247
7248 * libio/libio.h: Remove libc_hidden_proto and declaration for
7249 _IO_vfprintf.
7250 Remove declaration of _IO_vfwprintf.
7251 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
7252 _IO_vsprintf.
7253 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
7254 _IO_obstack_printf.
7255 * include/stdio.h: Add prototype for __vasprintf.
7256 (__vsnprintf): Remove declaration, because there are no more
7257 internal calls.
7258 * include/wchar.h (__vfwprintf, __vswprintf): Remove
7259 declaration, because there are no more internal calls.
7260
7261 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
7262 __vsnprintf_internal, instead of _IO_vsnprintf.
7263 * argp/argp-help.c (__argp_error, __argp_failure): Use
7264 __vasprintf_internal, instead of _IO_vasprintf.
7265 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
7266 redefine, because there are no more internal calls.
7267
d91798b3
ZW
72682018-12-05 Zack Weinberg <zackw@panix.com>
7269 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7270
7271 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
7272 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
7273 Include libio/strfile.h instead of libioP.h.
7274 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
7275 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
7276 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
7277 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
7278 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
7279 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
7280 necessary. Do not set __no_long_double. Normalize variable names.
7281 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
7282 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
7283 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
7284 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
7285 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
7286 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
7287 Call __vfscanf_internal / __vfwscanf_internal directly, passing
7288 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
7289 Do not set __no_long_double. Normalize variable names.
7290
b87eb3f8
ZW
72912018-12-05 Zack Weinberg <zackw@panix.com>
7292 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7293
7294 * stdio-common/isoc99_scanf.c
7295 * stdio-common/isoc99_fscanf.c
7296 * stdio-common/isoc99_sscanf.c
7297 * stdio-common/isoc99_vscanf.c
7298 * stdio-common/isoc99_vfscanf.c
7299 * stdio-common/isoc99_vsscanf.c
7300 * wcsmbs/isoc99_wscanf.c
7301 * wcsmbs/isoc99_fwscanf.c
7302 * wcsmbs/isoc99_swscanf.c
7303 * wcsmbs/isoc99_vwscanf.c
7304 * wcsmbs/isoc99_vfwscanf.c
7305 * wcsmbs/isoc99_vswscanf.c:
7306 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
7307 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
7308 No need to lock and unlock the FILE passed to that function.
7309
7310 * stdio-common/vfscanf-internal.c
7311 (__vfscanf_internal, __vfwscanf_internal):
7312 Don't look at _IO_FLAGS2_SCANF_STD.
7313 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
7314 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
7315 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
7316
349718d4
ZW
73172018-12-05 Zack Weinberg <zackw@panix.com>
7318 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7319
7320 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
7321 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
7322 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
7323 * libio/strfile.h: Add multiple inclusion guard.
7324 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
7325
7326 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
7327 consistency with the other version of this file.
7328 (ldbl_compat_symbol): New macro.
7329 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
7330 New macro.
7331
7332 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
7333 Define __vfscanf_internal or __vfwscanf_internal, depending on
7334 COMPILE_WSCANF; don't define any other public symbols.
7335 Remove errval and code to set errp.
7336 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
7337 as the mode_flags argument.
7338 (encode_error, conv_error, input_error): Don't set errval.
7339 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
7340 Include vfscanf-internal.c.
7341 * stdio-common/vfscanf.c: New file defining the public entry
7342 point vfscanf, which calls __vfscanf_internal.
7343 * stdio-common/vfwscanf.c: New file defining the public entry
7344 point vfwscanf, which calls __vfwscanf_internal.
7345
7346 * stdio-common/iovfscanf.c: New file.
7347 * stdio-common/iovfwscanf.c: Likewise.
7348
7349 * stdio-common/Makefile (routines): Add vfscanf-internal,
7350 vfwscanf-internal, iovfscanf, iovfwscanf.
7351 * stdio-common/Versions: Mention GLIBC_2.29, so that
7352 it can be used in SHLIB_COMPAT expressions.
7353 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
7354 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
7355 Call __vfscanf_internal, instead of _IO_vfscanf.
7356 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
7357 _IO_vfscanf.
7358 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
7359 _IO_vfwscanf.
7360
7361 * libio/iovsscanf.c: Clean up includes, when possible. Use
7362 _IO_strfile_read or _IO_strfile_readw, when needed. Call
7363 __vfscanf_internal or __vfwscanf_internal directly.
7364 * libio/iovswscanf.c: Likewise.
7365 * libio/swscanf.c: Likewise.
7366 * libio/vscanf.c: Likewise.
7367 * libio/vwscanf.c: Likewise.
7368 * libio/wscanf.c: Likewise.
7369 * stdio-common/isoc99_fscanf.c: Likewise.
7370 * stdio-common/isoc99_scanf.c: Likewise.
7371 * stdio-common/isoc99_sscanf.c: Likewise.
7372 * stdio-common/isoc99_vfscanf.c: Likewise.
7373 * stdio-common/isoc99_vscanf.c: Likewise.
7374 * stdio-common/isoc99_vsscanf.c: Likewise.
7375 * stdio-common/scanf.c: Likewise.
7376 * stdio-common/sscanf.c: Likewise.
7377 * wcsmbs/isoc99_fwscanf.c: Likewise.
7378 * wcsmbs/isoc99_swscanf.c: Likewise.
7379 * wcsmbs/isoc99_vfwscanf.c: Likewise.
7380 * wcsmbs/isoc99_vswscanf.c: Likewise.
7381 * wcsmbs/isoc99_vwscanf.c: Likewise.
7382 * wcsmbs/isoc99_wscanf.c: Likewise.
7383
6b5c8607 73842018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
72b8692d
AA
7385
7386 * include/time.h
7387 (__tz_compute): Replace time_t with __time64_t.
7388 (__tz_convert): Replace time_t* with __time64_t.
7389 (__offtime): Replace time_t* with __time64_t.
7390 * time/gmtime.c
7391 (__gmtime_r): Adjust call to __tz_convert.
7392 (gmtime): Likewise.
7393 * time/localtime.c
7394 (__localtime_r): Likewise.
7395 (localtime): Likewise.
7396 * time/offtime.c: Replace time_t with __time64_t.
7397 * time/tzset.c: Likewise.
7398
bd598da9
JM
73992018-12-04 Joseph Myers <joseph@codesourcery.com>
7400
7401 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
7402 dynamic linker unless [$(run-built-tests) = yes].
7403
b2e93de0
DD
74042018-12-03 DJ Delorie <dj@delorie.com>
7405
7406 * support/test-container.c (check_for_unshare_hints): New.
7407 (main): Call it if unshare fails. Add support for "su" scriptlet
7408 command.
7409
477a02f6
JM
74102018-12-03 Joseph Myers <joseph@codesourcery.com>
7411
7412 * scripts/gen-as-const.py (compute_c_consts): Take an argument
7413 'START' to indicate that start text should be output.
7414 (gen_test): Likewise.
7415 (main): Generate 'START' for first symbol or '--' line, or at end
7416 of input if not previously generated.
7417
6af956e5
RÁE
74182018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
7419
7420 [BZ #19767]
7421 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
7422 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
7423 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
7424 ALWAYS_USE_VSYSCALL.
7425
f5ec0ea9
AZ
74262018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7427
7428 [BZ #23913]
7429 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
7430 new_argv by one.
7431
8cebd4ff
CD
74322018-12-03 Carlos O'Donell <carlos@redhat.com>
7433
7434 [BZ #23923]
7435 * locale/programs/localedef.c: Declare boolean hard_links default true.
7436 (options): Add --no-hard-links option.
7437 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
7438 * locale/programs/localedef.h: Declare prototype for hard_links.
7439 * locale/programs/locfile.c (write_locale_data): Don't use hard
7440 links if hard_links is false.
7441
c22e4c2a
L
74422018-12-03 H.J. Lu <hongjiu.lu@intel.com>
7443
7444 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
7445 cpu_features_basic.
7446 (__cache_sysconf): Likewise.
7447 (init_cacheinfo): Likewise.
7448 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
7449 populate COMMON_CPUID_INDEX_80000007 and
7450 COMMON_CPUID_INDEX_80000008.
7451 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
7452 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
7453 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
7454 (init_cpu_features): Use _Static_assert on
7455 index_arch_Fast_Unaligned_Load.
7456 __get_cpuid_registers and __get_arch_feature. Updated for
7457 cpu_features_basic. Set stepping in cpu_features.
7458 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
7459 (FEATURE_INDEX_2): New.
7460 (FEATURE_INDEX_MAX): Changed to enum.
7461 (COMMON_CPUID_INDEX_D_ECX_1): New.
7462 (COMMON_CPUID_INDEX_80000007): Likewise.
7463 (COMMON_CPUID_INDEX_80000008): Likewise.
7464 (cpuid_registers): Likewise.
7465 (cpu_features_basic): Likewise.
7466 (CPU_FEATURE_USABLE): Likewise.
7467 (bit_arch_XXX_Usable): Likewise.
7468 (cpu_features): Use cpuid_registers and cpu_features_basic.
7469 (bit_arch_XXX): Reweritten.
7470 (bit_cpu_XXX): Likewise.
7471 (index_cpu_XXX): Likewise.
7472 (reg_XXX): Likewise.
7473 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
7474 <support/check.h>.
7475 (CHECK_CPU_FEATURE): New.
7476 (CHECK_CPU_FEATURE_USABLE): Likewise.
7477 (cpu_kinds): Likewise.
7478 (do_test): Print vendor, family, model and stepping. Check
7479 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
7480 (TEST_FUNCTION): Removed.
7481 Include <support/test-driver.c> instead of
7482 "../../test-skeleton.c".
7483 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
7484 Check POPCNT instead of POPCOUNT.
7485 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
7486
7b36d26b
ST
74872018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7488
7489 * scripts/gen-as-const.py (main): Avoid emitting empty line when
7490 there is no element in `consts'.
7491
02cd5c1a
FW
74922018-12-01 Florian Weimer <fweimer@redhat.com>
7493
7494 * support/support_capture_subprocess.c
7495 (support_capture_subprocess): Check that pipe descriptors have
7496 expected values. Close original pipe descriptors in subprocess.
7497
fc493bc9
ST
74982018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
7499
7500 [BZ #23032]
7501 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
7502 attr with __pthread_default_barrierattr.
7503 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
7504 attr with __pthread_default_condattr.
7505 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
7506 attr with __pthread_default_mutexattr.
7507 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
7508 attr with __pthread_default_rwlockattr.
7509
6310e6be
KW
75102018-12-01 Kemi Wang <kemi.wang@intel.com>
7511
7512 * manual/tunables.texi (POSIX Thread Tunables): New node.
7513 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
7514 * nptl/nptl-init.c: Include pthread_mutex_conf.h
7515 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
7516 __pthread_tunables_init.
7517 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
7518 (max_adaptive_count): Define.
7519 * nptl/pthread_mutex_conf.c: New file.
7520 * nptl/pthread_mutex_conf.h: New file.
7521 * sysdeps/generic/adaptive_spin_count.h: New file.
7522 * sysdeps/nptl/dl-tunables.list: New file.
7523 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
7524 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
7525 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
7526 Likewise.
7527
8e67b39e
PP
75282018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
7529
7530 [BZ #20544]
7531 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
7532 * stdlib/on_exit.c (__on_exit): Likewise.
7533 * stdlib/Makefile (tests): Add tst-bz20544.
7534 * stdlib/tst-bz20544.c: New test.
7535
15b8d67e
RÁE
75362018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
7537
7538 [BZ #19767]
7539 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
7540 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
7541 New.
7542
5e63c240
FW
75432018-11-30 Florian Weimer <fweimer@redhat.com>
7544
7545 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
7546 Extend error logging.
7547 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
7548 symbol.
7549
71058602 75502018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14d0e87d 7551
5fb7fc96
AZ
7552 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
7553 __sigismember instead of sigismember.
7554 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
7555 cancel_handler): New definitions.
7556 (do_system): Use posix_spawn instead of fork and execl and remove
7557 reentracy code.
7558 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
7559 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
7560 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
7561 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7562 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7563 * sysdeps/unix/sysv/linux/system.c: Likewise.
7564
14d0e87d
AZ
7565 [BZ #22834]
7566 [BZ #17490]
7567 * NEWS: Add new semantic for atfork with popen and system.
7568 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
7569 fork and execl.
7570
e5d262ef
TMQMF
75712018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7572
7573 [BZ #23690]
7574 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
7575 modification order when accessing reloc_result->addr.
7576 * include/link.h (reloc_result): Add field init.
7577 * nptl/Makefile (tests): Add tst-audit-threads.
7578 (modules-names): Add tst-audit-threads-mod1 and
7579 tst-audit-threads-mod2.
7580 Add rules to build tst-audit-threads.
7581 * nptl/tst-audit-threads-mod1.c: New file.
7582 * nptl/tst-audit-threads-mod2.c: Likewise.
7583 * nptl/tst-audit-threads.c: Likewise.
7584 * nptl/tst-audit-threads.h: Likewise.
7585
7e1d4240
JM
75862018-11-30 Joseph Myers <joseph@codesourcery.com>
7587
7588 * scripts/gen-as-const.py: New file.
7589 * scripts/gen-as-const.awk: Remove.
7590 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
7591 gen-as-const.py.
7592 ($(objpfx)test-as-const-%.c): Likewise.
7593
ce7387cc
L
75942018-11-29 H.J. Lu <hongjiu.lu@intel.com>
7595
7596 * elf/dl-exception.c: Include <_itoa.h>.
7597
c6a5bdc1
ST
75982018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
7599
7600 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
7601 returned by __f_setlk.
7602
a5275ba5
L
76032018-11-29 H.J. Lu <hongjiu.lu@intel.com>
7604 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7605
7606 * elf/Makefile (tests-internal): Add tst-create_format1.
7607 * elf/dl-exception.c (_dl_exception_create_format): Support
7608 %x, %lx and %zx.
7609 * elf/tst-create_format1.c: New file.
7610
3a67e81d
CAC
76112018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
7612
7613 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
7614 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
7615 gnulib.)
7616 * argp/argp-help.c (__argp_failure): Likewise.
7617
4975f0c3
MH
76182018-11-29 Mao Han <han_mao@c-sky.com>
7619
7620 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
7621 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
7622 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
7623 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
7624 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
7625 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
7626 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
7627 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
7628 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
7629 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
7630 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
7631 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
7632 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
7633 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
7634 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
7635 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
7636 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
7637 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
7638 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
7639 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
7640 (R_CKCORE_TLS_TPOFF32): New defines.
7641
250102c8
FW
76422018-11-29 Florian Weimer <fweimer@redhat.com>
7643
7644 * posix/Makefile (before-compile): Remove testcases.h and
7645 ptestcases.h.
7646 (generated): Add testcases.h and ptestcases.h.
7647 (testcases.h, ptestcases.h): Move to $(objpfx).
7648 (runtests.o): Add dependency on testcases.h.
7649 (runptests.o): Add dependency on ptestcases.h.
7650 * posix/testcases.h, posix/ptestcases.h: Remove files.
7651 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
7652 not touch posix/testcases.h and posix/ptestcases.h.
7653
96cd0558
FW
76542018-11-28 Florian Weimer <fweimer@redhat.com>
7655
7656 support: Add signal support to support_capture_subprocess_check.
7657 * support/capture_subprocess.h (support_capture_subprocess_check):
7658 Adjust comment and rename parameter.
7659 * support/support_capture_subprocess_check.c
7660 (print_actual_status): New function.
7661 (support_capture_subprocess_check): Support negative
7662 status_or_signal. Call print_actual_status.
7663 * support/tst-support_capture_subprocess.c (do_test): Call
7664 support_capture_subprocess_check.
7665 * libio/tst-vtables-common.c (termination_status)
7666 (init_termination_status): Remove.
7667 (check_for_termination): Adjust support_capture_subprocess_check
7668 call.
7669 (do_test): Remove call to init_termination_status.
7670
530504e3
JM
76712018-11-28 Joseph Myers <joseph@codesourcery.com>
7672
7673 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
7674 source directory instead of a copy.
7675 (CommandList.create_copy_dir): Remove.
7676
9a0b6970
SL
76772018-11-28 Stefan Liebler <stli@linux.ibm.com>
7678
7679 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7680
47d8d9a2
FW
76812018-11-28 Florian Weimer <fweimer@redhat.com>
7682
7683 * support/support.h (support_quote_string): Do not use str
7684 parameter name.
7685
b473b7d8
JM
76862018-11-27 Joseph Myers <joseph@codesourcery.com>
7687
7688 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
7689 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
7690
c74a91de
FW
76912018-11-27 Florian Weimer <fweimer@redhat.com>
7692
7693 * support/support.h (support_quote_string): Declare.
7694 * support/support_quote_string.c: New file.
7695 * support/tst-support_quote_string.c: Likewise.
7696 * support/Makefile (libsupport-routines): Add
7697 support_quote_string.
7698 (tests): Add tst-support_quote_string.
7699
d527c860
FW
77002018-11-27 Florian Weimer <fweimer@redhat.com>
7701
7702 [BZ #23927]
7703 CVE-2018-19591
7704 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
7705 descriptor leak in case of ENODEV error.
7706
979cfed0
RÁE
77072018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
7708
7709 [BZ #19767]
7710 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
7711 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
7712 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
7713
ce035c6e
CD
77142018-11-26 Carlos O'Donell <carlos@redhat.com>
7715
7716 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
7717 Error for unknown lines.
7718
2bd0bfcc
JM
77192018-11-26 Joseph Myers <joseph@codesourcery.com>
7720
7721 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
7722 Touch additional files.
7723
affec03b
FW
77242018-11-26 Florian Weimer <fweimer@redhat.com>
7725
7726 [BZ #23907]
7727 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
7728 double-frees.
7729
8ae74ead
RÁE
77302018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
7731
7732 [BZ #19767]
7733 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
7734 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
7735 SHARED. Include sysdep.h.
7736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
7737 ALWAYS_USE_VSYSCALL.
7738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
7739 ALWAYS_USE_VSYSCALL.
7740
1e8bdc3a
RÁE
77412018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
7742
7743 [BZ #19767]
7744 * nptl/Makefile (tests-static): Add tst-cond11-static.
7745 (tests): Likewise.
7746 * nptl/tst-cond11-static.c: New File.
7747 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
7748 tst-affinity-static.
7749 (tests): Likewise.
7750 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
7751 instead of SHARED.
7752 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
7753 (USE_VSYSCALL): Likewise.
7754 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
7755 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
7756 instead of SHARED.
7757 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
7758 SHARED.
7759 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
7760 New.
7761
1283c478
JM
77622018-11-23 Joseph Myers <joseph@codesourcery.com>
7763
7764 [BZ #23915]
7765 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7766 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
7767 Undefine.
7768
c089fd80
L
77692018-11-23 H.J. Lu <hongjiu.lu@intel.com>
7770
7771 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
7772 (tst-cet-legacy-1a-ARGS): New.
7773 ($(objpfx)tst-cet-legacy-1a): New target.
7774 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
7775
cc6c89fa
JM
77762018-11-22 Joseph Myers <joseph@codesourcery.com>
7777
95edd05c
JM
7778 * conform/conformtest.py (CompileSubTest.__init__): Set
7779 self.run_early to False.
7780 (ExecuteSubTest.__init__): Likewise.
7781 (HeaderTests.run): Try running all non-optional, non-XFAILed
7782 compilation tests in a single execution of the compiler.
7783
cc6c89fa
JM
7784 * conform/conformtest.py (CompileSubTest): New class.
7785 (ExecuteSubTest): Likewise.
7786 (ElementTest.run): Rename to gen_subtests. Append tests to
7787 self.subtests instead of running them.
7788 (ConstantTest.run): Likewise.
7789 (SymbolTest.run): Likewise.
7790 (TypeTest.run): Likewise.
7791 (TagTest.run): Likewise.
7792 (FunctionTest.run): Likewise.
7793 (VariableTest.run): Likewise.
7794 (MacroFunctionTest.run): Likewise.
7795 (MacroStrTest.run): Likewise.
7796 (HeaderTests.handle_test_line): Generate subtests for tests.
7797 (HeaderTests.run): Run subtests for tests.
7798
a502c529
SN
77992018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7800
7801 * math/Versions (GLIBC_2.29): Add pow.
7802 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
7803 symbol.
7804 * math/w_pow.c: New file.
7805 * sysdeps/i386/fpu/w_pow.c: New file.
7806 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
7807 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
7808 and add necessary aliases.
7809 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
7810 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
7811 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7812 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7813 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7814 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7815 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7816 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7817 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7818 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7819 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7820 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7821 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7822 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7823 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7828 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7829 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7830 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7831 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7832 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7833 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7834 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7835 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
7836 __pow.
7837 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
7838 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
7839 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
7840
718d6542
SN
78412018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7842
7843 * math/Versions (GLIBC_2.29): Add log2.
7844 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
7845 symbol.
7846 * math/w_log2.c: New file.
7847 * sysdeps/i386/fpu/w_log2.c: New file.
7848 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
7849 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
7850 and add necessary aliases.
7851 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
7852 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
7853 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7854 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7855 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7856 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7857 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7858 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7859 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7860 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7861 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7862 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7863 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7864 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7865 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7870 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7871 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7872 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7873 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7874 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7875 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7876 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7877
f29b7c49
SN
78782018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7879
7880 * math/Versions (GLIBC_2.29): Add log.
7881 * math/w_log_compat.c (__log_compat): Change to versioned compat
7882 symbol.
7883 * math/w_log.c: New file.
7884 * sysdeps/i386/fpu/w_log.c: New file.
7885 * sysdeps/ia64/fpu/e_log.S: Update.
7886 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
7887 and add necessary aliases.
7888 * sysdeps/ieee754/dbl-64/w_log.c: New file.
7889 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
7890 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7891 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7892 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7893 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7894 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7895 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7896 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7897 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7898 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7899 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7900 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7901 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7902 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7907 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7908 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7909 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7910 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7911 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7912 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7913 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7914 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
7915 __log.
7916 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
7917 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
7918 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
7919 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
7920
c20a1056
SN
79212018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7922
7923 * math/Versions (GLIBC_2.29): Add exp and exp2.
7924 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
7925 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
7926 * math/w_exp_compat.c (__exp_compat): Likewise.
7927 * math/w_exp.c: New file.
7928 * math/w_exp2.c: New file.
7929 * sysdeps/i386/fpu/w_exp.c: New file.
7930 * sysdeps/i386/fpu/w_exp2.c: New file.
7931 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
7932 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
7933 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
7934 and add necessary aliases.
7935 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
7936 and add necessary aliases.
7937 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
7938 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
7939 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
7940 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
7941 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7942 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7943 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7944 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7945 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7946 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7947 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7948 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7949 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7950 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7951 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7952 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7953 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7958 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7959 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7960 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7961 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7962 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7963 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7964 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7965 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
7966 (__ieee754_exp): Rename to __exp.
7967 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
7968 (__ieee754_exp): Rename to __exp.
7969 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
7970 (__ieee754_exp): Rename to __exp.
7971 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
7972 __exp.
7973 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
7974
bcdaad21
DD
79752018-11-20 DJ Delorie <dj@redhat.com>
7976
7977 * malloc/malloc.c (tcache_entry): Add key field.
7978 (tcache_put): Set it.
7979 (tcache_get): Likewise.
7980 (_int_free): Check for double free in tcache.
7981 * malloc/tst-tcfree1.c: New.
7982 * malloc/tst-tcfree2.c: New.
7983 * malloc/Makefile: Run the new tests.
7984 * manual/probes.texi: Document memory_tcache_double_free probe.
7985
7986 * dlfcn/dlerror.c (check_free): Prevent double frees.
7987
5770c0ad
WD
79882018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
7989
7990 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
7991
9a62a939
JM
79922018-11-20 Joseph Myers <joseph@codesourcery.com>
7993
7994 * conform/conformtest.py (ElementTest.run): Use unique identifiers
7995 in tests. Use names for format arguments.
7996 (ConstantTest.run): Likewise.
7997 (SymbolTest.run): Likewise.
7998 (TypeTest.run): Likewise.
7999 (TagTest.run): Likewise.
8000 (FunctionTest.run): Likewise.
8001 (VariableTest.run): Likewise.
8002 (MacroFunctionTest.run): Likewise.
8003 (MacroStrTest.run): Likewise.
8004 (HeaderTests.__init__): Set self.num_tests.
8005 (HeaderTests.handle_test_line): Set test.num. Increment
8006 self.num_tests.
8007
b15b1a95
ST
80082018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
8009
8010 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
8011 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
8012 SEEK_SET.
8013
0c7f97ae
MH
80142018-11-19 Mao Han <han_mao@c-sky.com>
8015
8016 * scripts/config.guess: Update to version 2018-08-29.
8017 * scripts/config.sub: Update to version 2018-08-29.
8018
35e3fbc4
FW
80192018-11-19 Florian Weimer <fweimer@redhat.com>
8020
8021 support: Print timestamps in timeout handler.
8022 * support/support_test_main.c (print_timestamp): New function.
8023 (signal_handler): Use it to print the termination time and the
8024 time of the last write to standard output.
8025
c75772e3
ZW
80262018-11-16 Zack Weinberg <zackw@panix.com>
8027 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8028
8029 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
8030 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
8031 argument.
8032 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
8033 and add flags argument. Check flags instead of __ldbl_is_dbl when
8034 deciding whether to set is_long_double.
8035 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
8036 passing zero for flags argument.
8037 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
8038
8039 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
8040 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
8041 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
8042 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
8043 variable names. Remove libc_hidden_def/libc_hidden_proto from
8044 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
8045 longer called from within the library.
8046 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
8047 for __nldbl___vstrfmon_l, declare it explicitly.
8048
8049 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
8050
346ef23f
ST
80512018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
8052
8053 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
8054 macros
8055 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
8056 F_SETLK64, F_SETLKW64, respectively.
8057 * sysdeps/mach/hurd/f_setlk.c: New file.
8058 * sysdeps/mach/hurd/f_setlk.h: New file.
8059 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
8060 f_setlk.
8061 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
8062 (__libc_fcntl): Move non-flock operations to...
8063 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
8064 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
8065
de20b81a
PE
80662018-11-15 Paul Eggert <eggert@cs.ucla.edu>
8067
5d8af156
PE
8068 mktime: DEBUG_MKTIME cleanup
8069 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
8070 And it’s no longer needed now that glibc and Gnulib both have
8071 their own testing mechanisms for mktime.
8072 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
8073
86aece3b
PE
8074 mktime: fix non-EOVERFLOW errno handling
8075 [BZ#23789]
8076 mktime was not properly reporting failures when the underlying
8077 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
8078 them like EOVERFLOW failures, and set errno to EOVERFLOW.
8079 The problem could happen on non-glibc platforms, with Gnulib.
8080 * time/mktime.c (guess_time_tm): Remove, replacing with ...
8081 (tm_diff): ... this simpler function, which does not change errno.
8082 All callers changed to deal with errno themselves.
8083 (ranged_convert, __mktime_internal): Return failure immediately if
8084 the underlying function reports any failure other than EOVERFLOW.
8085 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
8086 gap code fails.
8087
f6b3331b
PE
8088 mktime: fix bug with Y2038 DST transition
8089 [BZ#23789]
8090 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
8091 mishandle a DST transition that jumps over the Y2038 boundary.
8092 No such DST transitions are known so this is only a theoretical
8093 bug, but we might as well do things right.
8094
efbdddc3
PE
8095 mktime: make more room for overflow
8096 [BZ#23789]
8097 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
8098 This is so that we can add tm_diff results to a previous guess,
8099 which will be useful in a later patch.
8100
6c90d759
PE
8101 mktime: simplify offset guess
8102 [BZ#23789]
8103 * time/mktime.c (__mktime_internal): Omit excess precision.
8104
32c12f3f
PE
8105 mktime: new test for mktime failure
8106 [BZ#23789]
8107 Based on a test suggested by Albert Aribaud in:
8108 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
8109 * time/Makefile (tests): Add bug-mktime4.
8110 * time/bug-mktime4.c: New file.
8111
de20b81a
PE
8112 mktime: fix EOVERFLOW bug
8113 [BZ#23789]
8114 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
8115 Include libc-config.h, not config.h, for __set_errno.
8116 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
8117
8c6c3fb0
ST
81182018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
8119
8120 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
8121 __attribute_copy__ to copy attributes from name. Drop static qualifier
8122 to avoid warnings about leaf attribute not having effect on static
8123 functions.
8124
6923f6db
FW
81252018-11-13 Florian Weimer <fweimer@redhat.com>
8126
8127 * malloc/malloc.c (fastbin_push_entry): New function.
8128 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
8129 (REMOVE_FB): Remove macro.
8130 (_int_malloc): Use fastbin_pop_entry and reindent.
8131 (_int_free): Use fastbin_push_entry.
8132 (malloc_consolidate): Use atomic_exchange_acquire.
8133
53f5c659
JM
81342018-11-13 Joseph Myers <joseph@codesourcery.com>
8135
0c096dcf
JM
8136 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
8137 alias attribute, not with strong_alias.
8138
9c4b457e
JM
8139 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
8140 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
8141 with additional parameter thread.
8142 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
8143 in terms of __hidden_ver2.
8144 (hidden_tls_def): New macro.
8145 (libc_hidden_tls_def): Likewise.
8146 (rtld_hidden_tls_def): Likewise.
8147 (libm_hidden_tls_def): Likewise.
8148 (libmvec_hidden_tls_def): Likewise.
8149 (libresolv_hidden_tls_def): Likewise.
8150 (librt_hidden_tls_def): Likewise.
8151 (libdl_hidden_tls_def): Likewise.
8152 (libnss_files_hidden_tls_def): Likewise.
8153 (libnsl_hidden_tls_def): Likewise.
8154 (libnss_nisplus_hidden_tls_def): Likewise.
8155 (libutil_hidden_tls_def): Likewise.
8156 (libutil_hidden_tls_def): Likweise.
8157 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
8158 libc_hidden_tls_def.
8159 (__sim_disabled_exceptions_thread): Likewise.
8160 (__sim_round_mode_thread): Likewise.
8161
53f5c659
JM
8162 * sysdeps/sparc/sparc-ifunc.h [SHARED]
8163 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
8164 copy attributes from name.
8165
092dfde6
JM
81662018-11-12 Joseph Myers <joseph@codesourcery.com>
8167
f578f97b
JM
8168 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
8169 Use __attribute_copy__ to copy attributes from name.
8170
9a7c643a
JM
8171 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
8172 with __hidden_ver1 call.
8173 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
8174 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
8175 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
8176 (__cosf): Do not declare here.
8177 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
8178 (__sincosf): Do not declare here.
8179 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
8180 (__sinf): Do not declare here.
8181
092dfde6
JM
8182 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
8183 (__BIG_ENDIAN): Likewise.
8184 (__BYTE_ORDER): Likewise.
8185 (strong_alias): Likewise.
8186 (_strong_alias): Likewise.
8187
1ecba1fa
FW
81882018-11-12 Florian Weimer <fweimer@redhat.com>
8189
8190 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
8191 function. Move after the definition of in_smallbin_range. Do not
8192 use __builtin_expect for paths that lead to a noreturn function.
8193 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
8194 because it is unclear whether this is in fact an unlikely
8195 condition.
8196 (_int_malloc, _int_free): Adjust.
8197 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
8198 variables.
8199 * malloc/arena.c (heap_trim): Likewise.
8200
434c34bd
ST
82012018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8202
8203 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
8204 it, free it if needed.
8205 (reauthenticate): Test and use ccwdir.
8206 (child_init_port): In non-resetids case, test and use ccwdir.
8207 (child_chdir): New nested function to set ccwdir.
7fa495cd
ST
8208 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
8209 * hurd/hurd/port.h (_hurd_port_move): New function.
8210 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
8211 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
88b26b7e
ST
8212 * hurd/Versions (_hurd_port_move): Export function.
8213 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
8214 symbol.
58bb655a
ST
8215 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
8216 of dtablesize for allocating dtable_cloexec.
434c34bd 8217
1626a1cf
MS
82182018-11-09 Martin Sebor <msebor@redhat.com>
8219
8220 * include/libc-symbols.h (__attribute_copy__): Define macro unless
8221 it's already defined.
8222 (_strong_alias): Use __attribute_copy__.
8223 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
8224 * misc/sys/cdefs.h (__attribute_copy__): New macro.
8225 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
8226 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
8227 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
8228 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
8229 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
8230 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
8231 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
8232 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
8233 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
8234 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
8235 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
8236 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
8237 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
8238 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
8239 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
8240 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
8241 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
8242
968ed530
GG
82432018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8244
8245 * misc/tst-efgcvt.c: Include support/check.h and
8246 support/test-driver.c. Do not include test-skeleton.c.
8247 (error_count): Remove.
8248 (output_error): Replace increments to error_count with calls to
8249 support_record_failure.
8250 (output_r_error): Likewise.
8251 (special): Likewise.
8252 (do_test): Unconditionally return zero.
8253 (TEST_FUNCTION): Remove.
8254
c3ec0972
JM
82552018-11-09 Joseph Myers <joseph@codesourcery.com>
8256
91faaa93
JM
8257 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
8258 not $(@D)/scratch.
8259 ($(linknamespace-header-tests)): Likewise.
8260
c3ec0972
JM
8261 * conform/conformtest.py: New file.
8262 * conform/conformtest.pl: Remove.
8263 * conform/GlibcConform.pm: Likewise.
8264 * conform/glibcconform.py (KEYWORDS_C90): New constant.
8265 (KEYWORDS_C99): Likewise.
8266 (KEYWORDS): Likewise.
8267 * conform/Makefile ($(conformtest-header-tests)): Use
8268 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
8269 option. Use --header instead of --headers.
8270 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
8271 function entries.
8272 * conform/data/spawn.h-data: Likewise.
8273 * conform/data/fcntl.h-data (openat): Add space after function
8274 name.
8275 * conform/data/wchar.h-data (wcscasecmp): Likewise.
8276 (wcscasecmp_l): Likewise.
8277 * conform/data/termios.h-data (c_cc): Add space after element
8278 name.
8279
43257c33
GG
82802018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8281
8282 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
8283 instead of manually comparing and reporting mismatching strings.
8284 * misc/tst-ldbl-error.c (do_one_test): Likewise.
8285 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
8286
e5de3b5b
JM
82872018-11-08 Joseph Myers <joseph@codesourcery.com>
8288
8289 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
8290 __ASSUME_SOCKETCALL.
8291 * sysdeps/unix/sysv/linux/i386/kernel-features.h
8292 (__ASSUME_SOCKETCALL): Remove.
8293 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8294 (__ASSUME_SOCKETCALL): Likewise.
8295 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8296 (__ASSUME_SOCKETCALL): Likewise.
8297 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8298 (__ASSUME_SOCKETCALL): Likewise.
8299 * sysdeps/unix/sysv/linux/s390/kernel-features.h
8300 (__ASSUME_SOCKETCALL): Likewise.
8301 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8302 (__ASSUME_SOCKETCALL): Likewise.
8303 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8304 (__ASSUME_SOCKETCALL): Likewise.
8305
d524fa6c
L
83062018-11-08 H.J. Lu <hongjiu.lu@intel.com>
8307
8308 [BZ #23509]
8309 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
8310 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
8311 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
8312 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
8313 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
8314 lc_unknown.
8315
ac806026
AH
83162018-11-08 Alexandra Hájková <ahajkova@redhat.com>
8317
8318 [BZ #17630]
8319 * resolv/tst-resolv-network.c: Add test for getnetbyname.
8320
596cc360
JM
83212018-11-07 Joseph Myers <joseph@codesourcery.com>
8322
8323 [BZ #23867]
8324 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8325 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
8326 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8327 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
8328
00c86a37
AZ
83292018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8330
8331 * support/support_test_compare_string.c
8332 (support_test_compare_string): Fix printf format.
8333
1df872fd
FW
83342018-11-07 Florian Weimer <fweimer@redhat.com>
8335
8336 Implement TEST_COMPARE_STRING.
8337 * support/check.h (TEST_COMPARE_STRING): Define.
8338 (support_test_compare_string): Declare.
8339 * support/Makefile (libsupport-routines): Add
8340 support_test_compare_string.
8341 (tests): Add tst-test_compare_string.
8342 * support/support_test_compare_string.c: New file.
8343 * support/tst-test_compare_string.c: Likewise.
8344
295132ff
AS
83452018-11-07 Andreas Schwab <schwab@suse.de>
8346
8347 [BZ #23864]
8348 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
8349 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
8350 Undef.
8351
e143ceba
JM
83522018-11-06 Joseph Myers <joseph@codesourcery.com>
8353
8354 [BZ #23862]
8355 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8356 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
8357 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
8358 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
8359 Likewise.
8360
4a938cb2
FW
83612018-11-06 Florian Weimer <fweimer@redhat.com>
8362
8363 [BZ #17405]
8364 * posix/Makefile (routines): Add spawn_faction_addchdir.
8365 (tests): Add tst-spawn-chdir.
8366 * posix/Versions (GLIBC_2.29): Add
8367 posix_spawn_file_actions_addchdir_np.
8368 * posix/spawn_faction_addchdir.c: New file.
8369 * posix/spawn_faction_destroy.c
8370 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
8371 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
8372 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
8373 chdir_action.
8374 * posix/tst-spawn-chdir.c: New file.
8375 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
8376 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
8377 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
8378 posix_spawn_file_actions_addchdir_np.
8379 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
8380 Likewise.
8381 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
8382 Likewise.
8383 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
8384 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
8385 Likewise.
8386 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
8387 Likewise.
8388 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
8389 Likewise.
8390 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
8391 Likewise.
8392 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
8393 Likewise.
8394 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
8395 Likewise.
8396 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8397 (GLIBC_2.29): Likewise.
8398 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8399 (GLIBC_2.29): Likewise.
8400 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8401 (GLIBC_2.29): Likewise.
8402 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8403 (GLIBC_2.29): Likewise.
8404 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
8405 Likewise.
8406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8407 (GLIBC_2.29): Likewise.
8408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8409 (GLIBC_2.29): Likewise.
8410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8411 (GLIBC_2.29): Likewise.
8412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8413 (GLIBC_2.29): Likewise.
8414 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
8415 Likewise.
8416 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
8417 Likewise.
8418 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
8419 Likewise.
8420 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
8421 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
8422 Likewise.
8423 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
8424 Likewise.
8425 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
8426 Likewise.
8427 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
8428 Likewise.
8429
7597b0c7
GG
84302018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8431
8432 * misc/Makefile (tests): Add tst-ldbl-error.
8433 * misc/tst-ldbl-error.c: New file.
8434
9771e6cb
GG
84352018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8436
8437 * misc/Makefile (tests): Add tst-ldbl-warn.
8438 * misc/tst-ldbl-warn.c: New file.
8439
2c03961f
GG
84402018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8441
8442 * argp/Makefile (tests): Add tst-ldbl-argp.
8443 * argp/tst-ldbl-argp.c: New file.
8444
6d6ee046
AS
84452018-11-05 Arjun Shankar <arjun@redhat.com>
8446
8447 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
8448 __gconv_path_elem and call __gconv_get_path unconditionally.
8449
bd3b0fba
AS
84502018-11-05 Andreas Schwab <schwab@suse.de>
8451
8452 [BZ #22927]
8453 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
8454 creating the first helper thread failed.
8455
2e96e980
ST
84562018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
8457
8458 * sysdeps/mach/hurd/msync.c: New file.
8459
6e36266c
FW
84602018-11-02 Florian Weimer <fweimer@redhat.com>
8461
8462 * support/shell-container.c (copy_func): Call
8463 support_copy_file_range instead of copy_file_range to support
8464 cross-device copies.
8465
599f7bee
FW
84662018-11-02 Florian Weimer <fweimer@redhat.com>
8467
8468 * support/test-container.c: Include <libc-pointer-arith.h> for
8469 ALIGN_UP.
8470
ff48ea67
ZL
84712018-11-01 Zong Li <zong@andestech.com>
8472
af1d5782
ZL
8473 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
8474 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
8475 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
8476 (__FP_FRAC_SET_8): Add implementation for RV32 use.
8477
ff48ea67
ZL
8478 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
8479 variable to avoid overlap arguments.
8480
daea71c2
JM
84812018-11-01 Joseph Myers <joseph@codesourcery.com>
8482
eac4405a
JM
8483 * posix/bug-regex22.c (main): Use puts with distinct error
8484 messages for unexpected success of re_compile_pattern, not printf
8485 with NULL argument to %s.
8486
6f30e59f
JM
8487 * stdio-common/bug22.c: Include <libc-diag.h>.
8488 (do_test): Disable -Wformat-overflow= warnings around fprintf
8489 calls outputting more than INT_MAX characters.
8490 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
8491 around printf call with NULL %s argument.
8492
daea71c2
JM
8493 [BZ #23848]
8494 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
8495 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
8496 Undefine.
8497 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8498 (__ASSUME_RECVMSG_SYSCALL): Likewise.
8499 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8500 (__ASSUME_SENDTO_SYSCALL): Likewise.
8501 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8502 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
8503 [!__arch64__].
8504 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8505 (__ASSUME_CONNECT_SYSCALL): Likewise.
8506 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8507 (__ASSUME_RECVFROM_SYSCALL): Likewise.
8508 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
8509 Define.
8510 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
8511 Likewise.
8512 [__LINUX_KERNEL_VERSION >= 0x040400]
8513 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8514 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
8515 Remove.
8516 (listen): Likewise.
8517 (setsockopt): Likewise.
8518
8e3c00db
FN
85192018-11-01 Fredrik Noring <noring@nocrew.org>
8520
8521 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
8522 with the ISA override.
8523
9c3dbdbe
RAE
85242018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
8525
8526 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
8527 #endif.
8528
e3a88b3e
ST
85292018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8530
a67377e7 8531 * manual/errno.texi (EIEIO): Document how translators should
e3a88b3e 8532 translate the error message.
a67377e7
ST
8533 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
8534 printing trailing whitespaces refused by git.
8535 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
8536 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fc783076 8537 * hurd/Makefile (user-interfaces): Add pci.
e3a88b3e 8538
3ca235ed
JM
85392018-10-30 Joseph Myers <joseph@codesourcery.com>
8540
8541 * conform/linknamespace.py: New file.
8542 * conform/linknamespace.pl: Remove file.
8543 * conform/Makefile ($(linknamespace-header-tests)): Use
8544 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
8545 option.
8546
60708030
FW
85472018-10-30 Florian Weimer <fweimer@redhat.com>
8548
8549 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
8550 memory leaks.
8551
a91e9301
FW
85522018-10-30 Florian Weimer <fweimer@redhat.com>
8553
8554 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
8555
07da99aa
FW
85562018-10-30 Florian Weimer <fweimer@redhat.com>
8557
8558 * stdlib/tst-strtod-overflow.c (do_test): Switch to
8559 support_blob_repeat.
8560
f5e7e959
FW
85612018-10-30 Florian Weimer <fweimer@redhat.com>
8562
8563 Avoid spurious test failures in stdlib/test-bz22786.
8564 * support/Makefile (libsupport-routines): Add blob_repeat.
8565 (tests): Add tst-support_blob_repeat.
8566 * support/blob_repeat.h: New file.
8567 * support/blob_repeat.c: Likewise.
8568 * support/tst-support_blob_repeat.c: Likewise.
8569 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
8570 support_blob_repeat_allocate.
8571
2dd12baa
AS
85722018-10-30 Andreas Schwab <schwab@suse.de>
8573
8574 [BZ #23125]
8575 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
8576 Don't use tail call.
8577 * elf/tst-unwind-main.c: New file.
8578 * elf/Makefile (tests): Add tst-unwind-main.
8579 (CFLAGS-tst-unwind-main.c): Define.
8580
6b5c8607 85812018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
fec8bb7c
SAA
8582
8583 [BZ #23791]
8584 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
8585 n_cs_precedes to 0.
8586 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
8587
c6982f7e
JM
85882018-10-29 Joseph Myers <joseph@codesourcery.com>
8589
954cf3c2
JM
8590 * conform/glibcconform.py: Do not import shutil.
8591 (list_exported_functions): Use tempfile.TemporaryDirectory instead
8592 of mkdtemp.
8593
c6982f7e
JM
8594 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
8595 critic_missing for versions before 3.4.
8596 * configure: Regenerated.
8597 * manual/install.texi (Tools for Compilation): Document
8598 requirement for Python to build glibc.
8599 * INSTALL: Regenerated.
8600 * Rules [PYTHON]: Make code unconditional.
8601 * benchtests/Makefile [PYTHON]: Likewise.
8602 * conform/Makefile [PYTHON]: Likewise.
8603 * manual/Makefile [PYTHON]: Likewise.
8604 * math/Makefile [PYTHON]: Likewise.
8605
46a7f24c
ST
86062018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8607
8608 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2d0d1d38 8609 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
b6e7c449 8610 answer to interrupt_operation, return EIEIO instead of EINTR.
5c81be53
ST
8611 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
8612 _hurd_intr_rpc_msg_about_to global point to start of controlled
8613 assembly snippet. Make it check canceled flag.
8614 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
8615 the _hurd_intr_rpc_msg_about_to point.
8616 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
8617 issue, remove cancel flag check.
46a7f24c 8618
e5b8756d
JM
86192018-10-26 Joseph Myers <joseph@codesourcery.com>
8620
8621 * scripts/build-many-glibcs.py: Remove compatibility for missing
8622 os.cpu_count and re.fullmatch.
8623
ba5b14c7
SN
86242018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
8625
8626 [BZ #23822]
8627 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
8628 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
8629 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
8630
fe61f17c
JM
86312018-10-25 Joseph Myers <joseph@codesourcery.com>
8632
8633 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
8634 macro.
8635
7c5e34d7
FW
86362018-10-25 Florian Weimer <fweimer@redhat.com>
8637
8638 [BZ #23562]
8639 [BZ #23821]
8640 XFAIL siginfo_t si_band conform test on sparc64.
8641 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
8642 (__SI_BAND_TYPE): Only override long int default type on sparc64.
8643 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
8644 (conformtest-xfail-conds): Add sparc64-linux.
8645 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
8646 sparc64.
8647 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
8648
5b784e88
JM
86492018-10-25 Joseph Myers <joseph@codesourcery.com>
8650
8651 * elf/elf.h (NT_MIPS_DSP): New macro.
8652 (NT_MIPS_FP_MODE): Likewise.
8653
41432ebe
ZL
86542018-10-25 Zong Li <zong@andestech.com>
8655
8656 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
8657 name by adding the file extension (.so).
8658
d026efea
ST
86592018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
8660
8661 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
8662 (test-xfail-ISO11/threads.h/linknamespace,
8663 test-xfail-ISO11/threads.h/conform): Add.
8664
b71ac2b9
JM
86652018-10-24 Joseph Myers <joseph@codesourcery.com>
8666
8667 * math/gen-libm-test.py: Import os.
8668 (ALL_FLOATS_MANUAL): New constant.
8669 (ALL_FLOATS_SUFFIX): Likewise.
8670 (Ulps.all_functions): New function.
8671 (real_all_ulps): Likewise.
8672 (generate_err_table_sub): Likewise.
8673 (generate_err_table): Likewise.
8674 (main): Handle -s and -m options.
8675 * manual/libm-err-tab.pl: Remove.
8676 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
8677 instead of libm-err-tab.pl.
8678 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
8679 != no].
8680 * manual/install.texi (Tools for Compilation): Document
8681 requirement for Python to build manual.
8682 * INSTALL: Regenerated.
8683
6b5c8607 86842018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
d51f99ce
AA
8685
8686 * bits/time64.h: New file.
8687 * include/time.h: Replace internal_time_t with __time64_t.
8688 * posix/bits/types (__time64_t): Add.
8689 * stdlib/Makefile: Add bits/time64.h to includes.
8690 * time/tzfile.c: Replace internal_time_t with __time64_t.
8691
97d91fcc 86922018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2a973ab7
AZ
8693
8694 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
8695 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
8696 __posix_spawn_file_actions_init, __posix_spawnattr_init,
8697 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
8698 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
8699 prototype.
8700 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
8701 * posix/spawn_faction_addclose.c
8702 (__posix_spawn_file_actions_addclose): Add hidden definition.
8703 * posix/spawn_faction_adddup2.c
8704 (__posix_spawn_file_actions_adddup2): Likewise.
8705 * posix/spawn_faction_destroy.c
8706 (__posix_spawn_file_actions_destroy): Likewise.
8707 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
8708 Likewise.
8709 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
8710 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
8711 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
8712 Likewise.
8713 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
8714 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
8715 Likewise.
8716
2954daf0
AS
87172018-10-24 Andreas Schwab <schwab@suse.de>
8718
8719 [BZ #18093]
8720 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
8721 format cache.
8722 * elf/cache.c (print_cache): Likewise.
8723
6b5c8607 87242018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
a27a4f47
AA
8725
8726 * bits/timesize.h: New file.
8727 * stdlib/Makefile (headers): Add bits/timesize.h.
8728 * sysdeps/unix/sysv/linux/bits/msq-pad.h
8729 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
8730 * sysdeps/unix/sysv/linux/bits/sem-pad.h
8731 (__SEM_PAD_AFTER_TIME): Likewise.
8732 * sysdeps/unix/sysv/linux/bits/shm-pad.h
8733 (__SHM_PAD_AFTER_TIME): Likewise.
8734 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
8735 (__MSQ_PAD_BEFORE_TIME): Likewise.
8736 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
8737 (__SEM_PAD_BEFORE_TIME): Likewise.
8738 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
8739 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
8740 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
b39d961c
TS
8741 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
8742 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
8743 (__MSQ_PAD_BEFORE_TIME): Likewise.
a27a4f47
AA
8744 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
8745 (__SEM_PAD_BEFORE_TIME): Likewise.
8746 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
8747 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
8748 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
8749 (__MSQ_PAD_BEFORE_TIME): Likewise.
8750 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
8751 (__SEM_PAD_BEFORE_TIME): Likewise.
8752 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
8753 (__SHM_PAD_BEFORE_TIME): Likewise.
8754 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
8755 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
8756 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
8757
7cc65773
L
87582018-10-24 H.J. Lu <hongjiu.lu@intel.com>
8759
8760 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
8761 USE_RDTSCP is defined.
8762 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
8763 USE_RDTSCP is defined.
8764
c3d8dc45
AZ
87652018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8766
18ad0de6
AZ
8767 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
8768 defined.
8769
c3d8dc45
AZ
8770 [BZ #23709]
8771 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
8772 independently of other flags.
8773
f1034472
FW
87742018-10-23 Florian Weimer <fweimer@redhat.com>
8775
8776 * time/tst-mktime2.c (N_STRINGS): Remove.
8777 (set_timezone): New function.
8778 (spring_forward_gap): Call it. Use FAIL_EXIT1.
8779 (mktime_test1): Report localtime failure and check errno value.
8780 Use TEST_COMPARE.
8781 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
8782 (do_test): Remove alarm call. Use set_timezone and array_length.
8783
367d7cc2
AS
87842018-10-23 Andreas Schwab <schwab@suse.de>
8785
8786 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
8787 (__start_context): Use END instead of PSEUDO_END.
8788
be8ff03f
JM
87892018-10-22 Joseph Myers <joseph@codesourcery.com>
8790
029ad711
JM
8791 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8792 version to 4.19.
8793
8190520f
JM
8794 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8795 version to 4.19.
8796
be8ff03f
JM
8797 [BZ #23793]
8798 * wcsmbs/c32rtomb.c: New file.
8799 * wcsmbs/mbrtoc32.c: Likewise.
8800 * wcsmbs/tst-c32-state.c: Likewise.
8801 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
8802 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
8803 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
8804 (tests): Add tst-c32-state.
8805 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
8806 $(gen-locales).
8807
2dd8e58c
L
88082018-10-21 H.J. Lu <hongjiu.lu@intel.com>
8809
8810 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
8811 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
8812
d0a74159
JM
88132018-10-19 Joseph Myers <joseph@codesourcery.com>
8814
8815 [BZ #23794]
8816 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
8817 pair and return 0 in that case, and use saved character to
8818 interpret following character.
8819 * wcsmbs/tst-c16-surrogate.c: New file.
8820 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
8821 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
8822 Depend on $(gen-locales)
8823
f997b4be
IYM
88242018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
8825
8826 [BZ #23562]
8827 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
8828 (struct siginfo_t): Use correct type for si_band.
8829
53b2bb87
FW
88302018-10-19 Florian Weimer <fweimer@redhat.com>
8831
8832 [BZ #23689]
8833 * resource/bits/types/struct_rusage.h (struct rusage): Update
8834 comment on struct. Remove extraneous field comment.
8835
0a271c8f
DM
88362018-10-18 David S. Miller <davem@davemloft.net>
8837
94a3a27f
DM
8838 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
8839 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
8840 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
8841 sysdep_routines in subdir elf.
8842 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
8843 version for __vdso_clock_gettime.
8844 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
8845 Define.
8846 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
8847 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
8848
0a271c8f
DM
8849 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
8850
72771e53
L
88512018-10-17 H.J. Lu <hongjiu.lu@intel.com>
8852
8853 * sysdeps/i386/init-arch.h: Removed.
8854 * sysdeps/i386/i586/init-arch.h: Likewise.
8855 * sysdeps/i386/i686/init-arch.h: Likewise.
8856 * sysdeps/i386/i686/hp-timing.h: Likewise.
8857 * sysdeps/x86_64/hp-timing.h: Likewise.
8858 * sysdeps/i386/isa.h: New file.
8859 * sysdeps/i386/i586/isa.h: Likewise.
8860 * sysdeps/i386/i686/isa.h: Likewise.
8861 * sysdeps/x86_64/isa.h: Likewise.
8862 * sysdeps/x86/hp-timing.h: New file.
8863 * sysdeps/x86/init-arch.h: Include <isa.h>.
8864
c2b7ccad
JM
88652018-10-17 Joseph Myers <joseph@codesourcery.com>
8866
8867 * math/libm-test-pow.inc (pow_test_data): Do not allow
8868 divide-by-zero exception for pow(+/- 0, -Inf).
8869
26756e57
ZW
88702018-10-17 Zack Weinberg <zackw@panix.com>
8871
8872 * manual/job.texi (Job Control is Optional): Remove node, as
8873 job control has not been optional in quite some time.
8874 (Job Control): Mention briefly that systems older than
8875 POSIX.1-2001 might not support job control.
8876 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
8877 defined on systems conforming to POSIX.1-2001.
8878
c5288d37
AS
88792018-10-17 Arjun Shankar <arjun@redhat.com>
8880
8881 [BZ #22062]
8882 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
8883 indentation.
8884 * (__gconv_read_conf): Mark function static.
8885 * (once): New static variable.
8886 * (__gconv_load_conf): New function.
8887 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
8888 * iconv/gconv_db.c (once): Remove static variable.
8889 * (__gconv_compare_alias): Use __gconv_load_conf instead of
8890 __gconv_read_conf.
8891 * (__gconv_find_transform): Likewise.
8892 * iconv/tst-iconv-mt.c: New test.
8893 * iconv/Makefile: Add tst-iconv_mt.
8894
8c8d2a8a
JM
88952018-10-17 Joseph Myers <joseph@codesourcery.com>
8896
8897 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729f3402
JM
8898 bits/shm-pad.h.
8899 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
8900 (shmatt_t): Define as __syscall_ulong_t.
8901 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
8902 and [__SHM_PAD_AFTER_TIME].
8903 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
8904 Define shm_segsz and associated padding based on
8905 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
8906 Use __syscall_ulong_t instead of unsigned long int.
8907 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
8908 unsigned long int.
8909 [__USE_MISC] (struct shm_info): Likewise.
8910 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
8911 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
8912 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
8913 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
8914 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
8915 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
8916 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
8917 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
8918 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8919 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8920 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8921
8922 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8c8d2a8a
JM
8923 bits/shmlba.h.
8924 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
8925 (SHMLBA): Remove macro.
8926 (__getpagesize): Remove function declaration.
8927 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
8928 <bits/shmlba.h>.
8929 (SHMLBA): Remove macro.
8930 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
8931 <bits/shmlba.h>.
8932 (SHMLBA): Remove macro.
8933 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
8934 <bits/shmlba.h>.
8935 (SHMLBA): Remove macro.
8936 (__getpagesize): Remove function declaration.
8937 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
8938 <bits/shmlba.h>.
8939 (SHMLBA): Remove macro.
8940 (__getshmlba): Remove function declaration.
8941 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
8942 (SHMLBA): Remove macro.
8943 (__getpagesize): Remove function declaration.
8944 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
8945 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
8946 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8947 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
8948 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
8949 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
8950 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
8951 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
8952 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
8953 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
8954
403b4feb
SL
89552018-10-17 Stefan Liebler <stli@linux.ibm.com>
8956
8957 [BZ #23275]
8958 * nptl/tst-mutex10.c: New File.
8959 * nptl/Makefile (tests): Add tst-mutex10.
8960 (tst-mutex10-ENV): New variable.
8961 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
8962 Ensure that elision path is used if elision is available.
8963 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
8964 Likewise.
8965 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
8966 Likewise.
8967 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
8968 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
8969 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
8970 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
8971 Likewise.
8972 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
8973 (__pthread_mutex_cond_lock_adjust): Likewise.
8974 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8975 Likewise.
8976 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
8977 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
8978 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8979 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
8980 Add comments.
8981 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
8982 Use atomic_load_relaxed and atomic_store_relaxed.
8983 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
8984 Use atomic_store_relaxed.
8985
ce5a7de6
AS
89862018-10-17 Andreas Schwab <schwab@suse.de>
8987
8988 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
8989 * crypt/badsalttest.c (TIMEOUT): Likewise.
8990 * crypt/sha256c-test.c (TIMEOUT): Likewise.
8991 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
8992 * io/test-lfs.c (TIMEOUT): Likewise.
8993 * libio/tst-atime.c (TIMEOUT): Likewise.
8994 * localedata/tst-leaks.c (TIMEOUT): Likewise.
8995 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
8996 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
8997 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
8998 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
8999 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
9000 * nptl/tst-cond11.c (TIMEOUT): Likewise.
9001 * nptl/tst-cond14.c (TIMEOUT): Likewise.
9002 * nptl/tst-cond15.c (TIMEOUT): Likewise.
9003 * nptl/tst-cond24.c (TIMEOUT): Likewise.
9004 * nptl/tst-cond25.c (TIMEOUT): Likewise.
9005 * nptl/tst-kill2.c (TIMEOUT): Likewise.
9006 * nptl/tst-kill3.c (TIMEOUT): Likewise.
9007 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
9008 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
9009 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
9010 * nptl/tst-once2.c (TIMEOUT): Likewise.
9011 * nptl/tst-once3.c (TIMEOUT): Likewise.
9012 * nptl/tst-once4.c (TIMEOUT): Likewise.
9013 * nptl/tst-robust8.c (TIMEOUT): Likewise.
9014 * nptl/tst-robust9.c (TIMEOUT): Likewise.
9015 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
9016 * nptl/tst-sem14.c (TIMEOUT): Likewise.
9017 * nptl/tst-sem6.c (TIMEOUT): Likewise.
9018 * nptl/tst-signal3.c (TIMEOUT): Likewise.
9019 * nptl/tst-spin4.c (TIMEOUT): Likewise.
9020 * nptl/tst-tls3.c (TIMEOUT): Likewise.
9021 * nptl/tst-tls4.c (TIMEOUT): Likewise.
9022 * posix/tst-chmod.c (TIMEOUT): Likewise.
9023 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
9024 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
9025 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
9026 * posix/tst-regex2.c (TIMEOUT): Likewise.
9027 * posix/tst-waitid.c (TIMEOUT): Likewise.
9028 * rt/tst-aio.c (TIMEOUT): Likewise.
9029 * rt/tst-aio10.c (TIMEOUT): Likewise.
9030 * rt/tst-aio4.c (TIMEOUT): Likewise.
9031 * rt/tst-aio5.c (TIMEOUT): Likewise.
9032 * rt/tst-aio6.c (TIMEOUT): Likewise.
9033 * rt/tst-aio64.c (TIMEOUT): Likewise.
9034 * rt/tst-aio7.c (TIMEOUT): Likewise.
9035 * rt/tst-aio9.c (TIMEOUT): Likewise.
9036 * rt/tst-clock.c (TIMEOUT): Likewise.
9037 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
9038 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
9039 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
9040 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
9041 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
9042 * rt/tst-timer4.c (TIMEOUT): Likewise.
9043 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
9044 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
9045 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
9046 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
9047 * time/tst-ftime.c (TIMEOUT): Likewise.
9048 * timezone/tst-tzset.c (TIMEOUT): Likewise.
9049
6b5c8607 90502018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
75c1aee5
AY
9051
9052 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
9053 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
9054 for thunderX2.
9055
bcdb1bfa
JM
90562018-10-15 Joseph Myers <joseph@codesourcery.com>
9057
9058 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9059 bits/sem-pad.h.
9060 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
9061 instead of <bits/wordsize.h>.
9062 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
9063 and [__SEM_PAD_AFTER_TIME].
9064 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
9065 __syscall_ulong_t instead of unsigned long int.
9066 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
9067 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
9068 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
9069 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
9070 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
9071 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
9072 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
9073 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
9074 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9075 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9076 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9077
f4efbdfb
PE
90782018-10-14 Paul Eggert <eggert@cs.ucla.edu>
9079
620a5d4c
PE
9080 regex: simplify by using intprops.h
9081 [BZ#23744]
9082 * posix/regex_internal.h [_LIBC]: Include intprops.h.
9083 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
9084 intprops.h defines them.
9085
f4efbdfb
PE
9086 regex: __builtin_expect → __glibc_unlikely
9087 [BZ#23744]
9088 This refactoring was prompted by a problem when the regex code is
9089 used as part of Gnulib and when the builder’s compiler does not grok
9090 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
9091 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
9092 Although this refactoring does not fix the problem directly,
9093 we might as well have Gawk use the now-preferred glibc style for when
9094 __builtin_expect is unavailable.
9095 * posix/regex_internal.h (BE): Remove.
9096 All uses replaced by __glibc_unlikely or __glibc_likely.
9097
9f9feb6d
JM
90982018-10-11 Joseph Myers <joseph@codesourcery.com>
9099
9100 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9101 bits/msq-pad.h.
9102 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
9103 instead of <bits/wordsize.h>.
9104 (msgqnum_t): Define as __syscall_ulong_t.
9105 (msglen_t): Likewise.
9106 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
9107 and [__MSQ_PAD_AFTER_TIME].
9108 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
9109 __syscall_ulong_t instead of unsigned long int.
9110 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
9111 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
9112 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
9113 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
9114 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
9115 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
9116 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
9117 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
9118 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9119 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9120 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9121
b9c0f6c1
JM
91222018-10-10 Joseph Myers <joseph@codesourcery.com>
9123
2a4b25fa
JM
9124 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
9125 (struct shmid_ds): Condition padding after time fields on
9126 [__WORDSIZE == 32].
9127 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
9128 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
9129 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9130
19e62f26
JM
9131 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
9132 (struct semid_ds): Condition padding after time fields on
9133 [__WORDSIZE == 32].
9134 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
9135 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
9136 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
9137 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9138
b9c0f6c1
JM
9139 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
9140 (struct msqid_ds): Condition padding after time fields on
9141 [__WORDSIZE == 32].
9142 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
9143 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
9144 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
9145 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9146
97785a61
SN
91472018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
9148
9149 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
9150
ed643089
SN
91512018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
9152
9153 * libio/tst-readline.c (TIMEOUT): Define.
9154
5a580643
PE
91552018-10-08 Paul Eggert <eggert@cs.ucla.edu>
9156
9157 mktime fix for Gnulib + coreutils
9158 [BZ#23745]
9159 This fix affects only Gnulib. Problem discovered when
9160 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
9161 * time/mktime.c:
9162 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
9163 Do not define since it is not used. Defining an unused static
9164 function prompts a warning from GCC when Coreutils is configured
9165 with --enable-gcc-warnings.
9166
c892ae04
LS
91672018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9168
9169 * benchtests/scripts/compare_bench.py (main): set float type on
9170 threshold argument.
9171
a68ec8ea
RL
91722018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
9173
9174 [BZ #23740]
9175 * localedata/locales/kl_GL (mon): Update, the relative case.
9176 (alt_mon): Add, fill with month names in the nominative case.
9177 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
9178 (d_fmt): Set to "%b %d %Y".
9179
a1987621
JM
91802018-10-04 Joseph Myers <joseph@codesourcery.com>
9181
47c49251
JM
9182 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
9183 <bits/mman-linux.h>.
9184 (PROT_READ): Don't define here.
9185 (PROT_WRITE): Likewise.
9186 (PROT_EXEC): Likewise.
9187 (PROT_NONE): Likewise.
9188 (PROT_GROWSDOWN): Likewise.
9189 (PROT_GROWSUP): Likewise.
9190 (MAP_SHARED): Likewise.
9191 (MAP_PRIVATE): Likewise.
9192 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
9193 [__USE_MISC] (MAP_FILE): Likewise.
9194 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
9195 [__USE_MISC] (MAP_ANON): Likewise.
9196 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
9197 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
9198 (MCL_CURRENT): Likewise.
9199 (MCL_FUTURE): Likewise.
9200 (MCL_ONFAULT): Likewise.
9201 [__USE_MISC] (MADV_NORMAL): Likewise.
9202 [__USE_MISC] (MADV_RANDOM): Likewise.
9203 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
9204 [__USE_MISC] (MADV_WILLNEED): Likewise.
9205 [__USE_MISC] (MADV_DONTNEED): Likewise.
9206 [__USE_MISC] (MADV_FREE): Likewise.
9207 [__USE_MISC] (MADV_REMOVE): Likewise.
9208 [__USE_MISC] (MADV_DONTFORK): Likewise.
9209 [__USE_MISC] (MADV_DOFORK): Likewise.
9210 [__USE_MISC] (MADV_HWPOISON): Likewise.
9211 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
9212 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
9213 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
9214 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
9215 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
9216 (__MAP_ANONYMOUS): New macro.
9217 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
9218 <bits/mman-linux.h> inclusion.
9219 (MAP_FIXED): Likewise.
9220 (MS_SYNC): Likewise.
9221 (MS_ASYNC): Likewise.
9222 (MS_INVALIDATE): Likewise.
9223 [__USE_MISC] (MADV_MERGEABLE): Likewise.
9224 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
9225 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
9226 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
9227 [__USE_MISC] (MADV_DONTDUMP): Likewise.
9228 [__USE_MISC] (MADV_DODUMP): Likewise.
9229 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
9230 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
9231
a1987621
JM
9232 [BZ #23735]
9233 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
9234 Define.
9235 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
9236 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
9237 Add test-nldbl-redirect.
9238 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
9239 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
9240 $(objpfx)libnldbl_nonshared.a.
9241
e7624d70
SL
92422018-10-04 Stefan Liebler <stli@linux.ibm.com>
9243
9244 * support/support.h (support_objdir_elf_ldso): New variable.
9245 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
9246 * support/Makefile (CFLAGS-support_paths.c): Add definition
9247 for OBJDIR_ELF_LDSO_PATH.
9248 * support/test-container.c (main): Search for the ld.so
9249 which is also used by the testsuite.
9250
dae3ed95
RL
92512018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
9252
9253 [BZ #20209]
9254 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
9255 should be "sap" rather than "sab".
9256 (day): Fix spelling of Sunday, should be "sapaat" rather than
9257 "sabaat".
9258
f346b5b3
JM
92592018-10-02 Joseph Myers <joseph@codesourcery.com>
9260
9261 * math/libm-test-fma.inc (fma_test_data): Add more tests.
9262
4a06ceea
MJ
92632018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
9264
9265 [BZ #19444]
9266 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
9267 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
9268 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
9269
a06fc4a5
AZ
92702018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9271
9272 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
9273
a1ccc065
L
92742018-10-02 H.J. Lu <hongjiu.lu@intel.com>
9275
9276 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
9277 Add -mrtm.
9278 (CFLAGS-elision-unlock.c): Likewise.
9279 (CFLAGS-elision-timed.c): Likewise.
9280 (CFLAGS-elision-trylock.c): Likewise.
9281 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
9282
0b727ed4
AZ
92832018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9284
9285 [BZ #21037]
9286 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
9287 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
9288 new fd_to_filename interface.
9289 * libio/freopen64.c (freopen64): Likewise.
9290 * libio/tst-memstream.h: New file.
9291 * libio/tst-memstream4.c: Likewise.
9292 * libio/tst-wmemstream4.c: Likewise.
9293 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
9294 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
9295 and remove internal dynamic allocation.
9296
d0e91e8c
JM
92972018-10-01 Joseph Myers <joseph@codesourcery.com>
9298
9299 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
9300 (MREMAP_MAYMOVE): Do not define here.
9301 [__USE_GNU] (MREMAP_FIXED): Likewise.
9302 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
9303 (MREMAP_MAYMOVE): Define here instead.
9304 [__USE_GNU] (MREMAP_FIXED): Likewise.
9305 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
9306 (MREMAP_MAYMOVE): Remove.
9307 [__USE_GNU] (MREMAP_FIXED): Likewise.
9308
c52944e8
JM
93092018-09-28 Joseph Myers <joseph@codesourcery.com>
9310
9311 * math/fromfp.h: Do not include <math_private.h>.
9312 * math/s_cacosh_template.c: Likewise.
9313 * math/s_casin_template.c: Likewise.
9314 * math/s_casinh_template.c: Likewise.
9315 * math/s_ccos_template.c: Likewise.
9316 * math/s_cproj_template.c: Likewise.
9317 * math/s_fdim_template.c: Likewise.
9318 * math/s_fmaxmag_template.c: Likewise.
9319 * math/s_fminmag_template.c: Likewise.
9320 * math/s_iseqsig_template.c: Likewise.
9321 * math/s_ldexp_template.c: Likewise.
9322 * math/s_nextdown_template.c: Likewise.
9323 * math/w_log1p_template.c: Likewise.
9324 * math/w_scalbln_template.c: Likewise.
9325 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
9326 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
9327 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
9328 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
9329 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
9330 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
9331 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
9332 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
9333 * sysdeps/i386/fpu/s_atanl.c: Likewise.
9334 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
9335 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
9336 * sysdeps/i386/fpu/s_fdim.c: Likewise.
9337 * sysdeps/i386/fpu/s_logbl.c: Likewise.
9338 * sysdeps/i386/fpu/s_rintl.c: Likewise.
9339 * sysdeps/i386/fpu/s_significandl.c: Likewise.
9340 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
9341 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
9342 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9343 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9344 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
9345 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9346 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9347 * sysdeps/ieee754/k_standardf.c: Likewise.
9348 * sysdeps/ieee754/k_standardl.c: Likewise.
9349 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9350 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9351 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
9352 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9353 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9354 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9355 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9356 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9357 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9358 * sysdeps/ieee754/s_signgam.c: Likewise.
9359 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9360 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
9361 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
9362 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9363 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9364 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
9365 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9366 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
9367 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9368 * sysdeps/riscv/rvd/s_finite.c: Likewise.
9369 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
9370 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9371 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9372 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9373 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9374 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9375 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9376 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9377 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9378 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9379 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9380 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9381 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9382 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9383 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9384 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9385 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9386 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9387 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9388 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9389 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9390 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9391 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9392 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9393 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9394 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9395 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
9396 <math_private.h>.
9397 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9398
7b1f9406
L
93992018-09-28 H.J. Lu <hongjiu.lu@intel.com>
9400
9401 [BZ #23716]
9402 * sysdeps/i386/dl-cet.c: Removed.
9403 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
9404 prototype.
9405 (_dl_runtime_profile_shstk): Likewise.
9406 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
9407 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
9408
7a16bdbb
AZ
94092018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9410
9411 [BZ #23579]
9412 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
9413 do_test_with_invalid_iov): New tests.
9414 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
9415 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
9416 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
9417 errno is ENOSYS.
9418 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
9419 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
9420 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
9421
9755bc46
JM
94222018-09-27 Joseph Myers <joseph@codesourcery.com>
9423
81dca813
JM
9424 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9425 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
9426 (MATH_REDIRECT_BINARY_ARGS): New macro.
9427 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9428 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
9429 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
9430 header inclusion.
9431 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
9432 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9433 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
9434 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9435 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9436 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9437 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9439 Likewise.
9440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
9441 Likewise.
9442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
9444 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
9445 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
9446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
9447 Likewise.
9448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
9449 Likewise.
9450 * sysdeps/generic/math_private_calls.h
9451 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
9452 Do not declare and define as an inline function.
9453 * math/divtc3.c (__divtc3): Use copysign functions instead of
9454 __copysign variants.
9455 * math/multc3.c (__multc3): Likewise.
9456 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
9457 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
9458 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9459 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9460 Likewise.
9461 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9462 (__ieee754_yn): Likewise.
9463 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9464 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
9465 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9466 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9467 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
9468 (__sin): Likewise.
9469 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
9470 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9471 Likewise.
9472 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9473 Likewise.
9474 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9475 Likewise.
9476 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9477 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9478 Likewise.
9479 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9480 (__ieee754_ynf): Likewise.
9481 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
9482 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9483 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
9484 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9485 Likewise.
9486 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9487 (__ieee754_ynl): Likewise.
9488 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9489 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9490 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9491 Likewise.
9492 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9493 (__ieee754_ynl): Likewise.
9494 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
9495 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9496 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9497 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9498 Likewise.
9499 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9500 (__ieee754_ynl)
9501 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
9502 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9503 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
9504 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9505 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9506
9755bc46
JM
9507 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9508 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
9509 using MATH_REDIRECT.
9510 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
9511 header inclusion.
9512 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
9513 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9514 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9515 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
9516 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9517 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9518 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
9520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
9521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
9522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
9523 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9524 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9525 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9526 (round): Redirect to __round.
9527 (__roundl): Call round instead of __round.
9528 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
9529 Remove macro.
9530 [_ARCH_PWR5X] (__roundf): Likewise.
9531 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
9532 functions instead of __round variants.
9533 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9534 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
9535 Likewise.
9536 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
9537 Likewise.
9538 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
9539 Likewise.
9540 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
9541 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
9542 __lroundl.
9543 (__ieee754_expl): Call roundl instead of __roundl.
9544
f841c97e
AS
95452018-09-27 Andreas Schwab <schwab@suse.de>
9546
9547 [BZ #23717]
9548 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
9549 (do_test): Make st1 static.
9550
6ca8284e
AS
95512018-09-26 Andreas Schwab <schwab@suse.de>
9552
9553 [BZ #23707]
9554 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
9555 * elf/Makefile (tests): Add tst-unwind-ctor.
9556 (modules-names): Add tst-unwind-ctor-lib.
9557 ($(objpfx)tst-unwind-ctor): Depend on
9558 $(objpfx)tst-unwind-ctor-lib.so.
9559
61d8b5fe
JM
95602018-09-26 Joseph Myers <joseph@codesourcery.com>
9561
9562 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
9563 file. Most contents moved from ....
9564 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
9565 and include <bits/mman-map-flags-generic.h>.
9566 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9567 (sysdep_headers): Add bits/mman-map-flags-generic.h.
9568 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
9569 <bits/mman-map-flags-generic.h>.
9570 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
9571 macros defined in <bits/mman-map-flags-generic.h>.
9572 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
9573 <bits/mman-map-flags-generic.h>.
9574 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
9575 defined in <bits/mman-map-flags-generic.h>.
9576
46341286
AS
95772018-09-26 Andreas Schwab <schwab@suse.de>
9578
9579 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
9580 output.
9581
b5c45e83
AZ
95822018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
9583 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9584 Fangrui Song <maskray@google.com>
9585
9586 [BZ #20480]
9587 * config.make.in (have-textrel_ifunc): New define.
9588 * configure.ac: Add check if linker supports textrel relocation with
9589 ifunc.
9590 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
9591 tst-ifunc-textrel.
9592 (CFLAGS-tst-ifunc-textrel.c): New rule.
9593 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
9594 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
9595 * elf/tst-ifunc-textrel.c: New file.
9596
8ea4d2b7
JM
95972018-09-25 Joseph Myers <joseph@codesourcery.com>
9598
d62f9ec0
JM
9599 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
9600 <bits/procfs-prregset.h>.
9601 (prgregset_t): Define using __prgregset_t.
9602 (prfpregset_t): Define using __prfpregset_t.
9603 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9604 (sysdep_headers): Add bits/procfs-prregset.h.
9605 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
9606 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
9607 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
9608 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
9609
d0d8eb43
JM
9610 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
9611 <bits/procfs-id.h> and <bits/procfs-extra.h>.
9612 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
9613 pr_uid and pr_gid.
9614 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9615 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
9616 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
9617 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
9618 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
9619 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
9620 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
9621 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
9622 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
9623 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
9624 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
9625 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
9626 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
9627 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
9628 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
9629 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
9630 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
9631 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
9632 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
9633 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
9634 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
9635 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
9636 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9637 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
9638
8ea4d2b7
JM
9639 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
9640 AArch64 version. Include <bits/procfs.h>.
9641 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9642 (sysdep_headers): Add bits/procfs.h.
9643 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
9644 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
9645 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
9646 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
9647 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
9648 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
9649 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
9650 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
9651 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
9652 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
9653 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
9654 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
9655 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
9656 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
9657 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
9658 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9659 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
9660
c7027166
AZ
96612018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9662
9663 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
9664 Use libsupport.
9665
335a3b0a
AS
96662018-09-25 Arjun Shankar <arjun@redhat.com>
9667
9668 * iconv/gconv_int.h (__gconv_path_elem): Remove.
9669 (__gconv_max_path_elem_len): Likewise.
9670 (__gconv_nmodules): Likewise.
9671 (__gconv_get_path): Likewise.
9672 (path_elem): Move to ...
9673 * iconv/gconv_conf.c: ... here.
9674 (__gconv_get_path): Mark function static.
9675 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
9676 * iconv/gconv_open.c: ... here.
9677
462d348c
AS
96782018-09-24 Andreas Schwab <schwab@suse.de>
9679
9680 * scripts/haveversions.awk: New file.
9681 * Makerules ($(common-objpfx)Versions.def)
9682 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9683 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9684 Move rules ...
9685 * Makeconfig ($(common-objpfx)Versions.def)
9686 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9687 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9688 ... here.
9689 ($(common-objpfx)Versions.mk): New rule. Include it.
9690 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
9691 Emit error if build-obsolete-nsl = yes.
9692 * manual/install.texi (Configuring and compiling): Describe
9693 --enable-obsolete-nsl as unavaiable after version 2.28.
9694 * INSTALL: Regenerate.
9695
f0458cf4
AZ
96962018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9697
9698 * NEWS: Add note about new TLE support on powerpc64le.
9699 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
9700 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
9701 __ununsed1.
9702 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
9703 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
9704 * sysdeps/powerpc/powerpc32/sysdep.h,
9705 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
9706 ABORT_TRANSACTION): Remove macros.
9707 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
9708 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
9709 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
9710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
9711 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9712 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
9713 usage.
9714 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
9715
434d45fd
RL
97162018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
9717
9718 [BZ #10425]
9719 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
9720 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
9721 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
9722 which is the same as in it_IT.
9723 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
9724 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
9725
d90c9b1a
JM
97262018-09-20 Joseph Myers <joseph@codesourcery.com>
9727
7abf97be
JM
9728 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9729 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
9730 using MATH_REDIRECT.
9731 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
9732 header inclusion.
9733 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
9734 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9735 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
9736 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9737 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9738 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
9740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
9741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
9742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
9743 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9744 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9745 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
9746 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
9747 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
9748 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
9749 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
9750 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9751 (ceil): Redirect to __ceil.
9752 (floor): Redirect to __floor.
9753 (trunc): Redirect to __trunc.
9754 (__truncl): Call trunc instead of __trunc.
9755 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
9756 Remove macro.
9757 [_ARCH_PWR5X] (__truncf): Likewise.
9758 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
9759 trunc functions instead of __trunc variants.
9760 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9761 Likewise.
9762 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9763 Likewise.
9764 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9765 Likewise.
9766 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9767 Likewise.
9768
d90c9b1a
JM
9769 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
9770 [__i586__ || __pentium__].
9771 [__i486__]: Handle explicitly.
9772 (HAS_CPUID): Define to 1 if above macros are undefined.
9773 (HAS_I586): Likewise.
9774 (HAS_I686): Likewise.
9775
db9a8ad4
FW
97762018-09-20 Florian Weimer <fweimer@redhat.com>
9777
9778 * misc/tst-gethostid.c: New file.
9779 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
9780 (tst-gethostid): Link with -ldl.
9781
1214ba06
MY
97822018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
9783
9784 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
9785 value from gethostbyname_r.
9786
791b350d
CD
97872018-09-19 Carlos O'Donell <carlos@redhat.com>
9788
9789 * stdlib/tst-setcontext9.c (f1): Rename to...
9790 (f1a): ... this.
9791 (f1b): New function implementing lower half of f1 in alternate stack.
9792
8e6fd2bd
PE
97932018-09-19 Paul Eggert <eggert@cs.ucla.edu>
9794
e1080e7e
PE
9795 Fix mktime localtime offset confusion
9796 [BZ #23603]
9797 * include/time.h (__mktime_internal): The localtime offset is now
9798 of type long int instead of time_t. This is the longstanding type
9799 in glibc, and it is more than enough to represent difference
9800 between localtime and gmtime even if it is 32 bits and time_t is
9801 64. Changing it now will let us avoid an unnecessary change when
9802 time_t is widened to 64 bits on 32-bit platforms.
9803 * time/mktime-internal.h (mktime_offset_t): Now long int.
9804
8e6fd2bd
PE
9805 Merge mktime, timegm from upstream Gnulib
9806 [BZ #23603][BZ #16346]
9807 This fixes some obscure problems with integer overflow.
9808 Although it looks scary, it is almost all a byte-for-byte copy
9809 from Gnulib, and the Gnulib code has been tested reasonably well.
9810 * include/intprops.h: New file, copied from Gnulib.
9811 * include/verify.h, time/mktime-internal.h:
9812 New tiny files, simplified from Gnulib.
9813 * time/mktime.c: Copy from Gnulib. This has the following changes:
9814 Do not include config.h if DEBUG_MKTIME is nonzero.
9815 Include stdbool.h, intprops.h, verify.h.
9816 Include string.h only if needed.
9817 Include stdlib.h on MS-Windows.
9818 Include mktime-internal.h.
9819 (DEBUG_MKTIME): Default to 0, and simplify later uses.
9820 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
9821 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
9822 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
9823 simplify later conditionals; default the others to zero. Use
9824 these conditionals to express only the code needed on the current
9825 platform. In uses of these conditionals, explicitly spell out how
9826 _LIBC affects things, so it’s easier to review from a glibc
9827 viewpoint.
9828 (WRAPV): Remove; no longer needed now that we have
9829 systematic overflow checking.
9830 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
9831 compartmentalize tzset issues. Move system-dependent tzsettish
9832 code here from mktime.
9833 (verify): Remove; now done by verify.h. All uses changed.
9834 (long_int): Use a more-conservative definition, to avoid
9835 integer overflow.
9836 (SHR): Remove, replacing with ...
9837 (shr): New function, which means we needn’t worry about side
9838 effects in args, and conversion analysis is simpler.
9839 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
9840 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
9841 (time_t_avg, time_t_add_ok): Remove.
9842 (mktime_min, mktime_max): New constants.
9843 (leapyear, isdst_differ): Use bool for booleans.
9844 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
9845 Use long_int, not time_t, for mktime differences.
9846 (long_int_avg): New function, replacing time_t_avg.
9847 INT_ADD_WRAPV replaces time_t_add_ok.
9848 (guess_time_tm): 6th arg is now long_int, not time_t const *.
9849 All uses changed.
9850 (convert_time): New function.
9851 (ranged_convert): Use it.
9852 (__mktime_internal): Last arg now points to mktime_offset_t, not
9853 time_t. All uses changed. This is a no-op on glibc, where
9854 mktime_offset_t is always time_t. Use int, not time_t, for UTC
9855 offset guess. Directly check for integer overflow instead of
9856 using a heuristic that works only 99.9...% of the time.
9857 Access *OFFSET only once, to avoid an unlikely race if the
9858 compiler delays a load and if this cascades into a signed integer
9859 overflow.
9860 (mktime): Move tzsettish code to my_tzset, and move
9861 localtime_offset to within mktime so that it doesn’t
9862 need a separate ifdef.
9863 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
9864 instead of localtime.
9865 * time/timegm.c: Copy from Gnulib. This has the following changes:
9866 Include mktime-internal.h.
9867 [!_LIBC]: Include config.h and time.h. Do not include
9868 timegm.h or time_r.h. Make __mktime_internal a macro,
9869 and include mktime-internal.h to get its declaration.
9870 (timegm): Temporary is now mktime_offset_t, not time_t.
9871 This affects only Gnulib.
9872
83a552b0
WD
98732018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
9874
9875 [BZ #23637]
9876 * string/test-strstr.c (pr23637): New function.
9877 (test_main): Add tests with longer needles.
9878 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
9879 * string/strstr.c (AVAILABLE): Likewise.
9880
d7347278
SN
98812018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9882
9883 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
9884
424c4f60
SN
98852018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9886
9887 * NEWS: Mention pow improvements.
9888 * math/Makefile (type-double-routines): Add e_pow_log_data.
9889 * sysdeps/generic/math_private.h (__exp1): Remove.
9890 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
9891 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
9892 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
9893 contraction.
9894 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
9895 (exp_inline): Remove.
9896 (__ieee754_exp): Only single double input is handled.
9897 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
9898 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
9899 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
9900 (__pow_log_data): Define.
9901 * sysdeps/ieee754/dbl-64/upow.h: Remove.
9902 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
9903 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
9904 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
9905 contraction.
9906 (CFLAGS-e_pow-fma4.c): Likewise.
9907
e4e4fde5
PE
99082018-09-18 Paul Eggert <eggert@cs.ucla.edu>
9909
dab9c348
PE
9910 Simplify tzfile fstat failure code
9911 [BZ #21716]
9912 * time/tzfile.c (__tzfile_read): Simplify slightly.
9913
e4e4fde5
PE
9914 Fix tzfile low-memory assertion failure
9915 [BZ #21716]
9916 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
9917 when registering time zone abbreviations.
9918
50bc59ca
JM
99192018-09-18 Joseph Myers <joseph@codesourcery.com>
9920
d3a43e49
JM
9921 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
9922 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
9923 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
9924 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
9925 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
9926 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
9927 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
9928 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9929 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9930
50bc59ca
JM
9931 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
9932 __ceil.
9933 (__ceill): Call ceil instead of __ceil.
9934 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
9935 __floor.
9936 (__floorl): Call floor instead of __floor.
9937
89983cb3
JM
99382018-09-17 Joseph Myers <joseph@codesourcery.com>
9939
71223ef9
JM
9940 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9941 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
9942 using MATH_REDIRECT.
9943 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
9944 header inclusion.
9945 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
9946 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9947 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9948 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
9949 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9950 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9951 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9952 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
9953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
9954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
9955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
9956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
9957 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9958 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9959 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
9960 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
9961 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
9962 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
9963 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
9964 Remove macro.
9965 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
9966 functions instead of __ceil variants.
9967 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9968 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
9969 Likewise.
9970 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
9971 Likewise.
9972 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9973 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
9974 Likewise.
9975 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9976 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9977
89983cb3
JM
9978 [BZ #21286]
9979 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
9980 constant.
9981 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
9982 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
9983 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
9984 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
9985 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
9986 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
9987 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
9988 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
9989 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
9990 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
9991 (ILL_BADIADDR): Remove constant.
9992 (TRAP_BRANCH): Likewise.
9993 (TRAP_HWBKPT): Likewise.
9994
e44acb20
JM
99952018-09-14 Joseph Myers <joseph@codesourcery.com>
9996
3f7f1d18
JM
9997 [BZ #23656]
9998 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
9999 Remove [_MIPS_SIM = _ABIN32] conditional case.
10000 (struct elf_prpsinfo): Likewise.
10001
d59f3e5e
JM
10002 [BZ #23649]
10003 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
10004 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
10005 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
10006 Likewise.
10007 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
10008 elf_prpsinfo): Likewise.
10009 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
10010 elf_prpsinfo): Likewise.
10011 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
10012 Likewise.
10013
f29b6f17
JM
10014 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10015 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
10016 using MATH_REDIRECT.
10017 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
10018 header inclusion.
10019 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
10020 * sysdeps/alpha/fpu/s_rint.c: Likewise.
10021 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
10022 * sysdeps/i386/fpu/s_rintl.c: Likewise.
10023 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10024 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10025 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
10026 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10027 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10028 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10029 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
10030 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
10031 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
10032 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
10033 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
10034 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10035 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10036 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
10037 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
10038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
10039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
10040 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
10041 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
10042 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
10043 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
10044 * sysdeps/x86_64/fpu/math_private.h: Remove file.
10045 * math/e_scalb.c (invalid_fn): Use rint functions instead of
10046 __rint variants.
10047 * math/e_scalbf.c (invalid_fn): Likewise.
10048 * math/e_scalbl.c (invalid_fn): Likewise.
10049 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10050 Likewise.
10051 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10052 Likewise.
10053 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
10054 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
10055 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10056 Likewise.
10057 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10058 Likewise.
10059 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10060 Likewise.
10061 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
10062 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
10063
e44acb20
JM
10064 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10065 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
10066 New macro.
10067 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10068 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
10069 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10070 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
10071 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10072 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
10073 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10074 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
10075 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10076 && !NO_MATH_REDIRECT] (floor): Likewise.
10077 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
10078 header inclusion.
10079 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
10080 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10081 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10082 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
10083 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10084 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10085 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10086 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
10087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
10088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
10089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
10090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
10091 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10092 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10093 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
10094 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
10095 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
10096 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
10097 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
10098 Remove macro.
10099 [_ARCH_PWR5X] (__floorf): Likewise.
10100 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
10101 inline function.
10102 [__SSE4_1__] (__floorf): Likewise.
10103 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
10104 instead of __floor variants.
10105 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
10106 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
10107 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
10108 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
10109 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
10110 * math/w_tgamma_compat.c (__tgamma): Likewise.
10111 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
10112 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
10113 * math/w_tgammal_compat.c (__tgammal): Likewise.
10114 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
10115 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
10116 Likewise.
10117 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
10118 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
10119 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
10120 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10121 Likewise.
10122 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10123 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
10124 Likewise.
10125 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
10126 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
10127 Likewise.
10128 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10129 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
10130 Likewise.
10131 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10132 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10133 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
10134 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
10135 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10136 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10137
221e4bab
JM
101382018-09-12 Joseph Myers <joseph@codesourcery.com>
10139
10140 * elf/Makefile (modules-names-tests): New variable.
10141
3e08ff54
SN
101422018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
10143
10144 * NEWS: Mention log2 improvements.
10145 * math/Makefile (type-double-routines): Add e_log2_data.
10146 * sysdeps/i386/fpu/e_log2_data.c: New file.
10147 * sysdeps/ia64/fpu/e_log2_data.c: New file.
10148 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
10149 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
10150 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
10151 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
10152 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
10153
f41b0a43
SN
101542018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
10155
10156 * NEWS: Mention log improvement.
10157 * math/Makefile (type-double-routines): Add e_log_data.
10158 * sysdeps/i386/fpu/e_log_data.c: New file.
10159 * sysdeps/ia64/fpu/e_log_data.c: New file.
10160 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
10161 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
10162 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
10163 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
10164 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
10165 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
10166
5a274db4
L
101672018-09-12 H.J. Lu <hongjiu.lu@intel.com>
10168 Xuepeng Guo <xuepeng.guo@intel.com>
10169
10170 [BZ #23606]
10171 * sysdeps/i386/start.S: Include <sysdep.h>
10172 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
10173 enabled. Add cfi_undefined (eip).
10174
b1176270
JM
101752018-09-11 Joseph Myers <joseph@codesourcery.com>
10176
4e7fbdd7
JM
10177 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
10178 (MOVQ): Likewise.
10179 (EXTRACT_WORDS64): Likewise.
10180 (INSERT_WORDS64): Likewise.
10181 (GET_FLOAT_WORD): Likewise.
10182 (SET_FLOAT_WORD): Likewise.
10183
b1176270
JM
10184 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
10185 argument.
10186 (Config.build_gcc): Use --disable-libsanitizer for first GCC
10187 build, but not for second build if --full-gcc. Use
10188 --enable-languages=all for second build if --full-gcc.
10189 (get_parser): Add --full-gcc option.
10190 (main): Update call to Context.
10191
527f355e
RL
101922018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
10193
10194 [BZ #10797]
10195 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
10196 Single Quotation Mark).
10197 (thousands_sep): Likewise.
10198 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
10199 * localedata/locales/it_IT (thousands_sep): Use ".".
10200 (grouping): Use "3;3".
10201
7244f13d
JM
102022018-09-10 Joseph Myers <joseph@codesourcery.com>
10203
10204 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
10205 x86_64 and i686 configs using --enable-obsolete-rpc
10206 --enable-obsolete-nsl.
10207
38245425
SL
102082018-09-06 Stefan Liebler <stli@linux.ibm.com>
10209
10210 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10211
28669f86
SL
102122018-09-06 Stefan Liebler <stli@linux.ibm.com>
10213
10214 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
10215 Increment size of new_argv by one.
10216
a33650d1
RL
102172018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
10218
10219 [BZ #17426]
10220 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
10221 * localedata/locales/ar_IN (d_fmt): Likewise.
10222 * localedata/locales/bhb_IN (d_fmt): Likewise.
10223 * localedata/locales/bho_IN (d_fmt): Likewise.
10224 * localedata/locales/bn_BD (d_fmt): Likewise.
10225 * localedata/locales/bn_IN (d_fmt): Likewise.
10226 * localedata/locales/doi_IN (d_fmt): Likewise.
10227 * localedata/locales/gu_IN (d_fmt): Likewise.
10228 * localedata/locales/hi_IN (d_fmt): Likewise.
10229 * localedata/locales/hne_IN (d_fmt): Likewise.
10230 * localedata/locales/kn_IN (d_fmt): Likewise.
10231 * localedata/locales/mag_IN (d_fmt): Likewise.
10232 * localedata/locales/mai_IN (d_fmt): Likewise.
10233 * localedata/locales/mjw_IN (d_fmt): Likewise.
10234 * localedata/locales/ml_IN (d_fmt): Likewise.
10235 * localedata/locales/mni_IN (d_fmt): Likewise.
10236 * localedata/locales/mr_IN (d_fmt): Likewise.
10237 * localedata/locales/pa_IN (d_fmt): Likewise.
10238 * localedata/locales/raj_IN (d_fmt): Likewise.
10239 * localedata/locales/sat_IN (d_fmt): Likewise.
10240 * localedata/locales/sd_IN (d_fmt): Likewise.
10241 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
10242 * localedata/locales/ta_IN (d_fmt): Likewise.
10243 * localedata/locales/ta_LK (d_fmt): Likewise.
10244 * localedata/locales/tcy_IN (d_fmt): Likewise.
10245 * localedata/locales/ur_IN (d_fmt): Likewise.
10246
10247 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
10248 * localedata/locales/ks_IN (d_fmt): Likewise.
10249 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
10250
10251 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
10252 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
10253 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
10254 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
10255
d114e6a7
SN
102562018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
10257
10258 * NEWS: Mention exp and exp2 improvements.
10259 * math/Makefile (libm-support): Remove t_exp.
10260 (type-double-routines): Add math_err and e_exp_data.
10261 * sysdeps/aarch64/libm-test-ulps: Update.
10262 * sysdeps/arm/libm-test-ulps: Update.
10263 * sysdeps/i386/fpu/e_exp_data.c: New file.
10264 * sysdeps/i386/fpu/math_err.c: New file.
10265 * sysdeps/i386/fpu/t_exp.c: Remove.
10266 * sysdeps/ia64/fpu/e_exp_data.c: New file.
10267 * sysdeps/ia64/fpu/math_err.c: New file.
10268 * sysdeps/ia64/fpu/t_exp.c: Remove.
10269 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
10270 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
10271 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
10272 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
10273 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
10274 * sysdeps/ieee754/dbl-64/math_config.h: New file.
10275 * sysdeps/ieee754/dbl-64/math_err.c: New file.
10276 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
10277 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
10278 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
10279 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
10280 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
10281 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
10282 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
10283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10284 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10285
b9d8c474
JM
102862018-09-05 Joseph Myers <joseph@codesourcery.com>
10287
b7cdc2ae
JM
10288 * sysdeps/alpha/fpu/math_private.h: Remove.
10289
b9d8c474
JM
10290 * sysdeps/generic/math_private.h
10291 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
10292 Move this inline function ....
10293 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
10294 * include/math.h [!_ISOMAC]: To here....
10295
418d99e6
JM
102962018-09-04 Joseph Myers <joseph@codesourcery.com>
10297
10298 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
10299 code ....
10300 [!FE_HAVE_ROUNDING_MODES]: And this code ....
10301 * include/fenv.h [!_ISOMAC]: ... to here.
10302 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
10303 (feraiseexcept): Likewise.
10304 * math/fromfp.h: Do not include <fenv_private.h>.
10305 * math/s_cexp_template.c: Likewise.
10306 * math/s_csin_template.c: Likewise.
10307 * math/s_csinh_template.c: Likewise.
10308 * math/s_ctan_template.c: Likewise.
10309 * math/s_ctanh_template.c: Likewise.
10310 * math/s_iseqsig_template.c: Likewise.
10311 * math/w_acos_compat.c: Likewise.
10312 * math/w_acosf_compat.c: Likewise.
10313 * math/w_acosl_compat.c: Likewise.
10314 * math/w_asin_compat.c: Likewise.
10315 * math/w_asinf_compat.c: Likewise.
10316 * math/w_asinl_compat.c: Likewise.
10317 * math/w_j0_compat.c: Likewise.
10318 * math/w_j0f_compat.c: Likewise.
10319 * math/w_j0l_compat.c: Likewise.
10320 * math/w_j1_compat.c: Likewise.
10321 * math/w_j1f_compat.c: Likewise.
10322 * math/w_j1l_compat.c: Likewise.
10323 * math/w_jn_compat.c: Likewise.
10324 * math/w_jnf_compat.c: Likewise.
10325 * math/w_log10_compat.c: Likewise.
10326 * math/w_log10f_compat.c: Likewise.
10327 * math/w_log10l_compat.c: Likewise.
10328 * math/w_log2_compat.c: Likewise.
10329 * math/w_log2f_compat.c: Likewise.
10330 * math/w_log2l_compat.c: Likewise.
10331 * math/w_log_compat.c: Likewise.
10332 * math/w_logf_compat.c: Likewise.
10333 * math/w_logl_compat.c: Likewise.
10334 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10335 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10336 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10337 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10338 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10339 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10340 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10341 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10342 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10343 * sysdeps/ieee754/k_standardl.c: Likewise.
10344 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10345 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10346 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10347 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10348 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10349 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10350 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10351 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10352 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10353 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10354 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10355 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10356 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10357 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10358 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10359 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10360 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10361 * math/w_ilogb_template.c: Include <fenv.h> instead of
10362 <fenv_private.h>.
10363 * math/w_llogb_template.c: Likewise.
10364 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10365 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10366
70e2ba33
JM
103672018-09-03 Joseph Myers <joseph@codesourcery.com>
10368
10369 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
10370 * math/fromfp.h: Include <fenv_private.h>.
10371 * math/math-narrow.h: Likewise.
10372 * math/s_cexp_template.c: Likewise.
10373 * math/s_csin_template.c: Likewise.
10374 * math/s_csinh_template.c: Likewise.
10375 * math/s_ctan_template.c: Likewise.
10376 * math/s_ctanh_template.c: Likewise.
10377 * math/s_iseqsig_template.c: Likewise.
10378 * math/w_acos_compat.c: Likewise.
10379 * math/w_acosf_compat.c: Likewise.
10380 * math/w_acosl_compat.c: Likewise.
10381 * math/w_asin_compat.c: Likewise.
10382 * math/w_asinf_compat.c: Likewise.
10383 * math/w_asinl_compat.c: Likewise.
10384 * math/w_ilogb_template.c: Likewise.
10385 * math/w_j0_compat.c: Likewise.
10386 * math/w_j0f_compat.c: Likewise.
10387 * math/w_j0l_compat.c: Likewise.
10388 * math/w_j1_compat.c: Likewise.
10389 * math/w_j1f_compat.c: Likewise.
10390 * math/w_j1l_compat.c: Likewise.
10391 * math/w_jn_compat.c: Likewise.
10392 * math/w_jnf_compat.c: Likewise.
10393 * math/w_llogb_template.c: Likewise.
10394 * math/w_log10_compat.c: Likewise.
10395 * math/w_log10f_compat.c: Likewise.
10396 * math/w_log10l_compat.c: Likewise.
10397 * math/w_log2_compat.c: Likewise.
10398 * math/w_log2f_compat.c: Likewise.
10399 * math/w_log2l_compat.c: Likewise.
10400 * math/w_log_compat.c: Likewise.
10401 * math/w_logf_compat.c: Likewise.
10402 * math/w_logl_compat.c: Likewise.
10403 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
10404 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
10405 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
10406 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
10407 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10408 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10409 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10410 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10411 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10412 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10413 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10414 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10415 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
10416 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
10417 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10418 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10419 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10420 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10421 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10422 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10423 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10424 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10425 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10426 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10427 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10428 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10429 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10430 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
10431 * sysdeps/ieee754/float128/float128_private.h: Likewise.
10432 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10433 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10434 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10435 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
10436 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10437 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10438 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10439 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10440 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10441 * sysdeps/ieee754/k_standardl.c: Likewise.
10442 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10443 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10444 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10445 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10446 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10447 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10448 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10449 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10450 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10451 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10452 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10453 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10454 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10455 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10456 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10457 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10458 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10459 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
10460 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10461 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10462 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10463 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10464 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10465 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10466 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10467 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10468 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10469 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10470 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
10471 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10472 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10473 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10474 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10475 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10476 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10477 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
10478 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10479 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10480 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10481 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10482 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
10483 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10484 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
10485 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10486 * sysdeps/riscv/rvd/s_finite.c: Likewise.
10487 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
10488 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
10489 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
10490 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
10491 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
10492 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
10493 * sysdeps/riscv/rvf/fegetround.c: Likewise.
10494 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
10495 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
10496 * sysdeps/riscv/rvf/fesetround.c: Likewise.
10497 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
10498 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
10499 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
10500 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10501 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
10502 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10503 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
10504 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
10505 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
10506 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
10507 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
10508 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
10509 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
10510 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
10511 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10512 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10513
a6e8926f
PP
105142018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10515
10516 [BZ #20271]
10517 * include/stdio.h (__libc_fatal): Mention newline in comment.
10518 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
10519 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
10520 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10521 * nss/nsswitch.c (__nss_next2): Likewise.
10522 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
10523 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
10524 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
10525 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10526 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
10527 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
10528 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
10529 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
10530 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
10531 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
10532 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
10533 * sysdeps/unix/sysv/linux/netlink_assert_response.c
10534 (__netlink_assert_response): Likewise.
10535
2bbd06bc
JM
105362018-08-31 Joseph Myers <joseph@codesourcery.com>
10537
10538 * conform/glibcconform.py: New file.
10539 * conform/list-header-symbols.py: Likewise.
10540 * conform/list-header-symbols.pl: Remove.
10541 * conform/Makefile (tests-special): Only add linknamespace tests
10542 if [PYTHON].
10543 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
10544
81b9d87b
L
105452018-08-31 H.J. Lu <hongjiu.lu@intel.com>
10546
10547 [BZ #23597]
10548 * support/Makefile (libsupport-routines): Add
10549 support_copy_file_range and xcopy_file_range.
10550 * support/support.h: Include <sys/types.h>.
10551 (support_copy_file_range): New prototype.
10552 * support/support_copy_file_range.c: New file. Copied and
10553 modified from io/copy_file_range-compat.c.
10554 * support/test-container.c (copy_one_file): Call xcopy_file_rang
10555 instead of copy_file_range.
10556 * support/xcopy_file_range.c: New file.
10557 * support/xunistd.h (xcopy_file_range): New prototype.
10558
d330f31a
CD
105592018-08-30 Carlos O'Donell <carlos@redhat.com>
10560
10561 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
10562 xpthread_create and xpthread_join.
10563
2bda273a
FW
105642018-08-30 Florian Weimer <fweimer@redhat.com>
10565
10566 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
10567
3bad2358
SL
105682018-08-30 Stefan Liebler <stli@linux.ibm.com>
10569
10570 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
10571 if malloc fails.
10572
09c12efc
JM
105732018-08-29 Joseph Myers <joseph@codesourcery.com>
10574
10575 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
10576 and minus_oflow as non-finite.
10577
ff6b2450
JM
105782018-08-28 Joseph Myers <joseph@codesourcery.com>
10579
10580 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
10581 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
10582 moved to fenv_private.h except for ...
10583 (TOINT_INTRINSICS): Kept in math_private.h.
10584 (roundtoint): Likewise.
10585 (converttoint): Likewise.
10586 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
10587 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10588 * sysdeps/arm/math_private.h: Remove.
10589 * sysdeps/generic/fenv_private.h: New file. Contents moved from
10590 ....
10591 * sysdeps/generic/math_private.h: ... this file. Include
10592 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
10593 Include <fenv_private.h>. Remove functions and macros moved to
10594 fenv_private.h.
10595 * sysdeps/i386/fpu/math_private.h: Remove.
10596 * sysdeps/mips/math_private.h: Move to ....
10597 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
10598 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
10599 [__mips_hard_float] conditional. Include next <fenv_private.h>.
10600 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
10601 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10602 * sysdeps/powerpc/fpu/math_private.h: Do not include
10603 <fenv_private.h>.
10604 * sysdeps/riscv/rvf/math_private.h: Move to ....
10605 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
10606 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
10607 <fenv_private.h>.
10608 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
10609 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10610 * sysdeps/sparc/fpu/math_private.h: Remove.
10611 * sysdeps/i386/fpu/fenv_private.h: Move to ....
10612 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
10613 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
10614 <fenv_private.h>.
10615 * sysdeps/x86_64/fpu/math_private.h: Do not include
10616 <sysdeps/i386/fpu/fenv_private.h>.
10617
761404b7
FW
106182018-08-28 Florian Weimer <fweimer@redhat.com>
10619
10620 [BZ #23578]
10621 * posix/tst-regcomp-truncated.c: New file.
10622 * posix/Makefile (tests): Add it.
10623 (tst-regcomp-truncated.out): Depend on generated locales.
10624
d6c44c3d
FW
106252018-08-28 Florian Weimer <fweimer@redhat.com>
10626
10627 * support/test-container.c (main): Treat unshare failure with
10628 EPERM as an unsupported test.
10629
745664bd
FW
106302018-08-28 Florian Weimer <fweimer@redhat.com>
10631
10632 [BZ #23520]
10633 nscd: Fix use-after-free in addgetnetgrentX and its callers.
10634 * nscd/netgroupcache.c
10635 (addgetnetgrentX): Add tofreep parameter. Do not free
10636 heap-allocated buffer.
10637 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
10638 (addgetnetgrentX_ignore): New function.
10639 (addgetnetgrent): Call it.
10640 (readdgetnetgrent): Likewise.
10641
c8dd67e7
RS
106422018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10643
10644 * string/memmem.c: Use memcmp for first match.
10645
5abedf97
RL
106462018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
10647
10648 [BZ #17426]
10649 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
10650
86de0499
DD
106512018-08-27 DJ Delorie <dj@redhat.com>
10652
10653 * support/Makefile (others): Don't list programs explicitly as a
10654 dependency of "others".
10655
c3ab2110
JM
106562018-08-27 Joseph Myers <joseph@codesourcery.com>
10657
10658 * sysdeps/generic/math-tests-trap-force.h: New file.
10659 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
10660 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
10661 * sysdeps/powerpc/math-tests.h: Remove file.
10662 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
10663
6b5c8607
TS
106642018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
10665 Torvald Riegel <triegel@redhat.com>
99ea93ca
MK
10666
10667 [BZ #23538]
10668 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
10669 Update r to include the set wake-request flag if waiters are
10670 remaining after spinning.
10671
4061791f
JM
106722018-08-27 Joseph Myers <joseph@codesourcery.com>
10673
10674 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
10675
bc680b33
PE
106762018-08-25 Paul Eggert <eggert@cs.ucla.edu>
10677
761404b7 10678 [BZ #23578]
bc680b33
PE
10679 regex: fix uninitialized memory access
10680 I introduced this bug into gnulib in commit
10681 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
10682 eventually it was merged into glibc. The bug was found by
10683 project-repo <bugs@feusi.co> and reported here:
10684 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
10685 Diagnosis and draft fix reported by Assaf Gordon here:
10686 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
10687 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
10688 * posix/regex_internal.c (build_wcs_upper_buffer):
10689 Fix bug when mbrtowc returns 0.
10690
02458a52
CD
106912018-08-24 Carlos O'Donell <carlos@redhat.com>
10692
10693 * po/be.po: Update translation.
10694
acc2842a
DD
106952018-08-24 DJ Delorie <dj@delorie.com>
10696
10697 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
10698 $(libunwind).
10699
6c3a8a9d
PP
107002018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10701
b39d961c
TS
10702 [BZ #23400]
10703 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
10704 create temporary files in source tree.
6c3a8a9d 10705
895ef79e
JM
107062018-08-24 Joseph Myers <joseph@codesourcery.com>
10707
10708 * sysdeps/generic/math-tests-trap.h: New file.
10709 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
10710 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
10711 * sysdeps/aarch64/math-tests.h: Remove file.
10712 * sysdeps/arm/math-tests.h: Likewise.
10713 * sysdeps/riscv/math-tests.h: Likewise.
10714 * sysdeps/aarch64/math-tests-trap.h: New file.
10715 * sysdeps/arm/math-tests-trap.h: Likewise.
10716 * sysdeps/riscv/math-tests-trap.h: Likewise.
10717
ca3aac57
WD
107182018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
10719
10720 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
10721 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
10722 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
10723 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
10724 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
10725 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
10726 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10727 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
10728 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
10729 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10730 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10731 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10732 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10733 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
10734 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
10735 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
10736 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10737 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10738
60bcac09
JM
107392018-08-23 Joseph Myers <joseph@codesourcery.com>
10740
10741 * sysdeps/generic/math-tests-exceptions.h: New file.
10742 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
10743 (EXCEPTION_TESTS_float): Do not define here.
10744 (EXCEPTION_TESTS_double): Likewise.
10745 (EXCEPTION_TESTS_long_double): Likewise.
10746 (EXCEPTION_TESTS_float128): Likewise.
10747 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
10748 Likewise.
10749 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
10750 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
10751 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
10752 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
10753 * sysdeps/mips/math-tests.h: Likewise.
10754 * sysdeps/nios2/math-tests.h: Likewise.
10755 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10756 (EXCEPTION_TESTS_float): Do not define here.
10757 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
10758 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
10759 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
10760
3bded567
WD
107612018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
10762
10763 * NEWS: Move optimized sinf entry to 2.29.
10764
900fb446
WD
107652018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
10766
10767 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
10768
561b0bec
DD
107692018-08-22 DJ Delorie <dj@redhat.com>
10770
10771 * Makefile (testroot.pristine): New rules to initialize the
10772 test-in-container "testroot".
10773 * Makerules (all-testsuite): Add tests-container.
10774 * Rules (tests-expected): Add tests-container.
10775 (binaries-all-tests): Likewise.
10776 (tests-container): New, run these tests in the testroot container.
10777 * support/Makefile (others): Add *-container, support_paths.c,
10778 xmkdirp, and links-dso-program.
10779 * support/links-dso-program-c.c: New.
10780 * support/links-dso-program.cc: New.
10781 * support/test-container.c: New.
10782 * support/shell-container.c: New.
10783 * support/echo-container.c: New.
10784 * support/true-container.c: New.
10785 * support/xmkdirp.c: New.
10786 * support/xsymlink.c: New.
10787 * support/support_paths.c: New.
10788 * support/support.h: Add support paths prototypes.
10789 * support/xunistd.h: Add xmkdirp () and xsymlink ().
10790
10791 * nss/tst-nss-test3.c: Convert to test-in-container.
10792 * nss/tst-nss-test3.root/: New.
10793
b35d3509
PE
107942018-08-22 Paul Eggert <eggert@cs.ucla.edu>
10795
10796 regex: port Gnulib code to z/OS POSIX environment
10797 Problem reported by Arnold Robbins in:
10798 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
10799 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
10800 Undef.
10801
16a25138
JM
108022018-08-22 Joseph Myers <joseph@codesourcery.com>
10803
debc4c98
JM
10804 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
10805 (ROUNDING_TESTS_double): Remove.
10806 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
10807 (ROUNDING_TESTS_double): Remove.
10808 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
10809 (ROUNDING_TESTS_double): Remove.
10810 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
10811 (ROUNDING_TESTS_float): Remove.
10812 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
10813 (ROUNDING_TESTS_float): Remove.
10814 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
10815 (ROUNDING_TESTS_float): Remove.
10816 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
10817 !TEST_MATHVEC here.
10818 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10819 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10820
16a25138
JM
10821 * sysdeps/generic/math-tests-rounding.h: New file.
10822 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
10823 (ROUNDING_TESTS_float): Do not define here.
10824 (ROUNDING_TESTS_double): Likewise.
10825 (ROUNDING_TESTS_long_double): Likewise.
10826 (ROUNDING_TESTS_float128): Likewise.
10827 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
10828 (ROUNDING_TESTS_double): Undefine before defining.
10829 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
10830 (ROUNDING_TESTS_double): Undefine before defining.
10831 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
10832 (ROUNDING_TESTS_double): Undefine before defining.
10833 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
10834 (ROUNDING_TESTS_float): Undefine before defining.
10835 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
10836 (ROUNDING_TESTS_float): Undefine before defining.
10837 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
10838 (ROUNDING_TESTS_float): Undefine before defining.
10839 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
10840 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
10841 not define here.
10842 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
10843 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
10844 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
10845 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10846 (ROUNDING_TESTS_float): Do not define here.
10847 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
10848 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
10849 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
10850 (ROUNDING_TESTS_float): Likewise.
10851 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
10852 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
10853 * sysdeps/mips/math-tests.h [__mips_soft_float]
10854 (ROUNDING_TESTS_float): Likewise.
10855 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
10856 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
10857 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
10858 (ROUNDING_TESTS_double): Likewise.
10859 (ROUNDING_TESTS_long_double): Likewise.
10860
38b0593e
TK
108612018-08-21 Tobias Klauser <tklauser@distanz.ch>
10862
10863 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
10864 (PF_XDP): New macro.
10865 (AF_XDP): New macro.
10866 (SOL_XDP): New macro.
10867
5cd7dbde
JM
108682018-08-21 Joseph Myers <joseph@codesourcery.com>
10869
10870 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
10871 (TCP_INQ): Likewise.
10872 (TCP_CM_INQ): Likewise.
10873 (TCP_REPAIR_ON): Likewise.
10874 (TCP_REPAIR_OFF): Likewise.
10875 (TCP_REPAIR_OFF_NO_WP): Likewise.
10876 (struct tcp_zerocopy_receive): New type.
10877
aa42b3db
FW
108782018-08-21 Florian Weimer <fweimer@redhat.com>
10879
10880 * support/support.h (support_descriptor_supports_holes): Declare.
10881 * support/Makefile (libsupport-routines): Add
10882 support_descriptor_supports_holes.
10883 * support/support_descriptor_supports_holes.c: New file.
10884 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
10885 and stop testing if holes are not supported.
10886 * io/test-lfs.c (do_prepare): Likewise.
10887 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
10888 Likewise.
10889 * timezone/tst-tzset.c (create_tz_file): Likewise.
10890 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
10891 variable.
10892 (do_prepare): Set it.
10893 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
10894
c7627f41
FW
108952018-08-21 Florian Weimer <fweimer@redhat.com>
10896
10897 [BZ #17248]
10898 * Makeconfig (+cflags): Do not sort (and deduplicate).
10899
ef939d92
FW
109002018-08-21 Florian Weimer <fweimer@redhat.com>
10901
10902 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
10903 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
10904
88ffb39d
FW
109052018-08-20 Florian Weimer <fweimer@redhat.com>
10906
10907 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
10908 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
10909
17419540
JM
109102018-08-20 Joseph Myers <joseph@codesourcery.com>
10911
e6edd40d
JM
10912 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
10913 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
10914 and ssi_arch members.
10915
17419540
JM
10916 * elf/elf.c (NT_VMCOREDD): New macro.
10917 (AT_MINSIGSTKSZ): Likewise.
10918
fa78896b
RS
109192018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10920
10921 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10922 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
10923 s_cosf-ppc64 and s_cosf-power8.
10924 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
10925 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10926 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10927 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
10929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
10930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
10931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
10932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
10933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
10934 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
10935 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
10936
86a6c75a
FW
109372018-08-17 Florian Weimer <fweimer@redhat.com>
10938
10939 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10940
35cfefd9
FW
109412018-08-17 Istvan Kurucsai <pistukem@gmail.com>
10942
10943 * malloc/malloc.c (_int_malloc): Additional binning code checks.
10944
6413fcde
FW
109452018-08-16 Florian Weimer <fweimer@redhat.com>
10946
10947 * configure.ac: Add --with-nonshared-cflags option.
10948 * config.make.in (extra-nonshared-cflags): Set variable.
10949 * Makeconfig (CFLAGS-.oS): Use it.
10950 * manual/install.texi (Configuring and compiling): Document
10951 --with-nonshared-cflags.
10952 * configure: Regenerate.
10953 * INSTALL: Likewise.
10954
93a2584c
FW
109552018-08-16 Florian Weimer <fweimer@redhat.com>
10956
10957 * Makeconfig (ASFLAGS): Always append required assembler flags.
10958
f6f275d2 109592018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
d6db68e6
ME
10960
10961 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
10962 (malloc_consolidate): Likewise.
10963
30a17d8c
PC
109642018-08-16 Pochang Chen <johnchen902@gmail.com>
10965
10966 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
10967
953a5a4a
SP
109682018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
10969
34f86d61
SP
10970 * benchtests/bench-strlen.c (do_test): Allocate buffers before
10971 every strlen call.
10972
953a5a4a
SP
10973 * benchtests/bench-strlen.c: Print performance numbers in json.
10974
7793ad7a
RS
109752018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10976
10977 * sysdeps/powerpc/powerpc64/multiarch/Makefile
10978 (sysdep_routines): Build strcmp-power9 and strncmp-power9
10979 only for little endian.
10980 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10981 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
10982 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
10983 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
10984 Add check for little endian.
10985 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
10986 (__strcmp_power9): Add check for little endian.
10987 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
10988 Add check for little endian.
10989 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
10990 (__strncmp_power9): Add check for little endian.
10991 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
10992 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
10993 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
10994 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
10995 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
10996
436e4d5b
SP
109972018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
10998
10999 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
11000 [!STRLEN](STRLEN): Set to __strlen.
11001 * sysdeps/aarch64/multiarch/strlen.c: New file.
11002 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
11003 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
11004 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
11005 (__libc_ifunc_impl_list): Add strlen.
11006 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
11007 strlen_generic and strlen_asimd.
11008
126c4e3f
WD
110092018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
11010
11011 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
11012 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
11013 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
11014
49acec17
WD
110152018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
11016
11017 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
11018
fdb16de3
FW
110192018-08-14 Florian Weimer <fweimer@redhat.com>
11020
11021 [BZ #23519]
11022 * include/stdio.h (__vfxprintf): Declare.
11023 * stdio-common/fxprintf.c (__vfxprintf): New function.
11024 (__fxprintf): Call it.
11025 * misc/err.c (convert_and_print): Remove function.
11026 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
11027 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
11028 * misc/Makefile (tests): Add tst-warn-wide.
11029 * misc/tst-warn-wide.c: New file.
11030
599cf397
WD
110312018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
11032 Szabolcs Nagy <szabolcs.nagy@arm.com>
11033
11034 * NEWS: Mention sinf, cosf, sincosf.
11035 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
11036 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
11037 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
11038 constants rather than including generic sincosf.h.
11039 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
11040 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
11041 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
11042 (reduced_cos): Remove.
11043 (sinf_poly): New function.
11044 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
11045
e95c6f61
FW
110462018-08-14 Florian Weimer <fweimer@redhat.com>
11047
11048 [BZ #23521]
11049 [BZ #23522]
11050 * nss/nss_files/files-alias.c (get_next_alias): During :include:
11051 processing, bail out if no room, and close the stream before
11052 returning ERANGE.
11053 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
11054 (tst-nss-files-alias-leak): Link with libdl.
11055 (tst-nss-files-alias-leak.out): Depend on nss_files.
11056
11057 * nss/tst-nss-files-alias-leak.c: New file.
11058
2d7acfac
FW
110592018-08-14 Florian Weimer <fweimer@redhat.com>
11060
11061 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
11062 server_user, stat_user.
11063
f3cd0904
JM
110642018-08-13 Joseph Myers <joseph@codesourcery.com>
11065
17b26500
JM
11066 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11067 version to 4.18.
11068 (io_pgetevents): New syscall.
11069 (rseq): Likewise.
11070
3c1622eb
JM
11071 * manual/install.texi (Configuring and compiling): Do not list
11072 tools used for testing pretty printers here.
11073 (Tools for Compilation): List Python, PExpect and GDB here.
11074 Update descriptions of uses of Perl and Python.
11075 * INSTALL: Regenerate.
11076
f3cd0904
JM
11077 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11078 version to 4.18.
11079
b7b52b9d
FW
110802018-08-13 Florian Weimer <fweimer@redhat.com>
11081
11082 * misc/error.c (error): Add missing va_end call.
11083 (error_at_line): Likewise.
11084
01780188
FW
110852018-08-13 Florian Weimer <fweimer@redhat.com>
11086
11087 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
11088
44727aec
SP
110892018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
11090
8cac1f26
SP
11091 * benchtests/scripts/benchout.schema.json (properties): Add
11092 new properties.
11093
44727aec
SP
11094 * benchtests/bench-skeleton.c (main): Add duration and
11095 iterations attributes.
11096
c77bf91b
PE
110972018-08-10 Paul Eggert <eggert@cs.ucla.edu>
11098
11099 regex: Gnulib unibyte RRI uses bytes not chars
11100 Adjust the non-glibc code to agree with what Gawk needs for
11101 rational range interpretation (RRI) for regular expression ranges.
11102 In unibyte locales, Gawk wants ranges to use the underlying byte
11103 rather than the character code point. This change does not affect
11104 glibc proper.
11105 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
11106 In unibyte locales, use the byte value rather than
11107 running it through btowc.
11108
2ce7ba7d
JM
111092018-08-10 Joseph Myers <joseph@codesourcery.com>
11110
11111 * sysdeps/generic/math-tests-snan.h: New file.
11112 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
11113 (SNAN_TESTS_float): Do not define here.
11114 (SNAN_TESTS_double): Likewise.
11115 (SNAN_TESTS_long_double): Likewise.
11116 (SNAN_TESTS_float128): Likewise.
11117 * sysdeps/i386/fpu/math-tests-snan.h: New file.
11118 * sysdeps/i386/fpu/math-tests.h: Remove file.
11119 * sysdeps/ia64/math-tests-snan.h: New file.
11120 * sysdeps/ia64/math-tests.h: Remove file.
11121 * sysdeps/x86/math-tests.h: Likewise.
11122 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
11123
ea5c662c
WD
111242018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
11125 Szabolcs Nagy <szabolcs.nagy@arm.com>
11126
11127 * math/Makefile: Add s_sincosf_data.c.
11128 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
11129 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
11130 (sincosf_poly): Likewise.
11131 (reduce_small): Likewise.
11132 (reduce_large): Likewise.
11133 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
11134 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
11135 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
11136 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
11137
43cfdf8f
SN
111382018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
11139 Szabolcs Nagy <szabolcs.nagy@arm.com>
11140
11141 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
11142 (converttoint): Use lround.
11143 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
11144 document the semantics when TOINT_INTRINSICS is set.
11145 (converttoint): Likewise.
11146 (TOINT_RINT): Remove.
11147 (TOINT_SHIFT): Remove.
11148 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
11149 path.
11150
69065288
FW
111512018-08-10 Florian Weimer <fweimer@redhat.com>
11152
11153 [BZ #23497]
11154 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
11155 function.
11156 (__old_getdents64): Use getdents64. Convert entries without
11157 moving them.
11158 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
11159 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
11160 tst-readdir64-compat.
11161
8f135efc
IL
111622018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11163
11164 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
11165 Fix unwind.
11166
71c01af5
IL
111672018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11168
11169 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
11170 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
11171 code to s390x-mcount.h and #include it.
11172 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
11173 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
11174 (__fentry__): Add.
11175
8d997d22
IL
111762018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11177
11178 * stdlib/Versions: Remove __fentry__.
11179 * sysdeps/i386/Versions: Add __fentry__.
11180 * sysdeps/x86_64/Versions: Add __fentry__.
11181
69e2444a
IL
111822018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11183
11184 * sysdeps/s390/Makefile: Register the new tests.
11185 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
11186 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
11187 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
11188 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
11189 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
11190 * sysdeps/s390/tst-dl-runtime.c: New file.
11191
bde6320f
IL
111922018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11193
11194 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
11195 Do not clobber R0.
11196
5755f5e4
IL
111972018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11198
11199 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
11200 Do not clobber R0.
11201
c8ad8522
IL
112022018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11203
11204 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
11205 Do not clobber R0.
11206
b215eee1
IL
112072018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11208
11209 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11210 Do not clobber R0.
11211
329c6fec
IL
112122018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11213
11214 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
11215 Use symbolic offsets for stack variables.
11216
0fb7afa2
IL
112172018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11218
11219 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
11220 Use symbolic offsets for stack variables.
11221
6954059a
IL
112222018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11223
11224 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
11225 Use symbolic offsets for stack variables.
11226
c7099673
IL
112272018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11228
11229 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11230 Use symbolic offsets for stack variables.
11231
2813e41e
JM
112322018-08-09 Joseph Myers <joseph@codesourcery.com>
11233
11234 * math/gen-libm-test.py: New file.
11235 * math/gen-libm-test.pl: Remove.
11236 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
11237 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
11238 gen-libm-test.pl.
11239 ($(libm-test-c-noauto-obj)): Likewise.
11240 ($(libm-test-c-auto-obj)): Likewise.
11241 ($(libm-test-c-narrow-obj)): Likewise.
11242 (regen-ulps): Likewise.
11243 * math/README.libm-test: Update references to gen-libm-test.pl.
11244 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
11245 referencing gen-libm-test.pl.
11246 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
11247 * math/libm-test-support.c: Likewise.
11248 * math/libm-test-support.h: Likewise.
11249 * sysdeps/generic/libm-test-ulps: Likewise.
11250
be64b194
SP
112512018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
11252
11253 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
11254 Fix value.
11255
140137fb
JM
112562018-08-08 Joseph Myers <joseph@codesourcery.com>
11257
11258 * math/libm-test-nextdown.inc (do_test): Move comment to ....
11259 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
11260
b5403eca
ST
112612018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
11262
11263 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
11264 symbols.
8ac0f9e6
ST
11265 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
11266 __pthread_setspecific): Add hidden proto.
11267 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
11268 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
b5403eca 11269
014efdd7
SP
112702018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
11271
11272 * benchtests/bench-string.h (buf1_size, buf2_size): New
11273 variables.
11274 (init_sizes): New function.
11275 (test_init): Use it.
11276 (alloc_buf, exit_error): New functions.
11277 (alloc_bufs): Use ALLOC_BUF.
11278 (realloc_bufs): Remove.
11279 * benchtests/bench-memcmp.c (do_test): Adjust.
11280 * benchtests/bench-memset-large.c (do_test): Likewise.
11281 * benchtests/bench-memset-walk.c (do_test): Likewise.
11282 * benchtests/bench-memset.c (do_test): Likewise.
11283 * benchtests/bench-strncmp.c (do_test): Likewise.
11284
92a4cba7
AS
112852018-08-06 Andreas Schwab <schwab@suse.de>
11286
11287 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
11288 of CONST_THREAD_AREA.
11289
fb4c32ae
L
112902018-08-06 H.J. Lu <hongjiu.lu@intel.com>
11291
11292 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
11293 (STATE_SAVE_MASK): Likewise.
11294 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
11295 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
11296 (STATE_SAVE_MASK): Likewise.
11297 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
11298 instead of <cpu-features.h>.
11299
bf418187
DD
113002018-08-03 DJ Delorie <dj@redhat.com>
11301
11302 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
e5721f45 11303 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
bf418187 11304
bb17621a
DD
11305 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
11306
ea705eb5
JM
113072018-08-03 Joseph Myers <joseph@codesourcery.com>
11308
11309 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
11310 after TEST_* calls.
11311 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
11312 * math/libm-test-logb.inc (logb_test_data): Likewise.
11313
284f42bc
WD
113142018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
11315
11316 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
11317 * string/strstr.c (AVAILABLE): Likewise.
11318
430388d5
L
113192018-08-03 H.J. Lu <hongjiu.lu@intel.com>
11320
11321 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
11322 <init-arch.h>.
11323 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
11324 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
11325 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
11326
c5760aa9
CD
113272018-08-03 Carlos O'Donell <carlos@redhat.com>
11328
11329 * po/be.po: Update translation.
11330
6b535b84
CD
11331 * po/be.po: Update translation.
11332
ae67f2e5
L
113332018-08-03 H.J. Lu <hongjiu.lu@intel.com>
11334
11335 * sysdeps/x86/cpu-features-offsets.sym
11336 (rtld_global_ro_offsetof): Removed.
11337 (CPU_FEATURES_SIZE): Likewise.
11338 (CPUID_OFFSET): Likewise.
11339 (CPUID_SIZE): Likewise.
11340 (CPUID_EAX_OFFSET): Likewise.
11341 (CPUID_EBX_OFFSET): Likewise.
11342 (CPUID_ECX_OFFSET): Likewise.
11343 (CPUID_EDX_OFFSET): Likewise.
11344 (FAMILY_OFFSET): Likewise.
11345 (MODEL_OFFSET): Likewise.
11346 (FEATURE_OFFSET): Likewise.
11347 (FEATURE_SIZ): Likewise.
11348 (COMMON_CPUID_INDEX_1): Likewise.
11349 (COMMON_CPUID_INDEX_7): Likewise.
11350 (FEATURE_INDEX_1): Likewise.
11351 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
11352
6b5c8607 113532018-08-02 Carlos O'Donell <carlos@redhat.com>
08a5ee14
CD
11354
11355 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
11356 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
11357 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
11358 (install-locales): Depend on install-locale-archive.
11359 (install-locale-archive): Define.
7b7adbd8 11360 (install-locale-files): Define.
08a5ee14
CD
11361 (build-one-locale): Define macro.
11362 * manual/install.texi (Running make install): Document.
11363 * manual/INSTALL: Regenerate.
11364
525691bd
SP
113652018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
11366
d67d634b
SP
11367 * benchtests/scripts/compare_strings.py: Import traceback.
11368 (parse_file): Pretty-print error.
11369
525691bd
SP
11370 * NEWS: Mention the change.
11371 * elf/dl-tunables.list: Rename tune namespace to cpu.
11372 * sysdeps/powerpc/dl-tunables.list: Likewise.
11373 * sysdeps/x86/dl-tunables.list: Likewise.
11374 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
11375 cpu.name.
11376 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
11377 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
11378 * manual/README.tunables: Likewise.
11379 * manual/tunables.texi: Likewise.
11380 * sysdeps/powerpc/cpu-features.c: Likewise.
11381 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
11382 (init_cpu_features): Likewise.
11383 * sysdeps/x86/cpu-features.c: Likewise.
11384 * sysdeps/x86/cpu-features.h: Likewise.
11385 * sysdeps/x86/cpu-tunables.c: Likewise.
11386 * sysdeps/x86_64/Makefile: Likewise.
11387 * sysdeps/x86/dl-cet.c: Likewise.
11388
506d7fb1
JM
113892018-08-02 Joseph Myers <joseph@codesourcery.com>
11390
11391 [BZ #23479]
11392 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
11393 [__mips_hard_float].
11394 (FE_UNDERFLOW): Likewise.
11395 (FE_OVERFLOW): Likewise.
11396 (FE_DIVBYZERO): Likewise.
11397 (FE_INVALID): Likewise.
11398 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
11399 (FE_TOWARDZERO): Define only if [__mips_hard_float].
11400 (FE_UPWARD): Likewise.
11401 (FE_DOWNWARD): Likewise.
11402 (__FE_UNDEFINED): Define if [!__mips_hard_float]
11403 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
11404 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
11405 [__mips_hard_float].
11406 (FP_ROUNDMODE): Likewise.
11407 (FP_RND_NEAREST): Likewise.
11408 (FP_RND_ZERO): Likewise.
11409 (FP_RND_PINF): Likewise.
11410 (FP_RND_MINF): Likewise.
11411 (FP_EX_INVALID): Likewise.
11412 (FP_EX_OVERFLOW): Likewise.
11413 (FP_EX_UNDERFLOW): Likewise.
11414 (FP_EX_DIVZERO): Likewise.
11415 (FP_EX_INEXACT): Likewise.
11416 (FP_INIT_ROUNDMODE): Likewise.
11417 * sysdeps/mips/nofpu/fesetenv.c: New file.
11418 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
11419
f6dcefbe
JM
114202018-08-01 Joseph Myers <joseph@codesourcery.com>
11421
11422 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
11423 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
11424 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
11425 conditional on [FE_UPWARD].
11426
fa67ba06
PE
114272018-08-01 Paul Eggert <eggert@cs.ucla.edu>
11428
11429 regex: fix memory leak in Gnulib
11430 Problem and fix reported by Assaf Gordon in:
11431 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
11432 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
11433 range_ends members too, as they are defined in 'struct
11434 re_charset_t' even if not _LIBC. This affects only Gnulib.
11435
82c80ac2
L
114362018-08-01 H.J. Lu <hongjiu.lu@intel.com>
11437
11438 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
11439 ...
11440 (get_common_indices): This.
11441 (init_cpu_features): Updated.
11442
c0e7e2c1
JM
114432018-08-01 Joseph Myers <joseph@codesourcery.com>
11444
46f8cf57
JM
11445 * sysdeps/generic/math-tests-snan-payload.h: New file.
11446 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
11447 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
11448 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
11449 * sysdeps/generic/math-tests.h: Include
11450 <math-tests-snan-payload.h>.
11451 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
11452 * sysdeps/hppa/math-tests.h: Remove file.
11453 * sysdeps/mips/math-tests.h [!__mips_nan2008]
11454 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
11455 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
11456 Likewise.
11457
c0e7e2c1
JM
11458 * sysdeps/generic/math-tests-snan-cast.h: New file.
11459 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
11460 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
11461 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
11462 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
11463
74939c83
CD
114642018-08-01 Carlos O'Donel <carlos@redhat.com>
11465
b029723b
CD
11466 * version.h (RELEASE): Set to "development".
11467 (VERSION): Set to "2.28.9000".
11468 * NEWS (2.29): New section.
11469
3c03baca
CD
11470 * version.h (RELEASE): Set to "stable".
11471 (VERSION): Set to "2.28".
11472 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
11473 * NEWS: Add the list of bugs fixed in 2.28.
11474
74939c83
CD
11475 * po/ca.po: Update to latest version.
11476 * po/cs.po: Likewise
11477 * po/da.po: Likewise
11478 * po/el.po: Likewise
11479 * po/eo.po: Likewise
11480 * po/es.po: Likewise
11481 * po/fi.po: Likewise
11482 * po/fr.po: Likewise
11483 * po/gl.po: Likewise
11484 * po/hu.po: Likewise
11485 * po/ia.po: Likewise
11486 * po/id.po: Likewise
11487 * po/it.po: Likewise
11488 * po/ja.po: Likewise
11489 * po/ko.po: Likewise
11490 * po/lt.po: Likewise
11491 * po/nb.po: Likewise
11492 * po/nl.po: Likewise
11493 * po/pt_BR.po: Likewise
11494 * po/ru.po: Likewise
11495 * po/rw.po: Likewise
11496 * po/sk.po: Likewise
11497 * po/sl.po: Likewise
11498 * po/tr.po: Likewise
11499 * po/zh_CN.po: Likewise
11500 * po/zh_TW.po: Likewise
11501
d4b54bdf
ST
115022018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11503
11504 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
11505 initialization...
11506 (init): ... before initializing libpthread.
11507
42fc12ef
ST
11508 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
11509 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
11510 (__mach_setup_tls): ... new function.
11511 (mach_setup_tls): New alias.
11512 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
11513 __mach_setup_thread.
11514 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
11515 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
11516 * mach/Versions [libc] (mach_setup_tls): Add symbol.
11517 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
11518
6cca855e
CD
115192018-07-31 Carlos O'Donell <carlos@redhat.com>
11520
f650932b
CD
11521 * manual/install.texi: Update versions.
11522 * INSTALL: Regenerate.
11523
6cca855e
CD
11524 * manual/contrib.texi (Contributors): Update contributions.
11525
07fdea47
CD
115262018-07-31 Carlos O'Donell <carlos@redhat.com>
11527
11528 * po/be.po: Update translations.
11529
63d5fad4
AZ
115302018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11531
11532 * sysdeps/sh/libm-test-ulps: Update.
11533
1ff712a6
CD
115342018-07-30 Carlos O'Donell <carlos@redhat.com>
11535
11536 * po/bg.po: Update translations.
11537 * po/de.po: Likewise.
11538 * po/hr.po: Likewise.
11539 * po/pt_BR.po: Likewise.
11540 * po/sv.po: Likewise.
11541 * po/vi.po: Likewise.
11542
98864ed0
L
115432018-07-30 H.J. Lu <hongjiu.lu@intel.com>
11544
11545 [BZ #23467]
11546 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
11547 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
11548 (CFLAGS-tst-cet-property-1.o): New.
11549 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
11550 ($(objpfx)tst-cet-property-2): Likewise.
11551 ($(objpfx)tst-cet-property-2.out): Likewise.
11552 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
11553 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
11554 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
11555 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
11556 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
11557
c92a00d8
L
115582018-07-30 H.J. Lu <hongjiu.lu@intel.com>
11559
11560 [BZ #23458]
11561 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
11562
99bc6241
ST
115632018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11564
11565 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
11566 __sbrk): Do not set attribute_hidden.
af86087f 11567 * sysdeps/mach/hurd/not-errno.h: New file.
99bc6241
ST
11568 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
11569 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
11570
bcb1c4af
CD
115712018-07-27 Carlos O'Donell <carlos@redhat.com>
11572
11573 * po/uk.po: Update translations.
11574 * po/cs.po: Likewise.
11575 * po/pl.po: Likewise.
11576
4591b7db
L
115772018-07-27 H.J. Lu <hongjiu.lu@intel.com>
11578
11579 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
11580 parse beyond the note end.
11581
2c6da2f4
AZ
115822018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11583
11584 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
11585 kernel does not support OFD locks.
11586 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
11587
20365a31
ST
115882018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11589
11590 * sysdeps/mach/hurd/Versions (libc): Make __access and
11591 __access_noerrno external so they can override the ld symbols.
11592 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
11593 __writev, __open64, __access_noerrno extern so they can be overrided.
11594 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
11595 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
11596
cb1a43db
CD
115972018-07-26 Carlos O'Donell <carlos@redhat.com>
11598
11599 * po/libc.pot: Regenerate.
11600
74759ae5
JM
116012018-07-26 Joseph Myers <joseph@codesourcery.com>
11602
11603 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
11604
da80612d
L
116052018-07-26 H.J. Lu <hongjiu.lu@intel.com>
11606
11607 [BZ #23459]
11608 * sysdeps/x86/cpu-features.c (get_extended_indices): New
11609 function.
11610 (init_cpu_features): Call get_extended_indices for both Intel
11611 and AMD CPUs.
11612 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
11613 Remove "for AMD" comment.
11614
65d87ade
L
116152018-07-26 H.J. Lu <hongjiu.lu@intel.com>
11616
11617 [BZ # 23456]
11618 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
11619 COMMON_CPUID_INDEX_80000001.
11620
c9dc4d51
SL
116212018-07-26 Stefan Liebler <stli@linux.ibm.com>
11622
11623 * string/tst-xbzero-opt.c (use_test_buffer): New function.
11624 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
11625
cfba5dbb
FW
116262018-07-26 Florian Weimer <fweimer@redhat.com>
11627
11628 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
11629 aliases for symbols not in the implementation namespace.
11630
6b5c8607 116312018-07-25 Carlos O'Donell <carlos@redhat.com>
7cd7d36f
CD
11632
11633 [BZ #23393]
11634 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
11635 lowercase in LATIN script.
11636 * localedata/Makefile (test-input): Add en_US.UTF-8.
11637 * localedata/en_US.UTF-8.in: New file.
11638 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
11639 and restore old tests.
11640 * posix/tst-regexloc.c (do_test): Add back range expression test.
11641
3fb455b3
L
116422018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11643
11644 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
11645
d6499b70
AZ
116462018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11647
11648 * nptl/threads.h: Move to ...
11649 * sysdeps/nptl/threads.h: ... here.
11650 * sysdeps/hurd/stdc-predef.h: New file.
11651
08ac6bed
L
116522018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11653
11654 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
11655 tst-cet-setcontext-1 if CET is enabled.
11656 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
11657 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
11658
9faaf938
AZ
116592018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11660
11661 * include/threads.h: Move to ...
11662 * sysdeps/nptl/threads.h: ... here.
11663 * sysdeps/htl/threads.h: New file.
11664 * conform/Makefile (linknamespace-libs-ISO11): Use
11665 static-thread-library instead of linking libpthread.
11666 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
11667
d6b8f847
FW
116682018-07-25 Florian Weimer <fweimer@redhat.com>
11669
11670 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
11671 nanoseconds into seconds.
11672 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
11673 (do_test): Likewise.
11674 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
11675 (do_test): Likewise. Avoid nanosecond overflow and spurious
11676 timeouts due to system load.
11677 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
11678 (child_wait): Increment it.
11679 (do_test): Wait as long as necessary until all expected threads
11680 have arrived.
11681
25123a1c
L
116822018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
11683 H.J. Lu <hongjiu.lu@intel.com>
11684
11685 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
11686 __ssp.
11687 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
11688 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
11689 (__push___start_context): New.
11690 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
11691 <asm/prctl.h>.
11692 (__getcontext): Record the current shadow stack base. Save the
11693 caller's shadow stack pointer and base.
11694 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
11695 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
11696 (__push___start_context): New prototype.
11697 (__makecontext): Call __push___start_context to allocate a new
11698 shadow stack, push __start_context onto the new stack as well
11699 as the new shadow stack.
11700 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
11701 <asm/prctl.h>.
11702 (__setcontext): Restore the target shadow stack.
11703 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
11704 <asm/prctl.h>.
11705 (__swapcontext): Record the current shadow stack base. Save
11706 the caller's shadow stack pointer and base. Restore the target
11707 shadow stack.
11708 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11709 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
11710 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
11711
375a4844
L
117122018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11713
11714 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
11715 tst-setcontext8 and tst-setcontext9.
11716 * stdlib/tst-setcontext6.c: New file.
11717 * stdlib/tst-setcontext7.c: Likewise.
11718 * stdlib/tst-setcontext8.c: Likewise.
11719 * stdlib/tst-setcontext9.c: Likewise.
11720
bd4f7903
L
117212018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11722
11723 * stdlib/Makefile ((tests): Add tst-setcontext5.
11724 * stdlib/tst-setcontext5.c: New file.
11725
7e28f203
L
117262018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11727
11728 * stdlib/Makefile (tests): Add tst-setcontext4.
11729 * stdlib/tst-setcontext4.c: New file.
11730
8516ad2d
L
117312018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11732
11733 * stdlib/Makefile (tests): Add tst-swapcontext1.
11734 * stdlib/tst-swapcontext1.c: New test.
11735
fddcd003
L
117362018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11737
11738 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
11739 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
11740 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
11741 and tst-cet-legacy-4c.
11742 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
11743 and tst-cet-legacy-mod-4.
11744 (CFLAGS-tst-cet-legacy-2.c): New.
11745 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
11746 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
11747 (CFLAGS-tst-cet-legacy-3.c): Likewise.
11748 (CFLAGS-tst-cet-legacy-4.c): Likewise.
11749 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
11750 ($(objpfx)tst-cet-legacy-1): Likewise.
11751 ($(objpfx)tst-cet-legacy-2): Likewise.
11752 ($(objpfx)tst-cet-legacy-2.out): Likewise.
11753 ($(objpfx)tst-cet-legacy-2a): Likewise.
11754 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
11755 ($(objpfx)tst-cet-legacy-4): Likewise.
11756 ($(objpfx)tst-cet-legacy-4.out): Likewise.
11757 ($(objpfx)tst-cet-legacy-4a): Likewise.
11758 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
11759 (tst-cet-legacy-4a-ENV): Likewise.
11760 ($(objpfx)tst-cet-legacy-4b): Likewise.
11761 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
11762 (tst-cet-legacy-4b-ENV): Likewise.
11763 ($(objpfx)tst-cet-legacy-4c): Likewise.
11764 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
11765 (tst-cet-legacy-4c-ENV): Likewise.
11766 * sysdeps/x86/tst-cet-legacy-1.c: New file.
11767 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
11768 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
11769 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
11770 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
11771 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
11772 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
11773 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
11774 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
11775 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
11776 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
11777
9aa3113a
L
117782018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11779
11780 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
11781 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
11782 with ssp_base.
11783 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
11784 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
11785 with ssp_base.
11786
9c79cec8
AS
117872018-07-25 Andreas Schwab <schwab@suse.de>
11788
11789 [BZ #23442]
11790 * locale/weightwc.h (findidx): Handle the case where usrc is a
11791 prefix of cp but one character too short.
11792
969c3355
AZ
117932018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11794
11795 * NEWS: Add ISO C threads addition.
11796
e0f9c462
FW
117972018-07-24 Florian Weimer <fweimer@redhat.com>
11798
11799 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11800 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
11801 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
11802 4.13.
11803
394df381
L
118042018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11805
11806 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
11807 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
11808 <sys/prctl.h> and <asm/prctl.h>.
11809 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
11810 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
11811 and <asm/prctl.h>.
11812 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
11813 ARCH_CET_LEGACY_BITMAP.
11814 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
11815 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
11816 * sysdeps/x86/libc-start.c: Include <startup.h>.
11817
46545530
FW
118182018-07-24 Florian Weimer <fweimer@redhat.com>
11819
11820 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
11821 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
11822
6b5c8607 118232018-07-24 Rical Jasan <rj@2c3t.io>
9d0a979e 11824 Adhemerval Zanella <adhemerval.zanella@linaro.org>
0a07288b
AZ
11825 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11826
11827 [BZ #14092]
9d0a979e
RJ
11828 * manual/debug.texi: Update adjacent chapter name.
11829 * manual/probes.texi: Likewise.
11830 * manual/threads.texi (ISO C Threads): New section.
11831 (POSIX Threads): Convert to a section.
11832
118332018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11834 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11835
11836 [BZ# 14092]
0a07288b
AZ
11837 * nptl/Makefile (tests): Add new test files.
11838 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
11839 * nptl/tst-cnd-basic.c: Likewise.
11840 * nptl/tst-cnd-broadcast.c: Likewise.
11841 * nptl/tst-cnd-timedwait.c: Likewise.
11842 * nptl/tst-mtx-basic.c: Likewise.
11843 * nptl/tst-mtx-recursive.c: Likewise.
11844 * nptl/tst-mtx-timedlock.c: Likewise.
11845 * nptl/tst-mtx-trylock.c: Likewise.
11846 * nptl/tst-thrd-basic.c: Likewise.
11847 * nptl/tst-thrd-detach.c: Likewise.
11848 * nptl/tst-thrd-sleep.c: Likewise.
11849 * nptl/tst-tss-basic.c: Likewise.
11850
ce7528f6
AZ
118512018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11852
c6dd669b
AZ
11853 [BZ #14092]
11854 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11855 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
11856 symbols.
11857 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11858 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11859 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11860 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11861 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11862 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11863 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11864 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11865 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11866 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11867 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11868 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11870 Likewise.
11871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11872 Likewise.
11873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
11874 Likewise.
11875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11876 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11877 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11878 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11879 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11880 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11881 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11882 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11883 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11884 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
11885 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
11886 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
11887 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
11888 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
11889 Likewise.
11890 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11891 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11892 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11893 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11894 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
11895 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
11896 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
11897 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
11898 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
11899 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
11900 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
11901 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
11902 ikewise.
11903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
11904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11905 Likewise.
11906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11907 Likewise.
11908 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
11909 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
11910 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
11911 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
11912 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
11913 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
11914 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
11915 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
11916
78d40132
AZ
11917 [BZ #14092]
11918 * conform/data/threads.h-data (thread_local): New macro.
11919 (TSS_DTOR_ITERATIONS): Likewise.
11920 (tss_t): New type.
11921 (tss_dtor_t): Likewise.
11922 (tss_create): New function.
11923 (tss_get): Likewise.
11924 (tss_set): Likewise.
11925 (tss_delete): Likewise.
11926 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
11927 tss_get, and tss_set objects.
11928 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11929 * nptl/tss_create.c: New file.
11930 * nptl/tss_delete.c: Likewise.
11931 * nptl/tss_get.c: Likewise.
11932 * nptl/tss_set.c: Likewise.
11933 * sysdeps/nptl/threads.h (thread_local): New define.
11934 (TSS_DTOR_ITERATIONS): Likewise.
11935 (tss_t): New typedef.
11936 (tss_dtor_t): Likewise.
11937 (tss_create): New prototype.
11938 (tss_get): Likewise.
11939 (tss_set): Likewise.
11940 (tss_delete): Likewise.
11941
918311a3
AZ
11942 [BZ #14092]
11943 * conform/data/threads.h-data (cnd_t): New type.
11944 (cnd_init): New function.
11945 (cnd_signal): Likewise.
11946 (cnd_broadcast): Likewise.
11947 (cnd_wait): Likewise.
11948 (cnd_timedwait): Likewise.
11949 (cnd_destroy): Likewise.
11950 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
11951 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
11952 object.
11953 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11954 * nptl/cnd_broadcast.c: New file.
11955 * nptl/cnd_destroy.c: Likewise.
11956 * nptl/cnd_init.c: Likewise.
11957 * nptl/cnd_signal.c: Likewise.
11958 * nptl/cnd_timedwait.c: Likewise.
11959 * nptl/cnd_wait.c: Likewise.
11960 * sysdeps/nptl/threads.h (cnd_t): New type.
11961 (cnd_init): New prototype.
11962 (cnd_signa): Likewise.
11963 (cnd_broadcast): Likewise.
11964 (cnd_wait): Likewise.
11965 (cnd_timedwait): Likewise.
11966 (cnd_destroy): Likewise.
11967
3c20a679
AZ
11968 [BZ #14092]
11969 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
11970 (once_flag): New type.
11971 (call_once): New function.
11972 * nptl/Makefile (libpthread-routines): Add call_once object.
11973 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
11974 * nptl/call_once.c: New file.
11975 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
11976 (once_flag): New type.
11977 (call_once): New prototype.
11978
18d59c1b
AZ
11979 [BZ #14092]
11980 * conform/data/threads.h-data (mtx_plain): New constant.
11981 (mtx_recursive): Likewise.
11982 (mtx_timed): Likewise.
11983 (mtx_t): New type.
11984 (mtx_init): New function.
11985 (mtx_lock): Likewise.
11986 (mtx_timedlock): Likewise.
11987 (mtx_trylock): Likewise.
11988 (mtx_unlock): Likewise.
11989 (mtx_destroy): Likewise.
11990 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
11991 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
11992 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
11993 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
11994 * nptl/mtx_destroy.c: New file.
11995 * nptl/mtx_init.c: Likewise.
11996 * nptl/mtx_lock.c: Likewise.
11997 * nptl/mtx_timedlock.c: Likewise.
11998 * nptl/mtx_trylock.c: Likewise.
11999 * nptl/mtx_unlock.c: Likewise.
12000 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
12001 (mtx_recursive): Likewise.
12002 (mtx_timed): Likewise.
12003 (mtx_t): New type.
12004 (mtx_init): New prototype.
12005 (mtx_lock): Likewise.
12006 (mtx_timedlock): Likewise.
12007 (mtx_trylock): Likewise.
12008 (mtx_unlock): Likewise.
12009 (mtx_destroy): Likewise.
12010
ce7528f6
AZ
12011 [BZ #14092]
12012 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
12013 (linknamespace-libs-ISO11): Add libpthread.a.
12014 * conform/data/threads.h-data: New file: add C11 thrd_* types and
12015 functions.
12016 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
12017 * nptl/Makefile (headers): Add threads.h.
12018 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
12019 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
12020 thrd_yield.
12021 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
12022 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
12023 thrd_join, thrd_sleep, and thrd_yield symbols.
12024 * nptl/descr.h (struct pthread): Add c11 field.
12025 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
12026 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
12027 routine with expected function prototype.
12028 (__pthread_create_2_1): Add C11 threads check based on attribute
12029 value.
12030 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
12031 * nptl/thrd_create.c: New file.
12032 * nptl/thrd_current.c: Likewise.
12033 * nptl/thrd_detach.c: Likewise.
12034 * nptl/thrd_equal.c: Likewise.
12035 * nptl/thrd_exit.c: Likewise.
12036 * nptl/thrd_join.c: Likewise.
12037 * nptl/thrd_priv.h: Likewise.
12038 * nptl/thrd_sleep.c: Likewise.
12039 * nptl/thrd_yield.c: Likewise.
12040 * include/threads.h: Likewise.
12041
e27f41ba
L
120422018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12043
12044 * bits/indirect-return.h: New file.
12045 * misc/sys/cdefs.h (__glibc_has_attribute): New.
12046 * sysdeps/x86/bits/indirect-return.h: Likewise.
12047 * stdlib/Makefile (headers): Add bits/indirect-return.h.
12048 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
12049 (swapcontext): Add __INDIRECT_RETURN.
12050 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
12051 (prepare_test_buffer): Use it.
12052
21526a50
AS
120532018-07-24 Andreas Schwab <schwab@suse.de>
12054
12055 [BZ #23448]
12056 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
12057 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
12058
3650e1d9
L
120592018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12060
12061 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
12062 Redefine if shadow stack is enabled.
12063 (SYSCALL_ERROR_LABEL): Likewise.
12064 (__vfork): Pop shadow stack and jump back to to caller directly
12065 when shadow stack is in use.
12066 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
12067 Redefine if shadow stack is enabled.
12068 (SYSCALL_ERROR_LABEL): Likewise.
12069 (__vfork): Pop shadow stack and jump back to to caller directly
12070 when shadow stack is in use.
12071
ca027e0f
L
120722018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12073
12074 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
12075 enabled.
12076 (foo): Likewise.
12077 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
12078 (foo): Likewise.
12079
b99f1c95
JM
120802018-07-20 Joseph Myers <joseph@codesourcery.com>
12081
12082 * scripts/build-many-glibcs.py (Context.checkout): Default
12083 binutils version to 2.31 branch.
12084
c8fabb84
ZL
120852018-07-20 Zong Li <zong@andestech.com>
12086
12087 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
12088 URL of gcc's tarball.
12089
786658a0
FW
120902018-07-20 Florian Weimer <fweimer@redhat.com>
12091
12092 [BZ #23396]
12093 * posix/regcomp.c (build_equiv_class): When comparing weights, do
12094 not compare an extra byte after the end of the weights.
12095
46f2474e
ST
120962018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
12097
12098 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
12099 to 1.
8ba1520e
ST
12100 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
12101 hidden prototypes.
12102 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
12103 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
2d5c41de
ST
12104 * scripts/check-execstack.awk: Consider `xfail' variable containing a
12105 list of libraries whose stack executability is expected.
12106 * elf/Makefile ($(objpfx)check-execstack.out): Pass
12107 $(check-execstack-xfail) to check-execstack.awk through `xfail'
12108 variable.
12109 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
12110 libc.so libpthread.so.
46f2474e 12111
60088242
TS
121122018-07-20 Thomas Schwinge <tschwinge@gnu.org>
12113
12114 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
12115 SOCK_NONBLOCK.
75d5e4a0
TS
12116 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
12117 and SOCK_NONBLOCK.
de195be0
TS
12118 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
12119 implement __pipe2.
12120 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
60088242 12121
1cf4ae7f
LS
121222018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12123
12124 * benchtests/scripts/compare_bench.py (__main__): use the argparse
12125 library to improve command line parsing.
12126 (__main__): make schema file as optional parameter (--schema),
12127 defaulting to benchtests/scripts/benchout.schema.json.
12128 (main): move out of the parsing stuff to __main_  and leave it
12129 only as caller of main comparison functions.
12130
e84bd851
L
121312018-07-19 H.J. Lu <hongjiu.lu@intel.com>
12132
12133 * NEWS: Add a note for Intel CET status.
12134 * manual/install.texi: Likewise.
12135 * INSTALL: Regenerated.
12136
df467d22
QP
121372018-07-18 Quentin PAGÈS <provaires@quentino.fr>
12138
12139 [BZ #23140]
12140 * localedata/locales/oc_FR (mon): Rename to...
12141 (alt_mon): This, then update October (typo fix).
12142 (mon): New content (genitive case, month names preceded by
12143 "de" or "d’").
12144
12145 [BZ #23422]
12146 * localedata/locales/oc_FR (abday): Update all items.
12147 (day): Update Wednesday and Saturday (typo fixes).
12148 (abmon): Update all items, except May.
12149 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
12150 (LC_IDENTIFICATION): Bump the revision number and date.
12151 Keep the "category" entries in alphabetic order.
12152 (LC_ADDRESS): Remove no longer needed comment.
12153 (LC_COLLATE): Use “copy "ca_ES"”.
12154 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
12155 "name_mrs".
12156
5c112f1b
JM
121572018-07-18 Joseph Myers <joseph@codesourcery.com>
12158
12159 * grp/tst_fgetgrent.c: Include <unistd.h>.
12160 (main): Use mkstemp instead of tmpnam.
12161 * io/test-utime.c (main): Likewise.
12162 * posix/annexc.c (macrofile): Change to modifiable array.
12163 (main): Remove macrofile here.
12164 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
12165 macrofile here.
12166 (check_header): Do not remove macrofile here.
12167 * posix/bug-getopt1.c: Include <stdlib.h>.
12168 (do_test): Use mkstemp instead of tmpnam.
12169 * posix/bug-getopt2.c: Include <stdlib.h>.
12170 (do_test): Use mkstemp instead of tmpnam.
12171 * posix/bug-getopt3.c: Include <stdlib.h>.
12172 (do_test): Use mkstemp instead of tmpnam.
12173 * posix/bug-getopt4.c: Include <stdlib.h>.
12174 (do_test): Use mkstemp instead of tmpnam.
12175 * posix/bug-getopt5.c: Include <stdlib.h>.
12176 (do_test): Use mkstemp instead of tmpnam.
12177 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
12178 (main): Use mkstemp instead of tmpnam.
12179 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
12180 (main): Use mkstemp instead of tmpnam.
12181 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
12182 (main): use mkstemp instead of tmpnam.
12183 * stdlib/isomac.c (macrofile): Change to modifiable array.
12184 (main): Remove macrofile here.
12185 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
12186 macrofile here.
12187 (check_header): Do not remove macrofile here.
12188
6d90776d
L
121892018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12190
12191 * manual/tunables.texi: Document glibc.tune.x86_ibt and
12192 glibc.tune.x86_shstk.
12193
e6c69509
L
121942018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12195
12196 * NEWS: Mention --enable-cet.
12197 * manual/install.texi: Document --enable-cet.
12198 * INSTALL: Regenerated.
12199
e2d40a88
L
122002018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12201
12202 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
12203 Add _CET_NOTRACK before indirect jump to jump table.
12204
77a8ae09
L
122052018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12206
12207 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
12208 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12209 to jump table.
12210
90d15dc5
L
122112018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12212
12213 * sysdeps/i386/i686/multiarch/strcat-sse2.S
12214 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12215 to jump table.
12216
f1574581
L
122172018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12218
12219 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
12220 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12221 to jump table.
12222
7fb61336
L
122232018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12224
12225 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
12226 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12227 to jump table.
12228
0a899af0
L
122292018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12230
12231 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
12232 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12233 to jump table.
12234 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
12235
177824e2
L
122362018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12237
12238 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
12239 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12240 to jump table.
12241
00e7b76a
L
122422018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12243
12244 * sysdeps/i386/i686/multiarch/memset-sse2.S
12245 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12246 to jump table.
12247
7e119cd5
L
122482018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12249
12250 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
12251 indirect jump to jump table.
12252
03aaf49b
L
122532018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12254
12255 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
12256 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12257 to jump table.
12258 (MEMCPY): Likewise.
12259
811e9e52
L
122602018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12261
12262 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
12263 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12264 to jump table.
12265 (MEMCPY): Likewise.
12266
8817df42
L
122672018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12268
12269 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
12270 _CET_NOTRACK before indirect jump to jump table.
12271
921595d1
L
122722018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12273
12274 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
12275 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12276 to jump table.
12277
4ef60d95
L
122782018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12279
12280 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
12281 indirect jump to jump table.
12282
61c4aad7
VT
122832018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
12284
12285 [BZ #22241]
12286 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
12287 (LOCALES): Likewise.
12288 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
12289 * localedata/locales/sah_RU: New file.
12290 * localedata/sah_RU.UTF-8.in: New file.
12291
be9ccd27
L
122922018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12293
12294 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
12295 "sysdep.h".
12296 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
12297 _CET_ENDBR to indirect jump targets and adjust jump destination
12298 for _CET_ENDBR.
12299 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
12300 "sysdep.h".
12301 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
12302 _CET_ENDBR to indirect jump targets and adjust jump destination
12303 for _CET_ENDBR.
12304 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
12305 "sysdep.h".
12306 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
12307 _CET_ENDBR to indirect jump targets and adjust jump destination
12308 for _CET_ENDBR.
12309
5efc6777
L
123102018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12311
12312 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
12313 _CET_ENDBR.
12314
562837c0
L
123152018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12316
12317 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
12318 _CET_ENDBR.
12319 (_dl_tlsdesc_undefweak): Likewise.
12320 (_dl_tlsdesc_dynamic): Likewise.
12321 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
12322 (_dl_tlsdesc_resolve_rel): Likewise.
12323 (_dl_tlsdesc_resolve_rela): Likewise.
12324 (_dl_tlsdesc_resolve_hold): Likewise.
12325 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
12326 (_dl_tlsdesc_undefweak): Likewise.
12327 (_dl_tlsdesc_dynamic): Likewise.
12328 (_dl_tlsdesc_resolve_rela): Likewise.
12329 (_dl_tlsdesc_resolve_hold): Likewise.
12330
124bcde6
L
123312018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12332
12333 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
12334 (_fini): Likewise.
12335 * sysdeps/x86_64/crti.S (_init): Likewise.
12336 (_fini): Likewise.
12337
9145f033
RL
123382018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
12339
12340 [BZ #23140]
12341 * localedata/locales/os_RU (mon): Rename to...
12342 (alt_mon): This.
12343 (mon): Import from CLDR (genitive case).
12344
ba2ea23d
L
123452018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12346
12347 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
12348 cet-tunables.h> when CET is enabled.
12349
f753fa7d
L
123502018-07-16 H.J. Lu <hongjiu.lu@intel.com>
12351
6b5c8607 12352 [BZ #21598]
f753fa7d
L
12353 * configure.ac: Add --enable-cet.
12354 * configure: Regenerated.
12355 * elf/Makefille (all-built-dso): Add a comment.
12356 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
12357 Include <dl-prop.h>.
12358 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
12359 segment.
12360 * elf/dl-open.c: Include <dl-prop.h>.
12361 (dl_open_worker): Call _dl_open_check.
12362 * elf/rtld.c: Include <dl-prop.h>.
12363 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
12364 _rtld_main_check.
12365 * sysdeps/generic/dl-prop.h: New file.
12366 * sysdeps/i386/dl-cet.c: Likewise.
12367 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
12368 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
12369 * sysdeps/x86/cet-tunables.h: Likewise.
12370 * sysdeps/x86/check-cet.awk: Likewise.
12371 * sysdeps/x86/configure: Likewise.
12372 * sysdeps/x86/configure.ac: Likewise.
12373 * sysdeps/x86/dl-cet.c: Likewise.
12374 * sysdeps/x86/dl-procruntime.c: Likewise.
12375 * sysdeps/x86/dl-prop.h: Likewise.
12376 * sysdeps/x86/libc-start.h: Likewise.
12377 * sysdeps/x86/link_map.h: Likewise.
12378 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
12379 _CET_ENDBR.
12380 (_dl_runtime_profile): Likewise.
12381 (_dl_runtime_resolve_shstk): New.
12382 (_dl_runtime_profile_shstk): Likewise.
12383 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
12384 if CET is enabled.
12385 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
12386 (CFLAGS-.os): Likewise.
12387 (CFLAGS-.op): Likewise.
12388 (CFLAGS-.oS): Likewise.
12389 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
12390 is enabled.
12391 (tests-special): Add $(objpfx)check-cet.out.
12392 (cet-built-dso): New.
12393 (+$(cet-built-dso:=.note)): Likewise.
12394 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
12395 ($(objpfx)check-cet.out): New.
12396 (generated): Add check-cet.out.
12397 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
12398 <cet-tunables.h>.
12399 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
12400 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
12401 (init_cpu_features): Call get_cet_status to check CET status
12402 and update dl_x86_feature_1 with CET status. Call
12403 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
12404 (set_x86_shstk). Disable and lock CET in libc.a.
12405 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
12406 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
12407 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
12408 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
12409 (_CET_ENDBR): Define if not defined.
12410 (ENTRY): Add _CET_ENDBR.
12411 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
12412 x86_shstk.
12413 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
12414 _CET_ENDBR.
12415 (_dl_runtime_profile): Likewise.
12416
52b2a80f
RA
124172018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
12418
12419 [BZ #21895]
12420 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
12421 restore r2 on longjmp.
12422 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
12423 test list.
12424 Added rules to build test tst-setjmp-bug21895-static.
12425 Added module setjmp-bug21895 and rules to build a shared object from it.
12426 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
12427 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
12428
3ae725df
WD
124292018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
12430
12431 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
12432 * benchtests/bench-strstr.c: Likewise.
12433 * string/memmem.c (FASTSEARCH): Define.
12434 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
12435 Add support for FASTSEARCH.
12436 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
12437 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
12438 (FASTSEARCH): Define.
12439 * string/test-strcasestr.c: Rename __strnlen to strnlen.
12440 * string/test-strstr.c: Likewise.
12441
31e422ca
L
124422018-07-15 H.J. Lu <hongjiu.lu@intel.com>
12443
12444 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
12445 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
12446
faaee1f0
L
124472018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
12448 H.J. Lu <hongjiu.lu@intel.com>
12449
12450 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
12451 (__longjmp): Restore shadow stack pointer if shadow stack is
12452 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
12453 isn't defined for __longjmp_cancel.
12454 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
12455 (_setjmp): Save shadow stack pointer if shadow stack is enabled
12456 and SHADOW_STACK_POINTER_OFFSET is defined.
12457 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
12458 (setjmp): Save shadow stack pointer if shadow stack is enabled
12459 and SHADOW_STACK_POINTER_OFFSET is defined.
12460 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
12461 (__sigsetjmp): Save shadow stack pointer if shadow stack is
12462 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12463 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
12464 <jmp_buf-ssp.h>.
12465 (____longjmp_chk): Restore shadow stack pointer if shadow stack
12466 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12467 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
12468 Remove jmp_buf-ssp.sym.
12469 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12470 <jmp_buf-ssp.h>.
12471 (____longjmp_chk): Restore shadow stack pointer if shadow stack
12472 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12473 * sysdeps/x86/Makefile (gen-as-const-headers): Add
12474 jmp_buf-ssp.sym.
12475 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
12476 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
12477 (__longjmp): Restore shadow stack pointer if shadow stack is
12478 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
12479 isn't defined for __longjmp_cancel.
12480 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
12481 (__sigsetjmp): Save shadow stack pointer if shadow stack is
12482 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12483
ebff9c5c
L
124842018-07-14 H.J. Lu <hongjiu.lu@intel.com>
12485
12486 [BZ #22563]
12487 * nptl/pthread_create.c: Include <tls-setup.h>.
12488 (__pthread_create_2_1): Call tls_setup_tcbhead.
12489 * sysdeps/generic/tls-setup.h: New file.
12490 * sysdeps/x86/nptl/tls-setup.h: Likewise.
12491 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
12492 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
12493 Likewise.
12494 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
12495 to feature_1.
12496 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
12497 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
12498 (X86_FEATURE_1_SHSTK): Likewise.
12499 (CET_ENABLED): Likewise.
12500 (IBT_ENABLED): Likewise.
12501 (SHSTK_ENABLED): Likewise.
12502
0a83bad2
RL
125032018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
12504
12505 [BZ #23208]
12506 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
12507 (LOCALES): Likewise.
12508 * localedata/dsb_DE.UTF-8.in: New file.
12509 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
12510
046bfed9
FW
125112018-07-12 Florian Weimer <fweimer@redhat.com>
12512
12513 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
12514 __mprotect, not mprotect.
12515
93304f5f
FW
125162018-07-11 Florian Weimer <fweimer@redhat.com>
12517
12518 * io/Makefile (headers): Add bits/statx.h.
12519
4beefeeb
MF
125202018-07-10 Mike FABIAN <mfabian@redhat.com>
12521
12522 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
12523 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
12524 and headers.
12525 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
12526 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
12527 for utf8_gen.py
12528
fd70af45
FW
125292018-07-10 Florian Weimer <fweimer@redhat.com>
12530
12531 * io/Makefile (routines): Add statx.
12532 (tests-internal): Add tst-statx.
12533 * io/Versions (GLIBC_2.28): Export statx.
12534 * io/bits/statx.h: New file.
12535 * io/sys/stat.h [__USE_GNU]: Include it.
12536 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
12537 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
12538 Define.
12539 * io/statx.c: New file.
12540 * io/statx_generic.: Likewise.
12541 * io/tst-statx.: Likewise.
12542 * include/bits/statx.h: Likewise.
12543 * sysdeps/unix/sysv/linux/kernel-features.h
12544 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
12545 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12546 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
12547 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
12548 Undefine.
12549 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12550 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
12551 * sysdeps/unix/sysv/linux/statx.c: New file.
12552 * manual/filesys.texi: Note that statx is undocumented.
12553 * sysdeps/**/libc*.abilist: Update.
12554
b444e8f7
AZ
125552018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12556
12557 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
12558 a kernel issue which lead to test failure in some cases.
12559
7b2f4ced
FW
125602018-07-10 Florian Weimer <fweimer@redhat.com>
12561
12562 [BZ #23036]
12563 * posix/regexec.c (check_node_accept_bytes): When comparing
12564 weights, do not compare an extra byte after the end of the
12565 weights.
12566
4fa34da6
FW
125672018-07-10 Florian Weimer <fweimer@redhat.com>
12568
12569 * libio/readline.c: Fix copyright year.
12570 * libio/tst-readline.c Likewise.
12571 * nss/tst-nss-files-hosts-getent.c: Likewise.
12572
916124ed
FW
125732018-07-06 Florian Weimer <fweimer@redhat.com>
12574
12575 [BZ #18991]
12576 * nss/nss_files/files-XXX.c (internal_getent): Use
12577 __libc_readline_unlocked. Seek back to the start of the line if
12578 parsing failes with ERANGE.
12579 (get_contents_ret, get_contents): Remove.
12580 * nss/tst-nss-files-hosts-getent.c: New file.
12581 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
12582 (tst-nss-files-hosts-getent): Link with -ldl.
12583
3f5e3f5d
FW
125842018-07-06 Florian Weimer <fweimer@redhat.com>
12585
12586 * include/stdio.h (__libc_readline_unlocked): Declare.
12587 (__ftello64, __fseeko64): Declare aliases.
12588 * libio/readline.c: New file.
12589 * libio/tst-readline.c: Likewise.
12590 (routines): Add readline.
12591 (tests-internal): Add tst-readlime.
12592 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
12593 __libc_readline_unlocked.
12594 * libio/fseeko.c (__fseeko): Rename from fseeko.
12595 (fseeko): Add alias.
12596 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
12597 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
12598 (fseeko64): Add alias.
12599 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
12600 * libio/ftello64.c (__ftello64): Rename from ftello64.
12601 (ftello64): Add alias.
12602
397c54c1
SN
126032018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
12604
12605 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
12606 HWCAP_ATOMICS.
12607
d0cd7980
SN
126082018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
12609
12610 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
12611 Use dl_hwcap without masking.
12612 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
12613 Remove HWCAP_CPUID.
12614
ddb3c626
FW
126152018-07-06 Florian Weimer <fweimer@redhat.com>
12616
12617 * conform/conformtest.pl (checknamespace): Escape literal braces
12618 in regular expressions.
12619
bce5911b
AP
126202018-07-06 Amit Pawar <amit.pawar@amd.com>
12621
12622 * sysdeps/x86/cpu-features.c (get_common_indeces):
12623 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
12624 * sysdeps/x86/cpu-features.c (init_cpu_features):
12625 AVX_Fast_Unaligned_Load is disabled for Excavator core.
12626
3a885c1f
FW
126272018-07-05 Florian Weimer <fweimer@redhat.com>
12628
12629 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
12630 protector.
12631 (CFLAGS-elf-init.oS): Likewise.
12632
38cade0c
FW
126332018-07-05 Florian Weimer <fweimer@redhat.com>
12634 Carlos O'Donell <carlos@redhat.com>
12635
12636 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
12637 $(no-stack-protector). stack_chk_fail_local.c can be compiled
12638 with stack protector enabled because there is no risk of infinite
12639 recursion.
12640
9449a295
MR
126412018-07-05 Maciej W. Rozycki <macro@mips.com>
12642
12643 [BZ #19818]
12644 [BZ #23307]
12645 * libc-abis (ABSOLUTE): New ABI.
12646 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
12647 * NEWS: Mention the new ABI.
12648
d6da5cb6
FW
126492018-07-05 Florian Weimer <fweimer@redhat.com>
12650
12651 [BZ # 17662]
12652 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
12653 (RENAME_WHITEOUT): Define.
12654 [__USE_GNU] (renameat2): Declare.
12655 * stdio-common/Makefile (routines): Add renameat2.
12656 (tests): Add tst-renameat2.
12657 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
12658 * stdio-common/renameat2.c: New file.
12659 * stdio-common/tst-renameat2.c: Likewise.
12660 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
12661 * manual/filesys.texi (Temporary Files): Note that renameat2 is
12662 undocumented.
12663 * sysdeps/unix/sysv/linux/kernel-features.h
12664 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
12665 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12666 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12667 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12668 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12669 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12670 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
12671 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12672 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
12673 * include/stdio.h (__renameat): Add alias for renameat.
12674 * stdio-common/renameat.c (__renameat): Rename from renameat.
12675 Add hidden definition and alias.
12676 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12677 * sysdeps/mach/hurd/renameat.c: Likewise.
12678 * sysdeps/**/libc*.abilist: Add renameat2.
12679
1002d708
AZ
126802018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12681
12682 * posix/bug-regex33.c: Fix build after regex sync.
12683
34fdb893
CD
126842018-07-04 Carlos O'Donell <carlos@redhat.com>
12685
12686 [BZ #23164]
12687 * localedata/tst-langinfo-setlocale.c: New file.
12688 * localedata/tst-langinfo-setlocale-static.c: New file.
12689 * localedata/tst-langinfo-newlocale.c: New file.
12690 * localedata/tst-langinfo-newlocale-static.c: New file.
12691 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
12692 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
12693 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
12694 (tests-static): Remove tst-langinfo-static. Add
12695 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
12696 (tests-special): Remove $(objpfx)tst-langinfo.out,
12697 $(objpfx)tst-langinfo-static.out. Add
12698 $(objpfx)tst-langinfo-setlocale.out,
12699 $(objpfx)tst-langinfo-newlocale.out,
12700 $(objpfx)tst-langinfo-setlocale-static.out,
12701 $(objpfx)tst-langinfo-newlocale-static.out.
12702 ($(objpfx)tst-langinfo.out): Remove.
12703 ($(objpfx)tst-langinfo-static.out): Remove.
12704 ($(objpfx)tst-langinfo-newlocale.out): New target.
12705 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
12706 (test-xfail-tst-langinfo-newlocale-static): Add.
12707 ($(objpfx)tst-langinfo-setlocale.out): New target.
12708 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
12709 * localedata/tst-langinfo.c: Call test_locale.
12710 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
12711 data.
12712
f2873d2d
FW
127132018-07-04 Florian Weimer <fweimer@redhat.com>
12714
12715 testrun.sh: Implement --tool=strace, --tool=valgrind
12716 * Makefile (testrun-script): Define variable.
12717 (testrun.sh): Use variable.
12718 * manual/install.texi (Tools for Compilation): make 4.0 or later
12719 is required.
12720 * configure.ac: Check for make 4.0 or later.
12721 * INSTALL: Regenerate.
12722 * configure: Likewise.
12723
eb04c213
AZ
127242018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12725
12726 [BZ #23233]
12727 [BZ #21163]
12728 [BZ #18986]
12729 [BZ #13762]
12730 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
12731 * posix/PCRE.tests: Remove invalid test.
12732 * posix/bug-regex28.c: Fix expected values for used syntax.
12733 * posix/bug-regex37.c: New file.
12734 * posix/bug-regex38.c: Likewise.
12735 * posix/regcomp.c: Sync with gnulib.
12736 * posix/regex.c: Likewise.
12737 * posix/regex.h: Likewise.
12738 * posix/regex_internal.c: Likewise.
12739 * posix/regex_internal.h: Likewise.
12740 * posix/regexec.c: Likewise.
12741
b11643c2
MF
127422018-06-26 Mike FABIAN <mfabian@redhat.com>
12743
12744 [BZ #23308]
12745 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
12746 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
12747 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
12748 * localedata/unicode-gen/PropList.txt: likewise.
12749 * localedata/unicode-gen/UnicodeData.txt: likewise.
12750 * localedata/charmaps/UTF-8: Regenerate.
12751 * localedata/locales/i18n_ctype: likewise.
12752 * localedata/locales/tr_TR: likewise.
12753 * localedata/locales/translit_circle: likewise.
12754 * localedata/locales/translit_cjk_compat: likewise.
12755 * localedata/locales/translit_combining: likewise.
12756 * localedata/locales/translit_compat: likewise.
12757 * localedata/locales/translit_font: likewise.
12758 * localedata/locales/translit_fraction: likewise.
12759
5a357506
FW
127602018-07-03 Florian Weimer <fweimer@redhat.com>
12761
12762 [BZ #23363]
12763 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
12764 * stdio-common/tst-printf.sh: Adjust expected output.
12765 * LICENSES: Update.
12766
7279af00
AZ
127672018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12768
12769 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
12770 symbol.
12771
b7b88cea
GG
127722018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12773
12774 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
12775 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
12776 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
12777 * stdio-common/tst-printfsz-islongdouble.c: New file.
12778 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
12779 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
12780 [subdir == stdio-common] (routines): Add ieee128-printf_size.
12781 [subdir == stdio-common] (tests-internal): Add
12782 test-printf-size-ieee128, and test-printf-size-ibm128.
12783 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
12784 (CFLAGS-test-printf-size-ibm128.c): New variables.
12785 [subdir == stdio-common] (tests-special): Add
12786 $(objpfx)test-printf-size-ieee128.out and
12787 $(objpfx)test-printf-size-ibm128.out.
12788 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
12789 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
12790 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
12791 __printf_sizeieee128.
12792 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
12793 New file.
12794 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
12795 Likewise.
12796 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
12797 Likewise.
12798
2b445206
SN
127992018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
12800
12801 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
12802 (exp2f_inline): Likewise.
12803 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
12804 (__math_uflowf): Likewise.
12805 (__math_may_uflowf): Likewise.
12806 (__math_divzerof): Likewise.
12807 (__math_invalidf): Likewise.
12808 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
12809 (__math_oflowf): Likewise.
12810 (__math_uflowf): Likewise.
12811 (__math_may_uflowf): Likewise.
12812 (__math_divzerof): Likewise.
12813 (__math_invalidf): Likewise.
12814
2827ab99
CD
128152018-06-29 DJ Delorie <dj@redhat.com>
12816 Carlos O'Donell <carlos@redhat.com>
12817
12818 [BZ #23329]
12819 * include/libc-symbols.h: Comment the freeres framework.
12820 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
12821 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
12822 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
12823 * dlfcn/dlerror.c: Include libc-symbols.h
12824 (__dlerror_main_freeres): New function.
12825 * dlfcn/dlfreeres.c: New file.
12826 * dlfcn/sdlfreeres.c: New file.
12827 * include/dlfcn.h: Declare __dlerror_main_freeres.
12828 * malloc/set-freeres.c: Declare __libdl_freeres, and
12829 __libpthread_freeres.
12830 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
12831 the releavant libraries are loaded.
12832 * malloc/thread-freeres.c: Add comments.
12833 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
12834 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
12835 * nptl/allocatestack.c (__nptl_free_stacks): New function.
12836 (__free_stacks): Rename to...
12837 (free_stacks): ...this. Mark static.
12838 (queue_stack): Call free_stacks.
12839 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
12840 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
12841 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
12842 ptr_freeres element from struct.
12843 (pthread_functions): Remove .ptr_freeres from struct initializer.
12844 [SHARED] (nptl_freeres): Remove.
12845 * nptl/nptlfreeres.c: New file.
12846 * nptl/pthreadP.h
12847 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
12848 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
12849 attribute_hidden.
12850 (__free_stacks): Rename to...
12851 (__nptl_stacks_freeres): ...this.
12852 (__shm_directory_freeres): Declare.
12853 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
12854 (__nptl_unwind_freeres): ...this.
12855 * resolv/res-close.c: Add comment.
12856 * resolv/resolv_conf.c: Include libc-symbols.h.
12857 * string/strerror_l.c: Include libc-symbols.h.
12858 * sunrpc/rpc_thread.c: Include libc-symbols.h.
12859 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
12860 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
12861 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
12862
37d3d244
RS
128632018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12864
12865 * stdlib/tst-strfmon_l.c: Add tests for long double.
12866
a1e0c5fa
MW
128672018-06-29 Michael Wolf <milupo@sorbzilla.de>
12868
12869 [BZ #23208]
12870 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
12871 * localedata/locales/dsb_DE: New file.
12872
2e0c5de6
RL
128732018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12874
12875 [BZ #23140]
12876 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
12877 genitive case).
12878 (alt_mon): New entry, import from CLDR (nominative case).
12879
cdb52c71
SL
128802018-06-29 Sylvain Lesage <severo@rednegra.net>
12881
12882 [BZ #22996]
12883 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
12884
ce76a5cb
SP
128852018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
12886
0aec4c1d
SP
12887 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12888 Use vector registers.
12889
ce76a5cb
SP
12890 * sysdeps/aarch64/multiarch/memmove_falkor.S
12891 (__memcpy_falkor): Use vector registers.
12892
7e8989d0
MS
128932018-06-29 Martin Sebor <msebor@redhat.com>
12894
12895 * manual/stdio.texi (Customizing Printf): Mention interaction
12896 with GCC built-ins.
12897
bac15a72
MR
128982018-06-29 Maciej W. Rozycki <macro@mips.com>
12899
12900 [BZ #23307]
12901 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
12902 `st_value' is 0 if `st_shndx' is SHN_ABS.
12903 * elf/tst-absolute-zero.c: New file.
12904 * elf/tst-absolute-zero-lib.c: New file.
12905 * elf/tst-absolute-zero-lib.lds: New file.
12906 * elf/Makefile (tests): Add `tst-absolute-zero'.
12907 (modules-names): Add `tst-absolute-zero-lib'.
12908 (LDLIBS-tst-absolute-zero-lib.so): New variable.
12909 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
12910 ($(objpfx)tst-absolute-zero: New dependency.
12911
e69d994a
ZW
129122018-06-29 Zack Weinberg <zackw@panix.com>
12913
12914 * configure.ac: New command-line option --disable-crypt.
12915 Force --disable-nss-crypt when --disable-crypt is given, with a
12916 warning if it was explicitly enabled.
12917 * configure: Regenerate.
12918 * config.make.in: New boolean substitution variable $(build-crypt).
12919 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
12920 when $(build-crypt).
12921 * manual/install.texi: Document --disable-crypt.
12922 * INSTALL: Regenerate.
12923
12924 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
12925 which is never set.
12926 * conform/Makefile: Only include libcrypt.a in
12927 linknamespace-libs-xsi and linknamespace-libs-XPG4
12928 when $(build-crypt).
12929 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
12930 USE_CRYPT to 1 when $(build-crypt).
12931 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
12932 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
12933 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
12934
841785ba
ZW
129352018-06-29 Zack Weinberg <zackw@panix.com>
12936
12937 * crypt/crypt.h, posix/unistd.h: Update comments and
12938 prototypes for crypt and crypt_r.
12939
12940 * manual/crypt.texi (Cryptographic Functions): New initial
12941 exposition.
12942 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
12943 (Unpredictable Bytes): Improve initial exposition. Clarify error
12944 behavior of getentropy and getrandom.
12945 * manual/examples/genpass.c: Generate a salt using getentropy
12946 instead of the current time. Use hash $5$ (SHA-2-256).
12947 * manual/examples/testpass.c: Demonstrate validation against
12948 hashes generated with three different one-way functions.
12949
12950 * manual/intro.texi: crypt.texi does not need an overview
12951 anymore.
12952
12953 * manual/nss.texi, manual/memory.texi, manual/socket.texi
12954 * manual/terminal.texi: Consistently refer to "passphrases"
12955 * instead of "passwords", and to the "user database" instead
12956 * of the "password database".
12957 * manual/users.texi: Similarly. Add notes about how actual
12958 passphrase hashes are now stored in the shadow database.
12959 Remove 20-year-old junk todo note.
12960
6ab902e4
ZW
129612018-06-29 Zack Weinberg <zackw@panix.com>
12962
12963 * manual/crypt.texi: Use a normal top-level @node declaration.
12964 Move most of the introductory text to the 'crypt' section.
12965 Move the example programs below the @deftypefun for 'crypt_r'.
12966 Move the 'getpass' section...
12967 * manual/terminal.texi: ...here.
12968
b10a0acc
ZW
129692018-06-29 Zack Weinberg <zackw@panix.com>
12970 Florian Weimer <fweimer@redhat.com>
12971
12972 * posix/unistd.h: Do not declare encrypt.
12973 (_XOPEN_CRYPT): Remove macro definition.
12974 (crypt): Declare only for _USE_MISC.
12975 * stdlib/stdlib.h: Do not declare setkey.
12976 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
12977 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
12978
12979 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
12980 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
12981 into compat symbols. Don't define initial_perm if it's not
12982 going to be used.
12983 * crypt/cert.c: Link explicitly with the expected versions for
12984 setkey and encrypt. If they are not available at all, mark
12985 the test as unsupported.
12986
12987 * sunrpc/des_crypt.c: Unconditionally block linkage with
12988 cbc_crypt and ecb_crypt for new binaries.
12989 * sunrpc/des_soft.c: Unconditionally block linkage with
12990 des_setparity for new binaries.
12991
12992 * manual/crypt.texi: Remove the entire "DES Encryption"
12993 section. Also remove the paragraph talking about FIPS 140-2
12994 from the introduction.
12995 * manual/string.texi (strfry, memfrob): Revise. Recommend use
12996 of libgcrypt for "real" encryption, not DES.
12997 * manual/conf.texi (Constants for Sysconf): Mention that
12998 _XOPEN_CRYPT is no longer impelemented.
12999
13000 * conform/data/unistd.h-data: Remove crypt function declaration.
13001
524d796d
FW
130022018-06-29 Florian Weimer <fweimer@redhat.com>
13003
13004 [BZ #23351]
13005 * malloc/hooks.c: Update comments on restoring of dumped heaps.
13006 (disallow_malloc_check): Remove variable.
13007 (__malloc_check_init): Adjust.
13008 (malloc_set_state): Update comment.
13009 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
13010 declarations.
13011
339124ab
RL
130122018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13013
13014 [BZ #23140]
13015 * localedata/locales/ast_ES (mon): Rename to...
13016 (alt_mon): This.
13017 (mon): Import from CLDR (genitive case).
13018
c1f86a33
DA
130192018-06-29 Daniel Alvarez <dalvarez@redhat.com>
13020 Jakub Sitnicki <jkbs@redhat.com>
13021
13022 [BZ #21812]
13023 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
13024 on NLM_F_DUMP_INTR.
13025
0b11b649
SN
130262018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
13027
13028 * manual/llio.texi: Remove spurious space.
13029
c1c2848b
FW
130302018-06-28 Florian Weimer <fweimer@redhat.com>
13031
13032 [BZ #23349]
13033 * time/bits/types/struct_timespec.h: Change header inclusion guard to
13034 _STRUCT_TIMESPEC.
13035
86a0f561
RS
130362018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13037
13038 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
6b5c8607 13039 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
86a0f561
RS
13040 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
13041 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
13042 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
13043 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
13044 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
13045
780684eb
MR
130462018-06-27 Maciej W. Rozycki <macro@mips.com>
13047
13048 [BZ #23266]
13049 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
13050 Copy and null-terminate entries that are not terminated, in
13051 addition to empty ones.
13052
c49e1822
FW
130532018-06-27 Florian Weimer <fweimer@redhat.com>
13054
13055 [BZ #18023]
b39d961c
TS
13056 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
13057 (extend_alloca_account): Remove.
c49e1822
FW
13058 * manual/stdio.texi (Variable Arguments Output): Update comment.
13059
a833e627
JM
130602018-06-27 Joseph Myers <joseph@codesourcery.com>
13061
13062 * nptl/sockperf.c: Remove file.
13063
92d6aa85
FW
130642018-06-27 Florian Weimer <fweimer@redhat.com>
13065
13066 [BZ #18023]
13067 * elf/dl-deps.c (_dl_map_object_deps): Use struct
13068 scratch_buffer instead of extend_alloca.
13069
890c2ced
FW
130702018-06-27 Florian Weimer <fweimer@redhat.com>
13071
13072 [BZ #18023]
13073 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
13074 scratch_buffer instead of extend_alloca. Update comments.
13075
4272059d
FW
130762018-06-27 Florian Weimer <fweimer@redhat.com>
13077
13078 [BZ #18023]
13079 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
13080 instead of extend_alloca.
13081
27f10a09
JM
130822018-06-26 Joseph Myers <joseph@codesourcery.com>
13083
13084 [BZ #13888]
13085 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
13086 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
13087 /tmp.
13088 * scripts/test-installation.pl: Put temporary files in build
13089 directory, not /tmp.
13090 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
13091 (CFLAGS-bug4.c): Likewise.
13092 (CFLAGS-bug5.c): Likewise.
13093 (CFLAGS-test-fseek.c): Likewise.
13094 (CFLAGS-test-popen.c): Likewise.
13095 (CFLAGS-test_rdwr.c): Likewise.
13096 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
13097 /tmp.
13098 * stdio-common/bug4.c (main): Likewise.
13099 * stdio-common/bug5.c (main): Likewise.
13100 * stdio-common/test-fseek.c (TESTFILE): Likewise.
13101 * stdio-common/test-popen.c (do_test): Likewise.
13102 * stdio-common/test_rdwr.c (main): Likewise.
13103
05598a09
PF
131042018-06-26 Patsy Franklin <pfrankli@redhat.com>
13105
13106 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
13107 (sem_open): Set sem.newsem.pad to zero for valgrind.
13108
06ab719d
AZ
131092018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13110
13111 [BZ #20251]
13112 * NEWS: Mention fcntl64 addition.
13113 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
13114 * login/utmp_file.c: Likewise.
13115 * sysdeps/posix/fdopendir.c: Likewise.
13116 * sysdeps/posix/opendir.c: Likewise.
13117 * sysdeps/unix/pt-fcntl.c: Likewise.
13118 * include/fcntl.h (__libc_fcntl64, __fcntl64,
13119 __fcntl64_nocancel_adjusted): New prototype.
13120 (__fcntl_nocancel_adjusted): Remove prototype.
13121 * io/Makefile (routines): Add fcntl64.
13122 (CFLAGS-fcntl64.c): New rule.
13123 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
13124 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
13125 * io/fcntl.h (fcntl64): Add prototype and redirect if
13126 __USE_FILE_OFFSET64 is defined.
13127 * io/fcntl64.c: New file.
13128 * manual/llio.text: Add a note for which commands fcntl acts a
13129 cancellation point.
13130 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
13131 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
13132 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
13133 New symbols.
13134 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
13135 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
13136 non-LFS case.
13137 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
13138 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
13139 to __fcntl64_nocancel.
13140 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
13141 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
13142 to __fcntl64_nocancel.
13143 * sysdeps/generic/not-cancel.h: Likewise.
13144 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
13145 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
13146 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
13147 (fcntl64): New symbol.
13148 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13149 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13150 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13153 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13154 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13155 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13156 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13157 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13158 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
13159 fcntl64): Likewise.
13160 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13161 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
13162 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13163 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13164 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13165 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13166 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13167 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13168 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13170 Likewise.
13171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13172 Likewise.
13173 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13174 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13175 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13176
124e0258
FW
131772018-06-26 Florian Weimer <fweimer@redhat.com>
13178
13179 Run thread shutdown functions in an explicit order.
13180 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
13181 definition.
13182 (__libc_thread_freeres): Call thread shutdown functions
13183 explicitly.
13184 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
13185 * include/string.h (__strerror_thread_freeres): Declare.
13186 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
13187 arena_thread_freeres. No longer static. Remove thread shutdown
13188 hook registration.
13189 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
13190 Declare.
13191 * resolv/res-close.c (__res_thread_freeres): Renamed from
13192 res_thread_freeres. No longer static. Remove thread shutdown
13193 hook registration.
13194 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
13195 * resolv/resolv_conf.c (freeres): Remove incorrect section
13196 attribute and use libc_freeres_fn.
13197 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
13198 strerror_thread_freeres. No longer static. Remove thread
13199 shutdown hook registration.
13200 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
13201 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
13202 shutdown hook registration.
13203 * Makerules (shlib.lds): Do not provide section boundary symbols
13204 for __libc_thread_subfreeres.
13205 * manual/memory.texi (Basic Allocation): Update comment.
13206
935d920e
FW
132072018-06-26 Florian Weimer <fweimer@redhat.com>
13208
13209 Remove always-defined _RPC_THREAD_SAFE_ macro.
13210 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
13211 Do not define _RPC_THREAD_SAFE_.
13212 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
13213 conditional.
13214 * sunrpc/clnt_perr.c: Likewise.
13215 * sunrpc/clnt_raw.c: Likewise.
13216 * sunrpc/clnt_simp.c: Likewise.
13217 * sunrpc/key_call.c: Likewise.
13218 * sunrpc/rpc_common.c: Likewise.
13219 * sunrpc/rpc_main.c: Likewise.
13220 * sunrpc/rpc_thread.c: Likewise.
13221 * sunrpc/svc.c: Likewise.
13222 * sunrpc/svc_raw.c: Likewise.
13223 * sunrpc/svc_simple.c: Likewise.
13224 * sumrpc/svcauth_des.c: Likewise.
13225
29055464
FW
132262018-06-26 Florian Weimer <fweimer@redhat.com>
13227
13228 * libio/Makefile (tests-internal): Add tst-vtables,
13229 tst-vtables-interposed.
13230 * libio/tst-vtables.c: New file.
13231 * libio/tst-vtables-common.c: Likewise.
13232 * libio/tst-vtables-interposed.c: Likewise.
13233
5c0202af
FW
132342018-06-26 Florian Weimer <fweimer@redhat.com>
13235
13236 * support/support_test_main.c (support_test_main): Only call
13237 setvbuf if not disables.
13238 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
13239 * support/test-driver.h (struct test_config): Add no_setvbuf member.
13240
c402355d
FW
132412018-06-26 Florian Weimer <fweimer@redhat.com>
13242
13243 [BZ #23313]
13244 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
13245
43b1048a
FW
132462018-06-25 Florian Weimer <fweimer@redhat.com>
13247
13248 [BZ #18023]
13249 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13250 Use struct scratch_buffer instead of extend_alloca.
13251
1599ed4e
FW
132522018-06-25 Florian Weimer <fweimer@redhat.com>
13253
13254 [BZ #18023]
13255 * nss/getent.c (initgroups_keys): Use dynarray instead of
13256 extend_alloca.
13257
a26fe163
FW
132582018-06-25 Florian Weimer <fweimer@redhat.com>
13259
13260 [BZ #18023]
13261 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
13262 Use struct scratch_buffer instead of extend_alloca.
13263
90d9d9ce
FW
132642018-06-25 Florian Weimer <fweimer@redhat.com>
13265
13266 [BZ #18023]
13267 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
13268 back to malloc directly, without stack allocations.
13269
6b7b2aba
FW
132702018-06-25 Florian Weimer <fweimer@redhat.com>
13271
13272 [BZ #18023]
13273 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
13274 of extend_alloca.
13275
2f9f0d18
FW
132762018-06-25 Florian Weimer <fweimer@redhat.com>
13277
13278 [BZ #18023]
13279 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
13280 of extend_alloca.
13281 * nscd/hstcache.c (addhstbyX): Likewise.
13282 * nscd/pwdcache.c (addpwbyX): Likewise.
13283 * nscd/servicescache.c (addservbyX): Likewise.
13284
318bad78
FW
132852018-06-25 Florian Weimer <fweimer@redhat.com>
13286
13287 [BZ #18023]
13288 * nscd/connections.c (read_cmdline): New function.
13289 (restart): Use it. Update comment.
13290
189699ab
RL
132912018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
13292
13293 [BZ #23140]
13294 * localedata/locales/csb_PL (mon): Rename to...
13295 (alt_mon): This.
13296 (abmon): Rename to...
13297 (ab_alt_mon): This.
13298 (mon): Add with proper genitive forms, copy from Wikipedia.
13299 (abmon): Likewise.
13300
0ea3f13c
RL
133012018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
13302
13303 [BZ #19485]
13304 * localedata/locales/csb_PL (mon): Fix typos:
13305 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
13306 (yesstr): Add, value is "jo".
13307 (nostr): Add, value is "nié".
13308
d93f4ff1
TMQMF
133092018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13310
13311 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
13312 all log1p and significand functions on m680x0.
13313 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
13314 of s_significand.c..
13315 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
13316 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
13317 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
13318 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
13319 s_log1p.c and include it..
13320
f6299d2a
VC
133212018-06-21 Vincent Chen <vincentc@andestech.com>
13322
13323 * elf/elf.h (R_NDS32_NONE): New define.
13324 (R_NDS32_32_RELA): Likewise.
13325 (R_NDS32_COPY): Likewise.
13326 (R_NDS32_GLOB_DAT): Likewise.
13327 (R_NDS32_JUMP_SLOT): Likewise.
13328 (R_NDS32_RELATIVE): Likewise.
13329 (R_NDS32_TLS_TPOFF): Likewise.
13330 (R_NDS32_TLS_DESC): Likewise.
13331
61ab61c2
MW
133322018-06-21 Mark Wielaard <mark@klomp.org>
13333
13334 * elf/elf.h (R_BPF_MAP_FD): Removed.
13335 (R_BPF_64_64, R_BPF_64_32): New.
13336
f496b28e
FW
133372018-06-21 Florian Weimer <fweimer@redhat.com>
13338
13339 [BZ #23253]
13340 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
13341 Renamed from libc_feholdsetround_ctx.
13342 (default_libc_feresetround_ctx): Renamed from
13343 libc_feresetround_ctx.
13344 (default_libc_feholdsetround_noex_ctx): Renamed from
13345 libc_feholdsetround_noex_ctx.
13346 (default_libc_feresetround_noex_ctx): Renamed from
13347 libc_feresetround_noex_ctx.
13348 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
13349 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
13350 forwardning to the old implementations under the new names.
13351 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
13352 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
13353 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
13354 (libc_feresetround_ctx): Forward to default implements for i386
13355 and MATH_SET_BOTH_ROUNDING_MODES.
13356 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
13357 Add -DMATH_SET_BOTH_ROUNDING_MODES.
13358
1760daad
JM
133592018-06-20 Joseph Myers <joseph@codesourcery.com>
13360
99c7adf9
JM
13361 * string/tst-cmp.c: Include <libc-diag.h>.
13362 (strncmp_max): Disable -Wstringop-overflow= around call to
13363 strncmp.
13364 (strncasecmp_max): Disable -Wstringop-overflow= around call to
13365 strncasecmp.
13366
1760daad
JM
13367 * string/bug-strpbrk1.c: Include <libc-diag.h>.
13368 (main): Disable -Wunused-value around call to strpbrk.
13369 * string/bug-strspn1.c: Include <libc-diag.h>.
13370 (main): Disable -Wunused-value around call to strspn.
13371
209ae17c
TMQMF
133722018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13373 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13374
13375 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
13376 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
13377
badba23c
TMQMF
133782018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13379
5e79e029
TMQMF
13380 * math/Makefile (libm-calls): Move s_significandF to...
13381 (gen-libm-calls): ... here.
13382 * math/s_significand_template.c: New file.
13383 * math/s_significand.c: Removed.
13384 * math/s_significandf.c: Removed.
13385 * math/s_significandl.c: Removed.
13386 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
13387 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
13388
badba23c
TMQMF
13389 * math/e_exp2_template.c (declare_mgen_finite_alias,
13390 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
13391 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
13392 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
13393
2d1c89a5
FW
133942018-06-20 Florian Weimer <fweimer@redhat.com>
13395
13396 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
13397
646c2833
JM
133982018-06-19 Joseph Myers <joseph@codesourcery.com>
13399
13400 [BZ #23280]
13401 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
13402 floating-point number to strtod functions rather than possibly
13403 negating result of those functions.
13404 * stdio-common/tst-scanf-round.c: New file.
13405 * stdio-common/Makefile (tests): Add tst-scanf-round.
13406 ($(objpfx)tst-scanf-round): Depend on $(libm).
13407
c77e4dc0
ST
134082018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13409
13410 * sysdeps/mach/hurd/localplt.data: Move to...
13411 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
13412 R_386_GLOB_DAT like on Linux i386.
13413
91b2f3e5
JM
134142018-06-18 Joseph Myers <joseph@codesourcery.com>
13415
f2857da7
JM
13416 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
13417 (SHM_STAT_ANY): New macro.
13418 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
13419 (SHM_STAT_ANY): Likewise.
13420 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
13421 (SHM_STAT_ANY): Likewise.
13422 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
13423 (SHM_STAT_ANY): Likewise.
13424 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
13425 (SHM_STAT_ANY): Likewise.
13426 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
13427 (SHM_STAT_ANY): Likewise.
13428 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
13429 (SHM_STAT_ANY): Likewise.
13430 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
13431 (SHM_STAT_ANY): Likewise.
13432 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
13433 (SHM_STAT_ANY): Likewise.
13434 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
13435 (SHM_STAT_ANY): Likewise.
13436 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
13437 (SHM_STAT_ANY): Likewise.
13438 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
13439 (SHM_STAT_ANY): Likewise.
13440
176c7fee
JM
13441 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
13442 (SEM_STAT_ANY): New macro.
13443 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
13444 (SEM_STAT_ANY): Likewise.
13445 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
13446 (SEM_STAT_ANY): Likewise.
13447 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
13448 (SEM_STAT_ANY): Likewise.
13449 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
13450 (SEM_STAT_ANY): Likewise.
13451 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
13452 (SEM_STAT_ANY): Likewise.
13453 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
13454 (SEM_STAT_ANY): Likewise.
13455 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
13456 (SEM_STAT_ANY): Likewise.
13457 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
13458 (SEM_STAT_ANY): Likewise.
13459 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
13460 (SEM_STAT_ANY): Likewise.
13461
86bf0019
JM
13462 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
13463 (MSG_STAT_ANY): New macro.
13464 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
13465 (MSG_STAT_ANY): Likewise.
13466 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
13467 (MSG_STAT_ANY): Likewise.
13468 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
13469 (MSG_STAT_ANY): Likewise.
13470 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
13471 (MSG_STAT_ANY): Likewise.
13472 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
13473 (MSG_STAT_ANY): Likewise.
13474 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
13475 (MSG_STAT_ANY): Likewise.
13476 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
13477 (MSG_STAT_ANY): Likewise.
13478 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
13479 (MSG_STAT_ANY): Likewise.
13480 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
13481 (MSG_STAT_ANY): Likewise.
13482
91b2f3e5
JM
13483 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13484 (MAP_TYPE): Change value to 0x2b.
13485
3fe8fc79
FW
134862018-06-18 Florian Weimer <fweimer@redhat.com>
13487
13488 [BZ #15722]
13489 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
13490 socket with SOCK_CLOEXEC.
13491
809dc95d
JM
134922018-06-18 Joseph Myers <joseph@codesourcery.com>
13493
13494 [BZ #23303]
13495 * sysdeps/powerpc/powerpc64/le/Makefile
13496 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
13497 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
13498 (gnulib-tests): Also add $(f128-loader-link) for
13499 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
13500
298a8b59
ST
135012018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
13502
13503 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
13504 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
13505 of sendfile.
13506 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
13507 (sendfile64): New strong alias.
faf7bbc2
ST
13508 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
13509 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
13510 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
f96a85e0
ST
13511 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
13512 attribute.
13513 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
13514 ___pthread_get_cleanup_stack.
932d05f0 13515 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
c1b7586c
ST
13516 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
13517 * mach/shortcut.awk: Make syscall stubs include
13518 <mach-shortcuts-hidden.h> and add hidden definition.
13519 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7a646a93
ST
13520 (__mach_msg): Add hidden prototype.
13521 * mach/msg.c: Include <mach.h>.
13522 (__mach_msg): Add hidden definition.
b0344cf5
ST
13523 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
13524 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
13525 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
13526 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8c9d5342
ST
13527 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
13528 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
4d0ac037
ST
13529 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
13530 prototype and definition.
13531 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
13532 hidden target for _hurd_self_sigstate.
298a8b59 13533
b12c1e79
JM
135342018-06-15 Joseph Myers <joseph@codesourcery.com>
13535
13536 [BZ #23007]
13537 * stdlib/tst-strtod-nan-sign-main.c: New file.
13538 * stdlib/tst-strtod-nan-sign.c: Likewise.
13539 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
13540 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
13541 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
13542 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
13543 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
13544
b0debe14
HB
135452018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
13546
13547 [BZ #23007]
13548 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
13549 appropriate sign.
13550
14beef75
FW
135512018-06-14 Florian Weimer <fweimer@redhat.com>
13552
13553 [BZ #23290]
13554 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
13555 that the result stays within the ISO-8859-1 range.
13556 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
13557 characters are defined in IBM273.
13558
c596630b
ST
135592018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
13560
13561 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
13562 __mach_task_self): Remove attribute_hidden.
13563
35ebb6b0
JM
135642018-06-14 Joseph Myers <joseph@codesourcery.com>
13565
13566 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
13567 ignore -Wrestrict for one test.
13568
3c7b9f1f
SE
135692018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
13570 Szabolcs Nagy <szabolcs.nagy@arm.com>
13571
13572 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
13573
c59ee916
FW
135742018-06-14 Florian Weimer <fweimer@redhat.com>
13575
13576 * scripts/update-abilist.sh: Accept empty list of files to patch.
13577
43b5ff50
ST
135782018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
13579
13580 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
13581 test-xfail-check-abi-libmachuser): Add.
c8c910ed
ST
13582 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
13583 __libc_read and __libc_write to __read and __write.
c8c6e6d6 13584 * sysdeps/hurd/include/hurd/port.h: New file.
126b3ec3
ST
13585 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
13586 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
13587 __thread_switch, __evc_wait): Move declarations to...
13588 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
13589 attribute_hidden.
06d1a826
ST
13590 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
13591 use PLT to call _hurd_self_sigstate.
43b5ff50 13592
fcd6b5ac
JM
135932018-06-13 Joseph Myers <joseph@codesourcery.com>
13594
13595 [BZ #23279]
13596 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
13597 MAX_EXP as overflowing.
13598 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
13599 overflow flag.
13600 (round_str): Output also whether result overflows in each rounding
13601 mode.
13602 * stdlib/tst-strtod-round-data: Add more tests.
13603 * stdlib/tst-strtod-round-data.h: Regenerated.
13604 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
13605 (TEST): Handle extra arguments for overflow flags.
13606 (struct test_overflow): New type.
13607 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
13608 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
13609 (test_in_one_mode): Take argument with overflow information.
13610 (do_test): Update calls to test_in_one_mode.
13611
35df5a77
CD
136122018-06-12 Carlos O'Donell <carlos@redhat.com>
13613
a745c837
CD
13614 * elf/dl-load (_dl_dst_substitute): Correct comment.
13615 (_dl_dst_count): Likewise.
13616
35df5a77
CD
13617 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
13618 lll_futex_timed_wait.
13619
48b12ed5
JM
136202018-06-12 Joseph Myers <joseph@codesourcery.com>
13621
13622 [BZ #23277]
13623 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
13624 attribute.
13625 * math/test-nan-const.c: New file.
13626 * math/Makefile (tests): Add test-nan-const.
13627 (CFLAGS-test-nan-const.c): New variable.
13628
cb8f6aff
L
136292018-06-12 H.J. Lu <hongjiu.lu@intel.com>
13630
13631 * benchtests/scripts/compare_strings.py (process_results): Add
13632 funcs argument. Compare only functions which are selected.
13633 (main): Check if base function is among selected functions.
13634 Pass selected functions to process_results.
13635 (__main__): Add -f/--functions argument.
13636
fc2ba803
HZ
136372018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
13638 Hongbo Zhang <hongbo.zhang@linaro.org>
13639
13640 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
13641 __memcpy_falkor for phecda core.
13642 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
13643 __memmove_falkor for phecda core.
13644 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
13645 __memset_falkor for phecda core.
13646 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
13647 for phecda core.
13648 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
13649 macro to identify phecda core.
13650
5aad5f61
CD
136512018-06-12 Carlos O'Donell <carlos@redhat.com>
13652 Andreas Schwab <schwab@suse.de>
13653 Dmitry V. Levin <ldv@altlinux.org>
6b5c8607 13654 Florian Weimer <fweimer@redhat.com>
5aad5f61
CD
13655
13656 [BZ #23102]
13657 [BZ #21942]
13658 [BZ #18018]
13659 [BZ #23259]
13660 CVE-2011-0536
13661 * elf/dl-dst.h: Remove DL_DST_COUNT.
13662 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
13663 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
13664 (is_dst): Comment. Support ELF gABI.
13665 (_dl_dst_count): Comment. Simplify and count DSTs.
13666 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
13667 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
13668 locals.
13669
329ea513
ZW
136702018-06-12 Zack Weinberg <zackw@panix.com>
13671
13672 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
13673 * sysdeps/unix/sysv/linux/dl-sysdep.c
13674 Include not-cancel.h. Use __close_nocancel instead of __close,
13675 __open64_nocancel instead of __open, __read_nocancel instead of
13676 __libc_read, and __write_nocancel instead of __libc_write.
13677
13678 * csu/check_fds.c (check_one_fd)
13679 * sysdeps/posix/fdopendir.c (__fdopendir)
13680 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
b39d961c 13681 instead of __fcntl and/or __libc_fcntl.
329ea513
ZW
13682
13683 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
13684 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
b39d961c 13685 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
329ea513
ZW
13686 Use __open64_nocancel instead of __open_nocancel.
13687
13688 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
13689 hidden_proto declarations to the end and issue them if either
13690 IS_IN(libc) or IS_IN(rtld).
13691 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
13692 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
13693 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
13694 read_nocancel, waitpid_nocancel, write_nocancel.
13695
b39d961c
TS
13696 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
13697 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
13698 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
329ea513 13699
b39d961c
TS
13700 * nptl/pt-fcntl.c: New file.
13701 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
13702 (libpthread-routines): Add pt-fcntl.
13703 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
13704 (__libc_fcntl): Remove attribute_hidden.
329ea513
ZW
13705 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
13706 __fcntl_nocancel_adjusted, not fcntl_common.
b39d961c 13707 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
329ea513
ZW
13708 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
13709 to fcntl_nocancel.c.
13710 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
13711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
13712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13713 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
13714
13715 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
13716 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
13717 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
13718 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
13719 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
13720 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
13721 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
13722 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
13723 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
13724 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
13725 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
13726 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
13727 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
13728 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
13729 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
13730 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
13731 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
13732 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
13733 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
13734 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
13735
b39d961c
TS
13736 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
13737 libpthread-routines.
13738 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
13739 defines nothing.
329ea513 13740
b39d961c
TS
13741 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
13742 __libc_read, and __write instead of __libc_write. Define
13743 __open64 in addition to __open.
329ea513 13744
0221ce2a
L
137452018-06-12 H.J. Lu <hongjiu.lu@intel.com>
13746
13747 [BZ #23250]
13748 [BZ #10686]
13749 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
13750 to _private_tm[3] and add __glibc_reserved2.
13751 Add _Static_assert of offset of __private_ss == 0x30.
13752 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
13753 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
13754
e826574c
FW
137552018-06-12 Florian Weimer <fweimer@redhat.com>
13756
13757 x86: Make strncmp usable from rtld.
13758 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
13759 __strncmp_ia32 if in libc (and not in rtld).
13760 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
13761 strncmp if not in libc (and not to __strncmp_sse2).
13762
c4ad5782
RL
137632018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
13764
13765 [BZ #23140]
13766 * localedata/locales/gd_GB (mon): Rename to...
13767 (alt_mon): This.
13768 (mon): Import from CLDR (genitive case).
13769 * localedata/locales/hsb_DE (mon): Rename to...
13770 (alt_mon): This.
13771 (mon): Import from CLDR (genitive case).
13772 * localedata/locales/wa_BE (mon): Rename to...
13773 (alt_mon): This.
13774 (mon): Add, fill with the proper genitive forms, but CLDR data
13775 is incomplete; completed according to the comments in this file.
13776 (d_t_fmt): Do not use "di" before the month name, no longer needed.
13777
13778 * localedata/locales/wa_BE (country_name): Reword
13779 "Beljike" -> "Beldjike".
13780
ca121b11
JM
137812018-06-11 Joseph Myers <joseph@codesourcery.com>
13782
13783 [BZ #23272]
13784 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
13785 cases of non-finite arguments.
13786 * math/libm-test-fma.inc (fma_test_data): Add more tests.
13787
2b69fecb
JDA
137882018-06-10 John David Anglin <danglin@gcc.gnu.org>
13789
13790 [BZ #23174]
13791 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
13792
283d9851
AZ
137932018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13794
13795 [BZ #23264]
13796 * include/unistd.h (__execvpex): New prototype.
13797 * posix/Makefile (tests): Add tst-spawn4.
13798 (tests-internal): Add tst-spawn4-compat.
13799 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
13800 * posix/tst-spawn4-compat.c: New file.
13801 * posix/tst-spawn4.c: Likewise.
13802 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
13803 binaries as shell scripts.
13804 * sysdeps/posix/spawni.c (__spawni): Likewise.
13805
67c05796
L
138062018-06-08 H.J. Lu <hongjiu.lu@intel.com>
13807
13808 [BZ #23145]
13809 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
13810 ($(all-built-dso:=.dynsym): New target.
13811 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
13812 ($(objpfx)check-initfini.out): New target.
13813 (generated): Add check-initfini.out.
13814 * scripts/check-initfini.awk: New file.
13815 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
13816 (_fini): Likewise.
13817 * sysdeps/alpha/crti.S (_init): Mark as hidden.
13818 (_fini): Likewise.
13819 * sysdeps/arm/crti.S (_init): Mark as hidden.
13820 (_fini): Likewise.
13821 * sysdeps/hppa/crti.S (_init): Mark as hidden.
13822 (_fini): Likewise.
13823 * sysdeps/i386/crti.S (_init): Mark as hidden.
13824 (_fini): Likewise.
13825 * sysdeps/ia64/crti.S (_init): Mark as hidden.
13826 (_fini): Likewise.
13827 * sysdeps/m68k/crti.S (_init): Mark as hidden.
13828 (_fini): Likewise.
13829 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
13830 (_fini): Likewise.
13831 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
13832 (_fini): Likewise.
13833 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
13834 (_fini): Likewise.
13835 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
13836 (_fini): Likewise.
13837 * sysdeps/nios2/crti.S (_init): Mark as hidden.
13838 (_fini): Likewise.
13839 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
13840 (_fini): Likewise.
13841 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
13842 (_fini): Likewise.
13843 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
13844 (_fini): Likewise.
13845 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
13846 (_fini): Likewise.
13847 * sysdeps/sh/crti.S (_init): Mark as hidden.
13848 (_fini): Likewise.
13849 * sysdeps/sparc/crti.S (_init): Mark as hidden.
13850 (_fini): Likewise.
13851 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
13852 (_fini): Likewise.
13853
1c09524e
TMQMF
138542018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13855
13856 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
13857 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
13858 and TF redirection to KFtype and KF only when the default
13859 long double type is not the IEEE 128-bit floating point type.
13860
0e0577c9
JM
138612018-06-05 Joseph Myers <joseph@codesourcery.com>
13862
0c1c33b2
JM
13863 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
13864 macro.
13865 (HWCAP_USCAT): Likewise.
13866 (HWCAP_ILRCPC): Likewise.
13867 (HWCAP_FLAGM): Likewise.
13868 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13869 Increase to 28.
13870 (_dl_aarch64_cap_flags): Add new flag names.
13871
bef1cbf4
JM
13872 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
13873 (MAP_FIXED_NOREPLACE): New macro.
13874 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
13875 (MAP_FIXED_NOREPLACE): Likewise.
13876 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
13877 (MAP_FIXED_NOREPLACE): Likewise.
13878 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13879 (MAP_FIXED_NOREPLACE): Likewise.
13880 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
13881 (MAP_FIXED_NOREPLACE): Likewise.
13882 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
13883 (MAP_FIXED_NOREPLACE): Likewise.
13884 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
13885 (MAP_FIXED_NOREPLACE): Likewise.
13886 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
13887 (MAP_FIXED_NOREPLACE): Likewise.
13888 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
13889 (MAP_FIXED_NOREPLACE): Likewise.
13890 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
13891 (MAP_FIXED_NOREPLACE): Likewise.
13892 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
13893 (MAP_FIXED_NOREPLACE): Likewise.
13894 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
13895 (MAP_FIXED_NOREPLACE): Likewise.
13896 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
13897 (MAP_FIXED_NOREPLACE): Likewise.
13898 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
13899 (MAP_FIXED_NOREPLACE): Likewise.
13900 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
13901 (MAP_FIXED_NOREPLACE): Likewise.
13902
0e0577c9
JM
13903 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13904 version to 4.17.
13905
ab3a0da0
JM
139062018-06-04 Joseph Myers <joseph@codesourcery.com>
13907
13908 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13909 version to 4.17
13910
d2d9dfb6
ST
139112018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13912
13913 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
13914 int.
13915 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
13916
a650b05e
LS
139172018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13918
13919 * benchtests/scripts/compare_string.py: (process_results) Catch
13920 exception in non-existent base_func and catch exception in
13921 non-existent attribute.
13922 (parse_file) Catch exception if input file does not exist.
13923
195abbf4
LS
139242018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13925
13926 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
13927 options to avoid diff calculation and omit header, respectively.
13928 (main): process --no-diff and --no-header
13929
14570163
LS
139302018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13931 H.J. Lu <hongjiu.lu@intel.com>
13932
13933 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13934 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
13935 wcsncmp-sse2.
13936 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13937 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
13938 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
13939 and __wcsncmp_sse2.
13940 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
13941 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
13942 AVX unaligned load is fast and vzeroupper is preferred.
13943 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
13944 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
13945 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
13946 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
13947 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
13948 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
13949 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
13950 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
13951 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
13952 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
13953 is undefined.
13954
e02c026f
FW
139552018-06-01 Florian Weimer <fweimer@redhat.com>
13956
13957 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
13958 configuring with --disable-multi-arch, building with
13959 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
13960 Haswell-era CPU.
13961
d8c19275
FW
139622018-06-01 Florian Weimer <fweimer@redhat.com>
13963
13964 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
13965 results from building with “-march=x86-64 -mtune=generic
13966 -mfpmath=sse” and running on a Haswell-era CPU.
13967
0d2163eb
JM
139682018-06-01 Joseph Myers <joseph@codesourcery.com>
13969
13970 [BZ #18473]
13971 * soft-fp/sqrttf2.c: Remove file.
13972 * soft-fp/sqrtdf2.c: Move to ....
13973 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
13974 <shlib-compat.h>.
13975 (__sqrtdf2): Make conditional on
13976 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13977 symbol.
13978 * soft-fp/sqrtsf2.c: Move to ....
13979 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
13980 <shlib-compat.h>.
13981 (__sqrtsf2): Make conditional on
13982 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13983 symbol.
13984 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
13985 (gcc-double-routines): Remove sqrtdf2.
13986 (gcc-quad-routines): Remove sqrttf2.
13987 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13988 Do not filter out sqrtsf2 and sqrtdf2.
13989 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13990 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
13991
10450210
FW
139922018-06-01 Florian Weimer <fweimer@redhat.com>
13993
13994 * sysdeps/generic/libcidn.abilist: Remove file.
13995
4e8a6346
FW
139962018-06-01 Florian Weimer <fweimer@redhat.com>
13997
13998 [BZ #23236]
13999 * libio/strfile.h (struct _IO_str_fields): Rename members to
14000 discourage their use and add comment.
14001 (_IO_STR_DYNAMIC): Remove unused macro.
14002 * libio/strops.c (_IO_str_init_static_internal): Do not use
14003 callback pointers. Call malloc and free.
14004 (_IO_str_overflow): Do not use callback pointers. Call malloc
14005 and free.
14006 (enlarge_userbuf): Likewise.
14007 (_IO_str_finish): Call free.
14008 * libio/wstrops.c (_IO_wstr_init_static): Initialize
14009 _allocate_buffer_unused.
14010 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
14011 and free.
14012 (enlarge_userbuf): Likewise.
14013 (_IO_wstr_finish): Call free.
14014 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
14015 _allocate_buffer_unused, _free_buffer_unused.
14016 * libio/memstream.c (__open_memstream): Likewise.
14017 * libio/vasprintf.c (_IO_vasprintf): Likewise.
14018 * libio/wmemstream.c (open_wmemstream): Likewise.
14019
50d004c9
PP
140202018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
14021
14022 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
14023 AMD Ryzen 7 1800X.
14024
2c93fce7
RS
140252018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14026
14027 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
14028 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
14029 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
14030 New file.
14031 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
14032 Likewise.
14033 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
14034
0ce2fa69
FW
140352018-05-29 Florian Weimer <fweimer@redhat.com>
14036
14037 * support/Makefile (libsupport-routines): Add
14038 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
14039 xpthread_barrierattr_setpshared.
14040 * support/xpthread_barrierattr_destroy.c: New file.
14041 * support/xpthread_barrierattr_init.c: Likewise.
14042 * support/xpthread_barrierattr_setpshared.c: Likewise.
14043
7f7b5d8d
L
140442018-05-29 H.J. Lu <hongjiu.lu@intel.com>
14045
14046 [BZ #23206]
14047 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
14048 _r_debug and update DT_DEBUG for debugger.
14049
e4890300
FW
140502018-05-29 Florian Weimer <fweimer@redhat.com>
14051
14052 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
14053 (tst-strtod5i.out): Likewise.
14054
2c753f3e
JM
140552018-05-25 Joseph Myers <joseph@codesourcery.com>
14056
b5453d9f
JM
14057 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
14058 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
14059 (sparc64-quad-routines): New variable. Moved from ....
14060 [$(subdir) = soft-fp] (sysdep_routines): Add
14061 $(sparc64-quad-routines). Moved from ....
14062 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
14063 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
14064 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
14065 moved from ....
14066 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
14067 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
14068 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
14069 * sysdeps/sparc/sparc64/qp_add.c: ... here.
14070 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
14071 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
14072 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
14073 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
14074 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
14075 * sysdeps/sparc/sparc64/qp_div.c: ... here.
14076 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
14077 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
14078 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
14079 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
14080 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
14081 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
14082 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
14083 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
14084 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
14085 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
14086 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
14087 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
14088 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
14089 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
14090 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
14091 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
14092 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
14093 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
14094 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
14095 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
14096 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
14097 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
14098 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
14099 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
14100 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
14101 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
14102 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
14103 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
14104 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
14105 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
14106 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
14107 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
14108 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
14109 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
14110 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
14111 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
14112 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
14113 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
14114 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
14115 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
14116 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
14117 * sysdeps/sparc/sparc64/qp_util.c: ... here.
14118 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
14119 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
14120 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
14121 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
14122 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
14123 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
14124
2c753f3e
JM
14125 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
14126 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
14127 (sparc32-quad-routines): New variable. Moved from ....
14128 [$(subdir) = soft-fp] (sysdep_routines): Add
14129 $(sparc32-quad-routines). Moved from ....
14130 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
14131 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
14132 moved from ....
14133 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
14134 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
14135 * sysdeps/sparc/sparc32/q_add.c: ... here.
14136 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
14137 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
14138 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
14139 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
14140 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
14141 * sysdeps/sparc/sparc32/q_div.c: ... here.
14142 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
14143 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
14144 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
14145 * sysdeps/sparc/sparc32/q_feq.c: ... here.
14146 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
14147 * sysdeps/sparc/sparc32/q_fge.c: ... here.
14148 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
14149 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
14150 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
14151 * sysdeps/sparc/sparc32/q_fle.c: ... here.
14152 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
14153 * sysdeps/sparc/sparc32/q_flt.c: ... here.
14154 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
14155 * sysdeps/sparc/sparc32/q_fne.c: ... here.
14156 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
14157 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
14158 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
14159 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
14160 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
14161 * sysdeps/sparc/sparc32/q_mul.c: ... here.
14162 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
14163 * sysdeps/sparc/sparc32/q_neg.c: ... here.
14164 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
14165 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
14166 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
14167 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
14168 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
14169 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
14170 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
14171 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
14172 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
14173 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
14174 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
14175 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
14176 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
14177 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
14178 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
14179 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
14180 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
14181 * sysdeps/sparc/sparc32/q_sub.c: ... here.
14182 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
14183 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
14184 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
14185 * sysdeps/sparc/sparc32/q_util.c: ... here.
14186 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
14187 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
14188 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
14189 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
14190
c1dc1e1b
TMQMF
141912018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14192 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14193
14194 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
14195 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
14196 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
14197 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
14198
14186e8d
JM
141992018-05-24 Joseph Myers <joseph@codesourcery.com>
14200
14201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
14202 powerpc/soft-fp.
14203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14204 Likewise.
14205 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
14206 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
14207
fb0e10b8
GG
142082018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14209
14210 [BZ #23171]
14211 * math/math.h [C++] (iseqsig): Fix parameter type for the long
14212 double version.
14213
1dfeb17e
JM
142142018-05-23 Joseph Myers <joseph@codesourcery.com>
14215
14216 * sysdeps/sh/Implies: Remove sh/soft-fp.
14217 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
14218 * sysdeps/sh/sfp-machine.h: ... here.
14219
727b38df
L
142202018-05-23 H.J. Lu <hongjiu.lu@intel.com>
14221
14222 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14223 (__mempcpy_erms): Skip zero length.
14224 (__memmove_erms): Likewise.
14225 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14226 (__memset_erms): Likewise.
14227
2834fb46
JM
142282018-05-23 Joseph Myers <joseph@codesourcery.com>
14229
14230 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
14231 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
14232 Add functions moved from ....
14233 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
14234 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
14235 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
14236 from ....
14237 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
14238 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
14239 * sysdeps/alpha/e_sqrtl.c: ... here.
14240 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
14241 * sysdeps/alpha/local-soft-fp.h: ... here.
14242 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
14243 * sysdeps/alpha/ots_add.c: ... here.
14244 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
14245 * sysdeps/alpha/ots_cmp.c: ... here.
14246 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
14247 * sysdeps/alpha/ots_cmpe.c: ... here.
14248 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
14249 * sysdeps/alpha/ots_cvtqux.c: ... here.
14250 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
14251 * sysdeps/alpha/ots_cvtqx.c: ... here.
14252 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
14253 * sysdeps/alpha/ots_cvttx.c: ... here.
14254 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
14255 * sysdeps/alpha/ots_cvtxq.c: ... here.
14256 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
14257 * sysdeps/alpha/ots_cvtxt.c: ... here.
14258 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
14259 * sysdeps/alpha/ots_div.c: ... here.
14260 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
14261 * sysdeps/alpha/ots_mul.c: ... here.
14262 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
14263 * sysdeps/alpha/ots_nintxq.c: ... here.
14264 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
14265 * sysdeps/alpha/ots_sub.c: ... here.
14266 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
14267 * sysdeps/alpha/sfp-machine.h: ... here.
14268
7f9f1ecb
FW
142692018-05-23 Florian Weimer <fweimer@redhat.com>
14270
14271 [BZ #19728]
14272 [BZ #19729]
14273 [BZ #22247]
14274 CVE-2016-6261
14275 CVE-2016-6263
14276 CVE-2017-14062
14277 Switch to extern IDNA implementation (libidn2).
14278 * libidn: Remove subdirectory.
14279 * LICENSES: Do not mention licensing conditions for the removed
14280 libidn code.
14281 * config.h.in (HAVE_LIBIDN): Remove.
14282 * include/dlfcn.h (__libc_dlopen): Update comment.
14283 * include/idna.h: Remove file.
14284 * inet/Makefile (routines): Add idna.
14285 (tests-static, tests-internal): Add tst-idna_name_classify.
14286 (LOCALES): Generate locales for tests.
14287 (tst-idna_name_classify.out): Depend on generated locales.
14288 * inet/idna_name_classify.c: New file.
14289 * inet/tst-idna_name_classify.c: Likewise.
14290 * inet/net-internal.h (__idna_to_dns_encoding)
14291 (__idna_from_dns_encoding): Declare.
14292 * inet/net-internal.h (enum idna_name_classification): Define.
14293 (__idna_name_classify): Declare.
14294 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
14295 __idna_from_dns_encoding.
14296 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
14297 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
14298 name as a fallback in case of encoding errors.
14299 (getnameinfo): Use DEPRECATED_NI_IDN.
14300 * inet/idna.c: New file.
14301 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
14302 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
14303 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
14304 (modules-names): Add tst-no-libidn2.
14305 (extra-test-objs): Add tst-no-libidn2.os.
14306 (LDFLAGS-tst-no-libidn2.so): Set soname.
14307 (LOCALES): Set, and generate locales.
14308 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
14309 (tst-resolv-ai_idn-latin1): Likewise.
14310 (tst-resolv-ai_idn-nolibidn2): Likewise.
14311 (tst-resolv-ai_idn.out): Depend on locales.
14312 (tst-resolv-ai_idn-latin1.out): Depend on locales.
14313 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
14314 tst-no-libidn2.so.
14315 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
14316 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
14317 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
14318 * resolv/tst-resolv-ai_idn.c: New file.
14319 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
14320 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
14321 * resolv/tst-no-libidn2.c: Likewise.
14322 * support/support_format_addrinfo.c (format_ai_flags): Do not
14323 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
14324 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
14325 (gaih_inet): Call __idna_to_dns_encoding and
14326 __idna_from_dns_encoding, and use the original (punycode) name if
14327 __idna_from_dns_encoding fails due to an encoding error.
14328 (getaddrinfo): Use DEPRECATED_AI_IDN.
14329 * sysdeps/unix/inet/Subdirs (libidn): Remove.
14330 * sysdeps/unix/inet/configure: Remove file.
14331 * sysdeps/unix/inet/configure.ac: Likewise.
14332
5f7b841d
FW
143332018-05-23 Florian Weimer <fweimer@redhat.com>
14334
14335 Implement allocate_once.
14336 * include/allocate_once.h: New file.
14337 * misc/allocate_once.c: Likewise.
14338 * misc/tst-allocate_once.c: Likewise.
14339 * misc/Makefile (routines): Add allocate_once.
14340 (tests-internal): Add tst-allocate_once.
14341 (generated): Add tst-allocate_once.mtrace,
14342 tst-allocate_once-mem.out.
14343 (tests-special): Add tst-allocate_once-mem.out.
14344 (tst-allocate_once-ENV): Set MALLOC_TRACE.
14345 (tst-allocate_once-mem.out): Call mtrace.
14346 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
14347
ed983107
L
143482018-05-23 H.J. Lu <hongjiu.lu@intel.com>
14349
14350 [BZ #23196]
14351 * string/test-memcpy.c (do_test1): New function.
14352 (test_main): Call it.
14353
9aaaab7c
AS
143542018-05-23 Andreas Schwab <schwab@suse.de>
14355
14356 [BZ #23196]
14357 CVE-2018-11237
14358 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
14359 (L(preloop_large)): Save initial destination pointer in %r11 and
14360 use it instead of %rax after the loop.
14361 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
14362
5c5c0dd7
JM
143632018-05-22 Joseph Myers <joseph@codesourcery.com>
14364
8f145c77
JM
14365 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
14366 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
14367 -I../soft-fp. Moved from ....
14368 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
14369 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
14370 * sysdeps/aarch64/e_sqrtl.c: ... here.
14371 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
14372 * sysdeps/aarch64/sfp-machine.h: ... here.
14373
3d6302a5
JM
14374 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
14375 -Wmaybe-uninitialized around access to fq[0].
14376 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14377 Likewise.
14378
5c5c0dd7
JM
14379 [BZ #18471]
14380 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
14381 aliases for non-libc case of versioned symbols.
14382 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
14383 (llseek): Define as compat symbol if
14384 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
14385 with link warning.
14386 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
14387 Make into a compat symbol, disabled for minimum symbol version
14388 GLIBC_2.28 and later.
14389 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
14390
ed0d6988
FW
143912018-05-22 Florian Weimer <fweimer@redhat.com>
14392
14393 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
14394 not add -mpreferred-stack-boundary=4.
14395 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
14396 (stack-align-test-flags): Likewise.
14397 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
14398 Likewise.
14399 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
14400 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
14401 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
14402 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
14403 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
14404 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
14405 (CFLAGS-tst-align2.c): Likewise.
14406
e28e9b1e
L
144072018-05-21 H.J. Lu <hongjiu.lu@intel.com>
14408
14409 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
14410 (index_arch_Prefer_FSRM): Likewise.
14411 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
14412 Also check Prefer_FSRM.
14413 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
14414 Also return OPTIMIZE (erms) for Prefer_FSRM.
14415
1af30adc
L
144162018-05-21 H.J. Lu <hongjiu.lu@intel.com>
14417
14418 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
14419 (index_cpu_FSRM): Likewise.
14420 (reg_FSRM): Likewise.
14421
78274dc8
JM
144222018-05-18 Joseph Myers <joseph@codesourcery.com>
14423
7c67e6e8
JM
14424 * math/gen-tgmath-tests.py: Import sys.
14425 (Tests.__init__): Initialize macros_seen.
14426 (Tests.add_tests): Add macro to macros_seen. Only generate tests
14427 if requested to do so for this macro.
14428 (Tests.add_all_tests): Take argument for macro for which to
14429 generate tests.
14430 (Tests.check_macro_list): New function.
14431 (main): Handle check-list argument and argument specifying macro
14432 for which to generate tests.
14433 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
14434 [PYTHON] (tgmath3-macro-tests): Likewise.
14435 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
14436 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
14437 not test-tgmath3.c.
14438 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
14439 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
14440 to CFLAGS.
14441 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
14442 [PYTHON] ($(foreach
14443 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
14444 rule.
14445 [PYTHON] (tests-special): Add
14446 $(objpfx)test-tgmath3-macro-list.out.
14447 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
14448
ebc129fd
JM
14449 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
14450 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
14451 later.
14452
78274dc8
JM
14453 [BZ #22639]
14454 * time/tzset.c (SECSPERDAY): Cast to time_t.
14455 * time/tst-y2039.c: New file.
14456 * time/Makefile (tests): Add tst-y2039.
14457
6f7fdeeb
LS
144582018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14459
14460 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14461 (PREFETCH_ONE_SET): Remove duplicate line.
14462
e363a91c
FW
144632018-05-17 Florian Weimer <fweimer@redhat.com>
14464
14465 * sysdeps/generic/math-type-macros-double.h: Include
14466 <math-nan-payload-double.h> after <libm-alias-double.h>.
14467 * sysdeps/generic/math-type-macros-float.h: Include
14468 <math-nan-payload-float.h> after <libm-alias-float.h>.
14469 * sysdeps/generic/math-type-macros-float128.h: Include
14470 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
14471 * sysdeps/generic/math-type-macros-ldouble.h: Include
14472 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
14473
dae6c43c
AS
144742018-05-17 Andreas Schwab <schwab@suse.de>
14475
14476 * resolv/res_send.c (__res_context_send): Don't set errno when
14477 returing error after malloc failure.
14478
0068c085
L
144792018-05-17 H.J. Lu <hongjiu.lu@intel.com>
14480
14481 * nptl/allocatestack.c (allocate_stack): Remove the
14482 !__ASSUME_PRIVATE_FUTEX paths.
14483 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
14484 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14485 Likewise.
14486 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
14487 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14488 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14489 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14490 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
14491 !__ASSUME_PRIVATE_FUTEX path.
14492 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
14493 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
14494 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
14495 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
14496 !__ASSUME_PRIVATE_FUTEX macros.
14497 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
14498 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
14499 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
14500 * sysdeps/unix/sysv/linux/kernel-features.h
14501 (__ASSUME_PRIVATE_FUTEX): Removed.
14502
632a6cbe
JM
145032018-05-17 Joseph Myers <joseph@codesourcery.com>
14504
14505 * math/Makefile (libm-narrow-fns): Add div.
14506 (libm-test-funcs-narrow): Likewise.
14507 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
14508 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
14509 * math/gen-auto-libm-tests.c (test_functions): Add div.
14510 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
14511 (NARROW_DIV_ROUND_TO_ODD): Likewise.
14512 (NARROW_DIV_TRIVIAL): Likewise.
14513 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
14514 macro.
14515 (__ddivl): Likewise.
14516 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
14517 ddiv.
14518 (CFLAGS-nldbl-ddiv.c): New variable.
14519 (CFLAGS-nldbl-fdiv.c): Likewise.
14520 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14521 __nldbl_ddivl.
14522 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
14523 prototype.
14524 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
14525 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
14526 * math/auto-libm-test-in: Add tests of div.
14527 * math/auto-libm-test-out-narrow-div: New generated file.
14528 * math/libm-test-narrow-div.inc: New file.
14529 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
14530 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
14531 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
14532 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
14533 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
14534 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
14535 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
14536 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
14537 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
14538 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
14539 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
14540 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
14541 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
14542 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
14543 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
14544 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
14545 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
14546 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
14547 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14548 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14549 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14550 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14551 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14552 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14553 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14554 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14555 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14556 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14557 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14558 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14559 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14560 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14565 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14566 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14567 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14568 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14569 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14570 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14571 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14572 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14573
8c78faa9
AZ
145742018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14575
14576 [BZ #23178]
14577 * nscd/nscd-client.h (sendfileall): Remove prototype.
14578 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
14579 (handle_request): Use writeall instead of sendfileall.
14580 * nscd/aicache.c (addhstaiX): Likewise.
14581 * nscd/grpcache.c (cache_addgr): Likewise.
14582 * nscd/hstcache.c (cache_addhst): Likewise.
14583 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14584 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
14585 * nscd/pwdcache.c (cache_addpw): Likewise.
14586 * nscd/servicescache.c (cache_addserv): Likewise.
14587 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
14588 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
14589 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
14590 Remove define.
14591
04958880
L
145922018-05-16 H.J. Lu <hongjiu.lu@intel.com>
14593
14594 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
14595 Include <string/strncat.c>.
14596 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
14597 alias.
14598 (__GI___strncat): New hidden alias.
14599
c9992d13
JM
146002018-05-16 Joseph Myers <joseph@codesourcery.com>
14601
14602 * sysdeps/mips/mips32/libm-test-ulps: Update.
14603 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14604
2afece36
FW
146052018-05-16 Florian Weimer <fweimer@redhat.com>
14606
14607 * support/Makefile (libsupport-routines): Add support_quote_blob,
14608 support_test_compare_blob.
14609 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
14610 * support/check.h (TEST_COMPARE_BLOB): Define.
14611 (support_test_compare_blob): Declare.
14612 * support/support.h (support_quote_blob): Declare.
14613 * support/support_quote_blob.c: New file.
14614 * support/support_test_compare_blob.c: Likewise.
14615 * support/tst-support_quote_blob.c: Likewise.
14616 * support/tst-test_compare_blob.c: Likewise.
14617
9761bf4d
FW
146182018-05-16 Florian Weimer <fweimer@redhat.com>
14619
14620 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
14621 of <strtod_nan_double.h>.
14622 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
14623 instead of SET_MANTISSA.
14624 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
14625 of include <strtod_nan_float.h>.
14626 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
14627 instead of <strtod_nan_ldouble.h>.
14628 * stdlib/strtod_nan_double.h: Move to ...
14629 * sysdeps/generic/math-nan-payload-double.h: ... here.
14630 (FLOAT): Remove definition.
14631 (SET_MANTISSA): Rename to ...
14632 (SET_NAN_PAYLOAD): ... this.
14633 * stdlib/strtod_nan_float.h: Move to ...
14634 * sysdeps/generic/math-nan-payload-float.h: ... here.
14635 (FLOAT): Remove definition.
14636 (SET_MANTISSA): Rename to ...
14637 (SET_NAN_PAYLOAD): ... this.
14638 * sysdeps/generic/math-type-macros-double.h: Include
14639 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
14640 instead of <math-svid-compat.h>.
14641 * sysdeps/generic/math-type-macros-float.h: Include
14642 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
14643 instead of <math-svid-compat.h>.
14644 * sysdeps/generic/math-type-macros-float128.h: Include
14645 <math-nan-payload-float128.h>.
14646 * sysdeps/generic/math-type-macros-ldouble.h: Include
14647 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
14648 instead of <math-svid-compat.h>.
14649 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
14650 check for definition.
14651 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
14652 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
14653 Include <ieee754_float128.h>.
14654 (FLOAT): Remove definition.
14655 (SET_MANTISSA): Rename to ...
14656 (SET_NAN_PAYLOAD): ... this.
14657 * sysdeps/ieee754/float128/strtof128_nan.c: Include
14658 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
14659 Do not include <float128_private.h>.
14660 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
14661 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
14662 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
14663 (FLOAT): Remove definition.
14664 (SET_MANTISSA): Rename to ...
14665 (SET_NAN_PAYLOAD): ... this.
14666 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
14667 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
14668 (FLOAT): Remove definition.
14669 (SET_MANTISSA): Rename to ...
14670 (SET_NAN_PAYLOAD): ... this.
14671 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
14672 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
14673 (FLOAT): Remove definition.
14674 (SET_MANTISSA): Rename to ...
14675 (SET_NAN_PAYLOAD): ... this.
14676 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
14677 of "../stdlib/strtod_nan_double.h".
14678 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
14679 of "../stdlib/strtod_nan_float.h".
14680 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
14681 instead of "../stdlib/strtod_nan_ldouble.h".
14682 * manual/arith.texi (Parsing of Floats): Adjust comment.
14683
69a01461
JM
146842018-05-16 Joseph Myers <joseph@codesourcery.com>
14685
14686 * math/Makefile (libm-narrow-fns): Add mul.
14687 (libm-test-funcs-narrow): Likewise.
14688 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
14689 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
14690 * math/gen-auto-libm-tests.c (test_functions): Add mul.
14691 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
14692 (NARROW_MUL_ROUND_TO_ODD): Likewise.
14693 (NARROW_MUL_TRIVIAL): Likewise.
14694 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
14695 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
14696 macro.
14697 (__dmull): Likewise.
14698 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
14699 dmul.
14700 (CFLAGS-nldbl-dmul.c): New variable.
14701 (CFLAGS-nldbl-fmul.c): Likewise.
14702 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14703 __nldbl_dmull.
14704 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
14705 prototype.
14706 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
14707 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
14708 * math/auto-libm-test-in: Add tests of mul.
14709 * math/auto-libm-test-out-narrow-mul: New generated file.
14710 * math/libm-test-narrow-mul.inc: New file.
14711 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
14712 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
14713 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
14714 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
14715 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
14716 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
14717 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
14718 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
14719 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
14720 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
14721 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
14722 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
14723 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
14724 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
14725 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
14726 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
14727 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
14728 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
14729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14730 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14731 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14732 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14733 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14734 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14735 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14736 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14737 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14738 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14739 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14740 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14741 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14742 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14747 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14748 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14749 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14750 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14751 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14752 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14753 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14754 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14755
a15529fd
L
147562018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14757
14758 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
14759 with *%eax in call.
14760
98ee36c7
L
147612018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14762
14763 * sysdeps/i386/ldsodefs.h: Removed.
14764 * sysdeps/x86_64/ldsodefs.h: Moved to ...
14765 * sysdeps/x86/ldsodefs.h: This.
14766 (La_i86_regs): New.
14767 (La_i86_retval): Likewise.
14768 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
14769 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
14770
e322ec32
L
147712018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14772
14773 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
14774 unnecessary testl.
14775
0937e209
AM
147762018-05-13 Alan Modra <amodra@gmail.com>
14777
14778 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
14779 R_PARISC_TLS_DTPOFF32 reloc addend.
14780
5db7d705
TMQMF
147812018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14782
14783 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
14784 * math/math.h: Restrict the prototype definition for the functions
14785 issignaling(_Float128) and iszero(_Float128); and template
14786 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
14787 __HAVE_FLOAT128_UNLIKE_LDBL.
14788 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
14789 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
14790 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
14791 __f128() constants; define the type _Float128 as long double;
14792 and reuse long double in __CFLOAT128.
14793
b4d5b8b0
JM
147942018-05-11 Joseph Myers <joseph@codesourcery.com>
14795
14796 * sysdeps/generic/math_private.h: Do not include
14797 <math-barriers.h>.
14798 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
14799 <math_private.h>.
14800 * math/fromfp.h: Include <math-barriers.h>.
14801 * math/math-narrow.h: Likewise.
14802 * math/s_nextafter.c: Likewise.
14803 * math/s_nexttowardf.c: Likewise.
14804 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
14805 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
14806 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
14807 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
14808 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14809 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14810 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14811 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14812 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14813 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14814 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14815 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14816 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14817 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14818 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
14819 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14820 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14821 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14822 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14823 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14824 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14825 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14826 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14827 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14828 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14829 * sysdeps/ieee754/k_standardl.c: Likewise.
14830 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14831 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14832 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14833 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
14834 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14835 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14836 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14837 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14838 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14839 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14840 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14841 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14842 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14843 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14844 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14845 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14846 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
14847 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
14848 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14849 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14850 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
14851 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
14852
fc79706a
FW
148532018-05-11 Florian Weimer <fweimer@redhat.com>
14854
14855 Use 64-bit epoch values in the time zone file parser.
14856 * include/time.h (internal_time_t): Define.
14857 (__tzfile_compute): Use it.
14858 * time/tzfile.c (struct leap): Use internal_time_t for epoch
14859 member.
14860 (transitions): Switch to internal_time_t.
14861 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
14862 types.
14863 (__tzfile_compute): Use internal_time_t for timer argument. Check
14864 for truncation before calling __offtime.
14865
89aacb51
FW
148662018-05-11 Florian Weimer <fweimer@redhat.com>
14867
14868 [BZ #23166]
14869 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
14870 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
14871 Likewise.
14872 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
14873 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
14874 export without --enable-obsolete-rpc.
14875 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
14876 symbol. This should not have been exported, ever.
14877
bb066cb8
RL
148782018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
14879
14880 [BZ #23152]
14881 * localedata/locales/gd_GB (abmon): Fix typo in May:
14882 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
14883
70c97f84
SP
148842018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
14885
db725a45
SP
14886 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
14887 Use multiple registers to copy data in loop tail.
14888
70c97f84
SP
14889 * sysdeps/aarch64/multiarch/memmove_falkor.S
14890 (__memmove_falkor): Use multiple registers to move data in
14891 loop tail.
14892
8f5b00d3
JM
148932018-05-10 Joseph Myers <joseph@codesourcery.com>
14894
14895 * math/math-underflow.h: New file.
14896 * sysdeps/generic/math_private.h: Do not include <float.h>.
14897 (fabs_tg): Remove macro. Moved to math-underflow.h.
14898 (min_of_type_f): Likewise.
14899 (min_of_type_): Likewise.
14900 (min_of_type_l): Likewise.
14901 (min_of_type_f128): Likewise.
14902 (min_of_type): Likewise.
14903 (math_check_force_underflow): Likewise.
14904 (math_check_force_underflow_nonneg): Likewise.
14905 (math_check_force_underflow_complex): Likewise.
14906 * math/e_exp2_template.c: Include <math-underflow.h>.
14907 * math/k_casinh_template.c: Likewise.
14908 * math/s_catan_template.c: Likewise.
14909 * math/s_catanh_template.c: Likewise.
14910 * math/s_ccosh_template.c: Likewise.
14911 * math/s_cexp_template.c: Likewise.
14912 * math/s_clog10_template.c: Likewise.
14913 * math/s_clog_template.c: Likewise.
14914 * math/s_csin_template.c: Likewise.
14915 * math/s_csinh_template.c: Likewise.
14916 * math/s_csqrt_template.c: Likewise.
14917 * math/s_ctan_template.c: Likewise.
14918 * math/s_ctanh_template.c: Likewise.
14919 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14920 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14921 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14922 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14923 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14924 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14925 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14926 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14927 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14928 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14929 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14930 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14931 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14932 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14933 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14934 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14935 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14936 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14937 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14938 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14939 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14940 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14941 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14942 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14943 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14944 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14945 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14946 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14947 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14948 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14949 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14950 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14951 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14952 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14953 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14954 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14955 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14956 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14957 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14958 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14959 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14960 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14961 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14962 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14963 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14964 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14965 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14966 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14967 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14968 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14969 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14970 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14971 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14972 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
14973 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14974 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14975 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14976 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14977 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14978 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14979 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14980 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14981 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14982 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14983 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14984 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14985 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14986 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14987 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14988 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14989 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14990 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14991 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14992 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
14993 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14994 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14995 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14996 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14997 * sysdeps/x86/fpu/powl_helper.c: Likewise.
14998 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
14999 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
15000 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
15001 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
15002 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
15003
9ed2e15f
JM
150042018-05-09 Joseph Myers <joseph@codesourcery.com>
15005
15006 * sysdeps/generic/math-barriers.h: New file.
15007 * sysdeps/generic/math_private.h [!math_opt_barrier]
15008 (math_opt_barrier): Move to math-barriers.h.
15009 [!math_opt_barrier] (math_force_eval): Likewise.
15010 * sysdeps/aarch64/fpu/math-barriers.h: New file.
15011 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
15012 math-barriers.h.
15013 (math_force_eval): Likewise.
15014 * sysdeps/alpha/fpu/math-barriers.h: New file.
15015 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
15016 math-barriers.h.
15017 (math_force_eval): Likewise.
15018 * sysdeps/x86/fpu/math-barriers.h: New file.
15019 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
15020 math-barriers.h.
15021 (math_force_eval): Likewise.
15022 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
15023 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
15024 multiple-include guard for rename.
15025 * sysdeps/powerpc/fpu/math-barriers.h: New file.
15026 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
15027 math-barriers.h.
15028 (math_force_eval): Likewise.
15029
5460617d
PP
150302018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
15031
15032 [BZ #22786]
43d4f3d5 15033 CVE-2018-11236
5460617d
PP
15034 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
15035 computation.
15036 * stdlib/Makefile (test-bz22786): New test.
15037 * stdlib/test-bz22786.c: New test.
15038
aaee3cd8
JM
150392018-05-09 Joseph Myers <joseph@codesourcery.com>
15040
15041 * include/math-narrow-eval.h: New file. Contents moved from ....
15042 * sysdeps/generic/math_private.h: ... here.
15043 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
15044 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
15045 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
15046 * stdlib/strtod_l.c: Likewise.
15047 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
15048 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
15049 * sysdeps/i386/fpu/s_fdim.c: Likewise.
15050 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15051 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15052 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15053 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15054 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15055 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15056 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15057 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15058 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
15059 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15060 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15061 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15062 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15063 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15064 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15065 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15066 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15067 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15068 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15069 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15070 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15071 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
15072 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15073 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
15074 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
15075 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15076
0555c477
AS
150772018-05-08 Andreas Schwab <schwab@suse.de>
15078
15079 * sysdeps/nptl/internaltypes.h: Fix comment.
15080
50d7d351
L
150812018-05-07 H.J. Lu <hongjiu.lu@intel.com>
15082
15083 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15084 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
15085 hidden.
15086
543477f7
SP
150872018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
15088
15089 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
15090 of I into loop header.
15091 * benchtests/bench-memmove-walk.c
15092 (test_main): Likewise.
15093
150942018-05-07 Alexandre Oliva <oliva@gnu.org>
ffa81c22
AO
15095
15096 Revert:
15097 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
15098 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
15099
0065aaaa
PP
151002018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15101
15102 [BZ #20419]
15103 * elf/dl-load.c (open_verify): Fix stack overflow.
15104 * elf/Makefile (tst-big-note): New test.
15105 * elf/tst-big-note-lib.S: New.
15106 * elf/tst-big-note.c: New.
15107
b289cd9d
JM
151082018-05-04 Joseph Myers <joseph@codesourcery.com>
15109
15110 * scripts/abilist.awk: Ignore absolute symbols.
15111 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
15112 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
15113 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
15114 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
15115 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
15116 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
15117 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15118 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
15119 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
15120 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
15121 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
15122 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
15123 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
15124 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
15125 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
15126 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
15127 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
15128 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
15129 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15130 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
15131 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
15132 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
15133 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
15134 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
15135 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
15136 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
15137 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
15138 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
15139 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15140 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
15141 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
15142 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15143 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
15144 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
15145 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
15146 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
15147 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
15148 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
15149 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
15150 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
15151 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
15152 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15153 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
15154 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
15155 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15156 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
15157 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
15158 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
15159 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
15160 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
15161 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
15162 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
15163 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
15164 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
15165 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15166 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
15167 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
15168 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15169 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
15170 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
15171 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
15172 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
15173 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
15174 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
15175 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
15176 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
15177 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
15178 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15179 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
15180 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
15181 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15182 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
15183 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
15184 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
15185 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
15186 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
15187 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
15188 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
15189 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
15190 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
15191 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15192 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
15193 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
15194 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15195 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
15196 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
15197 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
15198 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
15199 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
15200 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
15201 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
15202 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15203 Likewise.
15204 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
15205 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15206 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
15207 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
15208 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15209 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
15210 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
15211 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
15212 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
15213 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
15214 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
15215 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
15216 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15217 Likewise.
15218 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
15219 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15220 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
15221 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
15222 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15223 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
15224 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
15225 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
15226 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
15227 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
15228 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
15229 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
15230 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
15231 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
15232 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15233 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
15234 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
15235 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15236 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
15237 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
15238 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
15239 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
15240 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
15241 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
15242 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15243 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
15244 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
15245 Likewise.
15246 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
15247 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
15248 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
15249 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
15250 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15251 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
15252 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
15253 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
15254 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
15255 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
15256 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
15257 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
15258 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
15259 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
15260 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
15261 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
15262 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
15263 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
15264 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15265 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
15266 Likewise.
15267 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
15268 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
15269 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
15270 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15271 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
15272 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
15273 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
15274 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
15275 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
15276 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
15277 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15278 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
15279 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
15280 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15281 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
15282 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
15283 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
15284 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
15285 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15286 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
15287 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
15288 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15289 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
15290 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
15291 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
15292 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
15293 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
15294 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
15295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
15296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
15298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
15299 Likewise.
15300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
15301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
15302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
15303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
15304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
15305 Likewise.
15306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
15307 Likewise.
15308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
15309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
15310 Likewise.
15311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
15312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15313 Likewise.
15314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15315 Likewise.
15316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
15317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
15318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
15319 Likewise.
15320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
15321 Likewise.
15322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
15323 Likewise.
15324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
15325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15328 Likewise.
15329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
15330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
15331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
15332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
15335 Likewise.
15336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
15337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15338 Likewise.
15339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15340 Likewise.
15341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
15342 Likewise.
15343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
15344 Likewise.
15345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
15346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
15347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
15348 Likewise.
15349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
15350 Likewise.
15351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
15352 Likewise.
15353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
15354 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
15355 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
15356 Likewise.
15357 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
15358 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15359 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
15360 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
15361 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15362 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
15363 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
15364 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
15365 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
15366 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
15367 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
15368 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
15369 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
15370 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
15371 Likewise.
15372 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15373 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
15374 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
15375 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15376 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
15377 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
15378 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
15379 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
15380 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
15381 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
15382 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
15383 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
15384 Likewise.
15385 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15386 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
15387 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
15388 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15389 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
15390 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
15391 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
15392 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
15393 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
15394 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
15395 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
15396 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
15397 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
15398 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15399 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
15400 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
15401 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15402 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
15403 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
15404 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
15405 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
15406 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
15407 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
15408 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
15409 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
15410 Likewise.
15411 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
15412 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15413 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
15414 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
15415 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15416 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
15417 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
15418 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
15419 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
15420 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
15421 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
15422 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
15423 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
15424 Likewise.
15425 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
15426 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15427 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
15428 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
15429 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15430 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
15431 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
15432 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
15433 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
15434 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
15435 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
15436 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
15437 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
15438 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
15439 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15440 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
15441 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
15442 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15443 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
15444 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
15445 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
15446 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
15447 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
15448 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
15449 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
15450 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
15451 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
15452 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
15453 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15454 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
15455 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
15456 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15457 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
15458 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
15459 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
15460 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
15461 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
15462 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
15463
16609018
SL
154642018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
15465
15466 [BZ #23137]
15467 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
15468 Use atomic_load_acquire to load __tid.
15469
556f5c46
L
154702018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15471
15472 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
15473 Restore the pointer into %rdx, after syscall and use %rdx,
15474 instead of %rsi, to restore context.
15475
8b8f32b2
L
154762018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15477
15478 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
15479 Pop the pointer into %rdx after syscall and use %rdx, instead
15480 of %rsi, to restore context.
15481
d6cc1829
L
154822018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15483
15484 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
15485 handlers after setjmp.
15486 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
15487 defined.
15488 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
15489 <libc-pointer-arith.h>.
15490 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
15491 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
15492 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
15493 _JUMP_BUF_SIGSET_BITS_PER_WORD.
15494 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
15495 * sysdeps/x86/__longjmp_cancel.S: New file.
15496 * sysdeps/x86/longjmp.c: Likewise.
15497 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
15498
cf2478d5
AZ
154992018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15500
15501 * NEWS: Add ustat.h deprecation entry.
15502 * bits/ustat.h: Remove file.
15503 * misc/sys/ustat.h: Likewise.
15504 * misc/ustat.h: Likewise.
15505 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
15506 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
15507 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
15508 compatibility mode.
15509 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
15510 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
15511 generic Linux implementation.
15512
dc115e1c
TMQMF
155132018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15514
15515 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
15516 * math/w_expl_compat.c: Likewise.
15517 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
15518
6b5c8607 155192018-04-30 Raymond Nicholson <rain1@airmail.cc>
340d9652
RN
15520
15521 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
15522
c57bf7c1
AZ
155232018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15524
15525 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
15526 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
15527 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
15528 Remove.
15529 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
15530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15531 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15532 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
15533 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
15534 and SYSCALL_LL64.
15535
06135c33
TMQMF
155362018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15537
33927914
TMQMF
15538 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
15539
06135c33
TMQMF
15540 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
15541 * math/w_asin_template.c: Likewise.
15542 * math/w_atanh_template.c: Likewise.
15543
3a33b069
GG
155442018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15545
15546 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
15547 to powerpc/powerpc64/be for big-endian.
15548 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
15549 little-endian.
15550
15551 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
15552 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
15553 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
15554 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
15555 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15556 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
15557 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
15558 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
15559 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
15560 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15561 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
15562 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
15563 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
15564 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
15565 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
15566 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
15567 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
15568 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
15569 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
15570 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
15571 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
15572 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15573 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
15574 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
15575 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
15576 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15577 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
15578 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
15579 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
15580 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
15581 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
15582 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
15583
15584 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
15585 adjusted to imply powerpc64 and older processors on powerpc64/be.
15586 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
15587 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
15588 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
15589 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
15590 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
15591 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
15592 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
15593 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
15594 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
15595 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
15596 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
15597 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
15598 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
15599 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
15600 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
15601 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
15602 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
15603 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
15604 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
15605 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
15606 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
15607 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
15608 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
15609 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
15610 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
15611 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
15612 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
15613 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
15614 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
15615 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
15616 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
15617
15618 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
15619 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
15620 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
15621 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
15622
15623 * sysdeps/powerpc/powerpc64/be/Implies: New file.
15624 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
15625 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
15626 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
15627
15628 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
15629 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
15630 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
15631 * sysdeps/powerpc/powerpc64le/configure: Likewise.
15632 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
15633 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
15634 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
15635 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
15636 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
15637 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
15638 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
15639
15640 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
15641 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
15642 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
15643 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
15644 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
15645 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
15646 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
15647 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
15648 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
15649 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
15650 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
15651
15652 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
15653 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
15654 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
15655 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
15656 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
15657 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
15658 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
15659 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
15660 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
15661 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
15662 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
15663 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
15664
15665 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
15666 and adjusted to imply olders processors.
15667 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
15668 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
15669 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
15670 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
15671 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
15672 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
15673 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
15674 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
15675 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
15676 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
15677 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
15678
15679 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
15680 powerpc64/le.
15681 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
15682 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
15683
15684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
15685 powerpc64le.
15686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
15687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
15688
15689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
15690 powerpc64/be.
15691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
15693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
15694
15695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
15696 powerpc64 and adjusted.
15697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
15698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
15699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
15700 Likewise.
15701
a3fb6b6b
JM
157022018-04-27 Joseph Myers <joseph@codesourcery.com>
15703
15704 * sysdeps/tile: Remove.
15705 * sysdeps/unix/sysv/linux/tile: Likewise.
15706 * README (tilegx-*-linux-gnu): Remove from list of supported
15707 configurations.
15708 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
15709 contribution of support for generic Linux kernel syscall
15710 interface.
15711 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
15712 tilegx configurations.
15713 (Config.install_linux_headers): Do not handle tile.
15714 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
15715 in comment.
15716 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
15717 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
15718 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
15719 conditional undefine and redefine.
15720 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
15721 in comment.
15722 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
15723 conditional undefine and redefine.
15724
7a6f7478
AJ
157252018-04-26 Aurelien Jarno <aurelien@aurel32.net>
15726
15727 * signal/tst-sigaction.c: New file to test BZ #23069.
15728 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
15729
81b49e96
TMQMF
157302018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15731
15732 [BZ #22766]
15733 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
15734 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
15735 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
15736 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
15737
7d80f48e
AZ
157382018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15739
15740 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
15741 _DIRENT_MATCHES_DIRENT64 is not defined.
15742 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
15743 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
15744 is defined.
15745 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
15746 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
15747
42a2bf58
JM
157482018-04-25 Joseph Myers <joseph@codesourcery.com>
15749
15750 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
15751 version to GCC 8 branch.
15752
9320ca88
JM
157532018-04-24 Joseph Myers <joseph@codesourcery.com>
15754
5e14bb97
JM
15755 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
15756 (check_no_hidden): Use type of original function when declaring
15757 alias.
15758
9320ca88
JM
15759 * sysdeps/unix/sysv/linux/sys/ptrace.h
15760 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
15761 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
15762 (struct __ptrace_seccomp_metadata): New type.
15763 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
15764 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15765 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
15766 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15767 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
15768 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15769 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
15770 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15771 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
15772 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15773 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
15774 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15775 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
15776 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15777 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
15778 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15779
af7e376b
AZ
157802018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15781
15782 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
15783 defined.
15784 * dirent/versionsort.c (versionsort): Likewise.
15785 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
15786 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
15787 * dirent/versionsort64.c (versionsort64): Likewise.
15788 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
15789 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
15790 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
15791 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
15792 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
15793 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
15794 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
15795 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
15796 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
15797 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
15798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
15799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
15800 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
15801 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
15802
da5e0361
JM
158032018-04-23 Joseph Myers <joseph@codesourcery.com>
15804
15805 * elf/elf.h (NT_PPC_PKEY): New macro.
15806
6b5c8607 158072018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
ea76691a
DSN
15808
15809 [BZ #23094]
15810 * localedata/locales/hr_HR: fix thousands_sep and
15811 mon_thousands_sep
15812
573963e3
JM
158132018-04-20 Joseph Myers <joseph@codesourcery.com>
15814
15815 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
15816 (XTABS): Define to TAB3.
15817
c0123b3b
AZ
158182018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15819
0900a849
AZ
15820 * sysdeps/hppa/fpu/libm-test-ulps: Update.
15821
c0123b3b
AZ
15822 * dirent/scandir-tail-common.c: New file.
15823 * dirent/scandir-tail.c: Use scandir-tail-common.c.
15824 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
15825 * dirent/scandir.c: Use scandir-tail-common.c.
15826 * dirent/scandirat.c: Likewise.
15827 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
15828 * dirent/scandir64.c (scandir64): Always build and alias to scandir
15829 if _DIRENT_MATCHES_DIRENT64 is defined.
15830 * dirent/scandirat64.c (scandirat64): Likewise.
15831 * include/dirent.h (__scandir_tail): Only define iff
15832 _DIRENT_MATCHES_DIRENT64 is not defined.
15833 (__scandir64_tail): Define regardless.
15834 (__scandirat, scandirat64): Remove libc_hidden_proto.
15835 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
15836 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
15837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
15838 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
15839 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15840 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
15841 * sysdeps/unix/sysv/linux/scandir64.c: New file.
15842
458b94f6
JM
158432018-04-20 Joseph Myers <joseph@codesourcery.com>
15844
15845 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
15846 New macro.
15847 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
15848 Increase to 24.
15849 (_dl_aarch64_cap_flags): Add asimdfhm.
15850
9f0437e8
CLT
158512018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
15852
15853 * sysdeps/nios2/libm-test-ulps: Update.
15854
298d0e31
AZ
158552018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15856
50511ca4
AZ
15857 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
15858 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
15859
298d0e31
AZ
15860 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
15861 requirements.
6b5c8607 15862 (_DIRENT_MATCHES_DIRENT64): Undef
298d0e31
AZ
15863 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
15864 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
15865 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
15866 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
15867 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
15868 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
15869 use getdents64 syscalls as base.
15870 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
15871 symbol if required.
15872 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
15873 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
15874 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
15875 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
15876 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
15877 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
15878 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
15879 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
15880 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15881 (__get_clockfreq_via_proc_openprom): Use __getdents64.
15882 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
15883
0085be14
SL
158842018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15885
15886 * scripts/test_printers_common.py (init_test): Disable lock elision.
15887
da796524
SL
158882018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15889
15890 * math/test-tgmath.c (count_double, count_float,
15891 count_ldouble, count_cdouble, count_cfloat,
15892 count_cldouble): Use volatile int.
15893
0dd25301
ST
158942018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
15895
15896 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
15897 (conformtest-xfail-conds): Add i386-gnu.
cbc256b1 15898 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
0dd25301
ST
15899 i386-gnu.
15900 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
15901 ipc_perm.cuid, ipc_perm.cgid): Likewise.
15902 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
15903 msqid_ds.msg_lrpid): Likewise.
15904 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
15905 Likewise.
15906 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
15907 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9d9f8f03
ST
15908 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
15909 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
15910 unsigned int.
15911 (struct statvfs64): Likewise.
f55a4fde
ST
15912 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
15913 Likewise.
77b93390
ST
15914 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
15915 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
15916 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
15917 instead of wait_queue.
15918 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
15919 instead of vm_area_struct.
5cd2931a
ST
15920 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
15921 struct sched_param definition to it.
e60c3f2b
ST
15922 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15923 * bits/types/struct_sched_param.h: New file.
15924 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
15925 <bits/types/struct_sched_param.h> instead of <sched.h>.
15926 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5cd2931a
ST
15927 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
15928 generic version but include <bits/pthreadtypes.h> to make struct
15929 sigevent's sigev_notify_attributes field a pthread_attr_t*.
ed370924
ST
15930 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
15931 non-compliant.
a564872d
ST
15932 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
15933 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
15934 [__USE_XOPEN] (OFDEL): New macro.
15935 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
a279b8ed 15936 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5dbfe13b
ST
15937 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
15938 prototypes.
15939 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
15940 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
81b032c8
ST
15941 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
15942 non-compliant.
15943 * sysdeps/i386/sys/ucontext.h: Likewise.
15944 * sysdeps/m68k/sys/ucontext.h: Likewise.
15945 * sysdeps/mips/sys/ucontext.h: Likewise.
15946 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
f00b62ec
ST
15947 * sysdeps/mach/hurd/i386/Makefile
15948 (test-xfail-POSIX/fcntl.h/conform): Add.
15949 (test-xfail-POSIX/signal.h/conform): Add.
15950 (test-xfail-POSIX/semaphore.h/conform): Add.
15951 (test-xfail-POSIX/regex.h/conform): Add.
15952 (test-xfail-POSIX/aio.h/conform): Add.
15953 (test-xfail-POSIX/mqueue.h/conform): Add.
15954 (test-xfail-POSIX/sys/types.h/conform): Add.
15955 (test-xfail-UNIX98/fcntl.h/conform): Add.
15956 (test-xfail-UNIX98/netdb.h/conform): Add.
15957 (test-xfail-UNIX98/signal.h/conform): Add.
15958 (test-xfail-UNIX98/semaphore.h/conform): Add.
15959 (test-xfail-UNIX98/regex.h/conform): Add.
15960 (test-xfail-UNIX98/aio.h/conform): Add.
15961 (test-xfail-UNIX98/ftw.h/conform): Add.
15962 (test-xfail-UNIX98/mqueue.h/conform): Add.
15963 (test-xfail-UNIX98/netinet/in.h/conform): Add.
15964 (test-xfail-UNIX98/sys/wait.h/conform): Add.
15965 (test-xfail-UNIX98/sys/sem.h/conform): Add.
15966 (test-xfail-UNIX98/sys/uio.h/conform): Add.
15967 (test-xfail-UNIX98/sys/socket.h/conform): Add.
15968 (test-xfail-UNIX98/sys/types.h/conform): Add.
15969 (test-xfail-UNIX98/stdlib.h/conform): Add.
15970 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
15971 (test-xfail-POSIX2008/fcntl.h/conform): Add.
15972 (test-xfail-POSIX2008/netdb.h/conform): Add.
15973 (test-xfail-POSIX2008/signal.h/conform): Add.
15974 (test-xfail-POSIX2008/semaphore.h/conform): Add.
15975 (test-xfail-POSIX2008/regex.h/conform): Add.
15976 (test-xfail-POSIX2008/aio.h/conform): Add.
15977 (test-xfail-POSIX2008/mqueue.h/conform): Add.
15978 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
15979 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
15980 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
15981 (test-xfail-POSIX2008/sys/types.h/conform): Add.
15982 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
15983 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
15984 (test-xfail-XOPEN2K/netdb.h/conform): Add.
15985 (test-xfail-XOPEN2K/signal.h/conform): Add.
15986 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
15987 (test-xfail-XOPEN2K/regex.h/conform): Add.
15988 (test-xfail-XOPEN2K/aio.h/conform): Add.
15989 (test-xfail-XOPEN2K/ftw.h/conform): Add.
15990 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
15991 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
15992 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
15993 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
15994 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
15995 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
15996 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
15997 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
15998 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
15999 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
16000 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
16001 (test-xfail-XOPEN2K8/signal.h/conform): Add.
16002 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
16003 (test-xfail-XOPEN2K8/regex.h/conform): Add.
16004 (test-xfail-XOPEN2K8/aio.h/conform): Add.
16005 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
16006 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
16007 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
16008 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
16009 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
16010 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
16011 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
16012 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
16013 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
16014 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
cbc256b1
ST
16015 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
16016 i386-gnu.
16017 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
16018 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
0dd25301 16019
d6397de3
JM
160202018-04-18 Joseph Myers <joseph@codesourcery.com>
16021
16022 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
16023 --enable-obsolete for powerpc-linux-gnuspe.
16024
8323a902
ST
160252018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16026
3dc0814c 16027 * conform/data/sys/un.h-data: Allow sun_ prefix.
c5896a45 16028 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
d4379e02 16029 prototypes.
c5896a45
ST
16030 * sysdeps/mach/include/mach.h: Likewise.
16031 * sysdeps/mach/include/mach/mig_support.h: Likewise.
16032 * sysdeps/mach/include/mach_error.h: Likewise.
8323a902 16033
743b9c2a
AZ
160342018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16035
16036 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
16037 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
16038 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
16039 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
16040
326e74e7
AS
160412018-04-16 Andreas Schwab <schwab@suse.de>
16042
16043 [BZ #19527]
16044 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
16045
6b5c8607 160462018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
a14d8acd
PM
16047
16048 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
16049 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
16050
a700e7cb
DD
160512018-04-12 DJ Delorie <dj@redhat.com>
16052
16053 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16054 version to 4.16.
16055
d8abfab7
SL
160562018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
16057
16058 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
16059 (struct kernel_sigaction): Use the same definition on 31bit as is used
16060 on 64bit.
16061
583a27d5
FW
160622018-04-09 Florian Weimer <fweimer@redhat.com>
16063
16064 [BZ #23037]
16065 * resolv/res_send.c (send_dg): Use designated initializers instead
16066 of assignment to zero-initialize other fields of struct mmsghdr.
16067
243f59e5
AZ
160682018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16069
942de61a
AZ
16070 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
16071 __READDIR_ALIAS): Undefine after usage.
16072 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
16073 __READDIR_R_ALIAS): Likewise.
16074 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
16075 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
16076 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
16077 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
16078 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
16079 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
16080 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16081 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16082 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
16083 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
16084 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
16085 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
16086 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16087 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
16088 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
16089 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
16090 * sysdeps/unix/sysv/linux/readdir.c: New file.
16091 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
16092 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
16093 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
16094
243f59e5
AZ
16095 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
16096
690c3475
AS
160972018-04-06 Andreas Schwab <schwab@linux-m68k.org>
16098
16099 * manual/charset.texi (Converting a Character): Fix typo.
16100
6b5c8607 161012018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
b4a5d26d 16102
bbc2062a
AZ
16103 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16104
fa7c6199
AZ
16105 * sysdeps/arm/libm-test-ulps: Update.
16106
b4a5d26d
AZ
16107 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
16108 as base implementation.
16109 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16110 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16111 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16112 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16113 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16114 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
16115 remove unrequired definitions and update comments.
16116 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
16117 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
16118 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
16119 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
16120 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
16121 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
16122 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
16123 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
16124 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
16125 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
16126 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
16127 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16128 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
16129 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
16130 and RESET_SA_RESTORER hooks.
16131
db9e55ff
SL
161322018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
16133
16134 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16135
cf138b0c
FW
161362018-04-05 Florian Weimer <fweimer@redhat.com>
16137
16138 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
16139 integer overflow, memory leak on error, and indeterminate errno
16140 value. Add a null wide character to terminate the result string.
16141 * manual/charset.texi (Converting a Character): Mention embedded
16142 null bytes in the mbrtowc input string. Explain what happens in
16143 the -2 result case. Do not claim that mbrtowc is simple or
16144 obvious to use. Adjust the description of the code example. Use
16145 @code, not @var, for concrete variables.
16146
0f339252
FW
161472018-04-05 Florian Weimer <fweimer@redhat.com>
16148
16149 * manual/examples/mbstouwcs.c: New file.
16150 * manual/charset.texi (Converting a Character): Include it.
16151
e5f9508a
ST
161522018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16153
c120981d
ST
16154 * include/dirent.h (dirfd): Add hidden proto.
16155 * dirent/dirfd.c (dirfd): Add hidden def.
16156 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
16157 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
e5f9508a 16158
b2fd61ca
TMQMF
161592018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16160
16161 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
16162 sin, cos and sincos to 1 ULP.
16163
10a446dd
MR
161642018-04-04 Maciej W. Rozycki <macro@mips.com>
16165
e7feec37
MR
16166 [BZ #19818]
16167 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
16168 symbols.
16169 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
16170 * elf/tst-absolute-sym.c: New file.
16171 * elf/tst-absolute-sym-lib.c: New file.
16172 * elf/tst-absolute-sym-lib.lds: New file.
16173 * elf/Makefile (tests): Add `tst-absolute-sym'.
16174 (modules-names): Add `tst-absolute-sym-lib'.
16175 (LDLIBS-tst-absolute-sym-lib.so): New variable.
16176 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
16177 ($(objpfx)tst-absolute-sym): New dependency.
16178
10a446dd
MR
16179 [BZ #19818]
16180 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
16181 parameter.
16182 (SYMBOL_ADDRESS): New macro.
16183 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
16184 SYMBOL_ADDRESS for symbol address calculation.
16185 * elf/dl-runtime.c (_dl_fixup): Likewise.
16186 (_dl_profile_fixup): Likewise.
16187 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
16188 * elf/rtld.c (dl_main): Likewise.
16189 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
16190 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
16191 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
16192 (elf_machine_rela): Likewise.
16193 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
16194 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
16195 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16196 (elf_machine_rela): Likewise.
16197 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16198 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
16199 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
16200 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
16201 Likewise.
16202 (elf_machine_reloc): Likewise.
16203 (elf_machine_got_rel): Likewise.
16204 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
16205 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
16206 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16207 Likewise.
16208 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16209 Likewise.
16210 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
16211 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16212 Likewise.
16213 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16214 Likewise.
16215 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16216 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16217 Likewise.
16218 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16219 Likewise.
16220 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
16221 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16222
9185f86d
ZW
162232018-04-04 Zack Weinberg <zackw@panix.com>
16224
16225 * sysdeps/generic/internal-signals.h: Include signal.h,
16226 sigsetops.h, and stdbool.h.
16227 (__libc_signal_block_all): Actually block all signals.
16228 (__libc_signal_block_app): Likewise.
16229 (__libc_signal_restore_set): Actually restore the signal mask.
16230
b07367bc
FW
162312018-04-04 Florian Weimer <fweimer@redhat.com>
16232
16233 inet: Actually build and run tst-deadline.
16234 * inet/Makefile (tests-internal): Add tst-deadline and do not
16235 overwrite the variable.
16236 (tests-static-internal): Remove variable.
16237
f2652643
L
162382018-04-03 H.J. Lu <hongjiu.lu@intel.com>
16239
16240 [BZ #22947]
16241 * bits/uio-ext.h (RWF_APPEND): New.
16242 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
16243 * manual/llio.texi: Document RWF_APPEND.
16244 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
16245 (RWF_SUPPORTED): Add RWF_APPEND.
16246
6b5c8607 162472018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
d2dc5467
AZ
16248
16249 [BZ #22391]
16250 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
16251 check for internal nptl signals.
16252 * nptl/sigaction.c (__sigaction): Likewise.
16253 * signal/sigaddset.c (sigaddset): Likewise.
16254 * signal/sigdelset.c (sigdelset): Likewise.
16255 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
16256 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
16257 value.
16258 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
16259 to filter out internal nptl signals.
16260 * signal/tst-sigset.c (do_test): Check ech signal indidually and
16261 also check realtime signals using standard macros.
16262 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
16263 __is_internal_signal, __libc_signal_block_all,
16264 __libc_signal_block_app, __libc_signal_restore_set): New functions.
16265 * sysdeps/nptl/sigfillset.c: Remove file.
16266 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
16267 Change return to bool.
16268 (__clear_internal_signals): Remove SIGTIMER clean since it is
16269 equal to SIGCANEL on Linux.
16270 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
16271 signal set was constructed using standard functions.
16272
511ed56f
ST
162732018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16274
92846492
ST
16275 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
16276 ifname is too long.
e8ef51b1
ST
16277 * hurd/hurdsig.c (interrupted_reply_port_location): Use
16278 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
ff297b70
ST
16279 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
16280 hidden def.
16281 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
d8440a21
ST
16282 * signal/sigaddset.c: Include <sigsetopts.h>.
16283 * signal/sigdelset.c: Likewise.
511ed56f 16284
e88ecbbf
WD
162852018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16286
16287 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
16288 (__cos): Likewise.
16289 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
16290 logic as sin and cos.
16291
aef3e255
WD
162922018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16293
16294 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
16295 inputs. Return correct sign.
16296 (do_sincos): Remove small input check before do_sin, let do_sin set
16297 the sign.
16298 (__sin): Likewise.
16299 (__cos): Likewise.
16300
72f6e9a3
WD
163012018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16302
16303 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
16304 (do_cos_slow): Likewise.
16305 (do_sin_slow): Likewise.
16306 (reduce_and_compute): Likewise.
16307 (slow): Likewise.
16308 (slow1): Likewise.
16309 (slow2): Likewise.
16310 (sloww): Likewise.
16311 (sloww1): Likewise.
16312 (sloww2): Likewise.
16313 (bslow): Likewise.
16314 (bslow1): Likewise.
16315 (bslow2): Likewise.
16316 (cslow2): Likewise.
16317
64909583
WD
163182018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16319
16320 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
16321 (do_cos): Remove corp parameter and calculations.
16322 (do_sin): Likewise.
16323 (do_sincos): Remove cor variable.
16324 (__sin): Use do_sincos for huge inputs.
16325 (__cos): Likewise.
16326 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
16327 (reduce_and_compute_sincos): Remove unused function.
16328
d9469deb
WD
163292018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16330
16331 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
16332 reduce_sincos, improve accuracy to 136 bits.
16333 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
16334 (__sin): Use improved reduction and simplified do_sincos calculation.
16335 (__cos): Likewise.
16336 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
16337
7a5640f2
WD
163382018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16339
16340 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
16341 (do_sincos_2): Likewise.
16342 (__sin): Remove middle range reduction case.
16343 (__cos): Likewise.
16344 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
16345 reduction case.
16346
19a8b9a3
WD
163472018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16348
16349 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
16350 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
16351 inputs.
16352 (__cos): Likewise.
16353 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
16354
f72aa11d
JM
163552018-04-03 Joseph Myers <joseph@codesourcery.com>
16356
16357 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19a8b9a3 16358 version to 4.16
f72aa11d 16359
8e4754ed
AZ
163602018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16361
16362 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
16363 Remove definitions.
16364 (opendir_oflags): Use O_DIRECTORY regardless.
16365 (__opendir, __opendirat): Remove need_isdir_precheck usage.
16366 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
16367
8e2666ea
ST
163682018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16369
16370 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
16371 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
16372 macros.
16373 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
16374 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
16375 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
16376 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
deed72f6
ST
16377 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
16378 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
8e2666ea 16379
ad2b41bf
ST
16380 * htl/Makefile: Bump licence to LGPL 2.1+.
16381 * htl/alloca_cutoff.c: Likewise.
16382 * htl/cthreads-compat.c: Likewise.
16383 * htl/lockfile.c: Likewise.
16384 * htl/pt-alloc.c: Likewise.
16385 * htl/pt-cancel.c: Likewise.
16386 * htl/pt-cleanup.c: Likewise.
16387 * htl/pt-create.c: Likewise.
16388 * htl/pt-dealloc.c: Likewise.
16389 * htl/pt-detach.c: Likewise.
16390 * htl/pt-exit.c: Likewise.
16391 * htl/pt-getattr.c: Likewise.
16392 * htl/pt-initialize.c: Likewise.
16393 * htl/pt-internal.h: Likewise.
16394 * htl/pt-join.c: Likewise.
16395 * htl/pt-self.c: Likewise.
16396 * htl/pt-setcancelstate.c: Likewise.
16397 * htl/pt-setcanceltype.c: Likewise.
16398 * htl/pt-sigmask.c: Likewise.
16399 * htl/pt-spin-inlines.c: Likewise.
16400 * htl/pt-testcancel.c: Likewise.
16401 * htl/pt-yield.c: Likewise.
16402 * htl/tests/test-1.c: Likewise.
16403 * htl/tests/test-10.c: Likewise.
16404 * htl/tests/test-11.c: Likewise.
16405 * htl/tests/test-12.c: Likewise.
16406 * htl/tests/test-13.c: Likewise.
16407 * htl/tests/test-14.c: Likewise.
16408 * htl/tests/test-15.c: Likewise.
16409 * htl/tests/test-16.c: Likewise.
16410 * htl/tests/test-17.c: Likewise.
16411 * htl/tests/test-2.c: Likewise.
16412 * htl/tests/test-3.c: Likewise.
16413 * htl/tests/test-4.c: Likewise.
16414 * htl/tests/test-5.c: Likewise.
16415 * htl/tests/test-6.c: Likewise.
16416 * htl/tests/test-7.c: Likewise.
16417 * htl/tests/test-8.c: Likewise.
16418 * htl/tests/test-9.c: Likewise.
16419 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
16420 * sysdeps/htl/bits/cancelation.h: Likewise.
16421 * sysdeps/htl/bits/pthread-np.h: Likewise.
16422 * sysdeps/htl/bits/pthread.h: Likewise.
16423 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
16424 * sysdeps/htl/bits/semaphore.h: Likewise.
16425 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
16426 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
16427 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
16428 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
16429 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
16430 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
16431 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
16432 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
16433 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
16434 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
16435 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
16436 * sysdeps/htl/old_pt-atfork.c: Likewise.
16437 * sysdeps/htl/pt-atfork.c: Likewise.
16438 * sysdeps/htl/pt-attr-destroy.c: Likewise.
16439 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
16440 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
16441 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
16442 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
16443 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
16444 * sysdeps/htl/pt-attr-getscope.c: Likewise.
16445 * sysdeps/htl/pt-attr-getstack.c: Likewise.
16446 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
16447 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
16448 * sysdeps/htl/pt-attr-init.c: Likewise.
16449 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
16450 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
16451 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
16452 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
16453 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
16454 * sysdeps/htl/pt-attr-setscope.c: Likewise.
16455 * sysdeps/htl/pt-attr-setstack.c: Likewise.
16456 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
16457 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
16458 * sysdeps/htl/pt-attr.c: Likewise.
16459 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
16460 * sysdeps/htl/pt-barrier-init.c: Likewise.
16461 * sysdeps/htl/pt-barrier-wait.c: Likewise.
16462 * sysdeps/htl/pt-barrier.c: Likewise.
16463 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
16464 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
16465 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
16466 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
16467 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
16468 * sysdeps/htl/pt-cond-destroy.c: Likewise.
16469 * sysdeps/htl/pt-cond-init.c: Likewise.
16470 * sysdeps/htl/pt-cond-signal.c: Likewise.
16471 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
16472 * sysdeps/htl/pt-cond-wait.c: Likewise.
16473 * sysdeps/htl/pt-cond.c: Likewise.
16474 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
16475 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
16476 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
16477 * sysdeps/htl/pt-condattr-init.c: Likewise.
16478 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
16479 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
16480 * sysdeps/htl/pt-destroy-specific.c: Likewise.
16481 * sysdeps/htl/pt-equal.c: Likewise.
16482 * sysdeps/htl/pt-getconcurrency.c: Likewise.
16483 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
16484 * sysdeps/htl/pt-getschedparam.c: Likewise.
16485 * sysdeps/htl/pt-getspecific.c: Likewise.
16486 * sysdeps/htl/pt-init-specific.c: Likewise.
16487 * sysdeps/htl/pt-key-create.c: Likewise.
16488 * sysdeps/htl/pt-key-delete.c: Likewise.
16489 * sysdeps/htl/pt-key.h: Likewise.
16490 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
16491 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
16492 * sysdeps/htl/pt-mutex-init.c: Likewise.
16493 * sysdeps/htl/pt-mutex-lock.c: Likewise.
16494 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
16495 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
16496 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
16497 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
16498 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
16499 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
16500 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
16501 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
16502 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
16503 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
16504 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
16505 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
16506 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
16507 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
16508 * sysdeps/htl/pt-mutexattr.c: Likewise.
16509 * sysdeps/htl/pt-once.c: Likewise.
16510 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
16511 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
16512 * sysdeps/htl/pt-rwlock-init.c: Likewise.
16513 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
16514 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
16515 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
16516 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
16517 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
16518 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
16519 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
16520 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
16521 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
16522 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
16523 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
16524 * sysdeps/htl/pt-setconcurrency.c: Likewise.
16525 * sysdeps/htl/pt-setschedparam.c: Likewise.
16526 * sysdeps/htl/pt-setschedprio.c: Likewise.
16527 * sysdeps/htl/pt-setspecific.c: Likewise.
16528 * sysdeps/htl/pt-spin.c: Likewise.
16529 * sysdeps/htl/pt-startup.c: Likewise.
16530 * sysdeps/htl/pthread.h: Likewise.
16531 * sysdeps/htl/sem-close.c: Likewise.
16532 * sysdeps/htl/sem-destroy.c: Likewise.
16533 * sysdeps/htl/sem-getvalue.c: Likewise.
16534 * sysdeps/htl/sem-init.c: Likewise.
16535 * sysdeps/htl/sem-open.c: Likewise.
16536 * sysdeps/htl/sem-post.c: Likewise.
16537 * sysdeps/htl/sem-timedwait.c: Likewise.
16538 * sysdeps/htl/sem-trywait.c: Likewise.
16539 * sysdeps/htl/sem-unlink.c: Likewise.
16540 * sysdeps/htl/sem-wait.c: Likewise.
16541 * sysdeps/hurd/htl/pt-kill.c: Likewise.
16542 * sysdeps/i386/htl/pt-machdep.h: Likewise.
16543 * sysdeps/mach/htl/pt-block.c: Likewise.
16544 * sysdeps/mach/htl/pt-spin.c: Likewise.
16545 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
16546 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
16547 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
16548 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
16549 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
16550 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
16551 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
16552 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
16553 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
16554 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
16555 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
16556 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
16557 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
16558 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
16559 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
16560 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
16561 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
16562 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
16563 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
16564 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
16565 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
16566 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
16567 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
16568 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
16569 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
16570 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
16571 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
16572 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
16573 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
16574 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
16575 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
16576 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
16577 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
16578 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
16579 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
16580 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
16581 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
16582 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
16583 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
16584 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
16585 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
16586 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
16587 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
16588
fb03b04b
ST
16589 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
16590 * README: Remove the mention of out-of-tree patches needed for
16591 GNU/Hurd.
16592
fa9e1555
ST
16593 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
16594 (UTIME_NOW, UTIME_OMIT): Define macros.
16595
f6fb29d2
ST
16596 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
16597 instead of pthread_detach.
16598 (__cthread_fork): Call __pthread_create instead of pthread_create.
16599 (__cthread_keycreate): Call __pthread_key_create instead of
16600 pthread_key_create.
16601 (__cthread_getspecific): Call __pthread_getspecific instead of
16602 pthread_getspecific.
16603 (__cthread_setspecific): Call __pthread_setspecific instead of
16604 pthread_setspecific.
16605 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
16606 __pthread_mutex_unlock instead of pthread_mutex_lock and
16607 pthread_mutex_unlock.
16608 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
16609 ___pthread_get_cleanup_stack.
16610 (__pthread_get_cleanup_stack): New strong alias.
16611 * htl/pt-create.c: Include <pthreadP.h>.
16612 (entry_point): Call __pthread_exit instead of pthread_exit.
16613 (pthread_create): Rename to __pthread_create.
16614 (pthread_create): New strong alias.
16615 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
16616 (pthread_detach): New strong alias.
16617 (__pthread_detach): Call __pthread_cond_broadcast instead of
16618 pthread_cond_broadcast.
fe9748cc
ST
16619 * htl/pt-exit.c: Include <pthreadP.h>.
16620 (__pthread_exit): Call __pthread_setcancelstate and
16621 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
16622 __pthread_get_cleanup_stack.
f6fb29d2
ST
16623 * htl/pt-testcancel.c: Include <pthreadP.h>.
16624 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
16625 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
16626 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
16627 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
16628 pthread_attr_getstacksize.
16629 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
16630 Rename to __pthread_attr_getstackaddr.
16631 (pthread_attr_getstackaddr): New strong alias.
16632 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
16633 Rename to __pthread_attr_getstacksize.
16634 (pthread_attr_getstacksize): New strong alias.
16635 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
16636 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
16637 (pthread_attr_setstack): New strong alias.
16638 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
16639 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
16640 pthread_attr_getstacksize, pthread_attr_setstacksize and
16641 pthread_attr_setstackaddr.
16642 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
16643 Rename to __pthread_attr_setstackaddr.
16644 (pthread_attr_setstackaddr): New strong alias.
16645 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
16646 Rename to __pthread_attr_setstacksize.
16647 (pthread_attr_setstacksize): New strong alias.
16648 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
16649 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
16650 pthread_exit.
16651 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
16652 (__pthread_key_create): New hidden def.
16653 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
16654 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
16655 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
16656 __pthread_exit, __pthread_key_create, __pthread_getspecific,
16657 __pthread_setspecific, __pthread_setcancelstate,
16658 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
16659 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
16660 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
16661 declarations.
16662 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
16663 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
16664 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
16665 (pthread_attr_setstackaddr): New strong alias.
16666 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
16667 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
16668 (pthread_attr_setstacksize): New strong alias.
16669 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
16670 (call_exit): Call __pthread_exit instead of pthread_exit.
16671 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
16672 (_pthread_mutex_init): New hidden definition.
16673 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
16674 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
16675 instead of pthread_attr_init and pthread_attr_setstack.
16676
dba2bdbe
ST
16677 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
16678 __vm_deallocate instead of vm_allocate and vm_deallocate.
16679 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
16680 setenv.
16681 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
16682 of geteuid.
16683 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
16684 strdup.
16685 * hurd/siginfo.c: Include <libioP.h>.
16686 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
16687 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
16688 munmap.
dba2bdbe
ST
16689 * mach/devstream.c: Include <libioP.h>.
16690 (dealloc_ref): Call __mach_port_deallocate instead of
16691 mach_port_deallocate.
16692 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
16693 Call __mach_port_deallocate instead of mach_port_deallocate.
16694 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
16695 pathconf.
16696 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
16697 munmap.
16698 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
16699 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
16700 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
16701 of munmap.
16702 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
16703 of close.
16704 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
16705 instead of sysconf.
16706 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
16707 __clock_gettime instead of clock_gettime.
16708 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
16709 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
16710 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
16711 * sysdeps/unix/bsd/stty.c (stty): Likewise.
16712 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
16713 tcgetattr.
16714 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
16715 __clock_gettime and __nanosleep instead of clock_gettime and
16716 nanosleep.
7a8f45e3
ST
16717 * hurd/catch-signal.c (hurd_catch_signal): Rename to
16718 __hurd_catch_signal.
16719 (hurd_catch_signal): New strong alias.
16720 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
16721 __hurd_catch_signal instead of hurd_catch_signal.
16722 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
16723 * hurd/hurdexec.c (_hurd_init): Add hidden def.
16724 * hurd/hurdinit.c (_hurd_init): Add hidden def.
16725 * hurd/hurdsig.c: Include <mach/mig_support.h>.
16726 (_hurd_thread_sigstate): Add hidden def.
16727 (_hurd_internal_post_signal): Use __mutex_unlock instead of
16728 mutex_unlock.
16729 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
16730 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
16731 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
16732 __hurd_file_name_path_lookup.
16733 (hurd_file_name_path_lookup): New strong alias.
16734 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
16735 hurd_file_name_path_lookup.
16736 * mach/errstring.c (mach_error_type): Add hidden def.
16737 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
16738 * mach/mutex-init.c (__mutex_init): Add hidden def.
16739 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
16740 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
16741 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
16742 * sysdeps/mach/hurd/getcwd.c
16743 (_hurd_canonicalize_directory_name_internal): Rename to
16744 __hurd_canonicalize_directory_name_internal.
16745 (_hurd_canonicalize_directory_name_internal): New strong alias.
16746 (__canonicalize_directory_name_internal, __getcwd): Call
16747 __hurd_canonicalize_directory_name_internal instead of
16748 _hurd_canonicalize_directory_name_internal.
16749 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
16750 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
16751 hidden defs.
16752 * sysdeps/hurd/include/hurd.h: New file.
16753 * sysdeps/hurd/include/hurd/fd.h: New file.
16754 * sysdeps/hurd/include/hurd/signal.h: New file.
16755 * sysdeps/mach/include/lock-intern.h: New file.
16756 * sysdeps/mach/include/mach.h: New file.
16757 * sysdeps/mach/include/mach/mig_support.h: New file.
16758 * sysdeps/mach/include/mach_error.h: New file.
a758c293
ST
16759 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
16760 prototype.
16761 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
16762 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
16763 _HEADER_H_HIDDEN_DEF macro.
16764 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
16765 _hurd_fd_error_signal): Add hidden prototype.
16766 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
16767 hidden def.
82dbf555
ST
16768 * libio/iolibio.h (_IO_puts): New hidden prototype.
16769 * libio/ioputs.c (_IO_puts): New hidden def.
171488a2
ST
16770 * sysdeps/mach/hurd/localplt.data: New file.
16771
33574c17 167722018-04-02 Agustina Arzille <avarzille@riseup.net>
b39d961c
TS
16773 Amos Jeffries <squid3@treenet.co.nz>
16774 David Michael <fedora.dm0@gmail.com>
16775 Marco Gerards <marco@gnu.org>
16776 Marcus Brinkmann <marcus@gnu.org>
16777 Neal H. Walfield <neal@gnu.org>
16778 Pino Toscano <toscano.pino@tiscali.it>
16779 Richard Braun <rbraun@sceen.net>
16780 Roland McGrath <roland@gnu.org>
16781 Samuel Thibault <samuel.thibault@ens-lyon.org>
16782 Thomas DiModica <ricinwich@yahoo.com>
16783 Thomas Schwinge <tschwinge@gnu.org>
33574c17
ST
16784
16785 * htl: New directory.
16786 * sysdeps/htl: New directory.
16787 * sysdeps/hurd/htl: New directory.
16788 * sysdeps/i386/htl: New directory.
16789 * sysdeps/mach/htl: New directory.
16790 * sysdeps/mach/hurd/htl: New directory.
16791 * sysdeps/mach/hurd/i386/htl: New directory.
16792 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
16793 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
16794 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
16795
03e2aa50
ST
167962018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16797
16798 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
16799 signals in thread created for runing timers.
16800
1aa52ced
FW
168012018-04-01 Florian Weimer <fweimer@redhat.com>
16802
16803 * support/support_format_addrinfo.c (support_format_addrinfo):
16804 Include unknown error number in formatted result.
16805
4d76d3e5
FW
168062018-03-29 Florian Weimer <fweimer@redhat.com>
16807
16808 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
16809 capture SIGBUS.
16810
d39c0a45
AZ
168112018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16812
16813 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
16814 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
16815 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16816 (__ASSUME_CLONE_BACKWARDS): Define.
16817
cc8a1620
JH
168182018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
16819
57408435 16820 [BZ #23024]
cc8a1620
JH
16821 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
16822 early when linux sentinel value is set.
16823
8bfd94d0
ST
168242018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16825
16826 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
16827
f178e59f
AS
168282018-03-27 Andreas Schwab <schwab@suse.de>
16829
16830 [BZ #23005]
16831 * resolv/res_send.c (__res_context_send): Return ENOMEM if
16832 allocation of private copy of nsaddr_list fails.
16833
5f45f96a
JM
168342018-03-26 Joseph Myers <joseph@codesourcery.com>
16835
16836 [BZ #16552]
16837 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
16838 * sysdeps/unix/sysv/linux/umount.c: ... here.
16839 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
16840 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
16841 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
16842 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
16843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
16844 * sysdeps/unix/sysv/linux/umount.S: Likewise.
16845 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
16846
3dfd23eb
AS
168472018-03-26 Andreas Schwab <schwab@suse.de>
16848
16849 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
16850 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
16851 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
16852 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
16853 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
16854 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
16855 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
16856 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
16857 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
16858 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
16859 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
16860 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
16861 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
16862 (R_RISCV_NUM): Define.
16863
fa97d2ab
ST
168642018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16865
16866 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
16867 TLS declaration of errno.
37be82a0
ST
16868 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
16869 __libc_setup_tls.
16870 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
16871 (ARCH_SETUP_TLS): Likewise.
16872 * sysdeps/mach/hurd/libc-start.h: New file copied from
16873 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
978a6803
ST
16874 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
16875 instead of __libc_setup_tls.
37be82a0 16876 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
978a6803
ST
16877 __libc_setup_tls before initializing libpthread and running _hurd_init
16878 which starts the signal thread.
16879 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
16880 Declare function.
2d813d7b 16881 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fa97d2ab 16882
b8114edd
L
168832018-03-24 H.J. Lu <hongjiu.lu@intel.com>
16884
16885 [BZ #22998]
16886 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
16887 after it is defined.
16888
cd66c0e5
AS
168892018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
16890 Max Horn <max@quendi.de>
16891
16892 [BZ #22644]
43d4f3d5 16893 CVE-2017-18269
cd66c0e5
AS
16894 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
16895 branch conditions.
16896 * string/test-memmove.c (do_test2): New testcase.
16897
a4406139
JM
168982018-03-22 Joseph Myers <joseph@codesourcery.com>
16899
16900 * sysdeps/generic/frame.h: Remove file.
16901 * sysdeps/arm/frame.h: Likewise.
16902 * sysdeps/hppa/frame.h: Likewise.
16903 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
16904 macro.
16905 (GET_FRAME): Likewise.
16906 (GET_STACK): Likewise.
16907 (CALL_SIGHANDLER): Likewise.
16908 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
16909 Likewise.
16910 (GET_FRAME): Likewise.
16911 (GET_STACK): Likewise.
16912 (CALL_SIGHANDLER): Likewise.
16913 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
16914 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16915 (GET_FRAME): Likewise.
16916 (GET_STACK): Likewise.
16917 (CALL_SIGHANDLER): Likewise.
16918 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
16919 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16920 (GET_FRAME): Likewise.
16921 (GET_STACK): Likewise.
16922 (ADVANCE_STACK_FRAME): Likewise.
16923 (CALL_SIGHANDLER): Likewise.
16924 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
16925 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16926 (GET_FRAME): Likewise.
16927 (GET_STACK): Likewise.
16928 (CALL_SIGHANDLER): Likewise.
16929 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
16930 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16931 (GET_FRAME): Likewise.
16932 (GET_STACK): Likewise.
16933 (CALL_SIGHANDLER): Likewise.
16934 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
16935 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16936 (GET_FRAME): Likewise.
16937 (GET_STACK): Likewise.
16938 (CALL_SIGHANDLER): Likewise.
16939 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
16940 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16941 (GET_FRAME): Likewise.
16942 (GET_STACK): Likewise.
16943 (CALL_SIGHANDLER): Likewise.
16944 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
16945 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16946 (GET_FRAME): Likewise.
16947 (GET_STACK): Likewise.
16948 (CALL_SIGHANDLER): Likewise.
16949 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
16950 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16951 (GET_FRAME): Likewise.
16952 (GET_STACK): Likewise.
16953 (CALL_SIGHANDLER): Likewise.
16954 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
16955 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16956 (GET_FRAME): Likewise.
16957 (GET_STACK): Likewise.
16958 (CALL_SIGHANDLER): Likewise.
16959 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
16960 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16961 (GET_FRAME): Likewise.
16962 (GET_STACK): Likewise.
16963 (CALL_SIGHANDLER): Likewise.
16964 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
16965 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16966 (GET_FRAME): Likewise.
16967 (GET_STACK): Likewise.
16968 (CALL_SIGHANDLER): Likewise.
16969 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
16970 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16971 (FIRST_FRAME_POINTER): Likewise.
16972 (ADVANCE_STACK_FRAME): Likewise.
16973 (GET_STACK): Likewise.
16974 (GET_FRAME): Likewise.
16975 (CALL_SIGHANDLER): Likewise.
16976 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
16977 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16978 (ADVANCE_STACK_FRAME): Likewise.
16979 (GET_STACK): Likewise.
16980 (GET_FRAME): Likewise.
16981 (CALL_SIGHANDLER): Likewise.
16982 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
16983 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16984 (GET_FRAME): Likewise.
16985 (GET_STACK): Likewise.
16986 (CALL_SIGHANDLER): Likewise.
16987 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
16988 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16989 (GET_FRAME): Likewise.
16990 (GET_STACK): Likewise.
16991 (CALL_SIGHANDLER): Likewise.
16992
ffec7b27
JM
169932018-03-21 Joseph Myers <joseph@codesourcery.com>
16994
16995 * sysdeps/x86_64/backtrace.c: Move to ....
16996 * debug/backtrace.c: ... here.
16997 * sysdeps/aarch64/backtrace.c: Remove file.
16998 * sysdeps/alpha/backtrace.c: Likewise.
16999 * sysdeps/hppa/backtrace.c: Likewise.
17000 * sysdeps/ia64/backtrace.c: Likewise.
17001 * sysdeps/mips/backtrace.c: Likewise.
17002 * sysdeps/nios2/backtrace.c: Likewise.
17003 * sysdeps/riscv/backtrace.c: Likewise.
17004 * sysdeps/sh/backtrace.c: Likewise.
17005 * sysdeps/tile/backtrace.c: Likewise.
17006
8a07b0c4
JM
170072018-03-20 Joseph Myers <joseph@codesourcery.com>
17008
d0c5d731
JM
17009 [BZ #22987]
17010 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
17011 function.
17012 (fdimf): Likewise.
17013 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
17014
8a07b0c4
JM
17015 [BZ #17343]
17016 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
17017 possibly overflowing computations.
17018
ceb54b9b
ST
170192018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
17020
17021 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
17022 values from Linux-specific section now that it is in the GNU section.
17023 * sysdeps/gnu/errlist.c: Regenerate.
17024
8d3f9e85
JM
170252018-03-20 Joseph Myers <joseph@codesourcery.com>
17026
17027 * math/Makefile (libm-narrow-fns): Add sub.
17028 (libm-test-funcs-narrow): Likewise.
17029 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
17030 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
17031 * math/gen-auto-libm-tests.c (test_functions): Add sub.
17032 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
17033 (NARROW_SUB_ROUND_TO_ODD): Likewise.
17034 (NARROW_SUB_TRIVIAL): Likewise.
17035 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
17036 macro.
17037 (__dsubl): Likewise.
17038 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
17039 dsub.
17040 (CFLAGS-nldbl-dsub.c): New variable.
17041 (CFLAGS-nldbl-fsub.c): Likewise.
17042 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17043 __nldbl_dsubl.
17044 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
17045 prototype.
17046 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
17047 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
17048 * math/auto-libm-test-in: Add tests of sub.
17049 * math/auto-libm-test-out-narrow-sub: New generated file.
17050 * math/libm-test-narrow-sub.inc: New file.
17051 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
17052 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
17053 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
17054 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
17055 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
17056 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
17057 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
17058 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
17059 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
17060 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
17061 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
17062 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
17063 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
17064 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
17065 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
17066 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
17067 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
17068 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
17069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17070 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17071 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17072 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17073 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17074 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17075 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17076 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17077 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17078 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17079 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17080 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17081 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17082 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17087 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17088 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17089 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17090 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17091 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17092 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17093 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
17094 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
17095 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17096 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17097
d473f015
JM
170982018-03-19 Joseph Myers <joseph@codesourcery.com>
17099
17100 [BZ #20079]
17101 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
17102
fbce6f72
WD
171032018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
17104
17105 * benchtests/bench-timing.h (attribute_hidden): Undefine.
17106
72e7ffc3
RB
171072018-03-18 Richard Braun <rbraun@sceen.net>
17108
17109 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
17110 thread reference.
17111
542c20a1
AA
171122018-03-18 Agustina Arzille <avarzille@riseup.net>
17113
17114 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
17115 (__libc_cleanup_fct): Define function.
17116 (__libc_cleanup_region_start, __libc_cleanup_region_end,
17117 __libc_cleanup_end): Rewrite implementation using
17118 __attribute__ ((__cleanup__)).
17119 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
fb4cc8a0
AA
17120 * hurd/Makefile (routines): Add hurdlock.
17121 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
17122 interface.
17123 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
17124 * hurd/hurdpid.c: Include <lowlevellock.h>
17125 (_S_msg_proc_newids): Use lll_wait to synchronize.
17126 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
17127 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
17128 * mach/Makefile (lock-headers): Remove machine-lock.h.
17129 * mach/lock-intern.h: Include <lowlevellock.h> instead of
17130 <machine-lock.h>.
17131 (__spin_lock_t): New type.
17132 (__SPIN_LOCK_INITIALIZER): New macro.
17133 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
17134 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
17135 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
17136 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
17137 (__mutex_init): Initialize with lll.
17138 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
17139 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
17140 needing lll.
17141 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17142 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
17143 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
17144 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
17145 (__setpgid): Use lll for synchronization.
17146 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
17147 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
17148 instead of <cthreads.h>.
17149 (_IO_lock_inexpensive): New macro
17150 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
17151 (__libc_lock_self0): New declaration.
17152 (__libc_lock_owner_self): New macro.
17153 (__libc_key_t): Remove type.
17154 (_LIBC_LOCK_INITIALIZER): New macro.
17155 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
17156 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
17157 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
17158 __libc_lock_define_initialized_recursive,
17159 __rtld_lock_define_initialized_recursive,
17160 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
17161 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
17162 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
17163 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
17164 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
17165 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
17166 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
17167 New macros.
17168 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
17169 * hurd/hurdlock.c: New file.
17170 * hurd/hurdlock.h: New file.
17171 * mach/lowlevellock.h: New file
542c20a1 17172
9a37922e
ST
171732018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
17174
17175 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
489999cc
ST
17176 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
17177 when opening a symlink with O_NOFOLLOW.
72103e73
ST
17178 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
17179 path when flags contains O_NOFOLLOW.
17180 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
17181 if flags contains O_DIRECTORY and the result is a directory.
aa218929
ST
17182 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
17183 oneself when the pointer given in D is nul (as set by ext2fs).
20bc801b
ST
17184 * sysdeps/mach/hurd/mlockall.c: New file.
17185 * sysdeps/mach/hurd/munlockall.c: New file.
9a37922e 17186
34e6a869
ST
171872018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17188
17189 * hurd/hurdsig.c: Include <pthread.h>.
17190 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
17191 get the signal thread stack layout.
dc33bef3
ST
17192 * hurd/Makefile (headers): Remove threadvar.h.
17193 (inline-headers): Remove threadvar.h.
17194 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
17195 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
17196 __hurd_threadvar_max, __hurd_errno_location.
17197 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
17198 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
17199 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
17200 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
17201 unless TLS is not initialized yet, in which case we do not need a
17202 critical section yet anyway.
17203 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
17204 <machine-sp.h>.
17205 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
17206 declarations.
17207 (__hurd_threadvar_index): Remove enum.
17208 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
17209 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
17210 inlines.
17211 (__hurd_reply_port0): New variable declaration.
17212 (__hurd_local_reply_port): New macro.
17213 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
17214 (interrupted_reply_port_location): Add thread_t parameter. Use it
17215 with THREAD_TCB to access thread-local variables.
17216 (_hurdsig_abort_rpcs): Pass ss->thread to
17217 interrupted_reply_port_location.
17218 (_hurd_internal_post_signal): Likewise.
17219 (_hurdsig_init): Use presence of cthread_fork instead of
17220 __hurd_threadvar_stack_mask to start signal thread by hand.
17221 Remove signal thread threadvar initialization.
17222 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
17223 * hurd/sigunwind.c: Include <hurd/threadvar.h>
17224 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
17225 of threadvar.
17226 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
17227 __libc_lock_self0.
17228 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
17229 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
17230 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
17231 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
17232 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
17233 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
17234 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
17235 define variables.
17236 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
17237 <hurd/threadvar.h>.
17238 [IS_IN(rtld)] (rtld_errno): New variable.
17239 [IS_IN(rtld)] (__errno_location): New weak function.
17240 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
17241 * sysdeps/mach/hurd/errno.c: Remove file.
17242 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
17243 (__fork): Remove THREADVAR_SPACE macro and its use.
17244 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
17245 variable.
17246 (init): Do not initialize threadvar.
17247 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
17248 symbol.
17249 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
17250 __hurd_local_reply_port instead of threadvar.
17251 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
17252 _hurd_sigstate fields.
17253 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
17254 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
17255 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
17256 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
17257 instead of threadvar.
17258 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
17259 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
17260 (use_threadvar, global_reply_port): Remove variables.
17261 (__hurd_reply_port0): New variable.
17262 (__mig_get_reply_port): Use __hurd_local_reply_port and
17263 __hurd_reply_port0 instead of threadvar.
17264 (__mig_dealloc_reply_port): Likewise.
17265 (__mig_init): Do not initialize threadvar.
17266 * sysdeps/mach/hurd/profil.c: Fix comment.
c2fb08c7
ST
17267 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
17268 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
17269 cthread_keycreate, cthread_getspecific, cthread_setspecific to
17270 __cthread_fork, __cthread_detach, __pthread_getattr_np,
17271 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
17272 __cthread_setspecific.
17273 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
17274 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
17275 __cthread_t instead of cthread_fork, cthread_detach,
17276 pthread_getattr_np, pthread_attr_getstack.
17277 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
17278 __cthread_keycreate.
17279 (cthread_getspecific): Rename to __cthread_getspecific.
17280 (cthread_setspecific): Rename to __cthread_setspecific.
17281 (__libc_getspecific): Use __cthread_getspecific instead of
17282 cthread_getspecific.
17283 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
17284 __cthread_keycreate instead of cthread_keycreate.
17285 (__libc_setspecific): Use __cthread_setspecific instead of
17286 cthread_setspecific.
17287 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
17288 Likewise.
dd28d4ba
ST
17289 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
17290 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
17291 testing whether it is defined.
34e6a869 17292
f8baf2a2
ST
172932018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17294
17295 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
17296 Define macro.
17297 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
17298 * sysdeps/mach/i386/thread_state.h
17299 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
17300 i386_THREAD_STATE.
17301 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
17302 i386_THREAD_STATE.
17303 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
17304
17305 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
17306 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
17307
17308 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
17309 macros.
17310 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
17311 descriptor instead of creating a new one.
17312 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
17313
17314 * mach/setup-thread.c: Include <ldsodefs.h>.
17315 (__mach_setup_thread): Call _dl_allocate_tls, pass
17316 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
17317 MACHINE_THREAD_STATE_FLAVOR, before getting
17318 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
17319 MACHINE_THREAD_STATE_FLAVOR with the result.
17320 * hurd/hurdfault.c (_hurdsig_fault_init): Call
17321 MACHINE_THREAD_STATE_FIX_NEW.
17322 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
17323 too. Add original thread parameter.
17324
34ba96b8
JM
173252018-03-16 Joseph Myers <joseph@codesourcery.com>
17326
5d75b75f
JM
17327 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
17328 Remove inline function.
17329
34ba96b8
JM
17330 * sysdeps/i386/fpu/libm-test-ulps: Update.
17331 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
17332
22679b2c
WD
173332018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
17334
17335 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
17336 commit.
17337
c429a8d8
JM
173382018-03-15 Joseph Myers <joseph@codesourcery.com>
17339
17340 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
17341 (__sincos_code): Remove define and undefine.
17342 [__FAST_MATH__] (__sincos): Remove inline function.
17343 [__FAST_MATH__] (__sincosf): Remove inline function.
17344 [__FAST_MATH__] (__sincosl): Remove inline function.
17345 (__atan2l): Remove inline functions.
17346 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
17347 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
17348 function.
17349 (floor): Remove inline function.
17350 (ceil): Likewise.
17351 [__FAST_MATH__] (__ldexp_code): Remove macro.
17352 [__FAST_MATH__] (ldexp): Remove inline function.
17353 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
17354 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
17355 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
17356 [__USE_ISOC99] (__lrint_code): Remove macro.
17357 [__USE_ISOC99] (__llrint_code): Likewise.
17358 [__USE_ISOC99] (lrintf): Remove inline function.
17359 [__USE_ISOC99] (lrint): Likewise.
17360 [__USE_ISOC99] (lrintl): Likewise.
17361 [__USE_ISOC99] (llrint): Likewise.
17362 [__USE_ISOC99] (llrintf): Likewise.
17363 [__USE_ISOC99] (llrintl): Likewise.
17364
700593fd
WD
173652018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17366
17367 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
17368 (__ieee754_sqrtf): Remove.
17369 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
17370 (__ieee754_sqrtf): Remove.
17371 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
17372 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
17373 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
17374 (__ieee754_sqrtf): Remove.
17375 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
17376 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
17377 (sqrtf): Remove.
17378 (sqrtl): Remove.
17379 (__ieee754_sqrt): Remove.
17380 (__ieee754_sqrtf): Remove.
17381 (__ieee754_sqrtl): Remove.
17382 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
17383 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
17384 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
17385 (__ieee754_sqrtf): Remove.
17386 (__ieee754_sqrtl): Remove.
17387
f67a8147
WD
173882018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17389
17390 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
17391 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
17392 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17393 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
17394 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
17395 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17396 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17397 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17398 Likewise.
17399 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
17400 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
17401 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
17402 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
17403 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
17404 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
17405 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
17406 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
17407 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
17408 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
17409 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
17410 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
17411 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
17412 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
17413 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
17414 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17415 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17416 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
17417 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
17418 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
17419 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17420 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17421 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
17422 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
17423 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
17424 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
17425 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17426 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17427 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
17428 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
17429 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
17430 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
17431 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
17432 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
17433 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17434 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17435 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
17436 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
17437 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
17438 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
17439
1294b189
WD
174402018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17441
17442 * include/math.h (sqrt): Declare with asm redirect.
17443 (sqrtf): Likewise.
17444 (sqrtl): Likewise.
17445 (sqrtf128): Likewise.
17446 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
17447 nonlib and libnldbl with -fmath-errno.
17448 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
17449 * math/w_sqrt_template.c: Likewise.
17450 * math/w_sqrtf_compat.c: Likewise.
17451 * math/w_sqrtl_compat.c: Likewise.
17452 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
17453 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
17454 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
17455 complex.h.
17456
f1c8185d
WD
174572018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17458
17459 * benchtests/Makefile: Define _ISOMAC.
17460 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
17461 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
17462 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
17463 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
17464 * benchtests/bench-timing.h: Define attribute_hidden.
17465
b47c3e76
SP
174662018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
17467
17468 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
17469 mov + lsr.
17470
807fee29
RL
174712018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17472
17473 [BZ #22963]
17474 * localedata/locales/cs_CZ (mon): Rename to...
17475 (alt_mon): This.
17476 (mon): Import from CLDR (genitive case).
17477
e7155a28
RL
174782018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17479
17480 [BZ #22937]
17481 * localedata/locales/el_CY (abmon): Rename to...
17482 (ab_alt_mon): This.
17483 (abmon): Import from CLDR (abbreviated genitive case).
17484 * localedata/locales/el_GR (abmon): Rename to...
17485 (ab_alt_mon): This.
17486 (abmon): Import from CLDR (abbreviated genitive case).
17487
71d7b121
RL
174882018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17489
17490 [BZ #22932]
17491 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
17492
a00bffe8
RB
174932018-03-15 Robert Buj <robert.buj@gmail.com>
17494
17495 [BZ #22848]
17496 * localedata/locales/ca_ES (abmon): Rename to...
17497 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
17498 (mon): Rename to...
17499 (alt_mon): This.
17500 (abmon): Import from CLDR (genitive case, month names preceded by
17501 "de" or "d’").
17502 (mon): Likewise.
17503 (abday): Synchronize with CLDR.
17504 (d_t_fmt): Likewise.
17505 (d_fmt): Likewise.
17506 (am_pm): Likewise.
17507
17508 (LC_TIME): Improve indentation.
17509 (LC_TELEPHONE): Likewise.
17510 (LC_NAME): Likewise.
17511 (LC_ADDRESS): Likewise.
17512
f9555d73
JM
175132018-03-14 Joseph Myers <joseph@codesourcery.com>
17514
17515 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
17516 (lrintf): Remove definitions used only with old GCC.
17517 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
17518 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
17519 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
17520 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
17521 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
17522 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
17523 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
17524 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
17525 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
17526 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
17527 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
17528 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
17529 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
17530 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
17531 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
17532 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
17533 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
17534 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
17535 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
17536 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
17537 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
17538 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
17539 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
17540 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
17541 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
17542 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
17543 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
17544 [__FAST_MATH__] (__M_SQRT2): Remove macro.
17545
d46f84de
SP
175462018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
17547
17548 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
17549 instruction to unbreak builds with binutils 2.26 and older.
17550
7108f1f9
SP
175512018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
17552
17553 * sysdeps/aarch64/strncmp.S (count): New macro.
17554 (strncmp): Store misaligned length in SRC1 in COUNT.
17555 (mutual_align): Adjust.
17556 (misaligned8): Load dword at a time when it is safe.
17557
2cc7bad0
ZW
175582018-03-12 Zack Weinberg <zackw@panix.com>
17559
17560 [BZ #1190]
17561 [BZ #19476]
17562 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
17563 if the _IO_EOF_SEEN bit is already set; update commentary.
17564 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
17565 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
17566
17567 * support/support_openpty.c, support/tty.h: New files.
17568 * support/Makefile (libsupport-routines): Add support_openpty.
17569
17570 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
17571 New test cases.
17572 * libio/Makefile (tests): Add tst-fgetc-after-eof.
17573 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
17574
778f1974
DL
175752018-03-12 Dmitry V. Levin <ldv@altlinux.org>
17576
17577 * po/pt_BR.po: Update translations.
17578
6b5c8607 175792018-03-12 David Michael <fedora.dm0@gmail.com>
da6d4404
DM
17580
17581 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
17582 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
17583 get a port to the startup server.
17584
d3da750d
ZW
175852018-03-11 Zack Weinberg <zackw@panix.com>
17586
17587 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
17588 before nldbl-compat.h.
17589
054b72cc
ZW
175902018-03-10 Zack Weinberg <zackw@panix.com>
17591
0d13dfa1
ZW
17592 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
17593 math.h or math_private.h.
17594
17595 * sysdeps/alpha/fpu/s_isnan.c
17596 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
17597 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
17598 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
17599 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
17600 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
17601 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
17602 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
17603 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
17604 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
17605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
17606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
17607 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
17608 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
17609 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
17610 Include math_private.h.
17611
17612 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
17613 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
17614 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
17615 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
17616 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
17617 * sysdeps/powerpc/power7/fpu/s_logb.c:
17618 Include math.h and math_private.h.
17619
054b72cc
ZW
17620 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
17621 uses of $at in .set noat / .set at.
17622
6253bacd
L
176232018-03-10 H.J. Lu <hongjiu.lu@intel.com>
17624
17625 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
17626 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
17627 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
17628 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
17629 Likewise.
17630
229855e5
FW
176312018-03-09 Florian Weimer <fweimer@redhat.com>
17632
17633 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
17634 in comment.
17635
9aa5c222
AJ
176362018-03-09 Aurelien Jarno <aurelien@aurel32.net>
17637
17638 [BZ #22919]
17639 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
17640 Add nop before __startcontext, add explaining comments.
17641
3dc21497
AZ
176422018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17643
e921c89e
AZ
17644 [BZ #22926]
17645 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
17646 empty for __SPE__.
17647 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
17648 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
17649 Do not build hardware transactional code for __SPE__.
17650 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17651 (__lll_trylock_elision): Likewise.
17652 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
17653 (__lll_unlock_elision): Likewise.
17654
d9f26dab 17655 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
3dc21497
AZ
17656 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
17657 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17658 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
17659 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
17660 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
17661 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
17662 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
17663 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
17664 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
17665 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
17666 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
17667 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
17668 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
17669 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
17670 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
17671 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
17672 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
17673 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
17674 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
17675 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
17676 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17677 (__ASSUME_CLONE_BACKWARDS): Define.
17678 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
17679 __clone2 if __NR_clone2 is defined.
17680 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17681 (__ASSUME_CLONE_BACKWARDS): Likewise.
17682 * sysdeps/unix/sysv/linux/i386/kernel-features.h
17683 (__ASSUME_CLONE_BACKWARDS): Likewise.
17684 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17685 (__ASSUME_CLONE2): Likewise.
17686 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17687 (__ASSUME_CLONE_BACKWARDS3): Likewise.
17688 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
17689 variants and the define architecture can use.
17690 (__ASSUME_CLONE_DEFAULT): Define as default.
17691 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17692 (__ASSUME_CLONE_BACKWARDS): Likewise.
17693 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17694 (__ASSUME_CLONE_BACKWARDS): Likewise.
17695 * sysdeps/unix/sysv/linux/s390/kernel-features.h
17696 (__ASSUME_CLONE_BACKWARDS2): Likewise.
17697
adc95fb0
SP
176982018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
17699
4e54d918
SP
17700 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
17701
30a81dae
SP
17702 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
17703 time.
17704
adc95fb0
SP
17705 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
17706 (do_test_limit): Likewise.
17707
17708 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
17709 for every implementation.
17710 (do_test): Likewise.
17711
17712 * benchtests/bench-strncmp.c: Convert output to json.
17713
4e9066bc
ST
177142018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17715
17716 * io/futimens.c: Add missing start-of-file descriptive comment.
17717 * io/utime.c: Likewise.
17718 * misc/futimesat.c: Likewise.
17719 * misc/utimes.c: Likewise.
17720 * sysdeps/mach/hurd/futimesat.c: Likewise.
17721 * sysdeps/mach/hurd/utimes.c: Likewise.
17722 * sysdeps/posix/utime.c: Likewise.
17723 * sysdeps/posix/utimes.c: Likewise.
17724 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
17725 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
17726 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
17727 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
17728
ec1300cf
ST
177292018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17730
17731 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
17732 hurd_futimes.
17733 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
17734 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
17735 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
17736 (__futimens): Move implementation to...
17737 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
17738 utime_tvalue_from_tspec): ... new helper functions.
17739 (hurd_futimens): New function.
17740 * sysdeps/mach/hurd/futimesat.c: New file.
17741 * sysdeps/mach/hurd/utimensat.c: New file.
17742
bbe762d1
FC
177432018-03-05 Flávio Cruz <flaviocruz@gmail.com>
17744
17745 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
17746 UTIME_OMIT): New macros.
17747 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
17748 before reverting to converting time spec to time value and calling
17749 __file_utimes.
17750 * sysdeps/mach/hurd/utime-helper.c: New file.
17751 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
17752 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
17753 reverting to utime_tvalue_from_tval and __file_utimes.
17754 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
17755 (__lutimes): Just call hurd_futimens after lookup.
17756 * sysdeps/mach/hurd/utimes.c: Likewise.
17757
a1ede3a4
ST
177582018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17759
17760 * bits/sigaction.h: Add include guard.
17761 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
17762 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
17763 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
17764 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
17765 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
17766 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
17767 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
17768 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
17769 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
17770
6900d2ca
JM
177712018-03-05 Joseph Myers <joseph@codesourcery.com>
17772
17773 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
17774 -Wmaybe-uninitialized for -Os.
17775 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
17776 this disabling.
17777
68448be2
AZ
177782018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17779
5226a81f
AZ
17780 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
17781 __INO_T_MATCHES_INO64_T is defined.
17782 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
17783 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
17784 of definition.
17785 * dirent/alphasort64.c: Likewise.
17786 * dirent/scandir.c: Likewise.
17787 * dirent/scandir64-tail.c: Likewise.
17788 * dirent/scandir64.c: Likewise.
17789 * dirent/scandirat.c: Likewise.
17790 * dirent/scandirat64.c: Likewise.
17791 * dirent/versionsort.c: Likewise.
17792 * dirent/versionsort64.c: Likewise.
17793 * include/dirent.h: Likewise.
17794
fbd01e6c
AZ
17795 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
17796 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
17797 for socketpair endpoint.
17798 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
17799 WRITE_BUFFER_SIZE as buffer size for sending socket.
17800 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
17801 issue on system where send is implemented with sendto syscall.
17802 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
17803 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
17804 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
17805 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
17806
68448be2
AZ
17807 [BZ #21269]
17808 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
17809 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
17810 sa_restorer for vDSO case.
17811 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
17812
eb1ca47e
ST
178132018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17814
17815 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
e30c291a
ST
17816 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
17817 * hurd/hurd/ioctl.h: Include <mach/port.h>
17818 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
f4bff843
ST
17819 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
17820 <mach/mach_types.h> and <mach/message.h>.
430fd945
ST
17821 (headers): Move mach/param.h to bits/mach/param.h.
17822 * sysdeps/mach/i386/mach/param.h: Move file to ...
17823 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
17824 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
17825 of <mach/param.h>.
3403cb7d
ST
17826 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
17827 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
17828 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
48d34cbc
ST
17829 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
17830 trivial, for C++ conformity.
44c6376c 17831 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
95dfdbd2
ST
17832 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
17833 Process mig output through $(migheadersed).
17834 * hurd/Makefile (migheadersed): Define variable.
a726c87a
ST
17835 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
17836 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
17837 headers.
ba89615d
ST
17838 * hurd/hurd.h: Include <bits/types/sigset_t.h>
17839 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
17840 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
17841 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
17842 <bits/types/sigset_t.h>.
17843 [!defined __USE_GNU]: Do not #error out.
17844 (struct hurd_sigstate): Use _NSIG instead of NSIG.
17845 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
17846 Include <stddef.h> and <bits/types/sigset_t.h>
17847 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
17848 instead of sighandler_t.
974393ea
ST
17849 * stdlib/errno.h (error_t): Move definition to...
17850 * bits/types/error_t.h: ... new header.
17851 * stdlib/Makefile (headers): Add bits/types/error_t.h.
17852 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
17853 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
17854 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
17855 * hurd/hurd.h: Include <bits/types/error_t.h>
17856 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
17857 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
17858 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
17859 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
17860 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
17861 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
8d965cde 17862 * sysdeps/mach/hurd/futimens.c: New file.
eb1ca47e 17863
eaf6753f
AS
178642018-03-03 Andreas Schwab <schwab@linux-m68k.org>
17865
17866 [BZ #22918]
17867 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
17868 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
17869 * nscd/gai.c (__nss_hosts_database): Readd definition.
17870 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
17871 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
17872 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
17873
4dc23804
JM
178742018-03-02 Joseph Myers <joseph@codesourcery.com>
17875
17876 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
17877 (ifunc_one): Likewise.
17878
1c81d55f
DD
178792018-03-01 DJ Delorie <dj@delorie.com>
17880
17881 [BZ #22342]
17882 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
17883 key value.
17884
b717c14f
MR
178852018-03-01 Maciej W. Rozycki <macro@mips.com>
17886
17887 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
17888 `match_pid' parameter.
17889 (td_ta_thr_iter): Update accordingly.
17890
1efe1358
FW
178912018-03-01 Florian Weimer <fweimer@redhat.com>
17892
17893 * nptl/Makefile (install-lib-ldscripts): Remove.
17894 (install): Remove rule.
17895 ($(inst_libdir)/libpthread.so): Likewise.
17896
a527f09c
MF
178972018-03-01 Mike FABIAN <mfabian@redhat.com>
17898
17899 [BZ #22896]
17900 * localedata/locales/an_ES: update month and day names,
17901 improve d_fmt, improve postal_fmt, add country_post,
17902 add country_isbn
17903
35d660b0
MF
179042018-03-01 Mike FABIAN <mfabian@redhat.com>
17905
17906 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
17907 Ukrainian instead of Bulgarian.
17908
1a2f44a8
FW
179092018-03-01 Florian Weimer <fweimer@redhat.com>
17910
17911 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
17912 reference.
17913
bd60ce86
FW
179142018-03-01 Florian Weimer <fweimer@redhat.com>
17915
17916 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
17917 * nptl/Makefile (routines): Add pthread_atfork.
17918 (static-only-routines): Set to pthread_atfork.
17919 (libpthread-routines): Remove pthread_atfork.
17920 (libpthread-static-only-routines): Remove.
17921 (install): Update comment.
17922 (libpthread.so): Do not install libpthread_nonshared.a.
17923 (tests): Do not link with libpthread_nonshared.a.
17924 (generated): Remove libpthread_nonshared.a.
17925 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
17926 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
17927 with libpthread_nonshared.a.
17928
000f290f
JM
179292018-02-28 Joseph Myers <joseph@codesourcery.com>
17930
e2bcf6a8
JM
17931 [BZ #22902]
17932 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
17933 (libc_feholdexcept_setroundf128): New macro.
17934 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
17935
000f290f
JM
17936 [BZ #15105]
17937 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
17938 libc_hidden_def.
17939 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
17940 * include/inttypes.h: New file.
17941
02f2fead
JM
179422018-02-27 Joseph Myers <joseph@codesourcery.com>
17943
17944 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
17945 -Os in two more places.
17946
874c56d7
MF
179472018-02-27 Mike FABIAN <mfabian@redhat.com>
17948
17949 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
17950 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
17951 be sorted correctly at the moment because of a bug.
17952
15973854
MF
179532018-02-27 Mike FABIAN <mfabian@redhat.com>
17954
17955 [BZ #22550] - es_ES locale (and other es_* locales): collation should
17956 treat ñ as a primary different character, sync the collation
17957 for Spanish with CLDR.
17958 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
17959 * localedata/Makefile: Add new test files.
17960 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
17961 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
17962 collation order.
17963 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
17964 * localedata/am_ET.UTF-8.in: New test file.
17965 * localedata/az_AZ.UTF-8.in: Likewise.
17966 * localedata/be_BY.UTF-8.in: Likewise.
17967 * localedata/ber_DZ.UTF-8.in: Likewise.
17968 * localedata/ber_MA.UTF-8.in: Likewise.
17969 * localedata/bg_BG.UTF-8.in: Likewise.
17970 * localedata/br_FR.UTF-8.in: Likewise.
17971 * localedata/cmn_TW.UTF-8.in: Likewise.
17972 * localedata/crh_UA.UTF-8.in: Likewise.
17973 * localedata/csb_PL.UTF-8.in: Likewise.
17974 * localedata/cv_RU.UTF-8.in: Likewise.
17975 * localedata/cy_GB.UTF-8.in: Likewise.
17976 * localedata/dz_BT.UTF-8.in: Likewise.
17977 * localedata/eo.UTF-8.in: Likewise.
17978 * localedata/es_ES.UTF-8.in: Likewise.
17979 * localedata/fa_IR.UTF-8.in: Likewise.
17980 * localedata/fi_FI.UTF-8.in: Likewise.
17981 * localedata/fil_PH.UTF-8.in: Likewise.
17982 * localedata/fur_IT.UTF-8.in: Likewise.
17983 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
17984 * localedata/ha_NG.UTF-8.in: Likewise.
17985 * localedata/ig_NG.UTF-8.in: Likewise.
17986 * localedata/ik_CA.UTF-8.in: Likewise.
17987 * localedata/kk_KZ.UTF-8.in: Likewise.
17988 * localedata/ku_TR.UTF-8.in: Likewise.
17989 * localedata/ky_KG.UTF-8.in: Likewise.
17990 * localedata/ln_CD.UTF-8.in: Likewise.
17991 * localedata/mi_NZ.UTF-8.in: Likewise.
17992 * localedata/ml_IN.UTF-8.in: Likewise.
17993 * localedata/mn_MN.UTF-8.in: Likewise.
17994 * localedata/mr_IN.UTF-8.in: Likewise.
17995 * localedata/mt_MT.UTF-8.in: Likewise.
17996 * localedata/nb_NO.UTF-8.in: Likewise.
17997 * localedata/om_KE.UTF-8.in: Likewise.
17998 * localedata/os_RU.UTF-8.in: Likewise.
17999 * localedata/ps_AF.UTF-8.in: Likewise.
18000 * localedata/ro_RO.UTF-8.in: Likewise.
18001 * localedata/ru_RU.UTF-8.in: Likewise.
18002 * localedata/sc_IT.UTF-8.in: Likewise.
18003 * localedata/se_NO.UTF-8.in: Likewise.
18004 * localedata/sq_AL.UTF-8.in: Likewise.
18005 * localedata/sv_SE.UTF-8.in: Likewise.
18006 * localedata/szl_PL.UTF-8.in: Likewise.
18007 * localedata/tg_TJ.UTF-8.in: Likewise.
18008 * localedata/tk_TM.UTF-8.in: Likewise.
18009 * localedata/tt_RU.UTF-8.in: Likewise.
18010 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
18011 * localedata/ug_CN.UTF-8.in: Likewise.
18012 * localedata/uz_UZ.UTF-8.in: Likewise.
18013 * localedata/vi_VN.UTF-8.in: Likewise.
18014 * localedata/yi_US.UTF-8.in: Likewise.
18015 * localedata/yo_NG.UTF-8.in: Likewise.
18016 * localedata/zh_CN.UTF-8.in: Likewise.
18017 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
18018 file and fix bugs in the collation.
18019 * localedata/locales/az_AZ: Likewise.
18020 * localedata/locales/be_BY: Likewise.
18021 * localedata/locales/ber_DZ: Likewise.
18022 * localedata/locales/ber_MA: Likewise.
18023 * localedata/locales/bg_BG: Likewise.
18024 * localedata/locales/br_FR: Likewise.
18025 * localedata/locales/br_FR@euro: Likewise.
18026 * localedata/locales/ca_ES: Likewise.
18027 * localedata/locales/cns11643_stroke: Likewise.
18028 * localedata/locales/crh_UA: Likewise.
18029 * localedata/locales/cs_CZ: Likewise.
18030 * localedata/locales/csb_PL: Likewise.
18031 * localedata/locales/cv_RU: Likewise.
18032 * localedata/locales/cy_GB: Likewise.
18033 * localedata/locales/da_DK: Likewise.
18034 * localedata/locales/dz_BT: Likewise.
18035 * localedata/locales/en_CA: Likewise.
18036 * localedata/locales/eo: Likewise.
18037 * localedata/locales/es_CU: Likewise.
18038 * localedata/locales/es_EC: Likewise.
18039 * localedata/locales/es_ES: Likewise.
18040 * localedata/locales/es_US: Likewise.
18041 * localedata/locales/et_EE: Likewise.
18042 * localedata/locales/fa_IR: Likewise.
18043 * localedata/locales/fi_FI: Likewise.
18044 * localedata/locales/fil_PH: Likewise.
18045 * localedata/locales/fur_IT: Likewise.
18046 * localedata/locales/gez_ER@abegede: Likewise.
18047 * localedata/locales/ha_NG: Likewise.
18048 * localedata/locales/hr_HR: Likewise.
18049 * localedata/locales/hsb_DE: Likewise.
18050 * localedata/locales/hu_HU: Likewise.
18051 * localedata/locales/ig_NG: Likewise.
18052 * localedata/locales/ik_CA: Likewise.
18053 * localedata/locales/is_IS: Likewise.
18054 * localedata/locales/iso14651_t1_pinyin: Likewise.
18055 * localedata/locales/kk_KZ: Likewise.
18056 * localedata/locales/ku_TR: Likewise.
18057 * localedata/locales/ky_KG: Likewise.
18058 * localedata/locales/ln_CD: Likewise.
18059 * localedata/locales/lt_LT: Likewise.
18060 * localedata/locales/lv_LV: Likewise.
18061 * localedata/locales/mi_NZ: Likewise.
18062 * localedata/locales/ml_IN: Likewise.
18063 * localedata/locales/mn_MN: Likewise.
18064 * localedata/locales/mr_IN: Likewise.
18065 * localedata/locales/mt_MT: Likewise.
18066 * localedata/locales/nb_NO: Likewise.
18067 * localedata/locales/om_KE: Likewise.
18068 * localedata/locales/os_RU: Likewise.
18069 * localedata/locales/pl_PL: Likewise.
18070 * localedata/locales/ps_AF: Likewise.
18071 * localedata/locales/ro_RO: Likewise.
18072 * localedata/locales/ru_RU: Likewise.
18073 * localedata/locales/ru_UA: Likewise.
18074 * localedata/locales/sc_IT: Likewise.
18075 * localedata/locales/se_NO: Likewise.
18076 * localedata/locales/si_LK: Likewise.
18077 * localedata/locales/sq_AL: Likewise.
18078 * localedata/locales/sv_FI: Likewise.
18079 * localedata/locales/sv_FI@euro: Likewise.
18080 * localedata/locales/sv_SE: Likewise.
18081 * localedata/locales/szl_PL: Likewise.
18082 * localedata/locales/tg_TJ: Likewise.
18083 * localedata/locales/ti_ER: Likewise.
18084 * localedata/locales/tk_TM: Likewise.
18085 * localedata/locales/tl_PH: Likewise.
18086 * localedata/locales/tr_TR: Likewise.
18087 * localedata/locales/tt_RU: Likewise.
18088 * localedata/locales/tt_RU@iqtelif: Likewise.
18089 * localedata/locales/ug_CN: Likewise.
18090 * localedata/locales/uk_UA: Likewise.
18091 * localedata/locales/uz_UZ: Likewise.
18092 * localedata/locales/uz_UZ@cyrillic: Likewise.
18093 * localedata/locales/vi_VN: Likewise.
18094 * localedata/locales/yi_US: Likewise.
18095 * localedata/locales/yo_NG: Likewise.
18096
ce6636b0
MF
180972018-02-27 Mike FABIAN <mfabian@redhat.com>
18098
18099 * gen-locales.mk: Make test files which contain @ modifiers in their
18100 name work.
18101 * localedata/gen-locale.sh: Likewise.
18102
ac3a3b4b
MF
181032018-02-27 Mike FABIAN <mfabian@redhat.com>
18104
18105 * posix/tst-fnmatch.input: Fix results for range expressions
18106 for non C locales.
18107 * posix/tst-regexloc.c: Do not use a range expression for
18108 de_DE.ISO-8859-1 locale.
18109
770cbe14
MF
181102018-02-27 Mike FABIAN <mfabian@redhat.com>
18111
18112 * posix/bug-regex5.c: Fix test case because with the new
18113 iso14651_t1_common file, the da_DK locale now has 6 collating elements
18114 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
18115 file.
18116
0fc355d9
MF
181172018-02-27 Mike FABIAN <mfabian@redhat.com>
18118
18119 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
18120 downloaded from ISO, the collation order of @-. and space has changed.
18121 Therefore, this test file needed to be adapted.
18122 * localedata/fr_CA.UTF-8.in: Likewise.
18123 * localedata/fr_FR.UTF-8.in: Likewise.
18124 * localedata/uk_UA.UTF-8.in: Likewise.
18125
43f3893f
MF
181262018-02-27 Mike FABIAN <mfabian@redhat.com>
18127
18128 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
18129 order of ȥ in the new iso14651_t1_common file.
18130 * localedata/pl_PL.UTF-8.in: Likewise.
18131
df74ef78
MF
181322018-02-27 Mike FABIAN <mfabian@redhat.com>
18133
18134 * localedata/locales/iso14651_t1_common: Add sections for various
18135 scripts to the iso14651_t1_common file.
18136
d5adfbad
MF
181372018-02-27 Mike FABIAN <mfabian@redhat.com>
18138
18139 * localedata/locales/iso14651_t1_common: Use the code point of a
18140 character in the fourth collation level instead of IGNORE for all
18141 entries which have IGNORE on all 4 levels.
18142
5f5a9610
MF
181432018-02-27 Mike FABIAN <mfabian@redhat.com>
18144
18145 * localedata/locales/iso14651_t1_common: Add some convenient collation
18146 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
18147 rules similar to those in CLDR.
18148
8a97e900
MF
181492018-02-27 Mike FABIAN <mfabian@redhat.com>
18150
18151 * localedata/locales/iso14651_t1_common: The new version of this
18152 file downloaded from ISO contained several syntax errors which
18153 are fixed by this patch.
18154
bbdd2fba
MF
181552018-02-27 Mike FABIAN <mfabian@redhat.com>
18156
18157 * localedata/locales/iso14651_t1_common: replace all <U.....>
18158 with <U000.....> because glibc understands only 4 digit or 8 digit
18159
1569e551
MF
181602018-02-27 Mike FABIAN <mfabian@redhat.com>
18161
18162 * localedata/locales/iso14651_t1_common: Necessary changes
18163 to make the file downloaded from ISO usable by glibc.
18164
9479b6d5
MF
181652018-02-27 Mike FABIAN <mfabian@redhat.com>
18166
18167 [BZ #14095]
18168 * localedata/locales/iso14651_t1_common: Update file to
18169 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
18170
03b540b3
ST
181712018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18172
18173 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
18174 of <nptl/pthreadP.h>
18175 (thread_attr_compare): Move function to...
eb937a52 18176 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
03b540b3 18177 * sysdeps/nptl/timer_routines.h: ... new header.
7211eba6 18178 * sysdeps/mach/hurd/gai_misc.h: New file.
03b540b3 18179
20602c72
JM
181802018-02-26 Joseph Myers <joseph@codesourcery.com>
18181
f54d8f73
JM
18182 * string/strcoll_l.c: Include <libc-diag.h>.
18183 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
18184 declarations of seq1 and seq2.
18185
20602c72
JM
18186 [BZ #15105]
18187 * stdlib/atoi.c (atoi): Use libc_hidden_def.
18188 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
18189
f5f473a9
DL
181902018-02-26 Dmitry V. Levin <ldv@altlinux.org>
18191
18192 [BZ #22433]
18193 [BZ #22807]
18194 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
18195 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
18196 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
18197 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
18198 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
18199 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
18200
398c6fdd
TMQMF
182012018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18202
18203 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
18204 macros used in __ptrace_request.
18205
f5d1f629
L
182062018-02-23 H.J. Lu <hongjiu.lu@intel.com>
18207
18208 [BZ #22792]
18209 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
18210 to $(CC).
18211 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
18212 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
18213 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
18214 <tcb-offsets.h>.
18215
54412d20
JM
182162018-02-23 Joseph Myers <joseph@codesourcery.com>
18217
18218 [BZ #15105]
18219 * ctype/ctype.c (tolower): Use libc_hidden_def.
18220 (toupper): Likewise.
18221 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
18222 [!_ISOMAC] (toupper): Likewise.
18223
81be4b5e
MF
182242018-02-23 Mike FABIAN <mfabian@redhat.com>
18225
18226 * localedata/Makefile: Remove --quiet argument when
18227 installing locales
18228
9d5cfd8e
MF
182292018-02-23 Mike FABIAN <mfabian@redhat.com>
18230
18231 [BZ #17438]
18232 * localedata/locales/pt_BR (LC_TIME): use / instead of -
18233 in d_fmt.
18234 * localedata/locales/pt_PT (LC_TIME): likewise
18235
6c7269f3
MF
182362018-02-23 Mike FABIAN <mfabian@redhat.com>
18237
18238 [BZ #22646]
18239 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
18240 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
18241 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
18242
92aabad9
AZ
182432018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18244
4cdc25a4
AZ
18245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18246
27761a10
AZ
18247 * nptl/Makefile (routines): Remove unregister-atfork.
18248 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
18249 (fork_handler_alloc): Remove function.
18250 (fork_handlers, fork_handler_init): New variables.
18251 (__fork_lock): Rename to atfork_lock.
18252 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
18253 to use a dynamic array to add/remove atfork handlers.
18254 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
18255 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
18256 Remove declaration.
18257 (fork_handler): Remove next, refcntr, and need_signal member.
18258 (__run_fork_handler_type): New enum.
18259 (__run_fork_handlers): New prototype.
18260 * nptl/register-atfork.c: Remove file.
18261 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
18262
92aabad9
AZ
18263 * sysdeps/nptl/nptl-signals.h: Move to ...
18264 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
18265 comments.
18266 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
18267 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
18268 unnecessary check for SIGTIMER.
18269 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
18270 remove unnecessary removal of SIGTIMER.
18271 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
18272 include-signals.h rename.
18273 * nptl/pthreadP.h: Likewise.
18274 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
18275 __is_internal_signal instead of __nptl_is_internal_signal.
18276
6b5c8607 182772018-02-22 Andrew Waterman <andrew@sifive.com>
fdcc6253 18278
7e04eb29 18279 [BZ # 22884]
fdcc6253
AW
18280 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
18281 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
18282 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
18283 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
18284
8090720a
DD
182852018-02-22 DJ Delorie <dj@delorie.com>
18286
18287 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
18288
6ca24c43
SP
182892018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
18290
18291 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
18292 do_misaligned, not misaligned8.
18293
e9537ddd
SE
182942018-02-22 Steve Ellcey <sellcey@cavium.com>
18295
18296 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
18297 Add memcpy_thunderx2.
18298 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
18299 Increment to 4.
18300 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
18301 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
18302 and IS_THUNDERX2PA checks.
18303 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
18304 Use macro to set name appropriately.
18305 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
18306 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
18307 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
18308 New macro.
18309 (IS_THUNDERX2): New macro.
18310
6e336476
SL
183112018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
18312
18313 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18314
34957904
ZW
183152018-02-21 Zack Weinberg <zackw@panix.com>
18316
30bfee26
ZW
18317 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
18318 Define here, unconditionally.
18319 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
18320 * libio/libioP.h: Remove #if 0 blocks.
18321 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
18322 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
18323 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
18324
18325 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
18326 Assume weak_alias is always defined.
18327
18328 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
18329 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
18330 Remove #if 0 and #ifdef TODO blocks.
18331 Assume text_set_element is always defined.
18332
18333 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
18334 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
18335 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
18336
df6c012b
ZW
18337 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
18338 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
18339 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
18340 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
18341 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
18342 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
18343 Reformat bit flags for _flags field to make occupancy clearer.
18344 Update commentary.
18345 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
18346 Keep definitions consistent with those in libio/libio.h.
18347
18348 * libio/libio.h (_IO_file_flags): Remove macro.
18349 All uses changed to _flags.
18350
177aad3f
ZW
18351 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
18352 (__HAVE_COLUMN, _IO_BE): Don't define.
18353 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
18354 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
18355 * libio/libioP.h (EOF): Don't define.
18356 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
18357 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
18358 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
18359 testing _IO_UNIFIED_JUMPTABLES.
18360
9964a145
ZW
18361 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
18362 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
18363 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
18364 (_IO_size_t): Delete; all uses changed to size_t.
18365 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
18366 (_IO_off_t): Delete; all uses changed to off_t.
18367 (_IO_off64_t): Delete; all uses changed to off64_t.
18368 (_IO_pid_t): Delete; all uses changed to pid_t.
18369 (_IO_uid_t): Delete; all uses changed to uid_t.
18370 (_IO_wint_t): Delete; all uses changed to wint_t.
18371 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
18372 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
18373 (_IO_cookie_io_functions_t): Delete; all uses changed to
18374 cookie_io_functions_t.
18375 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
18376 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
18377 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
18378 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
18379
18380 * libio/iofopncook.c: Remove unnecessary forward declarations.
18381 * libio/iolibio.h: Correct outdated commentary.
18382 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
18383 * stdio-common/fxprintf.c (__fxprintf_nocancel):
18384 Remove unnecessary casts.
18385 * stdio-common/getline.c: Use _IO_getdelim directly.
18386 Don't redefine ssize_t.
18387 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
18388 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
18389 Remove outdated comments.
18390 * stdio-common/vfscanf.c: Don't redefine va_list.
18391
34957904
ZW
18392 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
18393 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
18394 Remove preprocessor conditionals on _LIBC and __USE_GNU,
18395 which are always true, and __cplusplus, which is always false.
18396
30ac923d
JM
183972018-02-21 Joseph Myers <joseph@codesourcery.com>
18398
039c721a
JM
18399 [BZ #15105]
18400 [BZ #19463]
18401 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
18402 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
18403 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
18404 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
18405 libc_hidden_proto.
18406 [!_ISOMAC] (putc_unlocked): Likewise.
18407 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
18408 define inline if [__USE_EXTERN_INLINES].
18409 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
18410 putc_unlocked.
18411
30ac923d
JM
18412 [BZ #15105]
18413 [BZ #19463]
18414 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
18415 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
18416 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
18417 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
18418 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
18419 getc_unlocked.
18420 * time/tzfile.c (__tzfile_read): Likewise.
18421
7ec5f946
MF
184222018-02-21 Mike FABIAN <mfabian@redhat.com>
18423
18424 [BZ #22517]
18425 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
18426
0d217f40
RJ
184272018-02-21 Rical Jasan <ricaljasan@pacific.net>
18428
18429 * io/fcntl.h: Fix a typo in a comment.
18430
862b4502
RJ
184312018-02-21 Rical Jasan <ricaljasan@pacific.net>
18432
18433 [BZ #22862]
18434 * include/features.h: Add _ISOC11_SOURCE to test for whether to
18435 define _DEFAULT_SOURCE.
18436 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
18437
999a6dab
FW
184382018-02-21 Florian Weimer <fweimer@redhat.com>
18439
18440 [BZ #20890]
18441 * elf/cache.c (save_cache): Call fsync on temporary file before
18442 renaming it.
18443 (save_aux_cache): Call fdatasync on temporary file before renaming
18444 it.
18445
52a01100
FW
184462018-02-21 Florian Weimer <fweimer@redhat.com>
18447
18448 [BZ #22787]
18449 * include/caller.h: Remove file.
18450 * elf/dl-caller.c: Likewise.
18451 * elf/Makefile (dl-routines): Remove dl-caller.
18452 (shared-only-routines): Do not add dl-caller.
18453 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
18454 __check_caller.
18455 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
18456 member.
18457 (dl_open_worker): Do not call __check_caller.
18458 (_dl_open): Do not set caller_dl_open member.
18459 * elf/rtld.c (_rtld_global_ro): Do not initialize
18460 _dl_check_caller member.
18461 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
18462 _dl_check_caller member.
18463 (_dl_check_caller): Remove declaration.
18464 * sysdeps/unix/sysv/linux/dl-execstack.c
18465 (_dl_make_stack_executable): Do not call __check_caller.
18466
b5bf62e4
ST
184672018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
18468
18469 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
315304d2 18470 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
b5bf62e4 18471
e8d190b9
RJ
184722018-02-20 Rical Jasan <ricaljasan@pacific.net>
18473
18474 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
18475 description.
18476
6a3962c4
RJ
184772018-02-20 Rical Jasan <ricaljasan@pacific.net>
18478
da81ae64 18479 [BZ #16335]
6a3962c4
RJ
18480 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
18481 of 199606L, 200112L, and 200809L.
18482 (_XOPEN_SOURCE): Document special values of 600 and 700.
18483 (_ISOC11_SOURCE): Document macro.
18484 (_ATFILE_SOURCE): Likewise.
18485 (_FORTIFY_SOURCE): Likewise.
18486
ec481ad8
JM
184872018-02-19 Joseph Myers <joseph@codesourcery.com>
18488
18489 [BZ #15105]
18490 [BZ #19463]
18491 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
18492 and define as weak alias of __ferror_unlocked. Use
18493 libc_hidden_weak.
18494 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
18495 libc_hidden_proto.
18496 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
18497 function if [__USE_EXTERN_INLINES].
18498 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
18499 ferror_unlocked.
18500
7d15ef84
RJ
185012018-02-19 Rical Jasan <ricaljasan@pacific.net>
18502
18503 [BZ #6889]
18504 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
18505
f8d79582
AJ
185062018-02-18 Aurelien Jarno <aurelien@aurel32.net>
18507
18508 [BZ #22818]
18509 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
18510 the GLIBC_2.1 version.
18511
56456a2a
AJ
185122018-02-18 Aurelien Jarno <aurelien@aurel32.net>
18513
18514 [BZ #21508]
18515 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
18516 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
18517 intl/tst-gettext-de.po from po/de.po by removing the
18518 POT-Creation-Date line.
18519 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
18520 ../po/de.po.
18521 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
18522 ../po/de.po.
18523
13768813
ST
185242018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
18525
18526 * mach/Makefile (headers): Add mach/param.h.
18527 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
18528 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
dd1efd8c
ST
18529 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
18530 (__ptsname_r): Move implementation to...
18531 (__ptsname_internal): ... new function. Add filling the STP
18532 structure.
13768813 18533
6aca1b61
JDA
185342018-02-17 John David Anglin <danglin@gcc.gnu.org>
18535
18536 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
18537 idouble to 1 ULP.
18538
16efad51
RJ
185392018-02-16 Rical Jasan <ricaljasan@pacific.net>
18540
18541 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
18542 syntax.
18543
87245073
SL
185442018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18545
18546 * nptl/Makefile (tst-mutex8-ENV): Delete.
18547 * nptl/tst-mutex8.c (check_type):
18548 Add runtime check if mutex will be elided.
18549
7fc03cf3
JM
185502018-02-15 Joseph Myers <joseph@codesourcery.com>
18551
db9881ec
JM
18552 [BZ #20980]
18553 [BZ #21234]
18554 * manual/install.texi (Configuring and compiling): Describe
18555 passing CC and CFLAGS on configure command line, not as
18556 environment variables. Use @code markup on those variables.
18557 Specify what options go in CC and what go in CFLAGS. Note the
18558 requirement to compile with optimization.
18559 * INSTALL: Regenerated.
18560
3785b31c
JM
18561 [BZ #18124]
18562 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
18563 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
18564 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
18565 __sigprocmask instead of sigprocmask.
18566 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
18567 Likewise.
18568 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
18569 __sigsetjmp and sigprocmask.
18570
055ac2a7
JM
18571 [BZ #15105]
18572 * include/argz.h (argz_next): Use libc_hidden_proto.
18573 (__argz_next): Likewise.
18574 * string-argz-next.c (__argz_next): Use libc_hidden_def.
18575 (argz_next): Use libc_hidden_weak.
18576
e4452a2d
JM
18577 [BZ #15105]
18578 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
18579 libc_hidden_proto.
18580 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
18581 libc_hidden_def.
18582
499b3153
JM
18583 [BZ #15105]
18584 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
18585 libc_hidden_proto.
18586 * libio/iofputs.c (fputs): Use libc_hidden_weak.
18587
7fc03cf3
JM
18588 [BZ #15105]
18589 [BZ #19463]
18590 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
18591 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
18592 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
18593 (__feof_unlocked): New declaration, and inline function if
18594 [__USE_EXTERN_INLINES].
18595 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
18596 instead of feof_unlocked.
18597 * intl/localealias.c [_LIBC] (FEOF): Likewise.
18598 * nss/nsswitch.c (nss_parse_file): Likewise.
18599 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
18600 Likewise.
18601 * time/getdate.c (__getdate_r): Likewise.
18602 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
18603 Define as macro to call __feof_unlocked.
18604
0c8a67a5
WD
186052018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
18606
18607 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
18608
610ee1fc
WD
186092018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
18610
18611 * math/Makefile: Remove mpexp.c and mplog.c
18612 * sysdeps/i386/fpu/mpexp.c: Delete file.
18613 * sysdeps/i386/fpu/mplog.c: Likewise.
18614 * sysdeps/ia64/fpu/mpexp.c: Likewise.
18615 * sysdeps/ia64/fpu/mplog.c: Likewise.
18616 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
18617 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
18618 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
18619 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
18620 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
18621 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
18622 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
18623 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
18624 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
18625 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18626 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
18627 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
18628 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18629 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
18630 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
18631 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18632
8e7196c8
SL
186332018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
18634
18635 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18636
4f55ad0b
AZ
186372018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18638
18639 * sysdeps/sh/libm-test-ulps: Update.
18640
261a851c
TMQMF
186412018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18642
18643 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
18644 idouble to 1 ULP.
18645
e16deca6
ZW
186462018-02-12 Zack Weinberg <zackw@panix.com>
18647
18648 [BZ #19239]
18649 * posix/sys/types.h: Don't include sys/sysmacros.h.
18650 * misc/sys/sysmacros.h: Remove the conditional deprecation
18651 warnings for the macros defined by this header.
18652
de800d83
SN
186532018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18654
18655 * manual/probes.texi: Remove slowexp probes.
18656 * math/Makefile: Remove slowexp.
18657 * sysdeps/generic/math_private.h (__slowexp): Remove.
18658 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
18659 document error bounds.
18660 * sysdeps/i386/fpu/slowexp.c: Remove.
18661 * sysdeps/ia64/fpu/slowexp.c: Remove.
18662 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
18663 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
18664 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
18665 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
18666 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
18667 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
18668 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
18669 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
18670 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
18671 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
18672 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
18673
c3d466cb
WD
186742018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
18675
18676 [BZ #13932]
18677 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
18678 * benchtests/pow-inputs: Update comment for slow path cases.
18679 * manual/probes.texi (slowpow_p10): Delete removed probe.
18680 (slowpow_p10): Likewise.
18681 * math/Makefile: Remove halfulp.c and slowpow.c.
18682 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
18683 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
18684 (__halfulp): Remove.
18685 (__slowpow): Remove.
18686 * sysdeps/i386/fpu/halfulp.c: Delete file.
18687 * sysdeps/i386/fpu/slowpow.c: Likewise.
18688 * sysdeps/ia64/fpu/halfulp.c: Likewise.
18689 * sysdeps/ia64/fpu/slowpow.c: Likewise.
18690 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
18691 improve comments and add error analysis.
18692 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
18693 (power1): Remove function:
18694 (log1): Remove error argument, add error analysis.
18695 (my_log2): Remove function.
18696 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
18697 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18698 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
18699 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
18700 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
18701 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
18702 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
18703 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
18704 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
18705 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
18706 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
18707 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18708 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
18709 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18710
7bb087bd
ST
187112018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
18712
18713 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
18714 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
18715
2fd4bbaa
DL
187162018-02-10 Dmitry V. Levin <ldv@altlinux.org>
18717
18718 [BZ #22433]
18719 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
18720 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
18721 and PTRACE_SETHBPREGS.
18722
402ecba4
ZW
187232018-02-10 Zack Weinberg <zackw@panix.com>
18724
18725 [BZ #22830]
18726 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
18727 correctly.
18728 * malloc/tst-malloc-stats-cancellation.c: New test case.
18729 * malloc/Makefile: Add new test case.
18730
4f5b921e
WD
187312018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
18732
18733 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
18734
a85b70db
JM
187352018-02-10 Joseph Myers <joseph@codesourcery.com>
18736
d8742dd8
JM
18737 * math/Makefile (libm-narrow-fns): Add add.
18738 (libm-test-funcs-narrow): Likewise.
18739 * math/Versions (GLIBC_2.28): Add narrowing add functions.
18740 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
18741 * math/gen-auto-libm-tests.c (test_functions): Add add.
18742 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
18743 (NARROW_ADD_ROUND_TO_ODD): Likewise.
18744 (NARROW_ADD_TRIVIAL): Likewise.
18745 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
18746 macro.
18747 (__daddl): Likewise.
18748 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
18749 dadd.
18750 (CFLAGS-nldbl-dadd.c): New variable.
18751 (CFLAGS-nldbl-fadd.c): Likewise.
18752 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
18753 __nldbl_daddl.
18754 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
18755 prototype.
18756 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
18757 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
18758 * math/auto-libm-test-in: Add tests of add.
18759 * math/auto-libm-test-out-narrow-add: New generated file.
18760 * math/libm-test-narrow-add.inc: New file.
18761 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
18762 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
18763 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
18764 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
18765 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
18766 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
18767 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
18768 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
18769 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
18770 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
18771 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
18772 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
18773 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
18774 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
18775 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
18776 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
18777 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
18778 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
18779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18780 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
18781 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18782 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18783 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18784 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18785 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18786 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18787 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18788 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18789 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18790 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18791 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18792 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
18795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18797 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18798 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18799 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18800 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18801 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18802 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18803 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
18804 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
18805 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18806 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18807
a85b70db
JM
18808 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
18809 (f128-pairs): New variable.
18810 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
18811 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
18812 to CFLAGS.
18813 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
18814 Also make tests add $(f128-loader-link) to gnulib-tests.
18815
6a1ff640
DD
188162018-02-09 DJ Delorie <dj@redhat.com>
18817
18818 [BZ #22827]
18819 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
18820 64-bit ELF type for 64-bit ELF objects.
18821
bfd47587
JM
188222018-02-09 Joseph Myers <joseph@codesourcery.com>
18823
31958338
JM
18824 * math/libm-test-driver.c (snan_tests_arg): New variable.
18825 * math/libm-test-support.h (snan_tests_arg): New declaration.
18826 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
18827
8e554659
JM
18828 * math/Makefile (test-type-pairs): New variable.
18829 (test-type-pairs-f64xf128-yes): Likewise.
18830 (tests): Add test-narrow-macros.
18831 (libm-test-funcs-narrow): New variable.
18832 (libm-test-c-narrow): Likewise.
18833 (generated): Add $(libm-test-c-narrow).
18834 (libm-tests-base-narrow): New variable.
18835 (libm-tests-narrow): Likewise.
18836 (libm-tests): Add $(libm-tests-narrow).
18837 (libm-tests-for-type): Handle $(libm-tests-narrow).
18838 (libm-test-c-narrow-obj): New variable.
18839 ($(libm-test-c-narrow-obj)): New rule.
18840 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
18841 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
18842 $(o-iterator) to set dependencies and CFLAGS.
18843 * math/gen-auto-libm-tests.c: Document use for narrowing
18844 functions.
18845 (output_for_one_input_case): Take argument NARROW.
18846 (generate_output): Likewise. Update call to
18847 output_for_one_input_case.
18848 (main): Take --narrow option. Update call to generate_output.
18849 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
18850 (apply_lit): Update call to _apply_lit.
18851 (apply_arglit): New function.
18852 (parse_args): Handle "a" arguments.
18853 (parse_auto_input): Handle format names using ":".
18854 * math/README.libm-test: Document "a" parameter type.
18855 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
18856 (ARG_TYPE_TRUE_MIN): Likewise.
18857 (ARG_TYPE_MAX): Likwise.
18858 (ARG_MIN_EXP): Likewise.
18859 (ARG_MAX_EXP): Likewise.
18860 (ARG_MANT_DIG): Likewise.
18861 (TEST_COND_arg_ibm128): Likewise.
18862 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
18863 (TEST_COND_arg_fmt): New macro.
18864 (init_max_error): Update prototype.
18865 * math/libm-test-support.c (test_ibm128): New variable.
18866 (init_max_error): Take argument testing_ibm128 and set test_ibm128
18867 instead of using [TEST_COND_ibm128] conditional.
18868 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
18869 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
18870 [TEST_NARROW] (TEST_MSG): New definition.
18871 (arg_plus_zero): New macro.
18872 (arg_minus_zero): Likewise.
18873 (arg_plus_infty): Likewise.
18874 (arg_minus_infty): Likewise.
18875 (arg_qnan_value_pl): Likewise.
18876 (arg_qnan_value): Likewise.
18877 (arg_snan_value_pl): Likewise.
18878 (arg_snan_value): Likewise.
18879 (arg_max_value): Likewise.
18880 (arg_min_value): Likewise.
18881 (arg_min_subnorm_value): Likewise.
18882 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
18883 (RUN_TEST_LOOP_aa_f): New macro.
18884 (TEST_SUFF): New macro.
18885 (TEST_SUFF_STR): Likewise.
18886 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
18887 (TEST_COND_any_ibm128): New macro.
18888 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
18889 this_func. Update call to init_max_error.
18890 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
18891 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
18892 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
18893 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
18894 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
18895 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
18896 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
18897 * math/test-math-scalar.h (TEST_NARROW): Likewise.
18898 * math/test-math-vector.h (TEST_NARROW): Likewise.
18899 * math/test-arg-double.h: New file.
18900 * math/test-arg-float128.h: Likewise.
18901 * math/test-arg-float32x.h: Likewise.
18902 * math/test-arg-float64.h: Likewise.
18903 * math/test-arg-float64x.h: Likewise.
18904 * math/test-arg-ldouble.h: Likewise.
18905 * math/test-math-narrow.h: Likewise.
18906 * math/test-narrow-macros.c: Likewise.
18907 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
18908 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
18909 test-narrow-macros-ldbl-64.
18910 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
18911
63716ab2
JM
18912 * math/bits/mathcalls-narrow.h: New file.
18913 * include/bits/mathcalls-narrow.h: Likewise.
18914 * math/math-narrow.h: Likewise.
18915 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
18916 (__MATHCALL_NARROW_ARGS_2): Likewise.
18917 (__MATHCALL_NARROW_ARGS_3): Likewise.
18918 (__MATHCALL_NARROW_NORMAL): Likewise.
18919 (__MATHCALL_NARROW_REDIR): Likewise.
18920 (__MATHCALL_NARROW): Likewise.
18921 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
18922 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
18923 defined.
18924 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
18925 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
18926 (libm-narrow-fns): New variable.
18927 (libm-narrow-types-basic): Likewise.
18928 (libm-narrow-types-ldouble-yes): Likewise.
18929 (libm-narrow-types-float128-yes): Likewise.
18930 (libm-narrow-types-float128-alias-yes): Likewise.
18931 (libm-narrow-types): Likewise.
18932 (libm-routines): Add narrowing functions.
18933 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
18934 (libc_feholdexcept_setroundf128): New macro.
18935 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
18936 * sysdeps/ieee754/float128/float128_private.h: Include
18937 <math/math-narrow.h>.
18938 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
18939 Undefine and redefine.
18940 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
18941 (libm_alias_float_ldouble): Undefine and redefine.
18942 (libm_alias_double_ldouble): Likewise.
18943
bfd47587
JM
18944 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
18945
3f8d9d58
WD
189462018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
18947
18948 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
18949 FPCR/FPSR.
18950
1f6676d7
RJ
189512018-02-09 Rical Jasan <ricaljasan@pacific.net>
18952
18953 * manual/creature.texi: Convert references to gcc.info to gcc.
18954 * manual/stdio.texi: Likewise.
18955 * manual/string.texi: Likewise.
18956
d80441dd
JM
189572018-02-07 Joseph Myers <joseph@codesourcery.com>
18958
15081be9
JM
18959 [BZ #17979]
18960 * posix/bits/types.h (__int_least8_t): New typedef.
18961 (__uint_least8_t): Likewise.
18962 (__int_least16_t): Likewise.
18963 (__uint_least16_t): Likewise.
18964 (__int_least32_t): Likewise.
18965 (__uint_least32_t): Likewise.
18966 (__int_least64_t): Likewise.
18967 (__uint_least64_t): Likewise.
18968 * sysdeps/generic/stdint.h (int_least8_t): Define using
18969 __int_least8_t.
18970 (int_least16_t): Define using __int_least16_t.
18971 (int_least32_t): Define using __int_least32_t.
18972 (int_least64_t): Define using __int_least64_t.
18973 (uint_least8_t): Define using __uint_least8_t.
18974 (uint_least16_t): Define using __uint_least16_t.
18975 (uint_least32_t): Define using __uint_least32_t.
18976 (uint_least64_t): Define using __uint_least64_t.
18977 * wcsmbs/uchar.h: Include <bits/types.h>.
18978 (char16_t): Define using __uint_least16_t conditional only on
18979 [!__USE_ISOCXX11].
18980 (char32_t): Define using __uint_least32_t conditional only on
18981 [!__USE_ISOCXX11].
18982 * wcsmbs/test-char-types.c: New file.
18983 * wcsmbs/Makefile (tests): Add test-char-types.
18984
d80441dd
JM
18985 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
18986 version to 4.0.1.
18987
6c6c962a
ZW
189882018-02-07 Zack Weinberg <zackw@panix.com>
18989
63fb8f9a
ZW
18990 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
18991 Delete all contents except for definitions of _G_HAVE_MMAP and
18992 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
18993 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
18994 sysdeps/unix/sysv/linux/_G_config.h. Make same content
18995 change as above.
18996
18997 * libio/libio.h: Don't include bits/_G_config.h here.
18998 Include stddef.h with __need_wchar_t defined. Include
18999 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
19000 Define _IO_iconv_t here, directly.
19001 Don't define _IO_HAVE_ST_BLKSIZE.
19002 * libio/libioP.h: Include _G_config.h here. Move include of
19003 shlib-compat.h up with rest of includes. Simplify conditionals
19004 controlling definition of _IO_JUMPS_OFFSET.
19005
19006 * csu/init.c: Remove always-true #if around entire file.
19007 Don't include stdio.h. Set _IO_stdin_used to hardwired
19008 constant 0x20001, and update commentary.
19009 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
19010 Replace all uses of _G_va_list with __gnuc_va_list.
19011 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
19012 instead of #if _IO_HAVE_ST_BLKSIZE.
19013 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
19014 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
19015 not #ifdef.
19016
6c6c962a
ZW
19017 * libio/bits/libio.h: Move back to libio/libio.h and adjust
19018 multiple-include guard to match.
19019 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
19020 into this file.
19021 Remove preprocessor conditionals that are always true and/or
19022 redundant to other preprocessor conditionals in the same nest.
19023 Include shlib-compat.h unconditionally.
19024 Error out if _LIBC is not defined, or if _ISOMAC is defined,
19025 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
19026 defined after including stdio.h.
19027 Use __BEGIN_DECLS/__END_DECLS.
19028
19029 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
19030 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
19031 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
19032
a4fea3f2
ZW
190332018-02-07 Zack Weinberg <zackw@panix.com>
19034
19035 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
19036 New single-type headers split from _G_config.h.
19037 * libio/bits/types/cookie_io_functions_t.h
19038 * libio/bits/types/struct_FILE.h
19039 New single-type headers split from libio.h.
19040
19041 * libio/Makefile: Install the above new headers. Don't install
19042 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
19043 bits/libio-ldbl.h.
19044 * libio/_G_config.h, libio/libio.h: Delete file.
19045
19046 * libio/bits/libio.h: Remove improper-inclusion guard.
19047 Include stdio.h and don't repeat anything that it does.
19048 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
19049 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
19050 __io_read_fn as cookie_read_function_t,
19051 __io_write_fn as cookie_write_function_t,
19052 __io_seek_fn as cookie_seek_function_t,
19053 __io_close_fn as cookie_close_function_t,
19054 and _IO_cookie_io_functions_t as cookie_io_functions_t.
19055 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
19056 here, in the "compatibility defines" section. Remove an #if 0
6c6c962a 19057 block. Use the "body" macros from bits/types/struct_FILE.h to
a4fea3f2
ZW
19058 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
19059 and _IO_ferror_unlocked.
19060 Move prototypes of __uflow and __overflow...
19061
19062 * libio/stdio.h: ...here. Don't include bits/libio.h.
19063 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6c6c962a 19064 directly from stdarg.h. Include bits/types/__fpos_t.h,
a4fea3f2
ZW
19065 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
19066 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
19067 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
19068 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
19069 cookie_io_functions_t, not _IO_cookie_io_functions_t;
19070 __ssize_t, not _IO_ssize_t. Unconditionally define
19071 BUFSIZ as 8192 and EOF as (-1).
19072
19073 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
19074 macros from bits/types/struct_FILE.h instead of _IO_* macros
19075 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
19076 instead of _IO_ssize_t.
19077 * libio/bits/stdio2.h: Similarly.
19078
19079 * libio/iolibio.h: Add multiple-include guard.
19080 Include bits/libio.h after stdio.h.
19081 * libio/libioP.h: Add multiple-include guard.
19082 Include stdio.h and bits/libio.h before iolibio.h.
19083
6c6c962a 19084 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
a4fea3f2
ZW
19085 * include/bits/types/cookie_io_functions_t.h
19086 * include/bits/types/struct_FILE.h: New wrappers.
19087
19088 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6c6c962a
ZW
19089 Get definitions of _G_fpos_t and _G_fpos64_t from
19090 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
19091 respectively. Remove improper-inclusion guards.
a4fea3f2 19092
6c6c962a 19093 * conform/data/stdio.h-data: Update expectations of va_list.
a4fea3f2 19094 * scripts/check-installed-headers.sh: Remove special case for
6c6c962a 19095 libio.h and _G_config.h.
a4fea3f2 19096
ce999220
JM
190972018-02-07 Joseph Myers <joseph@codesourcery.com>
19098
8b4a1182
JM
19099 [BZ #15105]
19100 [BZ #19463]
19101 * include/sys/sysmacros.h [!_ISOMAC]
19102 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
19103 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
19104 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
19105 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
19106 libc_hidden_proto.
19107 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
19108 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
19109 Likewise.
19110 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
19111 Undefine and redefine to add use __gnu_dev_ prefix.
19112 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
19113 Likewise.
19114 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
19115 and define as hidden inline function.
19116 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
19117 Likewise.
19118 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
19119 Likewise.
19120 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
19121 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
19122 (gnu_dev_minor): Likewise.
19123 (gnu_dev_makedev): Likewise.
19124 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
19125 makedev.
19126 * posix/wordexp.c (exec_comm_child): Likewise.
19127 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
19128 instead of minor and __gnu_dev_major instead of major.
19129 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
19130 __gnu_dev_major instead of major.
19131 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
19132 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
19133 instead of gnu_dev_minor.
19134 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
19135 (SLAVE_P): Likewise.
19136 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
19137 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
19138 instead of major.
19139
ce999220
JM
19140 [BZ #21313]
19141 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
19142 in another place.
19143 * locale/weightwc.h (findidx): Likewise.
19144
b7c83ca3
WD
191452018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
19146
19147 * manual/probes.texi (slowlog): Delete documentation of removed probe.
19148 (slowlog_inexact): Likewise
19149 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
19150 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
19151
388ff7bd
IG
191522018-02-07 Igor Gnatenko <ignatenko@redhat.com>
19153
19154 [BZ #22797]
19155 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
19156 missing second underscore to parameter name.
19157
663e7d78
JM
191582018-02-06 Joseph Myers <joseph@codesourcery.com>
19159
0d40d0ec
JM
19160 [BZ #14508]
19161 [BZ #15512]
19162 [BZ #17082]
19163 [BZ #20530]
19164 * bits/byteswap.h: Update file comment. Do not include
19165 <bits/byteswap-16.h>.
19166 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
19167 constant.
19168 (__bswap_16): Define as inline function.
19169 (__bswap_constant_32): Reformat definition.
19170 (__bswap_32): Always define as inline function, not macro, using
19171 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
19172 otherwise __bswap_constant_32.
19173 (__bswap_constant_64): Reformat definition. Do not use
19174 __extension__ here.
19175 (__bswap_64): Always define as inline function, not macro. Use
19176 __extension__ on function definition. Use __builtin_bswap64 if
19177 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
19178 * string/test-endian-file-scope.c: New file.
19179 * string/test-endian-sign-conversion.c: Likewise.
19180 * string/Makefile (headers): Remove bits/byteswap-16.h.
19181 (tests): Add test-endian-file-scope and
19182 test-endian-sign-conversion.
19183 (CFLAGS-test-endian-sign-conversion.c): New variable.
19184 * bits/byteswap-16.h: Remove file.
19185 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
19186 * sysdeps/ia64/bits/byteswap.h: Likewise.
19187 * sysdeps/m68k/bits/byteswap.h: Likewise.
19188 * sysdeps/s390/bits/byteswap-16.h: Likewise.
19189 * sysdeps/s390/bits/byteswap.h: Likewise.
19190 * sysdeps/tile/bits/byteswap.h: Likewise.
19191 * sysdeps/x86/bits/byteswap-16.h: Likewise.
19192 * sysdeps/x86/bits/byteswap.h: Likewise.
19193
383e87c9
JM
19194 [BZ #17721]
19195 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
19196 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
19197 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
19198 199901L] (__restrict): Define to restrict.
19199
d92c2759
JM
19200 [BZ #19667]
19201 * string/testcopy.c: Include <support/support.h>. Do not include
19202 <malloc.h>. Use <support/test-driver.c>.
19203 (main): Rename to do_test. Make static. Use xmalloc instead of
19204 malloc.
19205
625fb764
JM
19206 [BZ #13575]
19207 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
19208 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
19209 (SSIZE_MAX): Define to INT_MAX.
19210 * posix/test-ssize-max.c: New file.
19211 * posix/Makefile (tests): Add test-ssize-max.
19212
02325d6c
JM
19213 [BZ #19668]
19214 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
19215 <support/support.h>. Do not include <malloc.h>.
19216 (query_auxv): Use xmalloc instead of malloc.
19217
663e7d78
JM
19218 [BZ #14553]
19219 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
19220 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
19221 instead of loff_t.
19222
6b5c8607 192232018-02-06 Florian Weimer <fweimer@redhat.com>
6d7aa2b5
FW
19224
19225 [BZ #18023]
19226 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19227 Use scratch_buffer instead of extend_alloca.
19228
de6da571
ZW
192292018-02-06 Zack Weinberg <zackw@panix.com>
19230
26c07172
ZW
19231 * libio/stdio.h: Don't define getc or putc as macros.
19232 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
19233 not _IO_getc and _IO_putc.
19234
de6da571
ZW
19235 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
19236 * stdio-common/tstgetln.c: Don't redefine ssize_t.
19237
92669d6e
JM
192382018-02-06 Joseph Myers <joseph@codesourcery.com>
19239
c2b84df9
JM
19240 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
19241 (TCP_FASTOPEN_NO_COOKIE): Likewise.
19242
41376f8c
JM
19243 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
19244
d28bf648
JM
19245 [BZ #14890]
19246 * elf/elf.h (NT_PRFPREG): New macro.
19247 (NT_S390_VXRS_LOW): Likewise.
19248 (NT_S390_VXRS_HIGH): Likewise.
19249 (NT_S390_GS_CB): Likewise.
19250 (NT_S390_GS_BC): Likewise.
19251 (NT_S390_RI_CB): Likewise.
19252
e76def72
JM
19253 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
19254 (MAP_SYNC): New macro.
19255 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
19256 Likewise.
19257 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
19258 (MAP_SYNC): Likewise.
19259 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
19260 (MAP_SYNC): Likewise.
19261 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
19262 (MAP_SYNC): Likewise.
19263 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
19264 (MAP_SYNC): Likewise.
19265 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
19266 (MAP_SYNC): Likewise.
19267 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
19268 (MAP_SYNC): Likewise.
19269 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
19270 Likewise.
19271 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
19272 Likewise.
19273
92669d6e
JM
19274 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
19275 (MAP_SHARED_VALIDATE): New macro.
19276 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
19277 (MAP_SHARED_VALIDATE): Likewise.
19278
6a5cac49
L
192792018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19280
19281 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
19282 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
19283 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
19284
b44e0dfb
L
192852018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19286
19287 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
19288 (DT_NUM): Updated to 35.
19289
f886c16c
L
192902018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19291
19292 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
19293 __builtin_expect with __glibc_likely and __glibc_unlikely.
19294 (elf_machine_rela): Likewise.
19295 (elf_machine_lazy_rel): Likewise.
19296
06fbebff
L
192972018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19298
19299 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8f4bf93f 19300 __builtin_expect with __glibc_likely and __glibc_unlikely.
06fbebff
L
19301 (elf_machine_lazy_rel): Likewise.
19302
371b220f
L
193032018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19304
19305 [BZ #22638]
19306 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
19307 SHARED.
65805016 19308 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
371b220f 19309
f649a1b8
AS
193102018-02-05 Andreas Schwab <schwab@suse.de>
19311
19312 [BZ #22761]
19313 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
19314 string.
19315
9fdb340e
ST
193162018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
19317
19318 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
19319 not check against PTHREAD_STACK_MIN.
19320
09e56b9e
SM
193212018-02-02 Sean McKean <smckean83@gmail.com>
19322
19323 [BZ #22735]
19324 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
19325
d4b4a00a
FW
193262018-02-02 Florian Weimer <fweimer@redhat.com>
19327
19328 [BZ #22753]
19329 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
19330 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
19331 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
19332 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
19333 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
19334 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
19335 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
19336 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
19337 * manual/llio.texi (Scatter-Gather): Mention offset -1.
19338 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
19339 * misc/tst-preadvwritev2.c (do_test): Call it.
19340 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
19341
3dfcbfa1
SP
193422018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
19343
84c94d2f
SP
19344 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
19345
96e6a716
SP
19346 * benchtests/bench-memcmp.c: Print json instead of plain text.
19347
3dfcbfa1
SP
19348 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
19349 every test run.
19350
049375e2
JM
193512018-02-01 Joseph Myers <joseph@codesourcery.com>
19352
39f898c6
JM
19353 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
19354 version to 4.15.
19355 (s390_sthyi): New syscall.
19356
6f9a3dd8
JM
19357 * sysdeps/generic/ldbl-classify-compat.h: New file.
19358 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
19359 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
19360 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
19361 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
19362 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
19363 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
19364 * sysdeps/ieee754/dbl-64/s_finite.c: Include
19365 <ldbl-classify-compat.h>.
19366 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19367 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
19368 <ldbl-classify-compat.h>.
19369 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19370 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
19371 <ldbl-classify-compat.h>.
19372 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19373 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
19374 <ldbl-classify-compat.h>.
19375 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19376 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
19377 <ldbl-classify-compat.h>.
19378 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19379 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
19380 <ldbl-classify-compat.h>.
19381 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19382 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
19383 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
19384 * sysdeps/m68k/coldfire/math_private.h: Remove file.
19385 * sysdeps/microblaze/math_private.h: Likewise.
19386 * sysdeps/nios2/math_private.h: Likewise.
19387 * sysdeps/sh/math_private.h: Likewise.
19388
eb65a3d5
JM
19389 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
19390 * sysdeps/m68k/coldfire/math_private.h: ... here.
19391 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
19392 * sysdeps/tile/math_private.h: Likewise.
19393 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
19394 Remove macro.
19395 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
19396 Likewise.
19397
8a6bb1d0
JM
19398 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
19399 Remove macro.
19400 (libc_fetestexcept): Likewise.
19401 (libc_feupdateenv_test): Likewise.
19402 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
19403 (libc_fetestexcept): Likewise.
19404 (libc_feupdateenv_test): Likewise.
19405 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
19406 (libc_fetestexcept): Likewise.
19407 (libc_feupdateenv_test): Likewise.
19408 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
19409 (libc_fetestexcept): Likewise.
19410 (libc_feupdateenv_test): Likewise.
19411
ae1fcb7b
JM
19412 * sysdeps/generic/math_private.h
19413 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
19414 New inline function.
19415 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
19416 Likewise.
19417
b1c347e2
JM
19418 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
19419 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
19420 * sysdeps/generic/math_private.h
19421 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
19422 inline function.
19423 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
19424 Likewise.
19425 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
19426 Likewise.
19427 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
19428 Likewise.
19429 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
19430 Likewise.
19431 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
19432 Likewise.
19433 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
19434 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
19435 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
19436 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
19437 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
19438 (__fegetenv): Likewise.
19439 (fesetenv): Likewise.
19440 (__fesetenv): Likewise.
19441 (feupdateenv): Likewise.
19442 (__feupdateenv): Likewise.
19443 (fegetround): Likewise.
19444 (__fegetround): Likewise.
19445 (fesetround): Likewise.
19446 (__fesetround): Likewise.
19447
d23a4962
JM
19448 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
19449 (feraiseexcept): New macro.
19450 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
19451 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
19452 Remove macro.
19453 (__feraiseexcept): Likewise.
19454 (feclearexcept): Likewise.
19455 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
19456 (__feraiseexcept): Likewise.
19457 (feclearexcept): Likewise.
19458 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
19459 (__feraiseexcept): Likewise.
19460 (feclearexcept): Likewise.
19461 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
19462 (__feraiseexcept): Likewise.
19463 (feclearexcept): Likewise.
19464 (fetestexcept): Likewise.
19465
5f167950
JM
19466 * sysdeps/m68k/coldfire/math-tests.h: New file.
19467
ccc9035a
JM
19468 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
19469 * sysdeps/m68k/bits/fenv.h: ... here.
19470 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
19471 not define.
19472 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
19473 Likewise.
19474 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
19475 Likewise.
19476 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
19477 Likewise.
19478 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
19479 Likewise.
19480 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
19481 Define to 0.
19482 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
19483 (__FE_UNDEFINED): New enum constant.
19484 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
19485 Do not define.
19486 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
19487 Likewise.
19488 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
19489 Likewise.
19490 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
19491 to match generic bits/fenv.h.
19492 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
19493 Do not define.
19494
049375e2
JM
19495 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
19496 packed on bits.
19497 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
19498 * soft-fp/half.h (union _FP_UNION_H): Likewise.
19499 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
19500 * soft-fp/single.h (union _FP_UNION_S): Likewise.
19501
f1d73681
CD
195022018-02-01 Carlos O'Donell <carlos@redhat.com>
19503 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
19504 Joseph Myers <joseph@codesourcery.com>
19505
19506 [BZ #21314]
19507 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
19508 (__log1p): Disable -Wmaybe-uninitialized for -Os around
19509 computation using c.
19510 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
19511 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
19512 computation using c.
19513
242cbc90
DL
195142018-02-01 Dmitry V. Levin <ldv@altlinux.org>
19515
086ee48e
DL
19516 * version.h (RELEASE): Set to "development".
19517 (VERSION): Set to "2.27.9000".
19518 * NEWS (2.28): New section.
19519
23158b08
DL
19520 * version.h (RELEASE): Set to "stable".
19521 (VERSION): Set to "2.27".
19522 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
19523
242cbc90
DL
19524 * NEWS: Add the list of bugs fixed in 2.27.
19525
673e2305
AZ
195262018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19527
19528 * stdlib/test-atexit-race-common.c (do_test): Check stack size
19529 against PTHREAD_STACK_MIN.
19530
ced64e01
DL
195312018-02-01 Dmitry V. Levin <ldv@altlinux.org>
19532
19533 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
19534 New entries.
19535 (Rafal Luzynski, Andreas Schwab): Update.
19536
c10c9a5e
RL
195372018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
19538
19539 [BZ #10871]
19540 * NEWS: List the languages which actually use the alternative
19541 months feature in this release. Also explain that "alt_mon" and
19542 "ab_alt_mon" are optional.
19543
650ba77a
IM
195442018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
19545
19546 [BZ #22765]
19547 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
19548
93493119
DL
195492018-01-31 Dmitry V. Levin <ldv@altlinux.org>
19550
19551 * manual/install.texi (Tools for Compilation): Update the newest
19552 versions of gcc, binutils, texinfo, gawk, bison, and sed.
19553 * INSTALL: Regenerated.
19554
363e4519 195552018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
407552cf
ST
19556
19557 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
19558 instead of __builtin_expect.
19559
d7536874
FW
195602018-01-30 Florian Weimer <fweimer@redhat.com>
19561
19562 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
19563 data.
19564 * nss/tst-nss-getpwent.c (do_test): Likewise.
19565
9a1b267d
RL
195662018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
19567
19568 [BZ #10871]
19569 * localedata/locales/hr_HR (mon): Rename to...
19570 (alt_mon): This.
19571 (mon): Import from CLDR (genitive case).
19572 (d_t_fmt): Update the comment.
19573
9a179328
AS
195742018-01-29 Andreas Schwab <schwab@linux-m68k.org>
19575
19576 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
19577 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
19578 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
19579
e01e0ddc
ST
195802018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19581
19582 * mach/Versions: Fix version when __mach_host_self_ was added.
19583 * hurd/Versions: Fix version when _hurd_exec_paths was added.
19584 * sysdeps/mach/hurd/i386/ld.abilist: New file.
19585 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
19586 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
19587 * sysdeps/mach/hurd/i386/libc.abilist: New file.
19588 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
19589 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
19590 * sysdeps/mach/hurd/i386/libm.abilist: New file.
19591 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
19592 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
19593 * sysdeps/mach/hurd/i386/librt.abilist: New file.
19594 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
ba729de6
ST
19595 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
19596 || to respect codestyle.
2aadb705
ST
19597 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
19598 (do_test_bz20181): Rename accordingly.
406e7a0a
ST
19599 * malloc/malloc.c: Include <assert.h>.
19600 (assert): Do not define.
19601 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
99dfbef4
ST
19602 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
19603 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
ac56adbb 19604 * sysdeps/mach/hurd/hp-timing.h: New file.
ef4cf463 19605 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
e01e0ddc 19606
521877e1
PD
196072018-01-29 Darius Rad <darius@bluespec.com>
19608
19609 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
19610
532cf290
PD
196112018-01-29 Palmer Dabbelt <palmer@sifive.com>
19612
19613 * sysdeps/init_array/crti.S (.section .init_array): Add
19614 PREINIT_FUNCTION when defined.
40ca951b 19615 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4215e276 19616 * config.h.in: Regenerate.
ba9e25a6
PD
19617 * manual/platform.texi: Add RISC-V documenation for
19618 __riscv_flush_icache.
c776fa11
PD
19619 * sysdeps/riscv/__longjmp.S: New file.
19620 * sysdeps/riscv/backtrace.c: Likewise.
19621 * sysdeps/riscv/bits/endian.h: Likewise.
19622 * sysdeps/riscv/bits/setjmp.h: Likewise.
19623 * sysdeps/riscv/bits/wordsize.h: Likewise.
19624 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
19625 * sysdeps/riscv/bsd-setjmp.c: Likewise.
19626 * sysdeps/riscv/dl-trampoline.S: Likewise.
19627 * sysdeps/riscv/gccframe.h: Likewise.
19628 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
19629 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
19630 * sysdeps/riscv/machine-gmon.h: Likewise.
19631 * sysdeps/riscv/memusage.h: Likewise.
19632 * sysdeps/riscv/setjmp.S: Likewise.
19633 * sysdeps/riscv/sys/asm.h: Likewise.
19634 * sysdeps/riscv/tls-macros.h: Likewise.
33712660
PD
19635 * sysdeps/riscv/dl-tls.h: New file.
19636 * sysdeps/riscv/libc-tls.c: Likewise.
19637 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
19638 * sysdeps/riscv/nptl/tls.h: Likewise.
19639 * sysdeps/riscv/stackinfo.h: Likewise.
67236aeb
PD
19640 * sysdeps/riscv/bits/fenv.h: New file.
19641 * sysdeps/riscv/e_sqrtl.c: Likewise.
19642 * sysdeps/riscv/fpu_control.h: Likewise.
19643 * sysdeps/riscv/math-tests.h: Likewise.
19644 * sysdeps/riscv/nofpu/Implies: Likewise.
19645 * sysdeps/riscv/sfp-machine.h: Likewise.
19646 * sysdeps/riscv/tininess.h: Likewise.
b2cb5e02
PD
19647 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
19648 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
19649 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
19650 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
19651 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
19652 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
19653 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
19654 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
19655 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
19656 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
19657 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
19658 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
19659 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
19660 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
19661 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
19662 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
19663 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
19664 * sysdeps/riscv/rvd/s_finite.c: Likewise.
19665 * sysdeps/riscv/rvd/s_fma.c: Likewise.
19666 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
19667 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
19668 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
19669 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
19670 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
19671 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
19672 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
19673 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
19674 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
19675 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
19676 * sysdeps/riscv/rvf/fegetround.c: Likewise.
19677 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
19678 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
19679 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
19680 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
19681 * sysdeps/riscv/rvf/fesetround.c: Likewise.
19682 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
19683 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
19684 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
19685 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
19686 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
19687 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
19688 * sysdeps/riscv/rvf/math_private.h: Likewise.
19689 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
19690 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
19691 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
19692 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
19693 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
19694 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
19695 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
19696 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
19697 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
19698 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
19699 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
19700 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
19701 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
19702 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
19703 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
19704 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
d1c09b24
PD
19705 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
19706 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
19707 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
19708 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
36960f0c
PD
19709 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
19710 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
19711 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
19712 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
19713 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
19714 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
19715 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
19716 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
19717 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7f33b09c
PD
19718 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
19719 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
19720 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
19721 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
19722 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
19723 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
19724 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
19725 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
19726 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
19727 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
19728 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
19729 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
19730 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
19731 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
19732 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
19733 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
19734 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
19735 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
19736 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
19737 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
19738 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
19739 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
ee53fed9
PD
19740 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
19741 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
19742 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2268c433
PD
19743 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
19744 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
19745 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
19746 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
19747 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
19748 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
19749 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
19750 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
19751 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
19752 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
19753 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19754 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
19755 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
19756 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
c5061557
PD
19757 * sysdeps/riscv/Implies: New file.
19758 * sysdeps/riscv/Makefile: Likewise.
19759 * sysdeps/riscv/configure: Likewise.
19760 * sysdeps/riscv/configure.ac: Likewise.
19761 * sysdeps/riscv/nptl/Makefile: Likewise.
19762 * sysdeps/riscv/preconfigure: Likewise.
19763 * sysdeps/riscv/rv64/Implies-after: Likewise.
19764 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
19765 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
19766 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
19767 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
19768 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
19769 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
19770 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
19771 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
19772 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
19773 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
19774 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
0fd5d876
PD
19775 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
19776 (Config): Likewise.
532cf290 19777
cdd14619
FW
197782018-01-29 Florian Weimer <fweimer@redhat.com>
19779
19780 [BZ #22701]
19781 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
19782 libnsl_hidden_proto.
19783 * include/rpcsvc/yp.h (yp_xdrall): Declare with
19784 libnsl_hidden_proto.
19785 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
19786 * nis/Makefile (libnsl-routines): Add nss-default only for
19787 build-obsolete-nsl.
19788 * nis/nis_defaults.c (__nis_default_ttl): Add
19789 libnsl_hidden_nolink_def.
19790 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
19791 declaration.
19792 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
19793 * nis/ypclnt.c (yp_maplist): Likewise.
19794
b7ccb5de
RN
197952018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
19796
19797 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19798 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
19799
522623e4
JM
198002018-01-29 Joseph Myers <joseph@codesourcery.com>
19801
e3aa6999
JM
19802 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
19803 clean -dxfq for git updates when replacing sources.
19804
088de7d0
JM
19805 * scripts/build-many-glibcs.py (Config.build_gcc): Use
19806 --disable-libcilkrts unconditionally, not just for the final GCC
19807 build for Hurd.
19808
522623e4
JM
19809 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19810 version to 4.15.
19811
8b406f87
RL
198122018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19813
19814 [BZ #10871]
19815 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
19816 case).
19817
105e90bd
RL
198182018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19819
19820 [BZ #10871]
19821 * localedata/locales/be_BY (mon): Rename to...
19822 (alt_mon): This, then synchronize with CLDR (nominative case).
19823 (abmon): Rename to...
19824 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
19825 (mon): Import from CLDR (genitive case).
19826 (abmon): Likewise.
19827 * localedata/locales/be_BY@latin (mon): Rename to...
19828 (alt_mon): This.
19829 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
19830
19831 * localedata/locales/be_BY@latin (lang_name): Reworded to
19832 "biełaruskaja mova".
19833
561cb414
RL
198342018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19835
19836 [BZ #10871]
19837 * localedata/locales/el_CY (mon): Renamed to...
19838 (alt_mon): This.
19839 (mon): Import from CLDR (genitive case).
19840 * localedata/locales/el_GR: Likewise.
19841
f7bdf30d
RL
198422018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19843
19844 [BZ #10871]
19845 * localedata/locales/ru_RU (mon): Rename to...
19846 (alt_mon): This.
19847 (abmon): Rename to...
19848 (ab_alt_mon): This.
19849 (mon): Import from CLDR (genitive case).
19850 (abmon): Copy from the old content except the 5th month which is
19851 now in the genitive case, even when abbreviated.
19852 * localedata/locales/ru_UA: Likewise.
19853 * time/tst-strptime.c (day_tests): Add an actual example of
19854 a difference between %b and %Ob in Russian.
19855
85285a0c
ST
198562018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19857
19858 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
da8168df
ST
19859 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
19860 a `c' variable.
3538a4b6 19861 * resolv/res-close.c: Include <stdlib.h>.
b29848b9
ST
19862 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
19863 <sys/wait.h>, <time.h>, <sys/uio.h>.
19864 (NOT_CANCEL_H): Add inclusion guard.
4f66dc23 19865 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
147d1dbb
ST
19866 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
19867 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
19868 return 0.
05ebfe87
ST
19869 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
19870 vm_address_t * to ElfW(Addr) * for dl_main parameter.
61a3a8c6
ST
19871 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
19872 instead of void *.
19873 * sysdeps/pthread/timer_create.c (timer_create): Do not use
19874 timer_ptr2id to cast struct timer_node * to void *.
d4d5b2dd
ST
19875 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
19876 --disable-libcilkrts to gcc configure.
19fd8d0d
ST
19877 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
19878 and make them the default for now.
903d3633
ST
19879 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
19880 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7dab2d00
ST
19881 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
19882 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
19883 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
19884 MACH_IPC_COMPAT.
06fac9f5
ST
19885 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
19886 __task_terminate would ever return successfully.
f8177753
ST
19887 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
19888 to global scope.
41cdb1eb
ST
19889 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
19890 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
660b7bff
ST
19891 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
19892 critical section to make code simpler and avoid warning.
19893 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
19894 critical section to make code simpler and avoid warning.
844bf921
ST
19895 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
19896 const char * instead of char *.
f8bee46c
ST
19897 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
19898 __hurd_file_name_split, hurd_file_name_split,
19899 __hurd_directory_name_split, hurd_directory_name_split,
19900 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
19901 hurd_file_name_path_lookup): Make lookup function parameter take a
19902 const char *name instead of char *name.
19903 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
19904 __hurd_directory_name_split): Likewise.
19905 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
19906 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
40066975
ST
19907 * sysdeps/mach/hurd/check_native.c: New file.
19908 * sysdeps/mach/hurd/check_pf.c: New file.
7c5b106d
ST
19909 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
19910 (__freeifaddrs): Define macro to freeifaddrs.
5f982b0b
ST
19911 * sysdeps/mach/hurd/libhurduser.abilist: New file.
19912 * sysdeps/mach/libmachuser.abilist: New file.
cef7166a
ST
19913 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
19914 (do_test_bz20181): Rename accordingly.
19915 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3fc1ecf9
ST
19916 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
19917 <sys/mount.h>.
28f6186f
ST
19918 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
19919 version only if __USE_EXTERN_INLINES is defined.
19920 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
19921 __hurd_sockfail): Likewise.
19922 (_hurd_fd_get): Always declare functions, and provide inline versions
19923 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
19924 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
19925 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
19926 _hurd_port_set): Always declare functions, and provide inline versions
19927 only if __USE_EXTERN_INLINES and _LIBC are defined and
19928 IS_IN(libc).
19929 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
19930 _hurd_critical_section_unlock): Likewise.
19931 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
19932 * __hurd_threadvar_location): Likewise.
19933 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
19934 _hurd_userlink_clear): Likewise.
19935 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
19936 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
19937 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
19938 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
19939 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
19940 __spin_lock_locked): Likewise.
19941 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
19942 __spin_lock_locked): Likewise.
19943 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
19944 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
19945 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
19946 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
19947 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
b1025304
ST
19948 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
19949 _POSIX_NO_TRUNC): Define to 0.
a902a086
ST
19950 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
19951 check size against PTHREAD_STACK_MIN.
625ba81e
ST
19952 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
19953 IS_IN(libpthread)]: Include <sigsetops.h>.
2e52dff4
ST
19954 * mach/Makefile (user-interfaces): Add mach/gnumach.
19955 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
19956 * sysdeps/mach/configure (mach_interface_list): Regenerate.
80463dc6
ST
19957 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
19958 instead of invalid -1.
1f89ac71
ST
19959 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
19960 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
19961 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
19962 <net/ppp_defs.h>.
85285a0c 19963
1fd1e27c 199642018-01-27 Thomas Schwinge <tschwinge@gnu.org>
84814e2a
TS
19965
19966 * hurd/fcntl-internal.h: New file.
19967
3854c5a8
JC
199682018-01-27 James Clarke <jrtc27@jrtc27.com>
19969
7e23a7dd
JC
19970 * sysdeps/hppa/fpu/libm-test-ulps: Update.
19971
3854c5a8
JC
19972 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19973
5503f413
AS
199742018-01-26 Andreas Schwab <schwab@linux-m68k.org>
19975
19976 [BZ #22701]
19977 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
19978 Build only shared objects.
19979
caaf7804
CD
199802018-01-26 Carlos O'Donell <carlos@redhat.com>
19981
19982 * README: Update for hppa.
19983
1cbf818d
PM
199842018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19985
caaf7804
CD
19986 * sysdeps/sparc/fpu/libm-test-ulps: Update
19987 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1cbf818d 19988
caaf7804 199892018-01-26 Carlos O'Donell <carlos@redhat.com>
2ec0e7ea
CD
19990
19991 Revert:
19992
19993 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19994
19995 [BZ #22563]
19996 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19997 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19998 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19999 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
20000 to feature_1.
20001
20002 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20003
20004 [BZ #22563]
20005 * bits/types/__cancel_jmp_buf_tag.h: New file.
20006 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
20007 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
20008 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
20009 * nptl/Makefile (headers): Add
20010 bits/types/__cancel_jmp_buf_tag.h.
20011 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
20012 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
20013 * sysdeps/nptl/pthread.h: Include
20014 <bits/types/__cancel_jmp_buf_tag.h>.
20015 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
20016 __cancel_jmp_buf.
20017 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
20018
65f6c94e
RL
200192018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
20020
20021 [BZ #10871]
20022 * localedata/locales/uk_UA (mon): Renamed to...
20023 (alt_mon): This.
20024 (alt_digits): "0" removed and then renamed to...
20025 (mon): This.
20026 (date_fmt): Definition changed not to use the alternative
20027 digits hack.
20028
fb58aac5
PD
200292018-01-25 Palmer Dabbelt <palmer@sifive.com>
20030
20031 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
20032 FLAG_RISCV_FLOAT_ABI_DOUBLE.
20033 * elf/elf.h (EF_RISCV_RVC): New define.
20034 (EF_RISCV_FLOAT_ABI): Likewise.
20035 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
20036 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
20037 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
20038 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
20039 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
20040 define.
20041 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
20042
128c43a2
AS
200432018-01-25 Andreas Schwab <schwab@suse.de>
20044
20045 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
20046 single quotes.
20047 * sysdeps/gnu/configure: Regenerate.
20048 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
20049 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20051 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
20052 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
20053 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
20054 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
20055 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
20056
f9015003
ST
200572018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
20058
48130690 20059 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
47c4b4b0 20060 URL, and run autoconf, make it the default for now.
f9015003 20061
91b2cffa
JM
200622018-01-24 Joseph Myers <joseph@codesourcery.com>
20063
3005b705
JM
20064 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20065 soft-float ColdFire configuration.
20066
69231fab
JM
20067 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
20068 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
20069 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
20070
d4c7e1d0
JM
20071 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
20072 MicroBlaze file.
20073
0cfe5be5
JM
20074 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
20075 ....
20076 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
20077 ... here.
20078 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
20079 New file.
20080
91b2cffa
JM
20081 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
20082 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
20083 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
20084 file.
20085
c739e191
SN
200862018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
20087
20088 [BZ #22742]
20089 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
20090 Rename to __reserved and add comment.
20091 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
20092 Rename to __reserved.
20093
394b5bac
JM
200942018-01-24 Joseph Myers <joseph@codesourcery.com>
20095
20096 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20097 i686-gnu configurations.
20098 (Context.run_builds): Include mig, gnumach and hurd in components
20099 considered.
20100 (Context.checkout): Add mig, gnumach and hurd to components.
20101 (Context.checkout_tar): Add URL mappings for mig, gnumach and
20102 hurd.
20103 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
20104 (Config.build): Install gnumach headers, build mig and install
20105 hurd headers for 'gnu' OS.
20106 (Config.install_gnumach_headers): New function.
20107 (Config.install_hurd_headers): Likewise.
20108 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
20109 when building for 'gnu' OS.
20110
28c3f14f
TK
201112018-01-23 Tobias Klauser <tklauser@distanz.ch>
20112
20113 * manual/tunables.texi (Hardware Capability Tunables): Fix
20114 spelling.
20115
0f5e2da1
RJ
201162018-01-22 Rical Jasan <ricaljasan@pacific.net>
20117
20118 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
20119 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
20120 (ALTMON_11, ALTMON_12): Improve documentation.
20121 * manual/time.texi (strftime): Likewise.
20122
7817b14a
RL
201232018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20124
20125 [BZ #10871]
20126 * localedata/locales/pl_PL: Alternative month names added,
20127 primary month names are genitive now.
20128 * time/tst-strptime.c (day_tests): Actually use a genitive case
20129 of a month name in Polish language.
20130
22390764
RL
201312018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20132
20133 [BZ #10871]
20134 * manual/locale.texi: Document ALTMON_1..12 constants for
20135 nl_langinfo. Specify when to use ALTMON instead of MON.
20136 * manual/time.texi (strftime, strptime): Document GNU extension
20137 permitting O modifier with %B and %b. Specify when to use
20138 %OB instead of %B.
20139
761a585c
RL
201402018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20141
20142 [BZ #10871]
20143 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
20144 names, define them as the same as abbreviated month names explicitly.
20145 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
20146 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
20147 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
20148 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
20149 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
20150 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
20151 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
20152 _NL_WABALTMON_12): New enum constants.
20153 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
20154 wab_alt_mon, and ab_alt_mon_defined members.
20155 (time_output): Output ab_alt_mon and wab_alt_mon members.
20156 (time_read): Read them, initialize them as copies of abmon and wabmon
20157 respectively if they are missing, initialize ab_alt_mon_defined.
20158 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
20159 * locale/programs/locfile-kw.h: Regenerate.
20160 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
20161 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
20162 and ru_RU.UTF-8.
20163 * time/strftime_l.c (a_altmonth, aam_len): New macros.
20164 [!COMPILE_WIDE] (ABALTMON_1): New macro.
20165 (__strftime_internal): Handle %Ob and %Oh formats.
20166 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
20167 (__strptime_internal): Handle %Ob and %Oh formats.
20168 * time/tst-strptime.c (day_tests): Add more tests to parse different
20169 forms of month names including the new %Ob format specifier.
20170
95cb863a
RL
201712018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20172
20173 [BZ #10871]
20174 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
20175 define them as the same as primary full month names explicitly.
20176 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
20177 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
20178 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
20179 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
20180 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
20181 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
20182 _NL_WALTMON_12): New enum constants.
20183 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
20184 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
20185 macros.
20186 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
20187 walt_mon, and alt_mon_defined members.
20188 (time_output): Output alt_mon and walt_mon members.
20189 (time_read): Read them, initialize them as copies of mon and wmon
20190 respectively if they are missing, initialize alt_mon_defined.
20191 * locale/programs/locfile-kw.gperf (alt_mon): Define.
20192 * locale/programs/locfile-kw.h: Regenerate.
20193 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
20194 * localedata/tst-langinfo.c (map): Add tests for the new constants
20195 ALTMON_1 .. ALTMON_12.
20196 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
20197 and pl_PL.UTF-8.
20198 * time/strftime_l.c (f_altmonth): New macro.
20199 (__strftime_internal): Handle %OB format.
20200 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
20201 (__strptime_internal): Handle %OB format.
20202 * time/tst-strptime.c (day_tests): Add tests to parse different forms
20203 of month names including the new %OB format specifier.
20204
4612268a
TMQMF
202052018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20206
20207 [BZ #22685]
20208 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
20209 from ABORT_TRANSACTION.
20210 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
20211 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
20212 ABORT_TRANSACTION_IMPL): Likewise.
20213 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
20214 Linux code, but remove the code that aborts transactions.
20215
64f63cb4
ST
202162018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
20217
20218 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
20219
32ac6e92
RL
202202018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
20221
20222 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
20223 in date: "2004-14-09" should be "2004-09-14".
20224 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
20225 "2003-15-09" should be "2003-09-15".
20226
8e448310
AS
202272018-01-18 Arjun Shankar <arjun@redhat.com>
20228
20229 [BZ #22343]
71aa429b 20230 [BZ #22774]
4590634f 20231 CVE-2018-6485
71aa429b 20232 CVE-2018-6551
8e448310
AS
20233 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
20234 after padding.
20235 (_int_memalign): check for integer overflow before calling
20236 _int_malloc.
20237 * malloc/tst-malloc-too-large.c: New test.
20238 * malloc/Makefile: Add tst-malloc-too-large.
20239
e234d7cb
RL
202402018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
20241
20242 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
20243 in date: "2017-24-07" should be "2017-07-24".
20244 * localedata/locales/mai_IN: Likewise.
20245 * localedata/locales/mai_NP: Likewise.
20246
48b66019
DL
202472018-01-17 Dmitry V. Levin <ldv@altlinux.org>
20248
20249 * po/ru.po: Update translations.
20250
1eeddc58
JM
202512018-01-17 Joseph Myers <joseph@codesourcery.com>
20252
20253 [BZ #22719]
20254 * sysdeps/hppa/backtrace.c: New file.
20255
207a72e2
L
202562018-01-17 H.J. Lu <hongjiu.lu@intel.com>
20257
20258 [BZ #22715]
20259 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
20260 align La_x86_64_retval to VEC_SIZE.
20261
4942c4ea
JM
202622018-01-16 Joseph Myers <joseph@codesourcery.com>
20263
20264 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
20265 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
20266
10d200db
FW
202672018-01-16 Florian Weimer <fweimer@redhat.com>
20268
20269 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
20270 Move tst-thread-exit-clobber ...
20271 [$(CXX)] (tests-unsupported): ... to here.
20272
953c49cc
SN
202732018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
20274
20275 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
20276 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
20277 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
20278 (_dl_aarch64_cap_flags): Update.
20279 (_DL_HWCAP_COUNT): Update.
20280
afce1991
SN
202812018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
20282
20283 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
20284 (_DL_HWCAP_LAST): Remove.
20285 (_DL_HWCAP_COUNT): Move to ...
20286 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
20287 (_DL_HWCAP_COUNT): ... here.
20288
b725132d
FW
202892018-01-16 Florian Weimer <fweimer@redhat.com>
20290
20291 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
20292 mode with GNU extensions.
20293
c9e613a7
AH
202942018-01-15 Alan Hayward <alan.hayward@arm.com>
20295
20296 * elf/elf.h (NT_ARM_SVE): Define.
20297
860b0240
FW
202982018-01-15 Florian Weimer <fweimer@redhat.com>
20299
20300 [BZ #22636]
20301 * nptl/tst-minstack-throw.cc: New file.
20302 * nptl/Makefile (tests): Add tst-minstack-throw.
20303 (LDLIBS-tst-minstack-throw): Link with libstdc++.
20304 [!CXX] (tests-unsupported): Add tst-minstack-throw.
20305
16d0f6ac
JM
203062018-01-15 Joseph Myers <joseph@codesourcery.com>
20307
20308 * scripts/build-many-glibcs.py (Context.checkout): Default
20309 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
20310 version to 1.1.0.
20311
505d3910
CD
203122018-01-13 Carlos O'Donell <carlos@redhat.com>
20313
20314 [BZ #22707]
20315 * elf/elf.h (DF_1_STUB): Define.
20316 (DF_1_PIE): Define.
20317
af1e6be4
TMQMF
203182018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20319
20320 [BZ #22697]
20321 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
20322 Do not add 0.5 to integer or out-of-range arguments.
20323
98d13ce0
DL
203242018-01-12 Dmitry V. Levin <ldv@altlinux.org>
20325
20326 * po/bg.po: Update translations.
20327 * po/cs.po: Likewise.
20328 * po/de.po: Likewise.
20329 * po/ko.po: Likewise.
20330 * po/pl.po: Likewise.
20331 * po/sv.po: Likewise.
20332 * po/uk.po: Likewise.
20333 * po/vi.po: Likewise.
20334
3d1d7928
SN
203352018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20336
20337 * aarch64/start.S (_start): Use __wrap_main.
20338 (__wrap_main): New local symbol.
20339
52a713fd
DL
203402018-01-12 Dmitry V. Levin <ldv@altlinux.org>
20341
20342 [BZ #22679]
20343 CVE-2018-1000001
20344 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
20345 generic_getcwd if the path returned by getcwd syscall is not absolute.
20346 * io/tst-getcwd-abspath.c: New test.
20347 * io/Makefile (tests): Add tst-getcwd-abspath.
20348
249a5895
IK
203492018-01-12 Istvan Kurucsai <pistukem@gmail.com>
20350
20351 * malloc/malloc.c (malloc_consolidate): Add size check.
20352
1a51e46e
FW
203532018-01-12 Florian Weimer <fweimer@redhat.com>
20354
20355 * support/write_message.c (write_message): Preserve errno.
20356 * support/check.c (print_failure): Likewise.
20357 * support/support_test_verify_impl.c (support_test_verify_impl):
20358 Likewise.
20359 * support/support_test_compare_failure.c
20360 (support_test_compare_failure): Likewise.
20361
9a08a366
FW
203622018-01-12 Florian Weimer <fweimer@redhat.com>
20363
20364 [BZ #22701]
20365 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
20366 Prevent installation of libnsl.so.
20367 (libnsl-inhibit-o): Do not build (or install) static libraries.
20368
80647883 203692018-01-12 Egmont Koblinger <egmont@gmail.com>
f172187b
EK
20370
20371 [BZ #22657]
20372 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
20373 before the day number which may produce a double space.
20374 (date_fmt): Likewise.
20375
c8924f1f
JM
203762018-01-12 Joseph Myers <joseph@codesourcery.com>
20377
20378 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
20379 instead of fegetenv.
20380
da09e6fa
JM
203812018-01-11 Joseph Myers <joseph@codesourcery.com>
20382
20383 [BZ #22702]
20384 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
20385 comment to say exceptions are discarded.
20386 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
20387 __fegetenv.
20388 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
20389 be enabled.
20390
08c6e952
FW
203912018-01-11 Florian Weimer <fweimer@redhat.com>
20392
20393 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
20394 and error message.
20395
d8b77890
FW
203962018-01-11 Florian Weimer <fweimer@redhat.com>
20397
20398 [BZ #22636]
20399 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
20400 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
20401
b303185d
JM
204022018-01-10 Joseph Myers <joseph@codesourcery.com>
20403
20404 [BZ #22693]
20405 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
20406 negative arguments in test for NaN or infinity argument.
20407
ee61d028
DL
204082018-01-10 Dmitry V. Levin <ldv@altlinux.org>
20409
20410 * po/libc.pot: Regenerate.
20411
f993b875
FW
204122018-01-10 Florian Weimer <fweimer@redhat.com>
20413
20414 [BZ #22636]
20415 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
20416 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
20417
09085ede
ST
204182018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20419
20420 * hurd/hurd/fd.h: Include <fcntl.h>
20421 (__hurd_at_flags): New function.
20422 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
20423 with call to __hurd_at_flags.
20424 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
20425 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
20426 __faccessat
20427 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
20428 (__access_noerrno): Use __faccessat_common instead of access_common.
20429 (__access): Likewise.
20430 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
20431 with a call to __faccessat.
20432 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
20433 (__faccessat_common): ... this. Move implementation of __access into it when
20434 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
20435 reauthenticate_cwdir_at helper to implement AT mechanism.
20436 (__faccessat_noerrno): New function, just calls __faccessat_common.
20437 (__faccessat): New function, just calls __faccessat_common.
20438 (faccessat): Define weak alias.
20439
12727488
JM
204402018-01-10 Joseph Myers <joseph@codesourcery.com>
20441
87faac55
JM
20442 [BZ #22691]
20443 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20444 (CFLAGS-s_fmaxmagl.c): New variable.
20445 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
20446
12727488
JM
20447 [BZ #22690]
20448 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
20449 long int for arguments of possibly overflowing addition or
20450 subtraction.
20451 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
20452
e134ca17
JM
204532018-01-09 Joseph Myers <joseph@codesourcery.com>
20454
b2584ac2
JM
20455 [BZ #22688]
20456 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20457 (CFLAGS-e_remainderl.c): New variable.
20458
e134ca17
JM
20459 [BZ #22687]
20460 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
20461 variable.
20462 (CFLAGS-s_cacoshl.c): Likewise.
20463 (CFLAGS-s_casinhl.c): Likewise.
20464 (CFLAGS-s_catanl.c): Likewise.
20465 (CFLAGS-s_catanhl.c): Likewise.
20466 (CFLAGS-s_cexpl.c): Likewise.
20467 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
20468 (CFLAGS-s_csinhl.c): Likewise.
20469 (CFLAGS-s_clogl.c): Likewise.
20470 (CFLAGS-s_clog10l.c): Likewise.
20471 (CFLAGS-s_csinl.c): Likewise.
20472 (CFLAGS-s_csqrtl.c): Likewise.
20473
d31a4a48
ST
204742017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
204752017-01-09 Svante Signell <svante.signell@gmail.com>
311ba8dc
ST
20476
20477 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
20478 (_hurd_exec_paths): New function.
20479 * hurd/hurd.h (_hurd_exec): Deprecate function.
20480 (_hurd_exec_paths): Declare function.
20481 * hurd/Versions: Export _hurd_exec_paths.
20482 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
20483 (__execve): Use __getcwd to build absolute path, and use
20484 _hurd_exec_paths instead of _hurd_exec.
20485 * sysdeps/mach/hurd/spawni.c: Likewise.
20486 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
20487 _hurd_exec.
20488
d7ff3f11
DL
204892018-01-08 Dmitry V. Levin <ldv@altlinux.org>
20490
20491 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
20492 test instead of failing in case of ENOENT returned by posix_openpt.
20493
401311cf
FW
204942018-01-08 Florian Weimer <fweimer@redhat.com>
20495
20496 resolv: Support binary labels in test framework.
20497 * support/resolv_test.c (struct to_be_freed): Remove.
20498 (struct compressed_name): New.
20499 (allocate_compressed_name, ascii_tolower)
20500 (compare_compressed_name): New functions.
20501 (struct resolv_response_builder): Update type of
20502 compression_offsets for use with tsearch. Rempve to_be_freed.
20503 (response_push_pointer_to_free): Remove function.
20504 (resolv_response_add_name): Rewrite using struct compressed_name
20505 and tsearch instead of hsearch_r.
20506 (response_builder_allocate): Remove initialization of
20507 compression_offsets.
20508 (response_builder_free): Update for removal of to_be_freed. Use
20509 tdestroy instead of hdestroy_r.
20510 * resolv/Makefile (tests): Add tst-resolv-binary.
20511 (tst-resolv-binary): Link with -lresolv -lpthread.
20512
2b3aa446
FW
205132018-01-08 Florian Weimer <fweimer@redhat.com>
20514
20515 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
20516 time. Pass positive flag instead of negative flag to
20517 support_test_compare_failure.
20518 (support_test_compare_failure): Change negative parameter to
20519 positive.
20520 * support/support_test_compare_failure.c (report)
20521 (support_test_compare_failure): Likewise.
20522 * support/tst-test_compare.c (return_ssize_t, return_int): New.
20523 (do_test): Check int/size_t, ssize_t/size_t comparisons.
20524
630f4cc3
SN
205252018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
20526
20527 [BZ #22637]
20528 * nptl/descr.h (stackblock, stackblock_size): Update comments.
20529 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
20530 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
20531 stacksize.
20532 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
20533
c70e4e9c
L
205342018-01-08 H.J. Lu <hongjiu.lu@intel.com>
20535
20536 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20537 Add s_sincosf-sse2 and s_sincosf-fma.
20538 (CFLAGS-s_sincosf-fma.c): New.
20539 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
20540 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
20541 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
20542 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
20543 __sincosf is defined.
20544
579396ee
FW
205452018-01-08 Florian Weimer <fweimer@redhat.com>
20546
20547 * nptl/tst-thread-exit-clobber.cc: New file.
20548 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
20549 C++11 mode.
20550 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
20551 (tests): Add tst-thread-exit-clobber.
20552 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
20553
dabd75b6
FW
205542018-01-08 Florian Weimer <fweimer@redhat.com>
20555
20556 * support/check.h (support_static_assert): Define.
20557 (TEST_COMPARE): Use it.
20558
c2e014cc
AJ
205592018-01-07 Aurelien Jarno <aurelien@aurel32.net>
20560
20561 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
20562 [!__RLIM_T_MATCHES_RLIM64_T]
20563 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
20564 __getrlimit64. Add libc_hidden_weak.
20565
31a98837
PD
205662018-01-06 Palmer Dabbelt <palmer@sifive.com>
20567
20568 * elf/elf.h (R_RISCV_NONE): New define.
20569 (R_RISCV_32): Likewise.
20570 (R_RISCV_64): Likewise.
20571 (R_RISCV_RELATIVE): Likewise.
20572 (R_RISCV_COPY): Likewise.
20573 (R_RISCV_JUMP_SLOT): Likewise.
20574 (R_RISCV_TLS_DTPMOD32): Likewise.
20575 (R_RISCV_TLS_DTPMOD64): Likewise.
20576 (R_RISCV_TLS_DTPREL32): Likewise.
20577 (R_RISCV_TLS_DTPREL64): Likewise.
20578 (R_RISCV_TLS_TPREL32): Likewise.
20579 (R_RISCV_TLS_TPREL64): Likewise.
00505532
PD
20580 * Makerules (make-link-multidir): Make directories before linking into
20581 them.
150bbac1
PD
20582 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
20583 define.
20584 (VDSO_HASH_LINUX_4_15): Likewise.
1598f3ad
PD
20585 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
20586 in subdirectories of lib.
8e13c51b
PD
20587 * nptl/Makefile (/librt.so): Always depend on
20588 "$(shared-thread-library)".
31a98837 20589
fad7d57e
ST
205902018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20591
20592 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4a5ce6e9
ST
20593 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
20594 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
20595 (___tls_get_addr).
20596 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
107a35a5
ST
20597 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
20598 "-O2 -march=i686".
01c7e549 20599 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
f417d92c
ST
20600 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
20601 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
20602 * sysdeps/gnu/glob-lstat-compat.c: New file.
20603 * sysdeps/gnu/glob64-lstat-compat.c: New file.
200fc24b 20604 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
fad7d57e 20605
3a32b716
TMQMF
206062018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20607
20608 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
20609 Reserve 16 chars to reloc_addr before calling _itoa_word.
20610
24731685
AJ
206112018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20612
20613 [BZ #22678]
20614 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
20615 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
20616
19be56d8
AJ
20617 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
20618 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
20619
a6d0afb5
AJ
20620 * resource/tst-getrlimit.c: Add copyright header.
20621
8e900969
AJ
206222018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20623 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20624
20625 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
20626 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
20627 Define __GI_getrlimit64 as weak alias of __getrlimit64.
20628 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
20629 instead.
20630 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
20631 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
20632 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
20633 RLIM64_INFINITY): Fix values to match the kernel ones.
20634 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
20635 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
20636 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
20637 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
20638 getrlimit64@@GLIBC_2_27.
20639 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
20640 and setrlimit64.
20641 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
20642 getrlimit, setrlimit, getrlimit64 and setrlimit64.
20643 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
20644 setrlimit, getrlimit64 and setrlimit64.
20645
0d0bc784
AJ
206462018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20647
20648 [BZ #22648]
20649 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
20650 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
20651
ba374b6d
JM
206522018-01-04 Joseph Myers <joseph@codesourcery.com>
20653
20654 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
20655 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
20656 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
20657
4854ddd8
AZ
206582018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20659
b0a4eca2
AZ
20660 [BZ #15479]
20661 [BZ #22666]
20662 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
20663 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
20664
4854ddd8
AZ
20665 [BZ #15479]
20666 [BZ #22665]
20667 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
20668 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
20669 * sysdeps/alpha/fpu/s_floor.c: Likewise.
20670 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
20671
8a5df95f
FW
206722018-01-04 Florian Weimer <fweimer@redhat.com>
20673
20674 [BZ #22667]
20675 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
20676 Align the stack before calling exit.
20677 * stdlib/tst-makecontext-align.c: New file.
20678 * stdlib/Makefile (tests): Add tst-makecontext-align.
20679
82eef55f
FW
206802018-01-04 Florian Weimer <fweimer@redhat.com>
20681
20682 Add support for calling dlvsym from libc.so.
20683 * include/dlfcn.h (__libc_dlvsym): Declare.
20684 * elf/Makefile (tests-static-internal): Add
20685 tst-libc_dlvsym-static.
20686 (tests-internal): Add tst-libc_dlvsym.
20687 (modules-names): Add tst-libc_dlvsym-dso.
20688 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
20689 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
20690 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
20691 object tst-libc_dlvsym-dso.so needs to be built before running
20692 these tests.
20693 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
20694 * elf/Versions: Export __libc_dlvsym.
20695 * elf/dl-libc.c (struct do_dlvsym_args): New.
20696 (do_dlvsym, __libc_dlvsym): New functions.
20697 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
20698 (_dl_open_hook2): New variable.
20699 (__libc_register_dl_open_hook): Set it.
20700 * elf/tst-libc_dlvsym-dso.c: New file.
20701 * elf/tst-libc_dlvsym-static.c: Likewise.
20702 * elf/tst-libc_dlvsym.c: Likewise.
20703 * elf/tst-libc_dlvsym.h: Likewise.
20704
1714fc06
ST
207052018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
20706
20707 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
20708 include <sys/mount.h>.
20709
3c7d0312
WD
207102018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
20711
20712 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
20713 Add __NO_MATH_ERRNO__ check.
20714
7eff0954
JM
207152018-01-02 Joseph Myers <joseph@codesourcery.com>
20716
20717 * sysdeps/mips/mips32/libm-test-ulps: Update.
20718 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20719
77f49956
FW
207202018-01-02 Florian Weimer <fweimer@redhat.com>
20721
20722 * misc/tst-pselect.c: Add copyright header.
20723
363e4519 207242018-01-02 Aurelien Jarno <aurelien@aurel32.net>
d35989be
AJ
20725
20726 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
20727 comment.
20728 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
20729 comment.
20730 (settrlimit): Rename into setrlimit.
20731 (__sttrlimit): Rename into __setrlimit.
20732
3e4226ff
AJ
20733 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
20734 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
20735 never defined in that case.
20736
b9256ab6
JM
207372018-01-02 Joseph Myers <joseph@codesourcery.com>
20738
28fd6a44
JM
20739 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
20740
a4933a15
JM
20741 * sysdeps/arm/libm-test-ulps: Update.
20742
b9256ab6
JM
20743 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
20744 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
20745
4cf82d23
RS
207462018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20747
20748 * NEWS: Add cosf and sincosf to list of optimized functions.
20749
6a9dd7a7
AJ
207502018-01-02 Aurelien Jarno <aurelien@aurel32.net>
20751
20752 [BZ #22660]
20753 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
20754 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
20755 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
20756 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
20757
dbba87d5
DL
207582018-01-01 Dmitry V. Levin <ldv@altlinux.org>
20759
b05cb613
DL
20760 [BZ #22433]
20761 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
20762
dbba87d5
DL
20763 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
20764 making a copy of it.
20765
688903eb
JM
207662018-01-01 Joseph Myers <joseph@codesourcery.com>
20767
66ac23de
JM
20768 * manual/texinfo.tex: Update to version 2017-12-26.21 with
20769 trailing whitespace removed.
20770 * scripts/config.guess: Update to version 2018-01-01.
20771 * scripts/config.sub: Update to version 2018-01-01.
20772 * scripts/move-if-change: Update from gnulib.
20773
09533208
JM
20774 * NEWS: Update copyright dates.
20775 * catgets/gencat.c (print_version): Likewise.
20776 * csu/version.c (banner): Likewise.
20777 * debug/catchsegv.sh: Likewise.
20778 * debug/pcprofiledump.c (print_version): Likewise.
20779 * debug/xtrace.sh (do_version): Likewise.
20780 * elf/ldconfig.c (print_version): Likewise.
20781 * elf/ldd.bash.in: Likewise.
20782 * elf/pldd.c (print_version): Likewise.
20783 * elf/sotruss.sh: Likewise.
20784 * elf/sprof.c (print_version): Likewise.
20785 * iconv/iconv_prog.c (print_version): Likewise.
20786 * iconv/iconvconfig.c (print_version): Likewise.
20787 * locale/programs/locale.c (print_version): Likewise.
20788 * locale/programs/localedef.c (print_version): Likewise.
20789 * login/programs/pt_chown.c (print_version): Likewise.
20790 * malloc/memusage.sh (do_version): Likewise.
20791 * malloc/memusagestat.c (print_version): Likewise.
20792 * malloc/mtrace.pl: Likewise.
20793 * manual/libc.texinfo: Likewise.
20794 * nptl/version.c (banner): Likewise.
20795 * nscd/nscd.c (print_version): Likewise.
20796 * nss/getent.c (print_version): Likewise.
20797 * nss/makedb.c (print_version): Likewise.
20798 * posix/getconf.c (main): Likewise.
20799 * scripts/test-installation.pl: Likewise.
20800 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
20801
688903eb
JM
20802 * All files with FSF copyright notices: Update copyright dates
20803 using scripts/update-copyrights.
20804 * locale/programs/charmap-kw.h: Regenerated.
20805 * locale/programs/locfile-kw.h: Likewise.
20806
4f820792
ZW
208072017-12-31 Zack Weinberg <zackw@panix.com>
20808
20809 * libio/bits/libio-ldbl.h: Correct check for improper
20810 inclusion. Add own multiple include guard.
20811
3e3c904d
AJ
208122017-12-30 Aurelien Jarno <aurelien@aurel32.net>
20813 Dmitry V. Levin <ldv@altlinux.org>
20814
20815 [BZ #22625]
31f96325 20816 CVE-2017-16997
3e3c904d
AJ
20817 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
20818 string token expansion. Check for NULL pointer or empty string possibly
20819 returned by expand_dynamic_string_token.
20820 (decompose_rpath): Check for empty path after dynamic string
20821 token expansion.
20822
7e21972b
DL
208232017-12-29 Dmitry V. Levin <ldv@altlinux.org>
20824
c48831d0
DL
20825 [BZ #22433]
20826 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
20827
ac583f50
DL
20828 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
20829 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
20830 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
20831 and PTRACE_SYSCALL.
20832 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
20833 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20834 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20835 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20836 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20837 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20838
7e21972b
DL
20839 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
20840 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20841 __ptrace_peeksiginfo_flags, ptrace): Move to ...
20842 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
20843 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20844 bits/ptrace-shared.h.
20845 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
20846 <bits/ptrace-shared.h>.
20847 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20848 __ptrace_peeksiginfo_flags, ptrace): Remove.
20849 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20850 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20851 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20852 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20853 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20854
72f29e3a
AJ
208552017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20856
20857 [BZ #17804]
20858 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
20859 end of the loop. Improve comments.
20860
54e4efc2
AJ
208612017-12-29 Zack Weinberg <zackw@panix.com>
20862
20863 [BZ #22615]
20864 * manual/errno.texi (Checking for Errors): Explicitly say that errno
20865 might be set on success.
20866
f8aa69be
AJ
208672017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20868
20869 [BZ #22611]
20870 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
20871 is unchanged on success.
20872
97f13188
DL
208732017-12-27 Dmitry V. Levin <ldv@altlinux.org>
20874
2bd86632
DL
20875 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
20876 updated.
20877 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
20878 expand_dynamic_string_token): Likewise.
20879 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
20880 is_path argument.
20881
1c36e1e6
DL
20882 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
20883 contains ':'.
20884
97f13188
DL
20885 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
20886 is set and name contains ':', and all code depending on these checks.
20887
48a8f832
ZW
208882017-12-24 Zack Weinberg <zackw@panix.com>
20889
20890 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
20891 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
20892 respectively.
20893 * libio/libio.h: Rename the original version of this file to
20894 libio/bits/libio.h. Error out if not included by stdio.h or the
20895 stub libio.h.
20896 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
20897 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
20898 if not included by bits/libio.h or the stub _G_config.h.
20899 * sysdeps/unix/sysv/linux/_G_config.h: Move to
20900 sysdeps/unix/sysv/linux/bits. Error out if not included by
20901 bits/libio.h or the stub _G_config.h.
20902 * libio/stdio.h: Include bits/libio.h, not libio.h.
20903 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
20904 well as libio.h and _G_config.h.
20905
20906 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
20907 * libio/strfile.h, stdio-common/vfscanf.c
20908 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
20909 Include stdio.h, not _G_config.h nor libio.h.
20910 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
20911 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
20912
20913 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
20914
a47ad79a
DL
209152017-12-23 Dmitry V. Levin <ldv@altlinux.org>
20916
20917 [BZ #22347]
20918 * stdlib/getrandom.c (getrandom): Fix comment.
20919 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
20920
363e4519 209212017-12-23 Aurelien Jarno <aurelien@aurel32.net>
e65a5644 20922
f5c558f3
AJ
20923 [BZ #21161]
20924 * manual/arith.texi (strtoul): Fix a typo.
20925
e65a5644
AJ
20926 [BZ #22596]
20927 * manual/arith.texi (finite): Fix the description of the return
20928 value.
20929
ed8ae46b
EB
209302017-12-22 Eric Blake <ebb9@byu.net>
20931
20932 Avoid gcc warnings on cygwin
20933 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
20934 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
20935 Avoid unused variable.
20936
bad7a0c8
FW
209372017-12-22 Florian Weimer <fweimer@redhat.com>
20938
20939 * io/Makefile (routines): Add copy_file_range.
20940 (tests): Add tst-copy_file_range.
20941 (tests-static, tests-internal): Add tst-copy_file_range-compat.
20942 * io/Versions (GLIBC_2.27): Export copy_file_range.
20943 * io/copy_file_range-compat.c: New file.
20944 * io/copy_file_range.c: Likewise.
20945 * io/tst-copy_file_range-compat.c: Likewise.
20946 * io/tst-copy_file_range.c: Likewise.
20947 * manual/llio.texi (Copying File Data): New section.
20948 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
20949 * support/Makefile (libsupport-routines): Add support-xfstat,
20950 xftruncate, xlseek.
20951 * support/support-xfstat.c: New file.
20952 * support/xftruncate.c: Likewise.
20953 * support/xlseek.c: Likewise.
20954 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
20955 * sysdeps/unix/sysv/linux/**.abilist: Update.
20956 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
20957
6cb86fd2
SN
209582017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
20959
20960 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20961 disable-multi-arch variant to aarch64-linux-gnu.
20962
41d11b15
JM
209632017-12-20 Joseph Myers <joseph@codesourcery.com>
20964
20965 * manual/texinfo.tex: Update to version 2017-12-18.20 with
20966 trailing whitespace removed.
20967 * scripts/config.guess: Update to version 2017-12-17.
20968 * scripts/config.sub: Update to version 2017-11-23.
20969 * scripts/install-sh: Update to version 2017-09-23.17.
20970 * scripts/move-if-change: Update to version 2017-09-13 06:45.
20971
4735850f
AZ
209722017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20973
8d2d239c
AZ
20974 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
20975 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20976 * sysdeps/tile/_mcount.S (__mcount): Likewise.
20977 * sysdeps/tile/crti.S (_init, _fini): Likewise.
20978 * sysdeps/tile/crtn.S: Likewise.
20979 * sysdeps/tile/dl-start.S (_start): Likewise.
20980 * sysdeps/tile/dl-trampoline.S: Likewise.
20981 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
20982 * sysdeps/tile/start.S (_start): Likewise.
20983 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
20984 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
20985 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
20986 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
20987 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
20988 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
20989 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
20990
24d1d8ec
AZ
20991 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
20992 comment.
20993 * sysdeps/tile/preconfigure: Remove tilegx folder.
20994 * sysdeps/tile/tilegx/Implies: Move definitions to ...
20995 * sysdeps/tile/Implies: ... here.
20996 * sysdeps/tile/tilegx/Makefile: Move rules to ...
20997 * sysdeps/tile/Makefile: ... here.
20998 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
20999 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
21000 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
21001 * sysdeps/tile/bits/wordsize.h: ... here.
21002 * sysdeps/tile/tilegx/*: Move to ...
21003 * sysdeps/tile/*: ... here.
21004 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
21005 * sysdeps/tile/tilegx32/Implies: ... here.
21006 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
21007 * sysdeps/tile/tilegx64/Implies: ... here.
21008 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
21009 to ...
21010 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
21011 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
21012 * sysdeps/unix/sysv/linux/tile/*: ... here.
21013 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
21014 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
21015 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
21016 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
21017
ed95f611
AZ
21018 * README: Remove tilepro-*-linux-gnu from supported architecture.
21019 * scripts/build-many-glibcs.py: Likewise.
21020 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
21021 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
21022 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
21023 elf_machine_matches_host, elf_machine_dynamic,
21024 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
21025 howto, elf_machine_rela): Likewise.
21026 * sysdeps/tile/dl-start.S (_start): Likewise.
21027 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
21028 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
21029 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
21030 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
21031 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
21032 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
21033 Likewise.
21034 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
21035 * sysdeps/tile/preconfigure: Likewise.
21036 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
21037 POINTER_CHK_GUARD): Likewise.
21038 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
21039 * sysdeps/tile/start.S (_start): Likewise.
21040 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
21041 Likewise.
21042 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
21043 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
21044 CMOVNEZ): Remove.
21045 * sysdeps/unix/sysv/linux/tile/bits/environments.h
21046 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
21047 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
21048 Likewise.
21049 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
21050 * sysdeps/tile/tilepro/Implies: Remove file.
21051 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
21052 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
21053 * sysdeps/tile/tilepro/memchr.c: Likewise.
21054 * sysdeps/tile/tilepro/memcpy.S: Likewise.
21055 * sysdeps/tile/tilepro/memset.c: Likewise.
21056 * sysdeps/tile/tilepro/memusage.h: Likewise.
21057 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
21058 * sysdeps/tile/tilepro/strchr.c: Likewise.
21059 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
21060 * sysdeps/tile/tilepro/strlen.c: Likewise.
21061 * sysdeps/tile/tilepro/strrchr.c: Likewise.
21062 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
21063 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
21064 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
21065 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
21066 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
21067 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
21068 Likewise.
21069 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
21070 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21071 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
21072 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
21073 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21074 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
21075 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
21076 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
21077 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
21078 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
21079 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
21080 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
21081 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
21082 tilepro mention in comment.
21083
4735850f
AZ
21084 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
21085 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
21086 * nptl/pthread_join_common.c: New file: common function used on
21087 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
21088 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
21089 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
21090 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
21091 (cleanup): Move definition to pthread_join_common.c.
21092 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
21093 Remove superflous checks.
21094 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
21095 Likewise.
21096
8bfb461e
SN
210972017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
21098
21099 * sysdeps/aarch64/libm-test-ulps: Update.
21100
4e001969
AZ
211012017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21102
21103 * sysdeps/aarch64/memset.S (MEMSET): Define.
21104
8a26ad2a
FW
211052017-12-20 Florian Weimer <fweimer@redhat.com>
21106
21107 [BZ #22635]
21108 nptl: Provide full implementation of pthread_self in libc.so.
21109 * nptl/Makefile (routines): Add pthread_self.
21110 (libpthread-routines): Replace pthread_self with
21111 compat-pthread_self.
21112 * nptl/forward.c (pthread_self): Remove.
21113 * nptl/nptl-init.c (pthread_functions): Do not initialize
21114 ptr_pthread_self.
21115 * nptl/pthread_self.c (pthread_self): Remove weak alias.
21116 * nptl/compat-pthread_self.c: New file.
21117 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
21118 Remove ptr_pthread_self.
21119
5069ff32
AR
211202017-12-19 Arnold D. Robbins <arnold@skeeve.com>
21121
21122 * posix/regcomp.c: Fix spelling in comments.
21123 * posix/regex.h: Likewise.
21124 * posix/regex_internal.c: Likewise.
21125 * posix/regexec.c: Likewise.
21126
c85e54ac
GG
211272017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
21128
21129 [BZ #22377]
21130 * math/Makefile [C++] (tests): Add test for iseqsig.
21131 * math/math.h [C++] (iseqsig): New implementation, which does
21132 not rely on __MATH_TG/__builtin_types_compatible_p.
21133 * math/test-math-iseqsig.cc: New file.
21134 * sysdeps/powerpc/powerpc64le/Makefile
21135 (CFLAGS-test-math-iseqsig.cc): New variable.
21136
10e93d96
DL
211372017-12-19 Dmitry V. Levin <ldv@altlinux.org>
21138
21139 * elf/dl-load.c (is_trusted_path): Remove.
21140 (fillin_rpath): Remove check_trusted argument and its use,
21141 all callers changed.
21142
ce16eb52
L
211432017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21144
21145 [BZ #22630]
21146 * Makeconfig (link-pie-before-libc): Replace -pie with
21147 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
21148 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
21149 (tst-dlopen-aout-no-pie): New.
21150 (LDFLAGS-tst-prelink): Removed.
21151 (tst-prelink-no-pie): New.
21152 (LDFLAGS-tst-main1): Removed.
21153 (tst-main1-no-pie): New.
21154 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
21155 (tst-gmon-no-pie): New.
21156
126adc89
L
211572017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21158
21159 * manual/install.texi: Document that --enable-static-pie
21160 implies PIE.
21161 * INSTALL: Regenerated.
21162
648615e1
BE
211632017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
21164
21165 [BZ #21309]
21166 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
21167 unsigned.
21168
f1e00502
JM
211692017-12-19 Joseph Myers <joseph@codesourcery.com>
21170
21171 Revert:
21172
21173 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21174
21175 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21176
21177 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21178
21179 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
21180 <errno.h>. Include "eexp.tbl".
21181 (half): New constant.
21182 (one): Likewise.
21183 (__ieee754_exp): Rewrite.
21184 (__slowexp): Remove prototype.
21185 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
21186 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
21187 * sysdeps/i386/fpu/slowexp.c: Likewise.
21188 * sysdeps/ia64/fpu/slowexp.c: Likewise.
21189 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
21190 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
21191 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
21192 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21193 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
21194 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
21195 comment.
21196 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
21197 (CPPFLAGS-slowexp.c): Remove variable.
21198 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21199 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
21200 (CFLAGS-slowexp-fma.c): Remove variable.
21201 (CFLAGS-slowexp-fma4.c): Likewise.
21202 (CFLAGS-slowexp-avx.c): Likewise.
21203 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
21204 define as macro.
21205 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
21206 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
21207 * math/Makefile (type-double-routines): Remove slowexp.
21208 * manual/probes.texi (slowexp_p6): Remove.
21209 (slowexp_p32): Likewise.
21210
d711a00f
AZ
212112017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21212
e184ac3a
AZ
21213 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
21214 arithmetic.
21215
d711a00f
AZ
21216 * lib/glob.c (glob): Do not pass NULL to mempcpy.
21217
6f58c10d
JM
212182017-12-19 Joseph Myers <joseph@codesourcery.com>
21219
21220 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21221
6fd0a3c6
PM
212222017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21223
21224 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
21225 <errno.h>. Include "eexp.tbl".
21226 (half): New constant.
21227 (one): Likewise.
21228 (__ieee754_exp): Rewrite.
21229 (__slowexp): Remove prototype.
21230 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
21231 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
21232 * sysdeps/i386/fpu/slowexp.c: Likewise.
21233 * sysdeps/ia64/fpu/slowexp.c: Likewise.
21234 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
21235 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
21236 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
21237 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21238 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
21239 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
21240 comment.
21241 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
21242 (CPPFLAGS-slowexp.c): Remove variable.
21243 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21244 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
21245 (CFLAGS-slowexp-fma.c): Remove variable.
21246 (CFLAGS-slowexp-fma4.c): Likewise.
21247 (CFLAGS-slowexp-avx.c): Likewise.
21248 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
21249 define as macro.
21250 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
21251 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
21252 * math/Makefile (type-double-routines): Remove slowexp.
21253 * manual/probes.texi (slowexp_p6): Remove.
21254 (slowexp_p32): Likewise.
21255
3bb1ef58 212562017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6b5c8607 21257 James Clarke <jrtc27@jrtc27.com>
3bb1ef58
AZ
21258
21259 [BZ #22603]
21260 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
21261 addition.
21262
554e3d51
AZ
212632017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21264
21265 [BZ #22605]
21266 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
21267 code.
21268
cba595c3
L
212692017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21270
21271 [BZ #22563]
21272 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21273 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
21274 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21275 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
21276 to feature_1.
21277
f81ddabf
L
212782017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21279
21280 [BZ #22563]
21281 * bits/types/__cancel_jmp_buf_tag.h: New file.
21282 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
21283 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
21284 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
21285 * nptl/Makefile (headers): Add
21286 bits/types/__cancel_jmp_buf_tag.h.
21287 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
21288 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
21289 * sysdeps/nptl/pthread.h: Include
21290 <bits/types/__cancel_jmp_buf_tag.h>.
21291 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
21292 __cancel_jmp_buf.
21293 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
21294
1a49fc59
L
212952017-12-18 H.J. Lu <hongjiu.lu@intel.com>
21296
21297 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21298 --enable-static-pie variants to x86_64, x32 and i686.
21299
8e52f573
JM
213002017-12-19 Joseph Myers <joseph@codesourcery.com>
21301
66425185
JM
21302 [BZ #22631]
21303 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
21304 argument for attrubutes. All callers changed.
21305 (__inline_mathop1): Likewise. All callers changed.
21306 (__inline_mathop): Likewise. All callers changed.
21307 [__USE_MISC] (scalbn): Use __inline_forward instead of
21308 __inline_forward_c.
21309 [__USE_ISOC99] (scalbln): Likewise.
21310 [__USE_ISOC99] (nearbyint): Likewise.
21311 [__USE_ISOC99] (lrint): Likewise.
21312 [__USE_MISC] (scalbnf): Likewise.
21313 [__USE_ISOC99] (scalblnf): Likewise.
21314 [__USE_ISOC99] (nearbyintf): Likewise.
21315 [__USE_ISOC99] (lrintf): Likewise.
21316 [__USE_MISC] (scalbnl): Likewise.
21317 [__USE_ISOC99] (scalblnl): Likewise.
21318 [__USE_ISOC99] (nearbyintl): Likewise.
21319 [__USE_ISOC99] (lrintl): Likewise.
21320 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
21321 __inline_mathop and __m81_defun changed.
21322
8e52f573
JM
21323 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
21324 CPU or FPU for ARM hard-float configurations.
21325
1421f39b
JM
213262017-12-18 Joseph Myers <joseph@codesourcery.com>
21327
40c4162d
JM
21328 * nptl/tst-attr3.c: Include <libc-diag.h>.
21329 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
21330
5983df32
JM
21331 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
21332
1421f39b
JM
21333 * string/tester.c (test_strncat): Also disable -Warray-bounds
21334 warnings for two tests.
21335
00c714df
L
213362017-12-18 H.J. Lu <hongjiu.lu@intel.com>
21337
21338 [BZ #22614]
21339 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
21340 $(cc-pie-default) == yes.
21341 * config.make.in (cc-pie-default): New.
21342 * configure.ac (libc_cv_pie_default): Renamed to ...
21343 (libc_cv_cc_pie_default): This.
21344 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
21345 * configure: Regenerated.
21346
8e1472d2
FW
213472017-12-18 Florian Weimer <fweimer@redhat.com>
21348
21349 [BZ #20204]
21350 ld.so: Harden dl-libc/libdl hooks.
21351 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
21352 (rtld_active): New function.
21353 * dlfcn/dladdr.c (__dladdr): Call it.
21354 * dlfcn/dladdr1.c (__dladdr1): Likewise.
21355 * dlfcn/dlclose.c (__dlcose): Likewise.
21356 * dlfcn/dlerror.c (__dlerror): Likewise.
21357 * dlfcn/dlinfo.c (__dlinfo): Likewise.
21358 * dlfcn/dlmopen.c (__dlmopen): Likewise.
21359 * dlfcn/dlopen.c (__dlopen): Likewise.
21360 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
21361 * dlfcn/dlsym.c (__dlsym): Likewise.
21362 * dlfcn/dlvsym.c (__dlvsym): Likewise.
21363 * libio/vtables.c (_IO_vtable_check): Likewise.
21364 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
21365 (__libc_dlclose): Likewise.
21366 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
21367 assignment.
21368
49b036bc
JM
213692017-12-18 Joseph Myers <joseph@codesourcery.com>
21370
21371 [BZ #22446]
21372 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
21373 buffers for readlink input and output.
21374
368b6c8d
ST
213752017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
21376
c85c564d
ST
21377 [BZ #22624]
21378 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
21379 inhibit_stack_protector.
21380
368b6c8d
ST
21381 [BZ #22624]
21382 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
21383 inhibit_stack_protector.
21384
bb195224
DL
213852017-12-18 Dmitry V. Levin <ldv@altlinux.org>
21386
21387 [BZ #22627]
21388 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
21389 code and invocation.
21390
14d886ed
SN
213912017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
21392
21393 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
21394
7d38eb38
AJ
213952017-12-16 Aurelien Jarno <aurelien@aurel32.net>
21396
21397 [BZ #22505]
21398 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
21399
2e77deef
RS
214002017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21401
21402 * sysdeps/s390/fpu/libm-test-ulps: Update.
21403
0b9bef6d
RS
214042017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21405
21406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21407
984ae996
RS
214082017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21409
21410 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
21411 constants to s_sincosf.h file.
21412 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21413 * sysdeps/ieee754/flt-32/s_sincosf.c: New
21414 implementation.
21415 * sysdeps/ieee754/flt-32/s_sincosf.h:
21416 New file.
21417
363e4519 214182017-12-12 Carlos O'Donell <carlos@redhat.com>
93930ea9
CD
21419
21420 [BZ #14681]
21421 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
21422 before mtrace.
21423
9d7a3741
L
214242017-12-15 H.J. Lu <hongjiu.lu@intel.com>
21425
21426 [BZ #19574]
21427 * INSTALL: Regenerated.
21428 * Makeconfig (real-static-start-installed-name): New.
21429 (pic-default): Updated for --enable-static-pie.
21430 (pie-default): New for --enable-static-pie.
21431 (default-pie-ldflag): Likewise.
21432 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
21433 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
21434 Replace $(static-start-installed-name) with
21435 $(real-static-start-installed-name).
21436 (+prectorT): Updated for --enable-static-pie.
21437 (+postctorT): Likewise.
21438 (CFLAGS-.o): Add $(pie-default).
21439 (CFLAGS-.op): Likewise.
21440 * NEWS: Mention --enable-static-pie.
21441 * config.h.in (ENABLE_STATIC_PIE): New.
21442 * configure.ac (--enable-static-pie): New configure option.
21443 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
21444 (have-static-pie): Likewise.
21445 Enable static PIE if linker supports --no-dynamic-linker.
21446 (ENABLE_STATIC_PIE): New AC_DEFINE.
21447 (enable-static-pie): New LIBC_CONFIG_VAR.
21448 * configure: Regenerated.
21449 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
21450 gr$(start-installed-name) for --enable-static-pie.
21451 (extra-objs): Likewise.
21452 (install-lib): Likewise.
21453 (extra-objs): Add static-reloc.o and static-reloc.os
21454 ($(objpfx)$(start-installed-name)): Also depend on
21455 $(objpfx)static-reloc.o.
21456 ($(objpfx)r$(start-installed-name)): New.
21457 ($(objpfx)g$(start-installed-name)): Also depend on
21458 $(objpfx)static-reloc.os.
21459 ($(objpfx)gr$(start-installed-name)): New.
21460 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
21461 in libc.a.
21462 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
21463 initimage.
21464 * csu/static-reloc.c: New file.
21465 * elf/Makefile (routines): Add dl-reloc-static-pie.
21466 (elide-routines.os): Likewise.
21467 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
21468 (tst-tls1-static-non-pie-no-pie): New.
21469 * elf/dl-reloc-static-pie.c: New file.
21470 * elf/dl-support.c (_dl_get_dl_main_map): New function.
21471 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
21472 STATIC_PIE_BOOTSTRAP.
21473 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
21474 * gmon/Makefile (tests): Add tst-gmon-static-pie.
21475 (tests-static): Likewise.
21476 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
21477 (tst-gmon-static-no-pie): New.
21478 (CFLAGS-tst-gmon-static-pie.c): Likewise.
21479 (CRT-tst-gmon-static-pie): Likewise.
21480 (tst-gmon-static-pie-ENV): Likewise.
21481 (tests-special): Likewise.
21482 ($(objpfx)tst-gmon-static-pie.out): Likewise.
21483 (clean-tst-gmon-static-pie-data): Likewise.
21484 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
21485 * gmon/tst-gmon-static-pie.c: New file.
21486 * manual/install.texi: Document --enable-static-pie.
21487 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
21488 (_dl_get_dl_main_map): Likewise.
21489 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
21490 * sysdeps/x86_64/configure.ac: Likewise.
21491 * sysdeps/i386/configure: Regenerated.
21492 * sysdeps/x86_64/configure: Likewise.
21493 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
21494 (ASFLAGS-.op): Likewise.
21495
95511aab
JM
214962017-12-15 Joseph Myers <joseph@codesourcery.com>
21497
21498 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
21499 * posix/tst-mmap-offset.c (fname): Use /tmp.
21500 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
21501
a7e3edf4
SE
215022017-12-15 Steve Ellcey <sellcey@cavium.com>
21503
21504 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
21505
d232f2e1
TS
215062017-12-15 Thomas Schwinge <thomas@codesourcery.com>
21507
21508 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
21509 errno.
21510
174edbde
JM
215112017-12-15 Joseph Myers <joseph@codesourcery.com>
21512
5170fa49
JM
21513 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
21514 --with-float=hard for arm-linux-gnueabihf configurations.
21515
f2da2fd8
JM
21516 [BZ #14121]
21517 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
21518 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
21519 ($(mo-installed)): Use $(objpfx)%.mo.
21520 (realclean): Remove rule.
21521
0c4fe28d
JM
21522 * po/Makefile (linguas): Remove rule and dependencies.
21523 (linguas.mo): Likewise.
21524 (.PHONY): Do not depend on linguas and linguas.mo.
21525 (podir): Remove variable.
21526 (pofiles): Likewise.
21527 [$(pofiles)] (%.po): Remove rule.
21528
174edbde
JM
21529 * sysdeps/sparc/sparc32/Makefile
21530 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
21531 start-of-line whitespace in argument of echo.
21532 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
21533 with whitespace. Generate __wrap_.udiv alias.
21534 * sysdeps/sparc/sparc32/rem.S: Regenerated.
21535 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21536 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21537 * sysdeps/sparc/sparc32/urem.S: Likewise.
21538
1e36806f
RS
215392017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21540
21541 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
21542 for aligned inputs.
21543
aa6932aa
SP
215442017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
21545
5f1603c3
SP
21546 * benchtests/bench-strcmp.c: Print output in JSON format.
21547
aa6932aa
SP
21548 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
21549
3ff3dfa5
FW
215502017-12-14 Florian Weimer <fweimer@redhat.com>
21551
21552 [BZ #22607]
21553 CVE-2017-1000409
21554 * elf/dl-load.c (_dl_init_paths): Compute number of components in
21555 the expanded path string.
21556
8a0b17e4
FW
215572017-12-14 Florian Weimer <fweimer@redhat.com>
21558
21559 [BZ #22606]
21560 CVE-2017-1000408
21561 * elf/dl-load.c (system_dirs): Update comment.
21562 (nsystem_dirs_len): Use array_length.
21563 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
21564
f58bd7f0
FW
215652017-12-14 Florian Weimer <fweimer@redhat.com>
21566
21567 Simplify compiling most of support/ outside of glibc.
21568 * support/check_addrinfo.c: Include <string.h>.
21569 * support/check_dns_packet.c: Likewise.
21570 * support/check_hostent.c: Likewise.
21571 * support/support_can_chroot.c: Include <support/xunistd.h>.
21572 * support/support_format_addrinfo.c: Include <stdlib.h>
21573 * support/support_format_dns_packet.c: Include <stdbool.h>.
21574 * support/support_format_hostent.c: Include <stdlib.h>.
21575 * support/support_format_netent.c: Likewise.
21576 * support/support_write_string.c: Include <support/xunistd.h>.
21577 * support/xdlfcn.c: Include <stddef.h>.
21578
4ca945e9
L
215792017-12-14 H.J. Lu <hongjiu.lu@intel.com>
21580
21581 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
21582
1b6e07f8
PM
215832017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21584 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21585
e6a1c5dc
PM
21586 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21587 (sysdeps_routines): Add memset-niagara7.
21588 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
21589 Likewise.
21590 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
21591 file.
21592 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
21593 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
21594 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
21595 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
21596 Add niagara7 option.
21597 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
21598 memset.
21599
1b6e07f8
PM
21600 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21601 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
21602 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
21603 Likewise.
21604 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
21605 New file.
21606 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
21607 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
21608 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
21609 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
21610 and __memmove_niagara7.
21611 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
21612 Add niagara7 option.
21613 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
21614 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
21615 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
21616 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
21617 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
21618
bfb7bf22
JM
216192017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
21620
767a26d6
JM
21621 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
21622 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
21623 * sysdeps/sparc/sparc64/memmove.S: Likewise.
21624 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
21625
bfb7bf22
JM
21626 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
21627 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
21628 _dl_sparc_cap_flags array.
21629 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
21630
2bce01eb
SP
216312017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
21632
21633 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
21634 time whenever possible.
21635
363e4519 216362017-12-12 Carlos O'Donell <carlos@redhat.com>
243b6333
CD
21637
21638 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
21639 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
21640
6f7c0092
JM
216412017-12-12 Joseph Myers <joseph@codesourcery.com>
21642
21643 * soft-fp/fmadf4.c: Move to ....
21644 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
21645 * soft-fp/fmasf4.c: Move to ....
21646 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
21647 * soft-fp/fmatf4.c: Move to ....
21648 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
21649 * sysdeps/ieee754/soft-fp/Makefile: New file.
21650 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
21651 * sysdeps/arm/preconfigure: Regenerated.
21652 * sysdeps/arm/nofpu/Implies: New file.
21653 * sysdeps/arm/s_fma.c: Remove file.
21654 * sysdeps/arm/s_fmaf.c: Likewise.
21655 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
21656 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
21657 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
21658 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
21659 * sysdeps/microblaze/s_fma.c: Remove file.
21660 * sysdeps/microblaze/s_fmaf.c: Likewise.
21661 * sysdeps/mips/mips32/nofpu/Implies: New file.
21662 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
21663 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
21664 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
21665 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
21666 * sysdeps/mips/ieee754/s_fma.c: Remove file.
21667 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
21668 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
21669 implementation.
21670 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
21671 * sysdeps/nios2/s_fma.c: Remove file.
21672 * sysdeps/nios2/s_fmaf.c: Likewise.
21673 * sysdeps/sh/nofpu/Implies: New file.
21674 * sysdeps/sh/s_fma.c: Remove file.
21675 * sysdeps/sh/s_fmaf.c: Likewise.
21676 * sysdeps/tile/Implies: Add ieee754/soft-fp.
21677 * sysdeps/tile/s_fma.c: Remove file.
21678 * sysdeps/tile/s_fmaf.c: Likewise.
21679
ac817e08
L
216802017-12-12 H.J. Lu <hongjiu.lu@intel.com>
21681
21682 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21683 Add s_cosf-sse2 and s_cosf-fma.
21684 (CFLAGS-s_cosf-fma.c): New.
21685 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
21686 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
21687 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
21688
eb428576
SE
216892017-12-12 Steve Ellcey <sellcey@cavium.com>
21690
21691 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
21692
c80acdc3
AZ
216932017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21694
cc683f7e
AZ
21695 * libio/Makefile (tests): Add tst-bz22415.
21696 (tst-bz22415-ENV): New rule.
21697 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
21698 (tests-special): Add tst-bz22415-mem.out.
21699 ($(objpfx)tst-bz22415-mem.out): New rule.
21700 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
21701 in case of a successful seek operation.
21702 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
21703 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
21704 buffer is required.
21705 * libio/tst-bz22415.c: New test.
21706
c80acdc3
AZ
21707 * sysdeps/ia64/fpu/libm-test-ulps: Update.
21708
363e4519 217092017-12-12 James Clarke <jrtc27@jrtc27.com>
89bd8016
JC
21710
21711 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
21712 __IPC_64 to 0 to avoid IPC_64 being set.
21713
4e0dca54
SN
217142017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21715
21716 [BZ #22593]
21717 * math/bits/mathcalls.h (nextafter): Remove const.
21718 (nexttoward): Likewise.
21719
8df5d347
JM
217202017-12-12 Joseph Myers <joseph@codesourcery.com>
21721
21722 * configure.ac (--with-fp): Remove configure option.
21723 (with_fp_cond): New variable.
21724 (libc_cv_with_fp): New configure test. Use this variable instead
21725 of with_fp.
21726 * configure: Regenerated.
21727 * config.make.in (with-fp): Use @libc_cv_with_fp@.
21728 * manual/install.texi (Configuring and compiling): Remove
21729 --without-fp.
21730 * INSTALL: Regenerated.
21731 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
21732 * sysdeps/mips/preconfigure (with_fp_cond): Define.
21733 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
21734 * sysdeps/sh/preconfigure (with_fp_cond): Define.
21735 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
21736 use --without-fp to configure glibc.
21737
0cee1257
RJ
217382017-12-12 Rical Jasan <ricaljasan@pacific.net>
21739
21740 * manual/locale.texi (nl_langinfo): Fix a typo.
21741
363e4519 217422017-12-12 Aurelien Jarno <aurelien@aurel32.net>
f54ad2f9
AJ
21743
21744 [BZ #22588]
21745 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
21746
36975e8e
L
217472017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21748
21749 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
21750 (CFLAGS-argp-parse.c): Likewise.
21751 (CFLAGS-argp-fmtstream.c): Likewise.
21752 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
21753 (CPPFLAGS-sha512-crypt.c): Likewise.
21754 (CPPFLAGS-md5-crypt.c): Likewise.
21755 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
21756 (CFLAGS-stack_chk_fail_local.c): Likewise.
21757 (CFLAGS-backtrace.c): Likewise.
21758 (CFLAGS-sprintf_chk.c): Likewise.
21759 (CFLAGS-snprintf_chk.c): Likewise.
21760 (CFLAGS-vsprintf_chk.c): Likewise.
21761 (CFLAGS-vsnprintf_chk.c): Likewise.
21762 (CFLAGS-asprintf_chk.c): Likewise.
21763 (CFLAGS-vasprintf_chk.c): Likewise.
21764 (CFLAGS-obprintf_chk.c): Likewise.
21765 (CFLAGS-dprintf_chk.c): Likewise.
21766 (CFLAGS-vdprintf_chk.c): Likewise.
21767 (CFLAGS-printf_chk.c): Likewise.
21768 (CFLAGS-fprintf_chk.c): Likewise.
21769 (CFLAGS-vprintf_chk.c): Likewise.
21770 (CFLAGS-vfprintf_chk.c): Likewise.
21771 (CFLAGS-gets_chk.c): Likewise.
21772 (CFLAGS-fgets_chk.c): Likewise.
21773 (CFLAGS-fgets_u_chk.c): Likewise.
21774 (CFLAGS-fread_chk.c): Likewise.
21775 (CFLAGS-fread_u_chk.c): Likewise.
21776 (CFLAGS-swprintf_chk.c): Likewise.
21777 (CFLAGS-vswprintf_chk.c): Likewise.
21778 (CFLAGS-wprintf_chk.c): Likewise.
21779 (CFLAGS-fwprintf_chk.c): Likewise.
21780 (CFLAGS-vwprintf_chk.c): Likewise.
21781 (CFLAGS-vfwprintf_chk.c): Likewise.
21782 (CFLAGS-fgetws_chk.c): Likewise.
21783 (CFLAGS-fgetws_u_chk.c): Likewise.
21784 (CFLAGS-read_chk.c): Likewise.
21785 (CFLAGS-pread_chk.c): Likewise.
21786 (CFLAGS-pread64_chk.c): Likewise.
21787 (CFLAGS-recv_chk.c): Likewise.
21788 (CFLAGS-recvfrom_chk.c): Likewise.
21789 (CFLAGS-tst-longjmp_chk.c): Likewise.
21790 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
21791 (CFLAGS-tst-longjmp_chk2.c): Likewise.
21792 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
21793 (CFLAGS-tst-longjmp_chk3.c): Likewise.
21794 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
21795 (CFLAGS-tst-chk1.c): Likewise.
21796 (CFLAGS-tst-chk2.c): Likewise.
21797 (CFLAGS-tst-chk3.c): Likewise.
21798 (CFLAGS-tst-chk4.cc): Likewise.
21799 (CFLAGS-tst-chk5.cc): Likewise.
21800 (CFLAGS-tst-chk6.cc): Likewise.
21801 (CFLAGS-tst-lfschk1.c): Likewise.
21802 (CFLAGS-tst-lfschk2.c): Likewise.
21803 (CFLAGS-tst-lfschk3.c): Likewise.
21804 (CFLAGS-tst-lfschk4.cc): Likewise.
21805 (CFLAGS-tst-lfschk5.cc): Likewise.
21806 (CFLAGS-tst-lfschk6.cc): Likewise.
21807 (CFLAGS-tst-ssp-1.c): Likewise.
21808 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
21809 (CFLAGS-scandir64.c): Likewise.
21810 (CFLAGS-scandir-tail.c): Likewise.
21811 (CFLAGS-scandir64-tail.c): Likewise.
21812 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
21813 (CFLAGS-dl-tunables.c): Likewise.
21814 (CFLAGS-dl-runtime.c): Likewise.
21815 (CFLAGS-dl-lookup.c): Likewise.
21816 (CFLAGS-dl-iterate-phdr.c): Likewise.
21817 (CFLAGS-vismain.c): Likewise.
21818 (CFLAGS-tst-linkall-static.c): Likewise.
21819 (CFLAGS-tst-linkall-static.c): Likewise.
21820 (CPPFLAGS-dl-load.c): Likewise.
21821 (CFLAGS-ldconfig.c): Likewise.
21822 (CFLAGS-dl-cache.c): Likewise.
21823 (CFLAGS-cache.c): Likewise.
21824 (CFLAGS-rtld.c): Likewise.
21825 (CFLAGS-multiload.c): Likewise.
21826 (CFLAGS-filtmod1.c): Likewise.
21827 (CFLAGS-tst-align.c): Likewise.
21828 (CFLAGS-tst-align2.c): Likewise.
21829 (CFLAGS-tst-alignmod.c): Likewise.
21830 (CFLAGS-tst-alignmod2.c): Likewise.
21831 (CPPFLAGS-tst-execstack.c): Likewise.
21832 (CFLAGS-tst-ptrguard1-static.c): Likewise.
21833 (CFLAGS-tst-latepthreadmod.c): Likewise.
21834 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
21835 (CFLAGS-getgrnam_r.c): Likewise.
21836 (CFLAGS-getgrent_r.c): Likewise.
21837 (CFLAGS-getgrent.c): Likewise.
21838 (CFLAGS-fgetgrent.c): Likewise.
21839 (CFLAGS-fgetgrent_r.c): Likewise.
21840 (CFLAGS-putgrent.c): Likewise.
21841 (CFLAGS-initgroups.c): Likewise.
21842 (CFLAGS-getgrgid.c): Likewise.
21843 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
21844 (CFLAGS-getsgent.c): Likewise.
21845 (CFLAGS-fgetsgent.c): Likewise.
21846 (CFLAGS-fgetsgent_r.c): Likewise.
21847 (CFLAGS-putsgent.c): Likewise.
21848 (CFLAGS-getsgnam.c): Likewise.
21849 (CFLAGS-getsgnam_r.c): Likewise.
21850 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
21851 (CFLAGS-iconv_charmap.c): Likewise.
21852 (CFLAGS-dummy-repertoire.c): Likewise.
21853 (CFLAGS-charmap.c): Likewise.
21854 (CFLAGS-linereader.c): Likewise.
21855 (CFLAGS-simple-hash.c): Likewise.
21856 (CFLAGS-gconv_conf.c): Likewise.
21857 (CFLAGS-iconvconfig.c): Likewise.
21858 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21859 (CFLAGS-gethstbyad.c): Likewise.
21860 (CFLAGS-gethstbynm_r.c): Likewise.
21861 (CFLAGS-gethstbynm.c): Likewise.
21862 (CFLAGS-gethstbynm2_r.c): Likewise.
21863 (CFLAGS-gethstbynm2.c): Likewise.
21864 (CFLAGS-gethstent_r.c): Likewise.
21865 (CFLAGS-gethstent.c): Likewise.
21866 (CFLAGS-rcmd.c): Likewise.
21867 (CFLAGS-getnetbynm_r.c): Likewise.
21868 (CFLAGS-getnetbynm.c): Likewise.
21869 (CFLAGS-getnetbyad_r.c): Likewise.
21870 (CFLAGS-getnetbyad.c): Likewise.
21871 (CFLAGS-getnetent_r.c): Likewise.
21872 (CFLAGS-getnetent.c): Likewise.
21873 (CFLAGS-getaliasent_r.c): Likewise.
21874 (CFLAGS-getaliasent.c): Likewise.
21875 (CFLAGS-getrpcent_r.c): Likewise.
21876 (CFLAGS-getrpcent.c): Likewise.
21877 (CFLAGS-getservent_r.c): Likewise.
21878 (CFLAGS-getservent.c): Likewise.
21879 (CFLAGS-getprtent_r.c): Likewise.
21880 (CFLAGS-getprtent.c): Likewise.
21881 (CFLAGS-either_ntoh.c): Likewise.
21882 (CFLAGS-either_hton.c): Likewise.
21883 (CFLAGS-getnetgrent.c): Likewise.
21884 (CFLAGS-getnetgrent_r.c): Likewise.
21885 (CFLAGS-tst-checks-posix.c): Likewise.
21886 (CFLAGS-tst-sockaddr.c): Likewise.
21887 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
21888 (CFLAGS-tst-translit.c): Likewise.
21889 (CFLAGS-tst-gettext2.c): Likewise.
21890 (CFLAGS-tst-codeset.c): Likewise.
21891 (CFLAGS-tst-gettext3.c): Likewise.
21892 (CFLAGS-tst-gettext4.c): Likewise.
21893 (CFLAGS-tst-gettext5.c): Likewise.
21894 (CFLAGS-tst-gettext6.c): Likewise.
21895 * io/Makefile (CFLAGS-open.c): Likewise.
21896 (CFLAGS-open64.c): Likewise.
21897 (CFLAGS-creat.c): Likewise.
21898 (CFLAGS-creat64.c): Likewise.
21899 (CFLAGS-fcntl.c): Likewise.
21900 (CFLAGS-poll.c): Likewise.
21901 (CFLAGS-ppoll.c): Likewise.
21902 (CFLAGS-lockf.c): Likewise.
21903 (CFLAGS-statfs.c): Likewise.
21904 (CFLAGS-fstatfs.c): Likewise.
21905 (CFLAGS-statvfs.c): Likewise.
21906 (CFLAGS-fstatvfs.c): Likewise.
21907 (CFLAGS-fts.c): Likewise.
21908 (CFLAGS-fts64.c): Likewise.
21909 (CFLAGS-ftw.c): Likewise.
21910 (CFLAGS-ftw64.c): Likewise.
21911 (CFLAGS-lockf.c): Likewise.
21912 (CFLAGS-posix_fallocate.c): Likewise.
21913 (CFLAGS-posix_fallocate64.c): Likewise.
21914 (CFLAGS-fallocate.c): Likewise.
21915 (CFLAGS-fallocate64.c): Likewise.
21916 (CFLAGS-read.c): Likewise.
21917 (CFLAGS-write.c): Likewise.
21918 (CFLAGS-test-stat.c): Likewise.
21919 (CFLAGS-test-lfs.c): Likewise.
21920 * libio/Makefile (CFLAGS-fileops.c): Likewise.
21921 (CFLAGS-fputc.c): Likewise.
21922 (CFLAGS-fputwc.c): Likewise.
21923 (CFLAGS-freopen64.c): Likewise.
21924 (CFLAGS-freopen.c): Likewise.
21925 (CFLAGS-fseek.c): Likewise.
21926 (CFLAGS-fseeko64.c): Likewise.
21927 (CFLAGS-fseeko.c): Likewise.
21928 (CFLAGS-ftello64.c): Likewise.
21929 (CFLAGS-ftello.c): Likewise.
21930 (CFLAGS-fwide.c): Likewise.
21931 (CFLAGS-genops.c): Likewise.
21932 (CFLAGS-getc.c): Likewise.
21933 (CFLAGS-getchar.c): Likewise.
21934 (CFLAGS-getwc.c): Likewise.
21935 (CFLAGS-getwchar.c): Likewise.
21936 (CFLAGS-iofclose.c): Likewise.
21937 (CFLAGS-iofflush.c): Likewise.
21938 (CFLAGS-iofgetpos64.c): Likewise.
21939 (CFLAGS-iofgetpos.c): Likewise.
21940 (CFLAGS-iofgets.c): Likewise.
21941 (CFLAGS-iofgetws.c): Likewise.
21942 (CFLAGS-iofputs.c): Likewise.
21943 (CFLAGS-iofputws.c): Likewise.
21944 (CFLAGS-iofread.c): Likewise.
21945 (CFLAGS-iofsetpos64.c): Likewise.
21946 (CFLAGS-iofsetpos.c): Likewise.
21947 (CFLAGS-ioftell.c): Likewise.
21948 (CFLAGS-iofwrite.c): Likewise.
21949 (CFLAGS-iogetdelim.c): Likewise.
21950 (CFLAGS-iogetline.c): Likewise.
21951 (CFLAGS-iogets.c): Likewise.
21952 (CFLAGS-iogetwline.c): Likewise.
21953 (CFLAGS-ioputs.c): Likewise.
21954 (CFLAGS-ioseekoff.c): Likewise.
21955 (CFLAGS-ioseekpos.c): Likewise.
21956 (CFLAGS-iosetbuffer.c): Likewise.
21957 (CFLAGS-iosetvbuf.c): Likewise.
21958 (CFLAGS-ioungetc.c): Likewise.
21959 (CFLAGS-ioungetwc.c): Likewise.
21960 (CFLAGS-oldfileops.c): Likewise.
21961 (CFLAGS-oldiofclose.c): Likewise.
21962 (CFLAGS-oldiofgetpos64.c): Likewise.
21963 (CFLAGS-oldiofgetpos.c): Likewise.
21964 (CFLAGS-oldiofsetpos64.c): Likewise.
21965 (CFLAGS-oldiofsetpos.c): Likewise.
21966 (CFLAGS-peekc.c): Likewise.
21967 (CFLAGS-putc.c): Likewise.
21968 (CFLAGS-putchar.c): Likewise.
21969 (CFLAGS-putwc.c): Likewise.
21970 (CFLAGS-putwchar.c): Likewise.
21971 (CFLAGS-rewind.c): Likewise.
21972 (CFLAGS-wfileops.c): Likewise.
21973 (CFLAGS-wgenops.c): Likewise.
21974 (CFLAGS-oldiofopen.c): Likewise.
21975 (CFLAGS-iofopen.c): Likewise.
21976 (CFLAGS-iofopen64.c): Likewise.
21977 (CFLAGS-oldtmpfile.c): Likewise.
21978 (CFLAGS-tst_putwc.c): Likewise.
21979 * locale/Makefile (CFLAGS-md5.c): Likewise.
21980 (CFLAGS-charmap.c): Likewise.
21981 (CFLAGS-locfile.c): Likewise.
21982 (CFLAGS-charmap-dir.c): Likewise.
21983 * login/Makefile (CFLAGS-grantpt.c): Likewise.
21984 (CFLAGS-getpt.c): Likewise.
21985 (CFLAGS-pt_chown.c): Likewise.
21986 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
21987 (CFLAGS-obstack.c): Likewise.
21988 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
21989 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
21990 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
21991 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
21992 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
21993 (CFLAGS-test-tgmath.c): Likewise.
21994 (CFLAGS-test-tgmath2.c): Likewise.
21995 (CFLAGS-test-tgmath-ret.c): Likewise.
21996 (CFLAGS-test-powl.c): Likewise.
21997 (CFLAGS-test-snan.c): Likewise.
21998 (CFLAGS-test-signgam-finite.c): Likewise.
21999 (CFLAGS-test-signgam-finite-c99.c): Likewise.
22000 (CFLAGS-test-signgam-finite-c11.c): Likewise.
22001 (CFLAGS-test-signgam-uchar.c): Likewise.
22002 (CFLAGS-test-signgam-uchar-init.c): Likewise.
22003 (CFLAGS-test-signgam-uchar-static.c): Likewise.
22004 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
22005 (CFLAGS-test-signgam-uint.c): Likewise.
22006 (CFLAGS-test-signgam-uint-init.c): Likewise.
22007 (CFLAGS-test-signgam-uint-static.c): Likewise.
22008 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
22009 (CFLAGS-test-signgam-ullong.c): Likewise.
22010 (CFLAGS-test-signgam-ullong-init.c): Likewise.
22011 (CFLAGS-test-signgam-ullong-static.c): Likewise.
22012 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
22013 (CFLAGS-test-math-cxx11.cc): Likewise.
22014 (CFLAGS-test-math-isinff.cc): Likewise.
22015 (CFLAGS-test-math-iszero.cc): Likewise.
22016 (CFLAGS-test-math-issignaling.cc): Likewise.
22017 (CFLAGS-test-math-iscanonical.cc): Likewise.
22018 (CFLAGS-test-iszero-excess-precision.c): Likewise.
22019 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
22020 (CFLAGS-test-flt-eval-method.c): Likewise.
22021 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
22022 (CFLAGS-test-finite-macros.c): Likewise.
22023 * misc/Makefile (CFLAGS-select.c): Likewise.
22024 (CFLAGS-tsearch.c): Likewise.
22025 (CFLAGS-lsearch.c): Likewise.
22026 (CFLAGS-pselect.c): Likewise.
22027 (CFLAGS-readv.c): Likewise.
22028 (CFLAGS-writev.c): Likewise.
22029 (CFLAGS-preadv.c): Likewise.
22030 (CFLAGS-preadv64.c): Likewise.
22031 (CFLAGS-pwritev.c): Likewise.
22032 (CFLAGS-pwritev64.c): Likewise.
22033 (CFLAGS-preadv2.c): Likewise.
22034 (CFLAGS-preadv64v2.c): Likewise.
22035 (CFLAGS-pwritev2.c): Likewise.
22036 (CFLAGS-pwritev64v2.c): Likewise.
22037 (CFLAGS-usleep.c): Likewise.
22038 (CFLAGS-syslog.c): Likewise.
22039 (CFLAGS-error.c): Likewise.
22040 (CFLAGS-getpass.c): Likewise.
22041 (CFLAGS-mkstemp.c): Likewise.
22042 (CFLAGS-mkstemp64.c): Likewise.
22043 (CFLAGS-getsysstats.c): Likewise.
22044 (CFLAGS-getusershell.c): Likewise.
22045 (CFLAGS-err.c): Likewise.
22046 (CFLAGS-tst-tsearch.c): Likewise.
22047 (CFLAGS-msync.c): Likewise.
22048 (CFLAGS-fdatasync.c): Likewise.
22049 (CFLAGS-fsync.c): Likewise.
22050 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
22051 (CFLAGS-unwind.c): Likewise.
22052 (CFLAGS-unwind-forcedunwind.c): Likewise.
22053 (CFLAGS-pthread_cancel.c): Likewise.
22054 (CFLAGS-pthread_setcancelstate.c): Likewise.
22055 (CFLAGS-pthread_setcanceltype.c): Likewise.
22056 (CFLAGS-cancellation.c): Likewise.
22057 (CFLAGS-libc-cancellation.c): Likewise.
22058 (CFLAGS-pthread_exit.c): Likewise.
22059 (CFLAGS-forward.c): Likewise.
22060 (CFLAGS-pthread_testcancel.c): Likewise.
22061 (CFLAGS-pthread_join.c): Likewise.
22062 (CFLAGS-pthread_timedjoin.c): Likewise.
22063 (CFLAGS-pthread_once.c): Likewise.
22064 (CFLAGS-pthread_cond_wait.c): Likewise.
22065 (CFLAGS-sem_wait.c): Likewise.
22066 (CFLAGS-sem_timedwait.c): Likewise.
22067 (CFLAGS-fcntl.c): Likewise.
22068 (CFLAGS-lockf.c): Likewise.
22069 (CFLAGS-pread.c): Likewise.
22070 (CFLAGS-pread64.c): Likewise.
22071 (CFLAGS-pwrite.c): Likewise.
22072 (CFLAGS-pwrite64.c): Likewise.
22073 (CFLAGS-wait.c): Likewise.
22074 (CFLAGS-waitpid.c): Likewise.
22075 (CFLAGS-sigwait.c): Likewise.
22076 (CFLAGS-msgrcv.c): Likewise.
22077 (CFLAGS-msgsnd.c): Likewise.
22078 (CFLAGS-tcdrain.c): Likewise.
22079 (CFLAGS-open.c): Likewise.
22080 (CFLAGS-open64.c): Likewise.
22081 (CFLAGS-pause.c): Likewise.
22082 (CFLAGS-recv.c): Likewise.
22083 (CFLAGS-send.c): Likewise.
22084 (CFLAGS-accept.c): Likewise.
22085 (CFLAGS-sendto.c): Likewise.
22086 (CFLAGS-connect.c): Likewise.
22087 (CFLAGS-recvfrom.c): Likewise.
22088 (CFLAGS-recvmsg.c): Likewise.
22089 (CFLAGS-sendmsg.c): Likewise.
22090 (CFLAGS-close.c): Likewise.
22091 (CFLAGS-read.c): Likewise.
22092 (CFLAGS-write.c): Likewise.
22093 (CFLAGS-nanosleep.c): Likewise.
22094 (CFLAGS-sigsuspend.c): Likewise.
22095 (CFLAGS-msync.c): Likewise.
22096 (CFLAGS-fdatasync.c): Likewise.
22097 (CFLAGS-fsync.c): Likewise.
22098 (CFLAGS-pt-system.c): Likewise.
22099 (CFLAGS-tst-cleanup2.c): Likewise.
22100 (CFLAGS-tst-cleanupx2.c): Likewise.
22101 (CFLAGS-flockfile.c): Likewise.
22102 (CFLAGS-ftrylockfile.c): Likewise.
22103 (CFLAGS-funlockfile.c): Likewise.
22104 (CFLAGS-tst-initializers1.c): Likewise.
22105 (CFLAGS-tst-initializers1-c89.c): Likewise.
22106 (CFLAGS-tst-initializers1-c99.c): Likewise.
22107 (CFLAGS-tst-initializers1-c11.c): Likewise.
22108 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
22109 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
22110 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
22111 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
22112 (CFLAGS-nscd_getgr_r.c): Likewise.
22113 (CFLAGS-nscd_gethst_r.c): Likewise.
22114 (CFLAGS-nscd_getai.c): Likewise.
22115 (CFLAGS-nscd_initgroups.c): Likewise.
22116 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
22117 (CFLAGS-pause.c): Likewise.
22118 (CFLAGS-pread.c): Likewise.
22119 (CFLAGS-pread64.c): Likewise.
22120 (CFLAGS-pwrite.c): Likewise.
22121 (CFLAGS-pwrite64.c): Likewise.
22122 (CFLAGS-sleep.c): Likewise.
22123 (CFLAGS-wait.c): Likewise.
22124 (CFLAGS-waitid.c): Likewise.
22125 (CFLAGS-waitpid.c): Likewise.
22126 (CFLAGS-getopt.c): Likewise.
22127 (CFLAGS-wordexp.c): Likewise.
22128 (CFLAGS-sysconf.c): Likewise.
22129 (CFLAGS-pathconf.c): Likewise.
22130 (CFLAGS-fpathconf.c): Likewise.
22131 (CFLAGS-spawn.c): Likewise.
22132 (CFLAGS-spawnp.c): Likewise.
22133 (CFLAGS-spawni.c): Likewise.
22134 (CFLAGS-glob.c): Likewise.
22135 (CFLAGS-glob64.c): Likewise.
22136 (CFLAGS-getconf.c): Likewise.
22137 (CFLAGS-nanosleep.c): Likewise.
22138 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
22139 (CFLAGS-getpwent.c): Likewise.
22140 (CFLAGS-getpw.c): Likewise.
22141 (CFLAGS-fgetpwent_r.c): Likewise.
22142 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
22143 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
22144 (CFLAGS-mq_timedreceive.c): Likewise.
22145 (CFLAGS-mq_timedsend.c): Likewise.
22146 (CFLAGS-clock_nanosleep.c): Likewise.
22147 (CFLAGS-librt-cancellation.c): Likewise.
22148 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
22149 (CFLAGS-getspent.c): Likewise.
22150 (CFLAGS-fgetspent.c): Likewise.
22151 (CFLAGS-fgetspent_r.c): Likewise.
22152 (CFLAGS-putspent.c): Likewise.
22153 (CFLAGS-getspnam.c): Likewise.
22154 (CFLAGS-getspnam_r.c): Likewise.
22155 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
22156 (CFLAGS-sigsuspend.c): Likewise.
22157 (CFLAGS-sigtimedwait.c): Likewise.
22158 (CFLAGS-sigwait.c): Likewise.
22159 (CFLAGS-sigwaitinfo.c): Likewise.
22160 (CFLAGS-sigreturn.c): Likewise.
22161 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
22162 (CFLAGS-vfwprintf.c): Likewise.
22163 (CFLAGS-tmpfile.c): Likewise.
22164 (CFLAGS-tmpfile64.c): Likewise.
22165 (CFLAGS-tempname.c): Likewise.
22166 (CFLAGS-psignal.c): Likewise.
22167 (CFLAGS-vprintf.c): Likewise.
22168 (CFLAGS-cuserid.c): Likewise.
22169 (CFLAGS-errlist.c): Likewise.
22170 (CFLAGS-siglist.c): Likewise.
22171 (CFLAGS-scanf15.c): Likewise.
22172 (CFLAGS-scanf17.c): Likewise.
22173 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
22174 (CFLAGS-msort.c): Likewise.
22175 (CFLAGS-qsort.c): Likewise.
22176 (CFLAGS-system.c): Likewise.
22177 (CFLAGS-fmtmsg.c): Likewise.
22178 (CFLAGS-strfmon.c): Likewise.
22179 (CFLAGS-strfmon_l.c): Likewise.
22180 (CFLAGS-strfromd.c): Likewise.
22181 (CFLAGS-strfromf.c): Likewise.
22182 (CFLAGS-strfroml.c): Likewise.
22183 (CFLAGS-tst-bsearch.c): Likewise.
22184 (CFLAGS-tst-qsort.c): Likewise.
22185 (CFLAGS-tst-makecontext2.c): Likewise.
22186 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
22187 (CFLAGS-xnlm_prot.c): Likewise.
22188 (CFLAGS-xrstat.c): Likewise.
22189 (CFLAGS-xyppasswd.c): Likewise.
22190 (CFLAGS-xklm_prot.c): Likewise.
22191 (CFLAGS-xrex.c): Likewise.
22192 (CFLAGS-xsm_inter.c): Likewise.
22193 (CFLAGS-xmount.c): Likewise.
22194 (CFLAGS-xrusers.c): Likewise.
22195 (CFLAGS-xspray.c): Likewise.
22196 (CFLAGS-xnfs_prot.c): Likewise.
22197 (CFLAGS-xrquota.c): Likewise.
22198 (CFLAGS-xkey_prot.c): Likewise.
22199 (CFLAGS-auth_unix.c): Likewise.
22200 (CFLAGS-key_call.c): Likewise.
22201 (CFLAGS-pmap_rmt.c): Likewise.
22202 (CFLAGS-clnt_perr.c): Likewise.
22203 (CFLAGS-openchild.c): Likewise.
22204 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
22205 (CFLAGS-msgsnd.c): Likewise.
22206 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
22207 * time/Makefile (CFLAGS-tzfile.c): Likewise.
22208 (CFLAGS-tzset.c): Likewise.
22209 (CFLAGS-getdate.c): Likewise.
22210 (CFLAGS-test_time.c): Likewise.
22211 (CPPFLAGS-tst-tzname.c): Likewise.
22212 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
22213 (CFLAGS-zic.c): Likewise.
22214 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
22215 (CFLAGS-wcswidth.c): Likewise.
22216 (CFLAGS-wcstol.c): Likewise.
22217 (CFLAGS-wcstoul.c): Likewise.
22218 (CFLAGS-wcstoll.c): Likewise.
22219 (CFLAGS-wcstoull.c): Likewise.
22220 (CFLAGS-wcstod.c): Likewise.
22221 (CFLAGS-wcstold.c): Likewise.
22222 (CFLAGS-wcstof128.c): Likewise.
22223 (CFLAGS-wcstof.c): Likewise.
22224 (CFLAGS-wcstol_l.c): Likewise.
22225 (CFLAGS-wcstoul_l.c): Likewise.
22226 (CFLAGS-wcstoll_l.c): Likewise.
22227 (CFLAGS-wcstoull_l.c): Likewise.
22228 (CFLAGS-wcstod_l.c): Likewise.
22229 (CFLAGS-wcstold_l.c): Likewise.
22230 (CFLAGS-wcstof128_l.c): Likewise.
22231 (CFLAGS-wcstof_l.c): Likewise.
22232 (CPPFLAGS-tst-wchar-h.c): Likewise.
22233 (CPPFLAGS-wcstold_l.c): Likewise.
583dd860 22234
f4b2aea6
PC
222352017-12-11 Paul A. Clarke <pc@us.ibm.com>
22236
22237 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
22238
c9cd7b0c
AZ
222392017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22240 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22241
22242 * manual/tunables.texi (Hardware Capability Tunables): Document
22243 glibc.tune.cached_memopt.
22244 * sysdeps/powerpc/cpu-features.c: New file.
22245 * sysdeps/powerpc/cpu-features.h: New file.
22246 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
22247 _dl_powerpc_cpu_features.
22248 * sysdeps/powerpc/dl-tunables.list: New file.
22249 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
22250 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
22251 (INIT_ARCH): Initialize use_aligned_memopt.
22252 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
22253 IS_IN(rtld))]: Restrict dl_platform_init availability and
22254 initialize CPU features used by tunables.
22255 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
22256 Add memcpy-power8-cached.
22257 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
22258 __memcpy_power8_cached.
22259 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
22260 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
22261 New file.
22262
e70c6fee
L
222632017-12-11 H.J. Lu <hongjiu.lu@intel.com>
22264
22265 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
22266 (CFLAGS-noinl-tester.c): Likewise.
22267 (CFLAGS-tst-strlen.c): Likewise.
22268 (CFLAGS-stratcliff.c): Likewise.
22269 (CFLAGS-test-ffs.c): Likewise.
22270 (CFLAGS-tst-inlcall.c): Likewise.
22271 (CFLAGS-tst-xbzero-opt.c): Likewise.
22272 (CFLAGS-memcpy.c): Likewise.
22273 (CFLAGS-wordcopy.c): Likewise.
22274
dee94366
SL
222752017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22276
22277 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
22278 Store r15 on stack and add cfi rule.
22279 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
22280 Likewise.
22281
363e4519 222822017-12-10 Aurelien Jarno <aurelien@aurel32.net>
f648728c
AJ
22283
22284 [BZ #22577]
22285 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
22286 call.
22287
9d0ffa60
L
222882017-12-07 H.J. Lu <hongjiu.lu@intel.com>
22289
22290 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22291 Add s_sinf-sse2 and s_sinf-fma.
22292 (CFLAGS-s_sinf-fma.c): New.
22293 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
22294 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
22295 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
22296
9574c7b6
L
222972017-12-07 H.J. Lu <hongjiu.lu@intel.com>
22298
22299 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
22300
d15e83c5
JM
223012017-12-07 Joseph Myers <joseph@codesourcery.com>
22302
22303 [BZ #22568]
22304 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
22305 part of result to imaginary part of argument if it is zero and the
22306 real part of the argument is not finite.
22307 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
22308 of result to real part of argument if it is zero and the imaginary
22309 part of the argument is not finite.
22310
d89756eb
MF
223112017-12-07 Mike FABIAN <mfabian@redhat.com>
22312
22313 [BZ #22524]
22314 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
22315 and to the list of locales to be built for testing.
22316 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
22317 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
22318 and build the collation rules upon that.
22319
1f9055ce
JM
223202017-12-07 Joseph Myers <joseph@codesourcery.com>
22321
22322 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
22323 * manual/math.texi (Mathematics): Document support for _Float32.
22324 * math/Makefile (test-types): Add float32.
22325 * math/Versions (GLIBC_2.27): Add _Float32 functions.
22326 * stdlib/Versions (GLIBC_2.27): Likewise.
22327 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22328 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22329 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22330 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22331 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22332 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
22333 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22334 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
22335 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22336 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22337 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22338 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22339 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22340 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
22341 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22342 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
22343 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22344 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
22345 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22346 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
22347 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22348 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
22349 Likewise.
22350 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22351 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22352 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22353 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
22354 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
22356 Likewise.
22357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22358 Likewise.
22359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22360 Likewise.
22361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22362 Likewise.
22363
22364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22365 Likewise.
22366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
22367 Likewise.
22368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22369 Likewise.
22370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22371 Likewise.
22372 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22373 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22374 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22375 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22376 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
22377 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22378 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22379 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22380 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22381 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22382 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22383 Likewise.
22384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22385 Likewise.
22386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22387 Likewise.
22388 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22389 Likewise.
22390 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22391 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22392 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22393 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22394 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22395 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22396 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22397 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22398
5244527d
JM
223992017-12-06 Joseph Myers <joseph@codesourcery.com>
22400
fb1ca2aa
JM
22401 * stdlib/strtof.c: Include <bits/floatn.h>
22402 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
22403 and later undefine as macro. Define as weak alias if
22404 [!USE_WIDE_CHAR].
22405 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
22406 and later undefine as macro. Define as weak alias if
22407 [USE_WIDE_CHAR].
22408 * stdlib/strtof_l.c: Include <bits/floatn.h>
22409 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
22410 and later undefine as macro. Define as weak alias if
22411 [!USE_WIDE_CHAR].
22412 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
22413 and later undefine as macro. Define as weak alias if
22414 [USE_WIDE_CHAR].
22415
fc10cc3f
JM
22416 * stdlib/strfromf.c: Include <bits/floatn.h>.
22417 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
22418 and later undefine as macro and define as weak alias.
22419
e420d228
JM
22420 * math/test-float32.h: New file.
22421
26007a2f
JM
22422 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
22423 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
22424 (libm_alias_float_other_r): Create f32 alias.
22425 (libm_alias_float_r): Use semicolon before call to
22426 libm_alias_float_other_r.
22427
c191f64c
JM
22428 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
22429 second argument to libm_alias_float_other.
22430 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
22431 second argument to libm_alias_float_other.
22432 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
22433 argument to libm_alias_float_other.
22434
5244527d
JM
22435 [BZ #22561]
22436 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
22437 real part of result for argument 0 + i * NaN.
22438 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
22439 results for tests of 0 + i * NaN.
22440
d73fac82
AZ
224412017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22442
22443 * sysdeps/alpha/fpu/libm-test-ulps: Update.
22444
7ec094e8
DM
224452017-12-06 David S. Miller <davem@davemloft.net>
22446
22447 * sysdeps/sparc/fpu/libm-test-ulps: Update
22448 exp_{downward,towardzero,upward} ulps.
22449
53994f12
JM
224502017-12-06 Joseph Myers <joseph@codesourcery.com>
22451
1dbe6f64
JM
22452 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
22453 variables static.
22454
53994f12
JM
22455 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
22456 (Y0_2D): Likewise.
22457 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
22458 (Y0_2D): Likewise.
22459 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
22460 (Y0_2D): Likewise.
22461 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
22462 (Y0_2D): Likewise.
22463
62ea2193
MF
224642017-12-06 Mike FABIAN <mfabian@redhat.com>
22465
22466 [BZ #22515]
22467 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
22468 and to the list of locales to be built for testing.
22469 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
22470 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
22471 and build the collation rules upon that.
22472
87235d70
RS
224732017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22474
22475 * NEWS: Add sinf to list of optimized functions.
22476
0d93b7fd
JM
224772017-12-06 Joseph Myers <joseph@codesourcery.com>
22478
22479 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
22480 (__HAVE_FLOAT32X): Likewise.
22481 * manual/math.texi (Mathematics): Document support for _Float64
22482 and _Float32x.
22483 * math/Makefile (test-types): Add float64 and float32x.
22484 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
22485 functions.
22486 * stdlib/Versions (GLIBC_2.27): Likewise.
22487 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22488 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22489 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22490 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22491 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22492 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
22493 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22494 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
22495 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22496 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22497 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22498 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22499 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22500 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
22501 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22502 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
22503 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22504 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
22505 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22506 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
22507 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22508 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
22509 Likewise.
22510 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22511 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22512 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22513 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
22514 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
22516 Likewise.
22517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22518 Likewise.
22519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22520 Likewise.
22521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22522 Likewise.
22523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22524 Likewise.
22525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
22526 Likewise.
22527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22528 Likewise.
22529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22530 Likewise.
22531 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22532 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22533 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22534 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22535 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
22536 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22537 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22538 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22539 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22540 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22541 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22542 Likewise.
22543 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22544 Likewise.
22545 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22546 Likewise.
22547 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22548 Likewise.
22549 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22550 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22551 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22552 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22553 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22554 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22555 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22556 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22557
f7787234
JM
225582017-12-05 Joseph Myers <joseph@codesourcery.com>
22559
22560 * bits/floatn-common.h: Include <bits/long-double.h>.
22561 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22562 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
22563 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22564 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
22565 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22566 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
22567 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22568 (__builtin_huge_valf64): Use __builtin_huge_vall.
22569 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22570 (__builtin_inff64): Use __builtin_infl.
22571 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22572 (__builtin_nanf64): Use __builtin_nanl.
22573 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22574 (__builtin_nansf64): Use __builtin_nansl.
22575
363e4519
DL
225762017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
22577 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6b5c8607 22578 Carlos O'Donnell <carlos@redhat.com>
07ed18d2
RA
22579
22580 * elf/dl-tunables.list: Add elision parameters.
22581 * manual/tunables.texi: Add entries about elision tunable.
22582 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
22583 Add callback functions to dynamically enable/disable elision.
22584 Add multiple callbacks functions to set elision parameters.
22585 Deleted __libc_enable_secure check.
22586 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
22587 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
22588 * configure: Regenerated.
22589 * configure.ac: Option enable_lock_elision was deleted.
22590 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
22591 * config.make.in: Remove references to enable_lock_elision.
22592 * manual/install.texi: Elision configure option was removed.
22593 * INSTALL: Regenerated to remove enable_lock_elision.
22594 * nptl/Makefile:
22595 Disable elision so it can verify error case for destroying a mutex.
22596 * sysdeps/powerpc/nptl/elide.h:
22597 Cleanup ENABLE_LOCK_ELISION check.
22598 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
22599 * sysdeps/s390/configure: Regenerated.
22600 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
22601 * nptl/tst-mutex8.c:
22602 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
22603 * sysdeps/powerpc/powerpc32/sysdep.h:
22604 Deleted all ENABLE_LOCK_ELISION checks.
22605 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
22606 * sysdeps/powerpc/sysdep.h: Likewise.
22607 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
22608 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
22609 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
22610 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
22611 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22612 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
22613 enable-lock-elision.
22614
a5a2a76b
JM
226152017-12-05 Joseph Myers <joseph@codesourcery.com>
22616
22617 * stdlib/strtod.c: Include <bits/floatn.h>.
22618 (BUILD_DOUBLE): New macro.
22619 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22620 (strtof64): Define and later undefine as macro. Define as weak
22621 alias if [!USE_WIDE_CHAR].
22622 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22623 (wcstof64): Define and later undefine as macro. Define as weak
22624 alias if [USE_WIDE_CHAR].
22625 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22626 (strtof32x): Define and later undefine as macro. Define as weak
22627 alias if [!USE_WIDE_CHAR].
22628 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22629 (wcstof32x): Define and later undefine as macro. Define as weak
22630 alias if [USE_WIDE_CHAR].
22631 * stdlib/strtod_l.c: Include <bits/floatn.h>.
22632 (BUILD_DOUBLE): New macro.
22633 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22634 (strtof64_l): Define and later undefine as macro. Define as weak
22635 alias if [!USE_WIDE_CHAR].
22636 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22637 (wcstof64_l): Define and later undefine as macro. Define as weak
22638 alias if [USE_WIDE_CHAR].
22639 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22640 (strtof32x_l): Define and later undefine as macro. Define as weak
22641 alias if [!USE_WIDE_CHAR].
22642 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22643 (wcstof32x_l): Define and later undefine as macro. Define as weak
22644 alias if [USE_WIDE_CHAR].
22645
94d80dfc
AZ
226462017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22647
22648 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
22649 (reduced): Use ones as double instead of integer.
22650
00d54af7
SN
226512017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
22652
22653 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
22654
f2d64d62
JM
226552017-12-05 Joseph Myers <joseph@codesourcery.com>
22656
1f70eae4
JM
22657 * stdlib/strfromd.c: Include <bits/floatn.h>.
22658 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
22659 and later undefine as macro and define as weak alias.
22660 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
22661 Likewise.
22662
e2c4dce5
JM
22663 * math/test-float32x.h: New file.
22664 * math/test-float64.h: Likewise.
22665
f2d64d62
JM
22666 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
22667 (libm_alias_double_other_r_f64): New macro.
22668 (libm_alias_double_other_r_f32x): Likewise.
22669 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22670 libm_alias_double_other_r_f32x.
22671 (libm_alias_double_r): Use semicolon before call to
22672 libm_alias_double_other_r.
22673 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
22674 <bits/floatn.h>.
22675 (libm_alias_double_other_r_f64): New macro.
22676 (libm_alias_double_other_r_f32x): Likewise.
22677 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22678 libm_alias_double_other_r_f32x.
22679
91c318e7
L
226802017-12-05 H.J. Lu <hongjiu.lu@intel.com>
22681
22682 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
22683 int.
22684 (SINF_FUNC): Likewise. Replace floor with simple casts.
22685
de9661d6
MF
226862017-12-05 Mike FABIAN <mfabian@redhat.com>
22687
22688 [BZ #22517]
22689 * localedata/Makefile: Add et_EE.UTF-8 to test-input
22690 and to the list of locales to be built for testing.
22691 * localedata/et_EE.UTF-8.in: New file for testing the collation.
22692 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
22693 and build the collation rules upon that.
22694
f18b8dc7
CM
226952017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
22696
22697 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
22698 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
22699 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
22700 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
22701 instead of __insn__xxx.
22702 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
22703 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
22704 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
22705 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
22706 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
22707 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
22708
446d22e9
FW
227092017-12-05 Florian Weimer <fweimer@redhat.com>
22710
22711 Linux: Implement interfaces for memory protection keys
22712 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
22713 xsignal, xsysconf.
22714 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
22715 * support/xunistd.h (xsysconf): Declare.
22716 * support/xraise.c: New file.
22717 * support/xsigaction.c: Likewise.
22718 * support/xsignal.c: Likewise.
22719 * support/xsysconf.c: Likewise.
22720 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
22721 pkey_set, pkey_get, pkey_mprotect.
22722 [misc] (tests): Add tst-pkey.
22723 (tst-pkey): Link with -lpthread.
22724 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
22725 pkey_free, pkey_set, pkey_get, pkey_mprotect.
22726 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
22727 (PKEY_DISABLE_WRITE): Define.
22728 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
22729 Declare.
22730 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
22731 (SEGV_PKUERR): Add.
22732 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
22733 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
22734 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
22735 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
22736 Add.
22737 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
22738 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
22739 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
22740 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
22741 * sysdeps/unix/sysv/linux/**.abilist: Update.
22742
da616c14
FW
227432017-12-05 Florian Weimer <fweimer@redhat.com>
22744
22745 * support/tst-test_compare.c (subprocess): Use long long instead
22746 of long argument for consistent type width across 32-bit and
22747 64-bit architectures.
22748 (do_test): Adjust expected output.
22749
216933b2
JM
227502017-12-05 Joseph Myers <joseph@codesourcery.com>
22751
22752 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
22753 (cosf): Define using libm_alias_float.
22754 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
22755 (fabsf): Define using libm_alias_float.
22756 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
22757 (fmaf): Define using libm_alias_float.
22758 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
22759 (rintf): Define using libm_alias_float.
22760 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
22761 (sinf): Define using libm_alias_float.
22762 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
22763 <libm-alias-float.h>.
22764 (modff): Define using libm_alias_float.
22765 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
22766 <libm-alias-float.h>.
22767 (logbf): Define using libm_alias_float.
22768 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
22769 <libm-alias-float.h>.
22770 (ceilf): Define using libm_alias_float.
22771 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22772 <libm-alias-float.h>.
22773 (copysignf): Define using libm_alias_float.
22774 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
22775 <libm-alias-float.h>.
22776 (floorf): Define using libm_alias_float.
22777 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
22778 <libm-alias-float.h>.
22779 (llrintf): Define using libm_alias_float.
22780 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
22781 <libm-alias-float.h>.
22782 (llroundf): Define using libm_alias_float.
22783 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22784 <libm-alias-float.h>.
22785 (lrintf): Define using libm_alias_float.
22786 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22787 <libm-alias-float.h>.
22788 (lroundf): Define using libm_alias_float.
22789 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
22790 <libm-alias-float.h>.
22791 (nearbyintf): Define using libm_alias_float.
22792 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
22793 <libm-alias-float.h>.
22794 (rintf): Define using libm_alias_float.
22795 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
22796 <libm-alias-float.h>.
22797 (roundf): Define using libm_alias_float.
22798 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
22799 <libm-alias-float.h>.
22800 (truncf): Define using libm_alias_float.
22801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
22802 Include <libm-alias-float.h>.
22803 (ceilf): Define using libm_alias_float.
22804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
22805 Include <libm-alias-float.h>.
22806 (copysignf): Define using libm_alias_float.
22807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
22808 Include <libm-alias-float.h>.
22809 (floorf): Define using libm_alias_float.
22810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
22811 Include <libm-alias-float.h>.
22812 (llrintf): Define using libm_alias_float.
22813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
22814 Include <libm-alias-float.h>.
22815 (llroundf): Define using libm_alias_float.
22816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
22817 Include <libm-alias-float.h>.
22818 (logbf): Define using libm_alias_float.
22819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
22820 Include <libm-alias-float.h>.
22821 (lrintf): Define using libm_alias_float.
22822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
22823 Include <libm-alias-float.h>.
22824 (lroundf): Define using libm_alias_float.
22825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
22826 Include <libm-alias-float.h>.
22827 (modff): Define using libm_alias_float.
22828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
22829 Include <libm-alias-float.h>.
22830 (roundf): Define using libm_alias_float.
22831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
22832 Include <libm-alias-float.h>.
22833 (truncf): Define using libm_alias_float.
22834 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
22835 <libm-alias-float.h>.
22836 (llrintf): Define using libm_alias_float.
22837 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22838 <libm-alias-float.h>.
22839 (llroundf): Define using libm_alias_float.
22840 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
22841 <libm-alias-float.h>.
22842 (ceilf): Define using libm_alias_float.
22843 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
22844 <libm-alias-float.h>.
22845 (floorf): Define using libm_alias_float.
22846 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22847 <libm-alias-float.h>.
22848 (llroundf): Define using libm_alias_float.
22849 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22850 <libm-alias-float.h>.
22851 (lroundf): Define using libm_alias_float.
22852 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
22853 <libm-alias-float.h>.
22854 (roundf): Define using libm_alias_float.
22855 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
22856 <libm-alias-float.h>.
22857 (truncf): Define using libm_alias_float.
22858 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22859 <libm-alias-float.h>.
22860 (copysignf): Define using libm_alias_float.
22861 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
22862 <libm-alias-float.h>.
22863 (llrintf): Define using libm_alias_float.
22864 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22865 <libm-alias-float.h>.
22866 (llroundf): Define using libm_alias_float.
22867 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22868 <libm-alias-float.h>.
22869 (lrintf): Define using libm_alias_float.
22870 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22871 <libm-alias-float.h>.
22872 (lroundf): Define using libm_alias_float.
22873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
22874 <libm-alias-float.h>.
22875 (ceilf): Define using libm_alias_float.
22876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
22877 <libm-alias-float.h>.
22878 (copysignf): Define using libm_alias_float.
22879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
22880 <libm-alias-float.h>.
22881 (cosf): Define using libm_alias_float.
22882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
22883 <libm-alias-float.h>.
22884 (floorf): Define using libm_alias_float.
22885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
22886 <libm-alias-float.h>.
22887 (llrintf): Define using libm_alias_float.
22888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
22889 <libm-alias-float.h>.
22890 (llroundf): Define using libm_alias_float.
22891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
22892 <libm-alias-float.h>.
22893 (logbf): Define using libm_alias_float.
22894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
22895 <libm-alias-float.h>.
22896 (modff): Define using libm_alias_float.
22897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
22898 <libm-alias-float.h>.
22899 (roundf): Define using libm_alias_float.
22900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
22901 <libm-alias-float.h>.
22902 (sinf): Define using libm_alias_float.
22903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
22904 <libm-alias-float.h>.
22905 (truncf): Define using libm_alias_float.
22906 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
22907 <libm-alias-float.h>.
22908 (ceilf): Define using libm_alias_float.
22909 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22910 <libm-alias-float.h>.
22911 (copysignf): Define using libm_alias_float.
22912 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
22913 <libm-alias-float.h>.
22914 (floorf): Define using libm_alias_float.
22915 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22916 <libm-alias-float.h>.
22917 (llrintf): Define using libm_alias_float.
22918 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
22919 <libm-alias-float.h>.
22920 (llroundf): Define using libm_alias_float.
22921 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
22922 <libm-alias-float.h>.
22923 (nearbyintf): Define using libm_alias_float.
22924 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
22925 <libm-alias-float.h>.
22926 (rintf): Define using libm_alias_float.
22927 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
22928 <libm-alias-float.h>.
22929 (roundf): Define using libm_alias_float.
22930 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
22931 <libm-alias-float.h>.
22932 (truncf): Define using libm_alias_float.
22933 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
22934 <libm-alias-float.h>.
22935 (ceilf): Define using libm_alias_float.
22936 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
22937 <libm-alias-float.h>.
22938 (floorf): Define using libm_alias_float.
22939 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22940 <libm-alias-float.h>.
22941 (llroundf): Define using libm_alias_float.
22942 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
22943 <libm-alias-float.h>.
22944 (roundf): Define using libm_alias_float.
22945 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
22946 <libm-alias-float.h>.
22947 (truncf): Define using libm_alias_float.
22948 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22949 <libm-alias-float.h>.
22950 (copysignf): Define using libm_alias_float.
22951 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22952 <libm-alias-float.h>.
22953 (llrintf): Define using libm_alias_float.
22954 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22955 <libm-alias-float.h>.
22956 (llroundf): Define using libm_alias_float.
22957 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
22958 <libm-alias-float.h>.
22959 (cosf): Define using libm_alias_float.
22960 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22961 <libm-alias-float.h>.
22962 (llrintf): Define using libm_alias_float.
22963 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22964 <libm-alias-float.h>.
22965 (llroundf): Define using libm_alias_float.
22966 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
22967 <libm-alias-float.h>.
22968 (sinf): Define using libm_alias_float.
22969
93485524
FW
229702017-12-04 Florian Weimer <fweimer@redhat.com>
22971
22972 * support/check.h (TEST_COMPARE): Define.
22973 (support_test_compare_failure): Declare.
22974 * support/Makefile (libsupport-routines): Add
22975 support_test_compare_failure.
22976 (tests): Add tst-test_compare.
22977 * support /support_test_compare_failure.c: New file.
22978 * support/tst-test_compare.c: Likewise.
22979
96b06a19
MF
229802017-12-04 Mike FABIAN <mfabian@redhat.com>
22981
22982 [BZ #22527]
22983 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
22984 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
22985 available, this rewrite of the collation rules does reproduce
22986 the test file in the same order.
22987
1f6d91f3
MF
229882017-12-04 Mike FABIAN <mfabian@redhat.com>
22989
22990 [BZ #10580]
22991 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
22992 digraphs in the month and day names. Using single code points for
22993 digraphs is deprecated. While there are dedicated Unicode
22994 codepoints, for the digraphs, these are included for backwards
22995 compatibility and modern texts use a sequence of Basic Latin
22996 characters. See: https://www.unicode.org/faq/ligature_digraph.html
22997 This makes the month and day names agree exactly with CLDR now,
22998 CLDR does not use the single code points for the digraphs either.
22999
2e49fed8
CM
230002017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
23001
23002 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
23003
73895b49
JM
230042017-12-04 Joseph Myers <joseph@codesourcery.com>
23005
23006 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
23007 of floor.
23008
4c1d801a
SP
230092017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
23010
23011 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
23012 Define only for libc.so.
23013
478593e6
SL
230142017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
23015
23016 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23017 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
6b5c8607 23018 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
478593e6
SL
23019 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
23020 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23021
7863a711
RS
230222017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23023
23024 [BZ #5997]
23025 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
23026
800a496a
JDA
230272017-12-02 John David Anglin <danglin@gcc.gnu.org>
23028
b3f7fb12
JDA
23029 [BZ libc/19170]
23030 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
23031 PREINIT_FUNCTION_WEAK is nonzero.
23032 (gmon_initializer): New function. Put procedure label for it in
23033 .init_array section.
23034 (_init): Don't call PREINIT_FUNCTION.
23035 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
23036 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
23037 value when map argument is null.
23038
800a496a
JDA
23039 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
23040 depi instruction from PIC pc-relative sequence.
23041 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
23042 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
23043 (elf_machine_load_address): Likewise.
23044 (elf_machine_runtime_setup): Likewise.
23045
d17542d2
JM
230462017-12-02 Joseph Myers <joseph@codesourcery.com>
23047
23048 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
23049 <libm-alias-double.h>.
23050 (logb): Define using libm_alias_double.
23051 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
23052 <libm-alias-double.h>.
23053 (copysign): Define using libm_alias_double.
23054 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
23055 <libm-alias-double.h>.
23056 (llrint): Define using libm_alias_double.
23057 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
23058 <libm-alias-double.h>.
23059 (llround): Define using libm_alias_double.
23060 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
23061 <libm-alias-double.h>.
23062 (lrint): Define using libm_alias_double.
23063 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
23064 <libm-alias-double.h>.
23065 (lround): Define using libm_alias_double.
23066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
23067 Include <libm-alias-double.h>.
23068 (copysign): Define using libm_alias_double.
23069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
23070 Include <libm-alias-double.h>.
23071 (llrint): Define using libm_alias_double.
23072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
23073 Include <libm-alias-double.h>.
23074 (llround): Define using libm_alias_double.
23075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
23076 <libm-alias-double.h>.
23077 (logb): Define using libm_alias_double.
23078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
23079 Include <libm-alias-double.h>.
23080 (lrint): Define using libm_alias_double.
23081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
23082 Include <libm-alias-double.h>.
23083 (lround): Define using libm_alias_double.
23084 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
23085 <libm-alias-double.h>.
23086 (llrint): Define using libm_alias_double.
23087 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
23088 <libm-alias-double.h>.
23089 (llround): Define using libm_alias_double.
23090 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
23091 <libm-alias-double.h>.
23092 (llround): Define using libm_alias_double.
23093 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
23094 <libm-alias-double.h>.
23095 (lround): Define using libm_alias_double.
23096 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
23097 <libm-alias-double.h>.
23098 (copysign): Define using libm_alias_double.
23099 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
23100 <libm-alias-double.h>.
23101 (llrint): Define using libm_alias_double.
23102 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
23103 <libm-alias-double.h>.
23104 (llround): Define using libm_alias_double.
23105 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
23106 <libm-alias-double.h>.
23107 (lrint): Define using libm_alias_double.
23108 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
23109 <libm-alias-double.h>.
23110 (lround): Define using libm_alias_double.
23111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
23112 <libm-alias-double.h>.
23113 (copysign): Define using libm_alias_double.
23114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
23115 <libm-alias-double.h>.
23116 (llrint): Define using libm_alias_double.
23117 (lrint): Likewise.
23118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
23119 <libm-alias-double.h>.
23120 (llround): Define using libm_alias_double.
23121 (lround): Likewise.
23122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
23123 <libm-alias-double.h>.
23124 (logb): Define using libm_alias_double.
23125 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
23126 <libm-alias-double.h>.
23127 (copysign): Define using libm_alias_double.
23128 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
23129 <libm-alias-double.h>.
23130 (llrint): Define using libm_alias_double.
23131 (lrint): Likewise.
23132 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
23133 <libm-alias-double.h>.
23134 (llround): Define using libm_alias_double.
23135 (lround): Likewise.
23136 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
23137 <libm-alias-double.h>.
23138 (llround): Define using libm_alias_double.
23139 (lround): Likewise.
23140 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
23141 <libm-alias-double.h>.
23142 (copysign): Define using libm_alias_double.
23143 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
23144 <libm-alias-double.h>.
23145 (llrint): Define using libm_alias_double.
23146 (lrint): Likewise.
23147 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
23148 <libm-alias-double.h>.
23149 (llround): Define using libm_alias_double.
23150 (lround): Likewise.
23151 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
23152 <libm-alias-double.h>.
23153 (llrint): Define using libm_alias_double.
23154 (lrint): Likewise.
23155 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
23156 <libm-alias-double.h>.
23157 (llround): Define using libm_alias_double.
23158 (lround): Likewise.
23159
ec2cf3f4
JM
231602017-12-01 Joseph Myers <joseph@codesourcery.com>
23161
0ddde474
JM
23162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
23163 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
23164 compat symbol based on llround.
23165
0d5ba561
JM
23166 * sysdeps/powerpc/power7/fpu/s_logb.c
23167 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
23168 symbol based on __logb, not on logb.
23169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
23170 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
23171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
23172 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
23173
51ea3b20
JM
23174 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
23175 (rint): Define using libm_alias_double.
23176 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
23177 <libm-alias-double.h>.
23178 (modf): Define using libm_alias_double.
23179 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
23180 <libm-alias-double.h>.
23181 (ceil): Define using libm_alias_double.
23182 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
23183 <libm-alias-double.h>.
23184 (floor): Define using libm_alias_double.
23185 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
23186 <libm-alias-double.h>.
23187 (nearbyint): Define using libm_alias_double.
23188 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
23189 <libm-alias-double.h>.
23190 (rint): Define using libm_alias_double.
23191 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
23192 <libm-alias-double.h>.
23193 (round): Define using libm_alias_double.
23194 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
23195 <libm-alias-double.h>.
23196 (trunc): Define using libm_alias_double.
23197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
23198 <libm-alias-double.h>.
23199 (ceil): Define using libm_alias_double.
23200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
23201 Include <libm-alias-double.h>.
23202 (floor): Define using libm_alias_double.
23203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
23204 <libm-alias-double.h>.
23205 (modf): Define using libm_alias_double.
23206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
23207 Include <libm-alias-double.h>.
23208 (round): Define using libm_alias_double.
23209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
23210 Include <libm-alias-double.h>.
23211 (trunc): Define using libm_alias_double.
23212 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
23213 <libm-alias-double.h>.
23214 (ceil): Define using libm_alias_double.
23215 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
23216 <libm-alias-double.h>.
23217 (floor): Define using libm_alias_double.
23218 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
23219 <libm-alias-double.h>.
23220 (round): Define using libm_alias_double.
23221 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
23222 <libm-alias-double.h>.
23223 (trunc): Define using libm_alias_double.
23224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
23225 <libm-alias-double.h>.
23226 (ceil): Define using libm_alias_double.
23227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
23228 <libm-alias-double.h>.
23229 (floor): Define using libm_alias_double.
23230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
23231 <libm-alias-double.h>.
23232 (modf): Define using libm_alias_double.
23233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
23234 <libm-alias-double.h>.
23235 (round): Define using libm_alias_double.
23236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
23237 <libm-alias-double.h>.
23238 (trunc): Define using libm_alias_double.
23239 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
23240 <libm-alias-double.h>.
23241 (ceil): Define using libm_alias_double.
23242 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
23243 <libm-alias-double.h>.
23244 (floor): Define using libm_alias_double.
23245 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
23246 <libm-alias-double.h>.
23247 (nearbyint): Define using libm_alias_double.
23248 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
23249 <libm-alias-double.h>.
23250 (rint): Define using libm_alias_double.
23251 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
23252 <libm-alias-double.h>.
23253 (round): Define using libm_alias_double.
23254 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
23255 <libm-alias-double.h>.
23256 (trunc): Define using libm_alias_double.
23257 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
23258 <libm-alias-double.h>.
23259 (ceil): Define using libm_alias_double.
23260 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
23261 <libm-alias-double.h>.
23262 (floor): Define using libm_alias_double.
23263 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
23264 <libm-alias-double.h>.
23265 (round): Define using libm_alias_double.
23266 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
23267 <libm-alias-double.h>.
23268 (trunc): Define using libm_alias_double.
23269
ec2cf3f4
JM
23270 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
23271 (fabs): Define using libm_alias_double.
23272 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
23273 (fma): Define using libm_alias_double.
23274 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
23275 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
23276 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
23277 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
23278
5b7bd975
AZ
232792017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23280
0594b13f
AZ
23281 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
23282
dbdfcf3b
AZ
23283 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
23284 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
23285 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
23286
5b7bd975
AZ
23287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
23288 due redirect macro.
23289
ef9ecfa6
AS
232902017-12-01 Andreas Schwab <schwab@linux-m68k.org>
23291
23292 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
23293
5b4e5e78
AZ
232942017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23295
2a14526b
AZ
23296 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
23297 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
23298 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
23299 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
23300
dbeb74ef 23301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1c051a9b
AZ
23302 (libm-sysdep_routines): Add s_nearbyintf-generic and
23303 s_nearbyint-generic.
23304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
23305 New file.
23306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
23307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
23308 Likewise.
23309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
23310 Likewise.
23311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
23312 file.
23313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
23314 Likewise.
23315
23316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
dbeb74ef
AZ
23317 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
23318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
23319 file.
23320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
23321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
23322 Likewise.
23323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
23324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
23325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23326
fa7ded96
AZ
23327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23328 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
23329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
23330 file.
23331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
23332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
23333 Likewise.
23334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
23335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
23336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
23337
e240cf0e
AZ
23338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23339 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
23340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
23341 file.
23342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
23343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
23344 Likewise.
23345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
23346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
23347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23348
5b4e5e78
AZ
23349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23350 (sysdep_calls): New rule.
23351 (sysdep_routines): Use sysdep_calls as base.
23352 (libm-sysdep_routines): Add generic rule for symbols shared with
23353 libc. Add s_copysign-generic and s_copysign-generic objects.
23354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
23355 New file.
23356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
23357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
23358 Likewise.
23359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
23360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
23361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
23362
d985adae
MF
233632017-12-01 Mike FABIAN <mfabian@redhat.com>
23364
23365 [BZ #22519]
23366 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
23367 the list of locales to be built for testing.
23368 * localedata/is_IS.UTF-8.in: New file.
23369 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
23370 on iso14651_t1.
23371
ff84a0e0
JM
233722017-12-01 Joseph Myers <joseph@codesourcery.com>
23373
23374 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
23375 <libm-alias-float.h>.
23376 (fabsf): Define using libm_alias_float.
23377
ef5d8b43
L
233782017-11-30 H.J. Lu <hongjiu.lu@intel.com>
23379
23380 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
23381
c0535adf
JM
233822017-11-30 Joseph Myers <joseph@codesourcery.com>
23383
f938b397
JM
23384 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
23385 <libm-alias-float.h>.
23386 (fabsf): Define using libm_alias_float.
23387 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
23388 <libm-alias-float.h>.
23389 (lrintf): Define using libm_alias_float.
23390 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
23391 <libm-alias-float.h>.
23392 (rintf): Define using libm_alias_float.
23393
2251fad0
JM
23394 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
23395 <libm-alias-double.h>.
23396 (fabs): Define using libm_alias_double.
23397 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
23398 <libm-alias-double.h>.
23399 (lrint): Define using libm_alias_double.
23400 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
23401 <libm-alias-double.h>.
23402 (rint): Define using libm_alias_double.
23403
e53df1de
JM
23404 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
23405 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
23406 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
23407 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
23408 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
23409 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
23410 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
23411 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
23412 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
23413 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
23414 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
23415 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
23416 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
23417 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
23418 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
23419 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
23420 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
23421 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
23422 s_atan_template.c.
23423 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
23424 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
23425 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
23426 s_ceil_template.c.
23427 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
23428 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
23429 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
23430 s_cos_template.c.
23431 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
23432 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
23433 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
23434 s_expm1_template.c.
23435 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
23436 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
23437 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
23438 s_fabs_template.c.
23439 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
23440 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
23441 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
23442 s_floor_template.c.
23443 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
23444 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
23445 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
23446 s_frexp_template.c.
23447 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
23448 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
23449 s_lrint_template.c.
23450 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
23451 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
23452 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
23453 s_modf_template.c.
23454 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
23455 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
23456 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
23457 s_nearbyint_template.c.
23458 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
23459 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
23460 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
23461 s_remquo_template.c.
23462 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
23463 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
23464 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
23465 s_rint_template.c.
23466 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
23467 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
23468 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
23469 s_sin_template.c.
23470 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
23471 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
23472 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
23473 s_sincos_template.c.
23474 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
23475 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
23476 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
23477 s_tan_template.c.
23478 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
23479 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
23480 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
23481 s_tanh_template.c.
23482 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
23483 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
23484 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
23485 s_trunc_template.c.
23486 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
23487 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
23488 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
23489 s_atan.c instead of including s_atan.c.
23490 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
23491 s_atanf.c instead of including s_atanf.c.
23492 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
23493 s_atanl.c instead of including s_atanl.c.
23494 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
23495 instead of s_atan.c.
23496 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
23497 instead of s_atanf.c.
23498 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
23499 instead of s_atanl.c.
23500
c0535adf
JM
23501 * scripts/update-copyrights: Do not handle intl/plural.c
23502 specially.
23503
1faaf703
JB
235042017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
23505
23506 [BZ #22432]
23507 * configure.ac (BISON): Require to be present.
23508 * configure: Regenerated.
23509 * intl/Makefile (generated): Add plural.c.
23510 [$(BISON) != no]: Make code unconditional.
23511 (plural.c): Change rule to $(objpfx)plural.c.
23512 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
23513 * intl/plural.c: Remove.
23514 * manual/install.texi (Tools for Compilation): Document bison as
23515 required.
23516 * INSTALL: Regenerated.
23517
faec6323
JM
235182017-11-30 Joseph Myers <joseph@codesourcery.com>
23519
bd6ea9ed
JM
23520 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
23521 <libm-alias-double.h>.
23522 (llrint): Define using libm_alias_double.
23523 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
23524 <libm-alias-float.h>.
23525 (llrintf): Define using libm_alias_float.
23526 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
23527 <libm-alias-ldouble.h>.
23528 (llrintl): Define using libm_alias_ldouble.
23529
faec6323
JM
23530 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
23531 declare_mgen_alias instead of weak_alias.
23532 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
23533 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
23534 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
23535
023cade3
AZ
235362017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23537
9e2279a0
AZ
23538 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23539 Add add_n-generic.
23540 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
23541 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
23542 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
23543
75f37c71
AZ
23544 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23545 Add submul_1-generic.
23546 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
23547 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
23548 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
23549
b70cbbfc 23550 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
dda1d2e8
AZ
23551 Add addmul_1-generic.
23552 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
23553 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
23554 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
23555
23556 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
b70cbbfc
AZ
23557 Add sub_n-generic.
23558 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
23559 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
23560 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
23561
023cade3
AZ
23562 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23563 Add mul_1-generic.
23564 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
23565 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
23566 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
23567
fbb5fd03
MF
235682017-11-30 Mike FABIAN <mfabian@redhat.com>
23569
23570 According to CLDR, collation rules for Serbian and Bosnian
23571 should be the same as for Croatian.
23572
23573 [BZ #22534]
23574 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
23575 and to the list of locales to be built for testing.
23576 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
23577 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
23578 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
23579 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
23580
5e56e937
MF
235812017-11-30 Mike FABIAN <mfabian@redhat.com>
23582
23583 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
23584 to make test case pass.
23585 * localedata/hr_HR.UTF-8.in: Add more test strings.
23586
cf4341ca
MF
235872017-11-30 Mike FABIAN <mfabian@redhat.com>
23588
23589 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
23590
363e4519 235912017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
9ca6b343
DSN
23592
23593 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
23594 the list of locales to built for testing.
23595 * localedata/hr_HR.UTF-8.in: New file.
23596
363e4519 235972017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
37075ae1
DSN
23598
23599 [BZ #10580]
23600 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
23601 iso14651_t1.
23602 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
23603 CLDR (except use ligatures for the digraphs, CLDR does not use
23604 the ligatures), add first_workday, some fixes in the date and time
23605 formats.
23606 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
23607 for Đ and đ.
23608 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
23609 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
23610 Add int_p_cs_precedes and int_n_cs_precedes.
23611 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
23612 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
23613 LC_MONETARY now).
23614 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
23615 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
23616 name_miss.
23617 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
23618 and lang_lib. Change postal_fmt.
23619
f33632cc
L
236202017-11-30 H.J. Lu <hongjiu.lu@intel.com>
23621
23622 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
23623 <setjmp.h>.
23624 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
23625 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
23626 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
23627 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
23628 * sysdeps/generic/setjmpP.h: New file.
23629 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
23630 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
23631 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
23632 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
23633 Add jmp_buf-ssp.sym.
23634 (tests): Add tst-saved_mask-1.
23635
34697694
AS
236362017-11-30 Arjun Shankar <arjun@redhat.com>
23637
23638 [BZ #22375]
37ac8e63 23639 CVE-2017-17426
34697694
AS
23640 * malloc/malloc.c (__libc_malloc): Use checked_request2size
23641 instead of request2size.
23642
3e5efdbd
JM
236432017-11-30 Joseph Myers <joseph@codesourcery.com>
23644
18305fba
JM
23645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
23646 (__lllrint): Remove alias.
23647 (lllrint): Likewise.
23648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
23649 (__lllrintf): Likewise.
23650 (lllrintf): Likewise.
23651
3e5efdbd
JM
23652 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
23653 <libm-alias-float.h>.
23654 (copysignf): Define using libm_alias_float.
23655 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
23656 <libm-alias-float.h>.
23657 (fabsf): Define using libm_alias_float.
23658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23659 Include <libm-alias-float.h>.
23660 (copysignf): Define using libm_alias_float.
23661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
23662 <libm-alias-float.h>.
23663 (fabsf): Define using libm_alias_float.
23664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
23665 <libm-alias-float.h>.
23666 (fdimf): Define using libm_alias_float.
23667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
23668 <libm-alias-float.h>.
23669 (fmaf): Define using libm_alias_float.
23670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
23671 <libm-alias-float.h>.
23672 (llrintf): Define using libm_alias_float.
23673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
23674 Include <libm-alias-float.h>.
23675 (nearbyintf): Define using libm_alias_float.
23676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
23677 <libm-alias-float.h>.
23678 (rintf): Define using libm_alias_float.
23679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
23680 <libm-alias-float.h>.
23681 (llrintf): Define using libm_alias_float.
23682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
23683 <libm-alias-float.h>.
23684 (lrintf): Define using libm_alias_float.
23685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
23686 <libm-alias-float.h>.
23687 (nearbyintf): Define using libm_alias_float.
23688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
23689 <libm-alias-float.h>.
23690 (rintf): Define using libm_alias_float.
23691 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
23692 <libm-alias-float.h>.
23693 (ceilf): Define using libm_alias_float.
23694 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
23695 <libm-alias-float.h>.
23696 (floorf): Define using libm_alias_float.
23697 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
23698 <libm-alias-float.h>.
23699 (fmaf): Define using libm_alias_float.
23700 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
23701 <libm-alias-float.h>.
23702 (lrintf): Define using libm_alias_float.
23703 (llrintf): Likewise.
23704 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
23705 <libm-alias-float.h>.
23706 (nearbyintf): Define using libm_alias_float.
23707 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
23708 <libm-alias-float.h>.
23709 (rintf): Define using libm_alias_float.
23710 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
23711 <libm-alias-float.h>.
23712 (truncf): Define using libm_alias_float.
23713 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
23714 <libm-alias-float.h>.
23715 (copysignf): Define using libm_alias_float.
23716 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
23717 <libm-alias-float.h>.
23718 (fabsf): Define using libm_alias_float.
23719 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
23720 <libm-alias-float.h>.
23721 (lrintf): Define using libm_alias_float.
23722 (llrintf): Likewise.
23723 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
23724 <libm-alias-float.h>.
23725 (nearbyintf): Define using libm_alias_float.
23726 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
23727 <libm-alias-float.h>.
23728 (rintf): Define using libm_alias_float.
23729
011fba7e
JM
237302017-11-29 Joseph Myers <joseph@codesourcery.com>
23731
875cd548
JM
23732 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
23733 <libm-alias-double.h>.
23734 (copysign): Define using libm_alias_double.
23735 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
23736 <libm-alias-double.h>.
23737 (fabs): Define using libm_alias_double.
23738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23739 Include <libm-alias-double.h>.
23740 (copysign): Define using libm_alias_double.
23741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
23742 <libm-alias-double.h>.
23743 (fabs): Define using libm_alias_double.
23744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
23745 <libm-alias-double.h>.
23746 (fdim): Define using libm_alias_double.
23747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
23748 <libm-alias-double.h>.
23749 (fma): Define using libm_alias_double.
23750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
23751 <libm-alias-double.h>.
23752 (llrint): Define using libm_alias_double.
23753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
23754 Include <libm-alias-double.h>.
23755 (nearbyint): Define using libm_alias_double.
23756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
23757 <libm-alias-double.h>.
23758 (rint): Define using libm_alias_double.
23759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
23760 <libm-alias-double.h>.
23761 (fabs): Define using libm_alias_double.
23762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
23763 <libm-alias-double.h>.
23764 (llrint): Define using libm_alias_double.
23765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
23766 <libm-alias-double.h>.
23767 (nearbyint): Define using libm_alias_double.
23768 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
23769 <libm-alias-double.h>.
23770 (rint): Define using libm_alias_double.
23771 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
23772 <libm-alias-double.h>.
23773 (ceil): Define using libm_alias_double.
23774 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
23775 <libm-alias-double.h>.
23776 (floor): Define using libm_alias_double.
23777 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
23778 <libm-alias-double.h>.
23779 (fma): Define using libm_alias_double.
23780 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
23781 <libm-alias-double.h>.
23782 (lrint): Define using libm_alias_double.
23783 (llrint): Likewise.
23784 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
23785 <libm-alias-double.h>.
23786 (nearbyint): Define using libm_alias_double.
23787 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
23788 <libm-alias-double.h>.
23789 (rint): Define using libm_alias_double.
23790 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
23791 <libm-alias-double.h>.
23792 (trunc): Define using libm_alias_double.
23793 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
23794 <libm-alias-double.h>.
23795 (copysign): Define using libm_alias_double.
23796 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
23797 <libm-alias-double.h>.
23798 (fabs): Define using libm_alias_double.
23799 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
23800 <libm-alias-double.h>.
23801 (lrint): Define using libm_alias_double.
23802 (llrint): Likewise.
23803 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
23804 <libm-alias-double.h>.
23805 (nearbyint): Define using libm_alias_double.
23806 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
23807 <libm-alias-double.h>.
23808 (rint): Define using libm_alias_double.
23809
cf4ebc27
JM
23810 [BZ #22229]
23811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
23812 <math_ldbl_opt.h>.
23813 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
23814
0c097378
JM
23815 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23816 SPARC --disable-multi-arch glibc variants.
23817
34bb10aa
JM
23818 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
23819 <libm-alias-float.h>.
23820 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23821 if [SHARED].
23822 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
23823 <libm-alias-float.h>.
23824 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23825 if [SHARED].
23826 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
23827 <libm-alias-float.h>.
23828 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23829 if [SHARED].
23830 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
23831 <libm-alias-float.h>.
23832 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23833 if [SHARED].
23834 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
23835 <libm-alias-float.h>.
23836 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23837 if [SHARED].
23838 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
23839 <libm-alias-float.h>.
23840 (ceilf): Define using libm_alias_float.
23841 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
23842 <libm-alias-float.h>.
23843 (floorf): Define using libm_alias_float.
23844 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
23845 <libm-alias-float.h>.
23846 (fmaf): Define using libm_alias_float.
23847 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
23848 <libm-alias-float.h>.
23849 (nearbyintf): Define using libm_alias_float.
23850 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
23851 <libm-alias-float.h>.
23852 (rintf): Define using libm_alias_float.
23853 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
23854 <libm-alias-float.h>.
23855 (truncf): Define using libm_alias_float.
23856 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23857 (copysignf): Define using libm_alias_float.
23858 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
23859 (cosf): Define using libm_alias_float.
23860 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23861 (fabsf): Define using libm_alias_float.
23862 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23863 (fmaxf): Define using libm_alias_float.
23864 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
23865 (fminf): Define using libm_alias_float.
23866 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23867 (llrintf): Define using libm_alias_float.
23868 [!__ILP32__] (lrintf): Likewise.
23869 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
23870 (sincosf): Define using libm_alias_float.
23871 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
23872 (sinf): Define using libm_alias_float.
23873 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23874 (lrintf): Define using libm_alias_float.
23875
011fba7e
JM
23876 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
23877 <libm-alias-double.h>.
23878 (atan): Define using libm_alias_double.
23879 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
23880 <libm-alias-double.h>.
23881 (ceil): Define using libm_alias_double.
23882 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
23883 <libm-alias-double.h>.
23884 (floor): Define using libm_alias_double.
23885 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
23886 <libm-alias-double.h>.
23887 (fma): Define using libm_alias_double.
23888 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
23889 <libm-alias-double.h>.
23890 (nearbyint): Define using libm_alias_double.
23891 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
23892 <libm-alias-double.h>.
23893 (rint): Define using libm_alias_double.
23894 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
23895 <libm-alias-double.h>.
23896 (sin): Define using libm_alias_double.
23897 (cos): Likewise.
23898 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
23899 <libm-alias-double.h>.
23900 (tan): Define using libm_alias_double.
23901 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
23902 <libm-alias-double.h>.
23903 (trunc): Define using libm_alias_double.
23904 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
23905 (copysign): Define using libm_alias_double.
23906 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
23907 (fabs): Define using libm_alias_double.
23908 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
23909 (fmax): Define using libm_alias_double.
23910 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
23911 (fmin): Define using libm_alias_double.
23912 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
23913 (llrint): Define using libm_alias_double.
23914 [!__ILP32__] (lrint): Likewise.
23915 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
23916 (lrint): Define using libm_alias_double.
23917
1cbd7bfe
AZ
239182017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23919
21bfcc3d
AZ
23920 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23921 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
23922 objects.
23923 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
23924 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
23925 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
23926 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
23927 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
23928 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23929
522228dd
AZ
23930 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23931 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
23932 objects.
23933 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
23934 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
23935 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
23936 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
23937 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
23938 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23939
2a6f4fab
AZ
23940 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23941 (libm-sysdep_routines): Add s_nearbyint-generic and
23942 s_nearbyintf-generic objects.
23943 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
23944 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
23945 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
23946 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
23947 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
23948 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
23949
712b5b83
AZ
23950 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23951 Add s_finitef-generic and s_finite-generic objects.
23952 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
23953 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
23954 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
23955 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
23956 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
23957 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
23958
c96d3335
AZ
23959 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23960 Add s_isinff-generic and s_isinf-generic objects.
23961 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
23962 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
23963 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
23964 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
23965 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
23966 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23967
c6862a23
AZ
23968 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23969 Add s_isnanf-generic and s_isnan-generic objects.
23970 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
23971 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
23972 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
23973 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
23974 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
23975 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23976
1cbd7bfe
AZ
23977 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
23978 macro.
23979 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
23980 rule.
23981 (sysdep_routines): Use sysdep_calls as base.
23982 (libm-sysdep_routines): Add generic rule for symbols shared with
23983 libc. Add s_signbit-generic and s_signbitf-generic objects.
23984 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
23985 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
23986 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
23987 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
23988 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
23989 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23990
aa1142c5
JM
239912017-11-29 Joseph Myers <joseph@codesourcery.com>
23992
23993 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
23994 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
23995 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
23996 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
23997 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
23998 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
23999 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
24000 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
24001 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
24002 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
24003 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
24004 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
24005 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
24006 libm_alias_float_r.
24007 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
24008 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
24009 (logf): Likewise.
24010 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
24011 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
24012 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
24013 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
24014 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
24015 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
24016 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
24017 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
24018 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
24019 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
24020 libm_alias_float.
24021 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
24022 (cosf): Likewise.
24023 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
24024 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
24025 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
24026 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
24027 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
24028 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
24029 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
24030 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
24031 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
24032 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
24033 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
24034 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
24035 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
24036 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
24037 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
24038 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
24039 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
24040 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
24041 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
24042 libm_alias_float.
24043 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
24044 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
24045 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
24046 * sysdeps/ia64/fpu/w_lgammaf_main.c
24047 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
24048 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
24049
363e4519
DL
240502017-11-28 Mike FABIAN <mfabian@redhat.com>
24051 Alexandre Oliva <aoliva@redhat.com>
8da25eec
AO
24052
24053 [BZ #17750]
24054 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
24055 * localedata/fr_CA.UTF-8.in: New file with test data for backward
24056 accents sorting.
24057 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
24058 sorting.
24059 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
24060 * localedata/locales/de_DE (LC_COLLATE): Likewise.
24061 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
24062 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
24063 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
24064 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
24065 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
24066 instead of “ifdef DIACRIT_BACKWARD”.
24067
a55430cb
AZ
240682017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24069
24070 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
24071 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
24072 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
24073 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
24074 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
24075 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
24076 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
24077 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
24078 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
24079 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
24080 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
24081 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
24082 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
24083 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
24084 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
24085 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
24086 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
24087 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
24088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24089 ($(have-as-vis3) == yes): Remove conditional.
24090 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
24091 Likewise.
24092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
24093 file.
24094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
24095 file.
24096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
24097 file.
24098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
24099 file.
24100 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
24101 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
24102 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
24103 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
24104 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
24105 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
24106 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
24107 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
24108
0609ec0a
JM
241092017-11-29 Joseph Myers <joseph@codesourcery.com>
24110
24111 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
24112 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
24113 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
24114 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
24115 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
24116 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
24117 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
24118 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
24119 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
24120 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
24121 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
24122 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
24123 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
24124 libm_alias_double_r.
24125 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
24126 (log): Likewise.
24127 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
24128 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
24129 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
24130 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
24131 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
24132 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
24133 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
24134 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
24135 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
24136 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
24137 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
24138 libm_alias_double.
24139 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
24140 (cos): Likewise.
24141 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
24142 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
24143 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
24144 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
24145 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
24146 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
24147 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
24148 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
24149 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
24150 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
24151 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
24152 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
24153 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
24154 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
24155 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
24156 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
24157 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
24158 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
24159 libm_alias_double.
24160 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
24161 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
24162 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
24163 * sysdeps/ia64/fpu/w_lgamma_main.c
24164 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
24165 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
24166
d5bfa34a
JDA
241672017-11-28 John David Anglin <danglin@gcc.gnu.org>
24168
24169 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
24170 address of $global$ into %dp register earlier. Use pc-relative
24171 instruction sequence for PIC case.
24172
bc4e8f9b
JM
241732017-11-28 Joseph Myers <joseph@codesourcery.com>
24174
e4602cba
JM
24175 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
24176 (asinhf): Define using libm_alias_float.
24177 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
24178 (atanf): Define using libm_alias_float.
24179 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
24180 (cbrtf): Define using libm_alias_float.
24181 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
24182 (ceilf): Define using libm_alias_float.
24183 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
24184 (copysignf): Define using libm_alias_float.
24185 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
24186 (expm1f): Define using libm_alias_float.
24187 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
24188 (fabsf): Define using libm_alias_float.
24189 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
24190 (floorf): Define using libm_alias_float.
24191 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24192 (fmaxf): Define using libm_alias_float.
24193 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
24194 (fminf): Define using libm_alias_float.
24195 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
24196 (frexpf): Define using libm_alias_float.
24197 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
24198 (llrintf): Define using libm_alias_float.
24199 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
24200 (logbf): Define using libm_alias_float.
24201 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
24202 (lrintf): Define using libm_alias_float.
24203 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
24204 (nearbyintf): Define using libm_alias_float.
24205 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
24206 (remquof): Define using libm_alias_float.
24207 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
24208 (rintf): Define using libm_alias_float.
24209 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
24210 (truncf): Define using libm_alias_float.
24211 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
24212 <libm-alias-float.h>.
24213 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24214 if [SHARED].
24215 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
24216 <libm-alias-float.h>.
24217 (expf): Define using libm_alias_float, or libm_alias_float_other
24218 if [SHARED].
24219 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
24220 <libm-alias-float.h>.
24221 (log2f): Define using libm_alias_float, or libm_alias_float_other
24222 if [SHARED].
24223 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
24224 <libm-alias-float.h>.
24225 (logf): Define using libm_alias_float, or libm_alias_float_other
24226 if [SHARED].
24227 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
24228 <libm-alias-float.h>.
24229 (powf): Define using libm_alias_float, or libm_alias_float_other
24230 if [SHARED].
24231 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
24232 <libm-alias-float.h>.
24233 (cosf): Define using libm_alias_float.
24234 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
24235 <libm-alias-float.h>.
24236 (sincosf): Define using libm_alias_float.
24237 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
24238 <libm-alias-float.h>.
24239 (sinf): Define using libm_alias_float.
24240 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24241 (fmaxf): Define using libm_alias_float.
24242 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
24243 (fminf): Define using libm_alias_float.
24244 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
24245 <libm-alias-float.h>.
24246 (fmaf): Define using libm_alias_float.
24247
bc4e8f9b
JM
24248 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
24249 (asinh): Define using libm_alias_double.
24250 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
24251 (atan): Define using libm_alias_double.
24252 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
24253 (cbrt): Define using libm_alias_double.
24254 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
24255 (ceil): Define using libm_alias_double.
24256 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
24257 (copysign): Define using libm_alias_double.
24258 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
24259 (expm1): Define using libm_alias_double.
24260 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
24261 (fabs): Define using libm_alias_double.
24262 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
24263 (fdim): Define using libm_alias_double.
24264 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
24265 (floor): Define using libm_alias_double.
24266 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
24267 (fmax): Define using libm_alias_double.
24268 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
24269 (fmin): Define using libm_alias_double.
24270 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
24271 (frexp): Define using libm_alias_double.
24272 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
24273 (llrint): Define using libm_alias_double.
24274 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
24275 (logb): Define using libm_alias_double.
24276 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
24277 (lrint): Define using libm_alias_double.
24278 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
24279 (nearbyint): Define using libm_alias_double.
24280 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
24281 (remquo): Define using libm_alias_double.
24282 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
24283 (rint): Define using libm_alias_double.
24284 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
24285 (trunc): Define using libm_alias_double.
24286 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
24287 (fmax): Define using libm_alias_double.
24288 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
24289 (fmin): Define using libm_alias_double.
24290 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
24291 (fma): Define using libm_alias_double.
24292
8d81ce0c
L
242932017-11-28 H.J. Lu <hongjiu.lu@intel.com>
24294
24295 [BZ #22370]
24296 * elf/dl-hwcaps.c (ROUND): Removed.
24297 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
24298 and ELF_NOTE_NEXT_OFFSET.
24299 * elf/dl-load.c (ROUND): Removed.
24300 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
24301 * elf/readelflib.c (ROUND): Removed.
24302 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
24303 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
24304 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
24305 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
24306
6940bd96
JM
243072017-11-28 Joseph Myers <joseph@codesourcery.com>
24308
313ba463
JM
24309 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
24310 [!__fmaf] (fmaf): Define using libm_alias_float.
24311
6940bd96
JM
24312 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
24313 [!__fma] (fma): Define using libm_alias_double.
24314 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
24315
22c69b6a
MF
243162017-11-28 Mike FABIAN <mfabian@redhat.com>
24317
24318 [BZ #22336]
24319 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
24320 and implement the collation rules for cs from CLDR on top of that.
24321 * Makefile: Add cs_CZ.UTF-8 to test-input.
24322 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
24323
8d7d3ba8
SP
243242017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
24325
24326 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
24327
0422ed1e
VR
243282017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
24329 Icarus Sparry <icarus.w.sparry@intel.com>
24330
24331 * benchtests/Makefile:Add BENCHSET to allow subsets of
24332 benchmarks to be run.
24333 * benchtests/README: Add documentation for: Running subsets of
24334 benchmarks.
24335
0595e360
VR
243362017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
24337
d5090db3
VR
24338 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
24339 range of tests names.
24340
0595e360
VR
24341 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
24342 result from property and remove "max", min" and "mean" from
24343 required properties based on benchtests/bench-skeleton.c.
24344
b4c645c2
FW
243452017-11-28 Florian Weimer <fweimer@redhat.com>
24346
24347 [BZ #20826]
24348 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
24349 due to Internet requirement.
24350 * posix/Makefile (tests): Remove tst-getaddrinfo4,
24351 tst-getaddrinfo5.
24352 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
24353
88684de7
AZ
243542017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24355
69056564
AZ
24356 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24357 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
24358 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
24359 (sysdep_routines): Add memset-ultra1.
24360 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
24361 file.
24362 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
24363 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
24364 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
24365 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
24366 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
24367 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
24368 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
24369 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24370
88684de7
AZ
24371 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
24372 file.
24373 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
24374 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
24375 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
24376 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
24377 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
24378 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
24379 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
24380 macro.
24381 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24382 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
24383 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
24384 (sysdep_routines): Add memcpy-ultra1.
24385 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
24386 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
24387
d8124864
JM
243882017-11-28 Joseph Myers <joseph@codesourcery.com>
24389
f433d0b3
JM
24390 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
24391 (cfloat_versions): Take function argument without trailing 'f'.
24392 Call libm_alias_float_other.
24393 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
24394 * sysdeps/alpha/fpu/cargf.c: Likewise.
24395 * sysdeps/alpha/fpu/cimagf.c: Likewise.
24396 * sysdeps/alpha/fpu/conjf.c: Likewise.
24397 * sysdeps/alpha/fpu/crealf.c: Likewise.
24398 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
24399 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
24400 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
24401 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
24402 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
24403 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
24404 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
24405 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
24406 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
24407 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
24408 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
24409 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
24410 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
24411 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
24412 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
24413 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
24414 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
24415 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
24416 (clog10f): Use libm_alias_float_other.
24417 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
24418 (ceilf): Define using libm_alias_float.
24419 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
24420 (copysignf): Define using libm_alias_float.
24421 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
24422 (fabsf): Define using libm_alias_float.
24423 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
24424 (floorf): Define using libm_alias_float.
24425 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
24426 (fmaxf): Define using libm_alias_float.
24427 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
24428 (fminf): Define using libm_alias_float.
24429 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
24430 (lrintf): Define using libm_alias_float.
24431 (llrintf): Likewise.
24432 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
24433 (lroundf): Define using libm_alias_float.
24434 (llroundf): Likewise.
24435 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
24436 (rintf): Define using libm_alias_float.
24437 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
24438 (truncf): Define using libm_alias_float.
24439
15ff4900
JM
24440 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
24441 (ceilf): Define using libm_alias_float.
24442 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
24443 (floorf): Define using libm_alias_float.
24444 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
24445 (fmaf): Define using libm_alias_float.
24446 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
24447 (fmaxf): Define using libm_alias_float.
24448 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
24449 (fminf): Define using libm_alias_float.
24450 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
24451 (llrintf): Define using libm_alias_float.
24452 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
24453 (llroundf): Define using libm_alias_float.
24454 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
24455 (lrintf): Define using libm_alias_float.
24456 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
24457 (lroundf): Define using libm_alias_float.
24458 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
24459 <libm-alias-float.h>.
24460 (nearbyintf): Define using libm_alias_float.
24461 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
24462 (rintf): Define using libm_alias_float.
24463 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
24464 (roundf): Define using libm_alias_float.
24465 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
24466 (truncf): Define using libm_alias_float.
24467
5de60638
JM
24468 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
24469 (ceil): Define using libm_alias_double.
24470 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
24471 (copysign): Define using libm_alias_double.
24472 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
24473 (fabs): Define using libm_alias_double.
24474 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
24475 (floor): Define using libm_alias_double.
24476 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
24477 (fmax): Define using libm_alias_double.
24478 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
24479 (fmin): Define using libm_alias_double.
24480 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
24481 (lrint): Define using libm_alias_double.
24482 (llrint): Likewise.
24483 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
24484 (lround): Define using libm_alias_double.
24485 (llround): Likewise.
24486 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
24487 (rint): Define using libm_alias_double.
24488 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
24489 (trunc): Define using libm_alias_double.
24490
d8124864
JM
24491 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
24492 (libm_alias_double_r): Add semicolon after weak_alias call.
24493
f07d2ec8
JM
244942017-11-27 Joseph Myers <joseph@codesourcery.com>
24495
24496 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
24497 (ceil): Define using libm_alias_double.
24498 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
24499 (floor): Define using libm_alias_double.
24500 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
24501 (fma): Define using libm_alias_double.
24502 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
24503 (fmax): Define using libm_alias_double.
24504 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
24505 (fmin): Define using libm_alias_double.
24506 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
24507 (llrint): Define using libm_alias_double.
24508 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
24509 (llround): Define using libm_alias_double.
24510 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
24511 (lrint): Define using libm_alias_double.
24512 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
24513 (lround): Define using libm_alias_double.
24514 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
24515 (nearbyint): Define using libm_alias_double.
24516 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
24517 (rint): Define using libm_alias_double.
24518 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
24519 (round): Define using libm_alias_double.
24520 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
24521 (trunc): Define using libm_alias_double.
24522
4bab0224
FW
245232017-11-27 Florian Weimer <fweimer@redhat.com>
24524
24525 * sysdeps/unix/sysv/linux/mlock2.c: New file.
24526 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
24527 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
24528 (tests): Add tst-mlock2.
24529 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
24530 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
24531 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
24532 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
24533 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
24534 for mlock. Document mlock2.
24535
a23aa5b7
JM
245362017-11-27 Joseph Myers <joseph@codesourcery.com>
24537
24538 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
24539 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
24540 Likewise.
24541 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
24542 Likewise.
24543 * sysdeps/x86/Makeconfig: New file.
24544 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
24545 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24546 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
24547 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24548 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24549 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24550 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
24551 Likewise.
24552 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24553 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24554 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24555 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24556 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24557 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24558 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24559 * manual/math.texi (Mathematics): Document support for _Float64x.
24560 * math/Versions (GLIBC_2.27): Add _Float64x functions.
24561 * stdlib/Versions (GLIBC_2.27): Likewise.
24562 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24563 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24564 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24565 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24566 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24567 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24568 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24569 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24570 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24571 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24572 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24573 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24575 Likewise.
24576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24577 Likewise.
24578 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24579 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24580 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24581 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24582 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24583 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24584 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24585 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24586 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24587 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24588 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24589 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24590 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24591 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24592
c2c299fd
AS
245932017-11-27 Andreas Schwab <schwab@suse.de>
24594
24595 * elf/Makefile (dl-routines): Add dl-sort-maps.
24596 * elf/dl-sort-maps.c: New file.
24597 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
24598 (_dl_sort_maps): Declare.
24599 * elf/dl-fini.c (_dl_sort_fini): Remove.
24600 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
24601 * elf/dl-close.c (_dl_close_worker): Likewise.
24602 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
24603 open-coding it.
24604 * elf/dl-open.c (dl_open_worker): Likewise.
24605
9d4b0117
JM
246062017-11-24 Joseph Myers <joseph@codesourcery.com>
24607
de61465c
JM
24608 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
24609 using libm_alias_float128.
24610 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
24611 Likewise.
24612 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
24613 Likewise.
24614 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
24615 (setpayloadsigf128): Likewise.
24616 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
24617 Likewise.
24618 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
24619 Likewise.
24620
9ae6d171
JM
24621 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
24622 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
24623 -mfloat128 to CFLAGS.
24624 ($(foreach
24625 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
24626 Likewise.
24627 (CFLAGS-libm-test-support-float64x.c): New variable.
24628 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
24629 $(f128-loader-link) to gnulib-tests.
24630
6e70d156
JM
24631 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
24632 (libm_alias_float128_other_r): If
24633 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
24634 alias.
24635 (libm_alias_float128_r): Add semicolon after weak_alias call.
24636 * sysdeps/generic/libm-alias-ldouble.h
24637 (libm_alias_ldouble_other_r_f128): New macro.
24638 (libm_alias_ldouble_other_r_f64x): Likewise.
24639 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
24640 and libm_alias_ldouble_other_r_f64x.
24641 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
24642 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
24643 (libm_alias_ldouble_other_r_f128): New macro.
24644 (libm_alias_ldouble_other_r_f64x): Likewise.
24645 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
24646 and libm_alias_ldouble_other_r_f64x.
24647
df2806cd
JM
24648 * stdlib/strfroml.c: Always include <stdlib.h>.
24649 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
24650 undefine as macro and define as weak alias.
24651 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
24652 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
24653 <stdlib.h>.
24654 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
24655 Define and later undefine as macro and define as weak alias.
24656
0df4fe35
JM
24657 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
24658 Define and later undefine as macro. Define as weak alias if
24659 [!USE_WIDE_CHAR].
24660 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
24661 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24662 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
24663 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
24664 Define and later undefine as macro. Define as weak alias if
24665 [!USE_WIDE_CHAR].
24666 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
24667 Define and later undefine as macro. Define as weak alias if
24668 [USE_WIDE_CHAR].
24669 * sysdeps/ieee754/float128/strtof128_l.c
24670 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
24671 Define and later undefine as macro. Define as weak alias if
24672 [!USE_WIDE_CHAR].
24673 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
24674 Define and later undefine as macro. Define as weak alias if
24675 [USE_WIDE_CHAR].
24676 * sysdeps/ieee754/ldbl-128/strtold_l.c
24677 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24678 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24679 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24680 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24681 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
24682 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24683 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24684 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24685 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24686 * sysdeps/ieee754/ldbl-96/strtold_l.c
24687 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24688 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24689 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24690 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24691
ae7207d0
JM
24692 * math/test-float64x.h: New file.
24693 * math/Makefile (type-float64x-yes): New variable.
24694 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
24695
9596fc69
JM
24696 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
24697 function-like macro.
24698 (min_of_type_): Likewise.
24699 (min_of_type_l): Likewise.
24700 (min_of_type_f128): Likewise.
24701 (min_of_type): Pass () as last argument of __MATH_TG.
24702
46453c3c
JM
24703 * stdlib/tst-strtod-round-skeleton.c
24704 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
24705 headers.
24706
01e659e7
JM
24707 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
24708 for combinations of long double with _Float64 and _Float64x.
24709
5c60afdd
JM
24710 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
24711 (__DECL_SIMD_cosf32): Likewise.
24712 (__DECL_SIMD_cosf64): Likewise.
24713 (__DECL_SIMD_cosf32x): Likewise.
24714 (__DECL_SIMD_cosf64x): Likewise.
24715 (__DECL_SIMD_cosf128x): Likewise.
24716 (__DECL_SIMD_sinf16): Likewise.
24717 (__DECL_SIMD_sinf32): Likewise.
24718 (__DECL_SIMD_sinf64): Likewise.
24719 (__DECL_SIMD_sinf32x): Likewise.
24720 (__DECL_SIMD_sinf64x): Likewise.
24721 (__DECL_SIMD_sinf128x): Likewise.
24722 (__DECL_SIMD_sincosf16): Likewise.
24723 (__DECL_SIMD_sincosf32): Likewise.
24724 (__DECL_SIMD_sincosf64): Likewise.
24725 (__DECL_SIMD_sincosf32x): Likewise.
24726 (__DECL_SIMD_sincosf64x): Likewise.
24727 (__DECL_SIMD_sincosf128x): Likewise.
24728 (__DECL_SIMD_logf16): Likewise.
24729 (__DECL_SIMD_logf32): Likewise.
24730 (__DECL_SIMD_logf64): Likewise.
24731 (__DECL_SIMD_logf32x): Likewise.
24732 (__DECL_SIMD_logf64x): Likewise.
24733 (__DECL_SIMD_logf128x): Likewise.
24734 (__DECL_SIMD_expf16): Likewise.
24735 (__DECL_SIMD_expf32): Likewise.
24736 (__DECL_SIMD_expf64): Likewise.
24737 (__DECL_SIMD_expf32x): Likewise.
24738 (__DECL_SIMD_expf64x): Likewise.
24739 (__DECL_SIMD_expf128x): Likewise.
24740 (__DECL_SIMD_powf16): Likewise.
24741 (__DECL_SIMD_powf32): Likewise.
24742 (__DECL_SIMD_powf64): Likewise.
24743 (__DECL_SIMD_powf32x): Likewise.
24744 (__DECL_SIMD_powf64x): Likewise.
24745 (__DECL_SIMD_powf128x): Likewise.
24746
9d4b0117
JM
24747 * stdlib/Versions (libc): Move entries for wcstof128 and
24748 wcstof128_l to ....
24749 * wcsmbs/Versions (libc): ... here.
24750 Include <float128-abi.h>.
24751
7911dd47
FW
247522017-11-24 Florian Weimer <fweimer@redhat.com>
24753
24754 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24755 bits/mman-shared.h.
24756 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
24757 <bits/mman-shared.h>.
24758 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
24759 to ...
24760 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
24761 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
24762 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
24763 <bits/mman-shared.h>.
24764
c45d78aa
AZ
247652017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24766
24767 [BZ #22457]
24768 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
24769 posix_memalign/free.
24770 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
24771
3ffc4cc1
MF
247722017-11-22 Mike FABIAN <mfabian@redhat.com>
24773
24774 [BZ #22469]
24775 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
24776 and implement the collation rules for pl from CLDR on top of that.
24777 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
24778 of locales to be built for testing.
24779 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
24780
3a327316
JM
247812017-11-23 Joseph Myers <joseph@codesourcery.com>
24782
24783 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
24784 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
24785 libm_alias_ldouble_other.
24786 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
24787 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
24788 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
24789 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
24790 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
24791 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
24792 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
24793 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
24794 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
24795 libm_alias_ldouble_r.
24796 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
24797 libm_alias_ldouble_other.
24798 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
24799 (log10l): Likewise.
24800 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
24801 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
24802 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
24803 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
24804 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
24805 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
24806 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
24807 (atan2l): Likewise.
24808 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
24809 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
24810 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
24811 libm_alias_ldouble.
24812 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
24813 (cosl): Likewise.
24814 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
24815 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
24816 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
24817 (expl): Likewise.
24818 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
24819 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
24820 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
24821 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
24822 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
24823 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
24824 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
24825 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
24826 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
24827 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
24828 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
24829 libm_alias_ldouble.
24830 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
24831 libm_alias_ldouble_other.
24832 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
24833 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
24834 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
24835 libm_alias_ldouble.
24836 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
24837 libm_alias_ldouble_other.
24838 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
24839 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
24840 * sysdeps/ia64/fpu/w_lgammal_main.c
24841 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
24842 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
24843
0a947e06
FW
248442017-11-23 Florian Weimer <fweimer@redhat.com>
24845
24846 * malloc/malloc.c (tcache_thread_shutdown): Rename from
24847 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
24848 alike. Remove freeres marker.
24849 * malloc/arena.c (arena_thread_freeres): Call
24850 tcache_thread_shutdown.
24851
67f36c79
FW
248522017-11-23 Florian Weimer <fweimer@redhat.com>
24853
24854 [BZ #22459]
24855 Export nscd hash function as __nss_hash.
24856 * include/nss.h (__nss_hash): Declare.
24857 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
24858 symbol.
24859 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
24860 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
24861 of __nscd_hash.
24862 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
24863 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
24864 * nss/Makefiles (routines): Add nss_hash.
24865 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
24866 * nss/nss_hash.c: Rename from nis/nis_hash.c.
24867 (__nss_hash): Rename from __nis_hash. Define hidden alias.
24868 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
24869
cccb6d4e
FW
248702017-11-23 Florian Weimer <fweimer@redhat.com>
24871
24872 [BZ #22478]
24873 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
24874 Return error code, not -1.
24875 * signal/tst-sigwait-eintr.c: New file.
24876 * signal/Makefile (tests): Add tst-sigwait-eintr.
24877
59d2cbb1
FW
248782017-11-23 Florian Weimer <fweimer@redhat.com>
24879
24880 Linux: Add memfd_create system call wrapper
24881 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
24882 tst-memfd_create.
24883 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
24884 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
24885 [__USE_GNU] (memfd_create): Declare.
24886 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
24887 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
24888 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
24889 * sysdeps/unix/sysv/linux/**.abilist: Update.
24890 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
24891
a90d1ac2
JM
248922017-11-22 Joseph Myers <joseph@codesourcery.com>
24893
0a9d1d62
JM
24894 * localedata/gen-locale.sh: Fix typo in variable name.
24895
754034c4
JM
24896 * resolv/res_debug.c (p_secstodate): Condition definition on
24897 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
24898 directly as __p_secstodate, and as a compat symbol. Do not use
24899 libresolv_hidden_def.
24900 * resolv/resolv.h (p_secstodate): Remove macro and function
24901 declaration.
24902 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
24903 using p_secstodate.
24904 * include/resolv.h (__p_secstodate): Do not use
24905 libresolv_hidden_proto.
24906 * resolv/Makefile (tests): Move tst-p_secstodate to ....
24907 (tests-internal): ... here.
24908 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
24909 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
24910 and declare and use __p_secstodate and use compat_symbol_reference
24911 in that case.
24912 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
24913 implementation returning 77.
24914
f120cda6
JM
24915 [BZ #22463]
24916 * resolv/res_debug.c: Include <libc-diag.h>.
24917 (p_secstodate): Assert time_t at least as wide as u_long. On
24918 overflow, use integer seconds since the epoch as output, or use
24919 "<overflow>" as output and set errno to EOVERFLOW if integer
24920 seconds since the epoch would be 14 or more characters.
24921 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
24922 for sprintf call.
24923 * resolv/tst-p_secstodate.c: New file.
24924 * resolv/Makefile (tests): Add tst-p_secstodate.
24925 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
24926
a90d1ac2
JM
24927 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
24928 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
24929 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
24930
0285e6bd
PE
249312017-11-22 Paul Eggert <eggert@cs.ucla.edu>
24932
24933 * posix/regcomp.c (init_word_char): Add comments.
24934
4bae6150
JM
249352017-11-22 Joseph Myers <joseph@codesourcery.com>
24936
24937 [BZ #22447]
24938 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
24939 strlen to compute length of ut_user and set trailing NUL byte of
24940 result explicitly.
24941
4b7af5fc
MF
249422017-11-21 Mike FABIAN <mfabian@redhat.com>
24943
24944 [BZ #15537]
24945 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
24946 using “copy "iso14651_t1"” and then implementing the
24947 collation rules for lv from CLDR on top of that.
24948 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
24949 of locales to be built for testing.
24950 * lv_LV.UTF-8.in: New file with test data to test the Latvian
24951 sorting.
24952
922bb78c
JM
249532017-11-21 Joseph Myers <joseph@codesourcery.com>
24954
24955 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24956 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
24957 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
24958 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
24959 [__USE_MISC] (MADV_HWPOISON): New macro.
24960 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
24961
a3aaa598
AZ
249622017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24963
24964 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
24965 -Wmissing-braces on GCC 4.9.
24966
8beba15d
SL
249672017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24968
24969 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
24970 * sysdeps/s390/s390-32/start.S (_start): Likewise
24971 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
24972 (thread_start): Likewise.
24973 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
24974 (thread_start): Likewise.
24975 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
24976 (__makecontext_ret): Likewise.
24977 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
24978 (__makecontext_ret): Likewise.
24979
80eb52e3
SL
249802017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24981
24982 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
24983 __wcschrnul): Remove attribute_hidden.
24984
567d8c1f
PE
249852017-11-20 Paul Eggert <eggert@cs.ucla.edu>
24986
24987 regex: don't assume uint64_t or uint32_t
24988 This avoids -Werror=overflow errors for 32-bit systems in
24989 the 64-bit case. Problem reported by Joseph Myers in:
24990 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
24991 Also, when this code is used in Gnulib it ports to platforms
24992 that lack uint64_t and uint32_t. The C standard doesn't guarantee
24993 them, and on some 32-bit compilers there is no uint64_t.
24994 Problem reported by Gianluigi Tiesi in:
24995 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
24996 * posix/regcomp.c (init_word_char): Don't assume that the types
24997 uint64_t and uint32_t exist. Adapted from Gnulib patch
24998 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
24999 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
25000
4d7632ff
SP
250012017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
25002
5a67c4fa
SP
25003 * sysdeps/aarch64/memset-reg.h: New file.
25004 * sysdeps/aarch64/memset.S: Use it.
25005 (__memset): Rename to MEMSET macro.
25006 [ZVA_MACRO]: Use zva_macro.
25007 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
25008 Add memset_generic and memset_falkor.
25009 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
25010 (__libc_ifunc_impl_list): Add memset ifuncs.
25011 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
25012 local variable zva_size.
25013 * sysdeps/aarch64/multiarch/memset.c: New file.
25014 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
25015 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
25016 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
25017 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
25018 (DCZID_DZP_MASK): New macro.
25019 (DCZID_BS_MASK): Likewise.
25020 (init_cpu_features): Read and set zva_size.
25021 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
25022 (struct cpu_features): New member zva_size.
25023
eb332f9f
SP
25024 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
25025 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
25026 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
25027
4d7632ff
SP
25028 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
25029 backwards. Fix timing computation.
25030 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
25031 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
25032 on memset by N at a time. Fix timing computation.
25033
a465b89e
FW
250342017-11-20 Florian Weimer <fweimer@redhat.com>
25035
25036 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
25037 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
25038
0f74bbf5
FW
250392017-11-19 Florian Weimer <fweimer@redhat.com>
25040
25041 manual: Document mprotect
25042 * manual/memory.texi (Memory Protection): New section.
25043 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
25044 documentation of PROT_* flags and reference the Memory Protection
25045 section instead.
25046
f6e965ee
FW
250472017-11-19 Florian Weimer <fweimer@redhat.com>
25048
25049 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
25050 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
25051 (Scatter-Gather): ... to here. Remove misleading comment.
25052
363e4519 250532017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
ea69a5c8 25054
5f9d1949
CB
25055 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
25056 style.
25057
ea69a5c8
CB
25058 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
25059 when /proc/<pid>/setgroups does not exist.
25060
8db7f48c
FW
250612017-11-18 Florian Weimer <fweimer@redhat.com>
25062
25063 * sysdeps/unix/sysv/linux/tst-ttyname.c
25064 (become_root_in_mount_ns): Remove.
25065 (do_in_chroot_1): Call support_enter_mount_namespace.
25066 (do_in_chroot_2): Likewise.
25067 (do_test): Call support_become_root early.
25068
273a0c49
FW
250692017-11-18 Florian Weimer <fweimer@redhat.com>
25070
25071 * support/namespace.h (support_enter_mount_namespace): Declare.
25072 * support/support_enter_mount_namespace.c: New file.
25073 * support/Makefile (libsupport-routines): Add
25074 support_enter_mount_namespace.
25075
8adfb0ee
FW
250762017-11-18 Florian Weimer <fweimer@redhat.com>
25077
25078 * support/temp_file.c (support_create_temp_directory): Use
25079 test_dir and do not rely on the presence of the XXXXXX suffix.
25080 * support/temp_file.h (support_create_temp_directory): Update
25081 comment.
25082 * support/tst-xreadlink.c (do_test): Adjust.
25083 * support/support_chroot.c (support_chroot_create): Likewise.
25084
df0c40ee
TMQMF
250852017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25086
25087 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
25088 macro.
25089 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
25090 htm-no-suspend.
25091
015c6dc2
JM
250922017-11-17 Joseph Myers <joseph@codesourcery.com>
25093
f58e5f48
JM
25094 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
25095 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
25096 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
25097 (ceill): Define using libm_alias_ldouble.
25098 * sysdeps/x86_64/fpu/s_copysignl.S: Include
25099 <libm-alias-ldouble.h>.
25100 (copysignl): Define using libm_alias_ldouble.
25101 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
25102 (fabsl): Define using libm_alias_ldouble.
25103 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
25104 (floorl): Define using libm_alias_ldouble.
25105 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25106 (fmaxl): Define using libm_alias_ldouble.
25107 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25108 (fminl): Define using libm_alias_ldouble.
25109 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
25110 (llrintl): Define using libm_alias_ldouble.
25111 (lrintl): Likewise.
25112 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
25113 <libm-alias-ldouble.h>.
25114 (nearbyintl): Define using libm_alias_ldouble.
25115 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
25116 (truncl): Define using libm_alias_ldouble.
25117 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
25118 <libm-alias-ldouble.h>.
25119 (lrintl): Define using libm_alias_ldouble.
25120
2ce30701
JM
25121 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
25122 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
25123 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
25124 (asinhl): Define using libm_alias_ldouble.
25125 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
25126 (atanl): Define using libm_alias_ldouble.
25127 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
25128 (cbrtl): Define using libm_alias_ldouble.
25129 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
25130 (ceill): Define using libm_alias_ldouble.
25131 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
25132 (copysignl): Define using libm_alias_ldouble.
25133 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
25134 (fabsl): Define using libm_alias_ldouble.
25135 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
25136 (floorl): Define using libm_alias_ldouble.
25137 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25138 (fmaxl): Define using libm_alias_ldouble.
25139 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25140 (fminl): Define using libm_alias_ldouble.
25141 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
25142 (frexpl): Define using libm_alias_ldouble.
25143 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
25144 (llrintl): Define using libm_alias_ldouble.
25145 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
25146 (logbl): Define using libm_alias_ldouble.
25147 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
25148 (lrintl): Define using libm_alias_ldouble.
25149 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
25150 (nearbyintl): Define using libm_alias_ldouble.
25151 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
25152 (nextafterl): Define using libm_alias_ldouble.
25153 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
25154 (remquol): Define using libm_alias_ldouble.
25155 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
25156 (rintl): Define using libm_alias_ldouble.
25157 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
25158 (truncl): Define using libm_alias_ldouble.
25159 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25160 (fmaxl): Define using libm_alias_ldouble.
25161 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25162 (fminl): Define using libm_alias_ldouble.
25163
015c6dc2
JM
25164 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
25165 to C syntax instead of availability and properties of types.
25166 * bits/floatn.h [!__ASSEMBLER]: Likewise.
25167 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
25168 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
25169 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
25170 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
25171 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
25172
ce003e5d
FW
251732017-11-17 Florian Weimer <fweimer@redhat.com>
25174
25175 support_become_root: Enable file creation in namespaces.
25176 * support/support_become_root.c (setup_mapping): New function.
25177 (support_become_root): Call it.
25178
e7df6c5c
JM
251792017-11-17 Joseph Myers <joseph@codesourcery.com>
25180
25181 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
25182 macro.
25183
58a813bf
AZ
251842017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25185
25186 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
25187 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
25188
f97773d1
JM
251892017-11-16 Joseph Myers <joseph@codesourcery.com>
25190
6a6aa1f3
JM
25191 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
25192
f97773d1
JM
25193 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
25194 version to 4.14.
25195
a306c790
SP
251962017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
25197
7b0fb870
SP
25198 * INSTALL: Fix botched up regeneration.
25199
25200 * NEWS: Update sourceare link to https.
a306c790
SP
25201 * configure.ac: Likewise.
25202 * crypt/md5test-giant.c: Likewise.
25203 * dlfcn/bug-atexit1.c: Likewise.
25204 * dlfcn/bug-atexit2.c: Likewise.
25205 * localedata/README: Likewise.
25206 * malloc/tst-mallocfork.c: Likewise.
25207 * manual/install.texi: Likewise.
25208 * nptl/tst-pthread-getattr.c: Likewise.
25209 * stdio-common/tst-fgets.c: Likewise.
25210 * stdio-common/tst-fwrite.c: Likewise.
25211 * sunrpc/Makefile: Likewise.
25212 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
25213 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
25214 * configure: Regenerate.
25215 * INSTALL: Regenerate.
a306c790 25216
7532837d
MS
252172017-11-15 Martin Sebor <msebor@redhat.com>
25218
25219 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
25220 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
25221 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
25222
495a56fd
LS
252232017-11-15 Luke Shumaker <lukeshu@parabola.nu>
25224
d9611e30
LS
25225 [BZ #22145]
25226 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
25227 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
25228
a09dfc19
LS
25229 [BZ #22145]
25230 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
25231 Defer is_pty check until end of the function.
25232 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25233
2fbce9c2
LS
25234 [BZ #22145]
25235 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
25236 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
25237 (ttyname): Likewise.
25238 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
25239 (__ttyname_r): Likewise.
25240
d10d6cab
LS
25241 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
25242 int to bool.
25243
9b5a8750
LS
25244 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
25245
495a56fd
LS
25246 * manual/terminal.texi (Is It a Terminal):
25247 Mention ENODEV for ttyname and ttyname_r.
25248
fa680dc6
JM
252492017-11-15 Joseph Myers <joseph@codesourcery.com>
25250
78cde19f
JM
25251 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
25252 constant and macro.
25253
fa680dc6
JM
25254 * sysdeps/unix/sysv/linux/bits/mman-linux.h
25255 [__USE_MISC] (MADV_WIPEONFORK): New macro.
25256 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
25257 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
25258 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
25259 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
25260
ad4f43a2
AZ
252612017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25262
1ba1d8a4
AZ
25263 * signal/sigrelse.c (sigrelse): Optimize implementation.
25264
ad4f43a2
AZ
25265 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
25266 (__sigpause): Rely on __sigsuspend to implement single thread
25267 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
25268
d0212d42
JM
252692017-11-15 Joseph Myers <joseph@codesourcery.com>
25270
25271 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
25272 kernel version to 4.14.
25273
2180fee1
SE
252742017-11-15 Steve Ellcey <sellcey@cavium.com>
25275
25276 [BZ #22442]
25277 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
25278 Check if ifname is too long.
25279
cad7ca39
LS
252802017-11-15 Luke Shumaker <lukeshu@parabola.nu>
25281
25282 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
25283
58c9f659
MF
252842017-11-15 Mike FABIAN <mfabian@redhat.com>
25285
25286 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
25287 was accidentally lost.
25288
0fa87c01
MF
252892017-11-15 Mike FABIAN <mfabian@redhat.com>
25290
25291 * localedata/locales/az_IR: Add standard copyright header.
25292
34eb4157
FW
252932017-11-15 Florian Weimer <fweimer@redhat.com>
25294
25295 [BZ #22439]
25296 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
25297 not just the top one. Output a new "subheaps" statistic.
25298
7a9368a1
FW
252992017-11-15 Florian Weimer <fweimer@redhat.com>
25300
25301 [BZ #22408]
25302 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
25303 under the per-arena lock.
25304 * malloc/Makefile (tests): Add tst-malloc_info.
25305 (tst-malloc_info): Link with libpthread.
25306 * malloc/tst-malloc_info.c: New file.
25307
be3a79a3
JM
253082017-11-15 Joseph Myers <joseph@codesourcery.com>
25309
25310 [BZ #21660]
25311 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
25312 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
25313 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
25314 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
25315 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
25316 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
25317 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
25318 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
25319 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
25320 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
25321 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
25322 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
25323 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
25324 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
25325 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
25326 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
25327 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
25328 (__floating_type): Likewise.
25329 (__real_integer_type): Likewise.
25330 (__complex_integer_type): Likewise.
25331 (__expr_is_real): Likewise.
25332 (__tgmath_real_type_sub): Likewise.
25333 (__tgmath_real_type): Likewise.
25334 (__tgmath_complex_type_sub): Likewise.
25335 (__tgmath_complex_type): Likewise.
25336 (__TGMATH_F128): Likewise.
25337 (__TGMATH_CF128): Likewise.
25338 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
25339 new macros.
25340 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
25341 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
25342 Likewise.
25343 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
25344 Likewise.
25345 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
25346 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
25347 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
25348 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
25349 Likewise.
25350 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
25351 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
25352 Likewise.
25353 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
25354 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
25355 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
25356 Likewise.
25357 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
25358 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
25359 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
25360 (cimag): Likewise.
25361 (creal): Likewise.
25362
ec72135e
JM
253632017-11-14 Joseph Myers <joseph@codesourcery.com>
25364
2e64ec9c
JM
25365 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
25366 for stpncpy calls for GCC 8.
25367 (test_strncat): Disable -Wstringop-truncation warning for strncat
25368 calls for GCC 8. Disable -Wstringop-overflow= warning for one
25369 strncat call for GCC 7.
25370 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
25371 calls for GCC 8.
25372 (test_memcmp): Use memcpy instead of strncpy for calls not copying
25373 trailing NUL.
25374
ec72135e
JM
25375 * string/bug-strncat1.c: Include <libc-diag.h>.
25376 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
25377
363e4519 253782017-11-13 Claude Paroz <claude@2xlibre.net>
a259f5d3
CP
25379
25380 [BZ #22387]
25381 * localedata/locales/aa_DJ: Improved readibility by replacing
25382 <Uxxxx> sequences in the ASCII printable range by their ASCII
25383 character equivalents.
25384 * localedata/locales/aa_ER: Likewise.
25385 * localedata/locales/aa_ER@saaho: Likewise.
25386 * localedata/locales/aa_ET: Likewise.
25387 * localedata/locales/af_ZA: Likewise.
25388 * localedata/locales/agr_PE: Likewise.
25389 * localedata/locales/ak_GH: Likewise.
25390 * localedata/locales/am_ET: Likewise.
25391 * localedata/locales/anp_IN: Likewise.
25392 * localedata/locales/ar_AE: Likewise.
25393 * localedata/locales/ar_BH: Likewise.
25394 * localedata/locales/ar_DZ: Likewise.
25395 * localedata/locales/ar_EG: Likewise.
25396 * localedata/locales/ar_IN: Likewise.
25397 * localedata/locales/ar_IQ: Likewise.
25398 * localedata/locales/ar_JO: Likewise.
25399 * localedata/locales/ar_KW: Likewise.
25400 * localedata/locales/ar_LB: Likewise.
25401 * localedata/locales/ar_LY: Likewise.
25402 * localedata/locales/ar_MA: Likewise.
25403 * localedata/locales/ar_OM: Likewise.
25404 * localedata/locales/ar_QA: Likewise.
25405 * localedata/locales/ar_SA: Likewise.
25406 * localedata/locales/ar_SD: Likewise.
25407 * localedata/locales/ar_SS: Likewise.
25408 * localedata/locales/ar_SY: Likewise.
25409 * localedata/locales/ar_TN: Likewise.
25410 * localedata/locales/ar_YE: Likewise.
25411 * localedata/locales/as_IN: Likewise.
25412 * localedata/locales/ast_ES: Likewise.
25413 * localedata/locales/ayc_PE: Likewise.
25414 * localedata/locales/az_AZ: Likewise.
25415 * localedata/locales/az_IR: Likewise.
25416 * localedata/locales/be_BY: Likewise.
25417 * localedata/locales/be_BY@latin: Likewise.
25418 * localedata/locales/bem_ZM: Likewise.
25419 * localedata/locales/ber_DZ: Likewise.
25420 * localedata/locales/ber_MA: Likewise.
25421 * localedata/locales/bg_BG: Likewise.
25422 * localedata/locales/bhb_IN: Likewise.
25423 * localedata/locales/bho_IN: Likewise.
25424 * localedata/locales/bi_VU: Likewise.
25425 * localedata/locales/bn_BD: Likewise.
25426 * localedata/locales/bn_IN: Likewise.
25427 * localedata/locales/bo_CN: Likewise.
25428 * localedata/locales/bo_IN: Likewise.
25429 * localedata/locales/br_FR: Likewise.
25430 * localedata/locales/brx_IN: Likewise.
25431 * localedata/locales/bs_BA: Likewise.
25432 * localedata/locales/byn_ER: Likewise.
25433 * localedata/locales/ca_AD: Likewise.
25434 * localedata/locales/ca_ES: Likewise.
25435 * localedata/locales/ca_FR: Likewise.
25436 * localedata/locales/ca_IT: Likewise.
25437 * localedata/locales/ce_RU: Likewise.
25438 * localedata/locales/chr_US: Likewise.
25439 * localedata/locales/cmn_TW: Likewise.
25440 * localedata/locales/crh_UA: Likewise.
25441 * localedata/locales/cs_CZ: Likewise.
25442 * localedata/locales/csb_PL: Likewise.
25443 * localedata/locales/cv_RU: Likewise.
25444 * localedata/locales/cy_GB: Likewise.
25445 * localedata/locales/da_DK: Likewise.
25446 * localedata/locales/de_AT: Likewise.
25447 * localedata/locales/de_BE: Likewise.
25448 * localedata/locales/de_CH: Likewise.
25449 * localedata/locales/de_DE: Likewise.
25450 * localedata/locales/de_IT: Likewise.
25451 * localedata/locales/de_LI: Likewise.
25452 * localedata/locales/de_LU: Likewise.
25453 * localedata/locales/doi_IN: Likewise.
25454 * localedata/locales/dv_MV: Likewise.
25455 * localedata/locales/dz_BT: Likewise.
25456 * localedata/locales/el_CY: Likewise.
25457 * localedata/locales/el_GR: Likewise.
25458 * localedata/locales/en_AG: Likewise.
25459 * localedata/locales/en_AU: Likewise.
25460 * localedata/locales/en_BW: Likewise.
25461 * localedata/locales/en_CA: Likewise.
25462 * localedata/locales/en_DK: Likewise.
25463 * localedata/locales/en_GB: Likewise.
25464 * localedata/locales/en_HK: Likewise.
25465 * localedata/locales/en_IE: Likewise.
25466 * localedata/locales/en_IL: Likewise.
25467 * localedata/locales/en_IN: Likewise.
25468 * localedata/locales/en_NG: Likewise.
25469 * localedata/locales/en_NZ: Likewise.
25470 * localedata/locales/en_PH: Likewise.
25471 * localedata/locales/en_SG: Likewise.
25472 * localedata/locales/en_US: Likewise.
25473 * localedata/locales/en_ZA: Likewise.
25474 * localedata/locales/en_ZM: Likewise.
25475 * localedata/locales/en_ZW: Likewise.
25476 * localedata/locales/eo: Likewise.
25477 * localedata/locales/es_AR: Likewise.
25478 * localedata/locales/es_BO: Likewise.
25479 * localedata/locales/es_CL: Likewise.
25480 * localedata/locales/es_CO: Likewise.
25481 * localedata/locales/es_CR: Likewise.
25482 * localedata/locales/es_CU: Likewise.
25483 * localedata/locales/es_DO: Likewise.
25484 * localedata/locales/es_EC: Likewise.
25485 * localedata/locales/es_ES: Likewise.
25486 * localedata/locales/es_GT: Likewise.
25487 * localedata/locales/es_HN: Likewise.
25488 * localedata/locales/es_MX: Likewise.
25489 * localedata/locales/es_NI: Likewise.
25490 * localedata/locales/es_PA: Likewise.
25491 * localedata/locales/es_PE: Likewise.
25492 * localedata/locales/es_PR: Likewise.
25493 * localedata/locales/es_PY: Likewise.
25494 * localedata/locales/es_SV: Likewise.
25495 * localedata/locales/es_US: Likewise.
25496 * localedata/locales/es_UY: Likewise.
25497 * localedata/locales/es_VE: Likewise.
25498 * localedata/locales/et_EE: Likewise.
25499 * localedata/locales/eu_ES: Likewise.
25500 * localedata/locales/eu_ES@euro: Likewise.
25501 * localedata/locales/fa_IR: Likewise.
25502 * localedata/locales/ff_SN: Likewise.
25503 * localedata/locales/fi_FI: Likewise.
25504 * localedata/locales/fil_PH: Likewise.
25505 * localedata/locales/fo_FO: Likewise.
25506 * localedata/locales/fr_BE: Likewise.
25507 * localedata/locales/fr_CA: Likewise.
25508 * localedata/locales/fr_CH: Likewise.
25509 * localedata/locales/fr_FR: Likewise.
25510 * localedata/locales/fr_LU: Likewise.
25511 * localedata/locales/fur_IT: Likewise.
25512 * localedata/locales/fy_DE: Likewise.
25513 * localedata/locales/fy_NL: Likewise.
25514 * localedata/locales/ga_IE: Likewise.
25515 * localedata/locales/gd_GB: Likewise.
25516 * localedata/locales/gez_ER: Likewise.
25517 * localedata/locales/gez_ET: Likewise.
25518 * localedata/locales/gl_ES: Likewise.
25519 * localedata/locales/gu_IN: Likewise.
25520 * localedata/locales/gv_GB: Likewise.
25521 * localedata/locales/ha_NG: Likewise.
25522 * localedata/locales/hak_TW: Likewise.
25523 * localedata/locales/he_IL: Likewise.
25524 * localedata/locales/hi_IN: Likewise.
25525 * localedata/locales/hif_FJ: Likewise.
25526 * localedata/locales/hne_IN: Likewise.
25527 * localedata/locales/hr_HR: Likewise.
25528 * localedata/locales/hsb_DE: Likewise.
25529 * localedata/locales/ht_HT: Likewise.
25530 * localedata/locales/hu_HU: Likewise.
25531 * localedata/locales/hy_AM: Likewise.
25532 * localedata/locales/i18n: Likewise.
25533 * localedata/locales/ia_FR: Likewise.
25534 * localedata/locales/id_ID: Likewise.
25535 * localedata/locales/ig_NG: Likewise.
25536 * localedata/locales/ik_CA: Likewise.
25537 * localedata/locales/is_IS: Likewise.
25538 * localedata/locales/it_CH: Likewise.
25539 * localedata/locales/it_IT: Likewise.
25540 * localedata/locales/iu_CA: Likewise.
25541 * localedata/locales/ja_JP: Likewise.
25542 * localedata/locales/ka_GE: Likewise.
25543 * localedata/locales/kk_KZ: Likewise.
25544 * localedata/locales/kl_GL: Likewise.
25545 * localedata/locales/kn_IN: Likewise.
25546 * localedata/locales/ko_KR: Likewise.
25547 * localedata/locales/kok_IN: Likewise.
25548 * localedata/locales/ks_IN: Likewise.
25549 * localedata/locales/ks_IN@devanagari: Likewise.
25550 * localedata/locales/ku_TR: Likewise.
25551 * localedata/locales/kw_GB: Likewise.
25552 * localedata/locales/ky_KG: Likewise.
25553 * localedata/locales/lb_LU: Likewise.
25554 * localedata/locales/lg_UG: Likewise.
25555 * localedata/locales/li_BE: Likewise.
25556 * localedata/locales/li_NL: Likewise.
25557 * localedata/locales/lij_IT: Likewise.
25558 * localedata/locales/ln_CD: Likewise.
25559 * localedata/locales/lo_LA: Likewise.
25560 * localedata/locales/lt_LT: Likewise.
25561 * localedata/locales/lv_LV: Likewise.
25562 * localedata/locales/lzh_TW: Likewise.
25563 * localedata/locales/mag_IN: Likewise.
25564 * localedata/locales/mai_IN: Likewise.
25565 * localedata/locales/mg_MG: Likewise.
25566 * localedata/locales/mhr_RU: Likewise.
25567 * localedata/locales/mi_NZ: Likewise.
25568 * localedata/locales/mk_MK: Likewise.
25569 * localedata/locales/ml_IN: Likewise.
25570 * localedata/locales/mn_MN: Likewise.
25571 * localedata/locales/mni_IN: Likewise.
25572 * localedata/locales/mr_IN: Likewise.
25573 * localedata/locales/ms_MY: Likewise.
25574 * localedata/locales/mt_MT: Likewise.
25575 * localedata/locales/my_MM: Likewise.
25576 * localedata/locales/nan_TW: Likewise.
25577 * localedata/locales/nan_TW@latin: Likewise.
25578 * localedata/locales/nb_NO: Likewise.
25579 * localedata/locales/nds_DE: Likewise.
25580 * localedata/locales/nds_NL: Likewise.
25581 * localedata/locales/ne_NP: Likewise.
25582 * localedata/locales/nhn_MX: Likewise.
25583 * localedata/locales/niu_NU: Likewise.
25584 * localedata/locales/niu_NZ: Likewise.
25585 * localedata/locales/nl_AW: Likewise.
25586 * localedata/locales/nl_BE: Likewise.
25587 * localedata/locales/nl_NL: Likewise.
25588 * localedata/locales/nn_NO: Likewise.
25589 * localedata/locales/nr_ZA: Likewise.
25590 * localedata/locales/nso_ZA: Likewise.
25591 * localedata/locales/oc_FR: Likewise.
25592 * localedata/locales/om_ET: Likewise.
25593 * localedata/locales/om_KE: Likewise.
25594 * localedata/locales/or_IN: Likewise.
25595 * localedata/locales/os_RU: Likewise.
25596 * localedata/locales/pa_IN: Likewise.
25597 * localedata/locales/pa_PK: Likewise.
25598 * localedata/locales/pap_AW: Likewise.
25599 * localedata/locales/pap_CW: Likewise.
25600 * localedata/locales/pl_PL: Likewise.
25601 * localedata/locales/ps_AF: Likewise.
25602 * localedata/locales/pt_BR: Likewise.
25603 * localedata/locales/pt_PT: Likewise.
25604 * localedata/locales/quz_PE: Likewise.
25605 * localedata/locales/raj_IN: Likewise.
25606 * localedata/locales/ro_RO: Likewise.
25607 * localedata/locales/ru_RU: Likewise.
25608 * localedata/locales/ru_UA: Likewise.
25609 * localedata/locales/rw_RW: Likewise.
25610 * localedata/locales/sa_IN: Likewise.
25611 * localedata/locales/sat_IN: Likewise.
25612 * localedata/locales/sc_IT: Likewise.
25613 * localedata/locales/sd_IN: Likewise.
25614 * localedata/locales/sd_IN@devanagari: Likewise.
25615 * localedata/locales/se_NO: Likewise.
25616 * localedata/locales/sgs_LT: Likewise.
25617 * localedata/locales/shs_CA: Likewise.
25618 * localedata/locales/si_LK: Likewise.
25619 * localedata/locales/sid_ET: Likewise.
25620 * localedata/locales/sk_SK: Likewise.
25621 * localedata/locales/sl_SI: Likewise.
25622 * localedata/locales/sm_WS: Likewise.
25623 * localedata/locales/so_DJ: Likewise.
25624 * localedata/locales/so_ET: Likewise.
25625 * localedata/locales/so_KE: Likewise.
25626 * localedata/locales/so_SO: Likewise.
25627 * localedata/locales/sq_AL: Likewise.
25628 * localedata/locales/sq_MK: Likewise.
25629 * localedata/locales/sr_ME: Likewise.
25630 * localedata/locales/sr_RS: Likewise.
25631 * localedata/locales/sr_RS@latin: Likewise.
25632 * localedata/locales/ss_ZA: Likewise.
25633 * localedata/locales/st_ZA: Likewise.
25634 * localedata/locales/sv_FI: Likewise.
25635 * localedata/locales/sv_SE: Likewise.
25636 * localedata/locales/sw_KE: Likewise.
25637 * localedata/locales/sw_TZ: Likewise.
25638 * localedata/locales/szl_PL: Likewise.
25639 * localedata/locales/ta_IN: Likewise.
25640 * localedata/locales/ta_LK: Likewise.
25641 * localedata/locales/tcy_IN: Likewise.
25642 * localedata/locales/te_IN: Likewise.
25643 * localedata/locales/tg_TJ: Likewise.
25644 * localedata/locales/th_TH: Likewise.
25645 * localedata/locales/the_NP: Likewise.
25646 * localedata/locales/ti_ER: Likewise.
25647 * localedata/locales/ti_ET: Likewise.
25648 * localedata/locales/tig_ER: Likewise.
25649 * localedata/locales/tk_TM: Likewise.
25650 * localedata/locales/tl_PH: Likewise.
25651 * localedata/locales/tn_ZA: Likewise.
25652 * localedata/locales/to_TO: Likewise.
25653 * localedata/locales/tpi_PG: Likewise.
25654 * localedata/locales/tr_CY: Likewise.
25655 * localedata/locales/tr_TR: Likewise.
25656 * localedata/locales/ts_ZA: Likewise.
25657 * localedata/locales/tt_RU: Likewise.
25658 * localedata/locales/tt_RU@iqtelif: Likewise.
25659 * localedata/locales/ug_CN: Likewise.
25660 * localedata/locales/uk_UA: Likewise.
25661 * localedata/locales/unm_US: Likewise.
25662 * localedata/locales/ur_IN: Likewise.
25663 * localedata/locales/ur_PK: Likewise.
25664 * localedata/locales/uz_UZ: Likewise.
25665 * localedata/locales/uz_UZ@cyrillic: Likewise.
25666 * localedata/locales/ve_ZA: Likewise.
25667 * localedata/locales/vi_VN: Likewise.
25668 * localedata/locales/wa_BE: Likewise.
25669 * localedata/locales/wae_CH: Likewise.
25670 * localedata/locales/wal_ET: Likewise.
25671 * localedata/locales/wo_SN: Likewise.
25672 * localedata/locales/xh_ZA: Likewise.
25673 * localedata/locales/yi_US: Likewise.
25674 * localedata/locales/yo_NG: Likewise.
25675 * localedata/locales/yue_HK: Likewise.
25676 * localedata/locales/yuw_PG: Likewise.
25677 * localedata/locales/zh_CN: Likewise.
25678 * localedata/locales/zh_HK: Likewise.
25679 * localedata/locales/zh_SG: Likewise.
25680 * localedata/locales/zh_TW: Likewise.
25681 * localedata/locales/zu_ZA: Likewise.
25682
cae87e64
FW
256832017-11-13 Florian Weimer <fweimer@redhat.com>
25684
25685 * support/next_to_fault.h, support/next_to_fault.c: New files.
25686 * support/Makefile (libsupport-routines): Add next_to_fault.
25687 * resolv/tst-inet_pton.c (struct next_to_fault)
25688 (next_to_fault_allocate, next_to_fault_free): Remove.
25689 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
25690
4a306ef1
L
256912017-11-13 H.J. Lu <hongjiu.lu@intel.com>
25692
25693 * elf/dl-support.c: Include <dl-procruntime.c>.
25694 * include/link.h: Include <link_map.h>.
25695 * sysdeps/generic/dl-procruntime.c: New file.
25696 * sysdeps/generic/link_map.h: Likewise.
25697 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
25698 the writable ld.so namespace.
25699
e69897bf
PE
257002017-11-12 Paul Eggert <eggert@cs.ucla.edu>
25701
25702 timezone: pacify GCC -Wstringop-truncation
25703 Problem reported by Martin Sebor in:
25704 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
25705 * timezone/zic.c (writezone): Use memcpy, not strncpy.
25706
1ffe1ccb
FW
257072017-11-12 Florian Weimer <fweimer@redhat.com>
25708
eceed671
FW
25709 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
25710 tst-xreadlink.
25711 (tests): Add tst-xreadlink.
1ffe1ccb
FW
25712 * support/support.h (xstrndup): Declare.
25713 * support/xunistd.h (xunlink, xreadlink): Declare.
25714 * support/temp_file.h (support_create_temp_directory): Declare.
25715 * support/temp_file.c (support_create_temp_directory): New function.
25716 * support/support_chroot.c (support_chroot_create): Use it.
25717 * support/xreadlink.c: New file.
25718 * support/xstrndup.c: Likewise.
25719 * support/xunlink.c: Likewise.
25720 * support/tst-xreadlink.c: Likewise.
25721
456b40a9
JDA
257222017-11-11 John David Anglin <danglin@gcc.gnu.org>
25723
25724 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
25725
c0a25aa9
FW
257262017-11-11 Florian Weimer <fweimer@redhat.com>
25727
25728 [BZ #22409]
25729 [BZ #22412]
25730 * resolv/res_comp.c (printable_string, binary_hnok)
25731 (binary_leading_dash): New functions.
25732 (res_hnok): Reimplement using these functions and ns_name_pton.
25733 (res_ownok): Likewise.
25734 (res_mailok): Reimplement using printable_string, ns_name_pton and
25735 binary_hnok.
25736 (res_dnok): Reimplement using printable_string and ns_name_pton.
25737 * resolv/tst-res_hnok.c (tests): Add additional tests.
25738 (LETTERDIGITS, PRINTABLE): Define.
25739 (do_test): Adjust one_char results.
25740
9e0ad304
FW
257412017-11-11 Florian Weimer <fweimer@redhat.com>
25742
25743 [BZ #22413]
25744 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
25745 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
25746
e2a9fca8
FW
257472017-11-11 Florian Weimer <fweimer@redhat.com>
25748
25749 * resolv/tst-ns_name_pton.c: New file.
25750 * resolv/Makefile (tests): Add tst-ns_name_pton.
25751 (tst-ns_name_pton): Link against libresolv.
25752
5c1a6923
FW
257532017-11-11 Florian Weimer <fweimer@redhat.com>
25754
25755 * resolv/tst-res_hnok.c: New file.
25756 * resolv/Makefile (tests): Add tst-res_hnok.
25757 (tst-res_hnok): Link against libresolv.
25758
a19c0a1d
FW
257592017-11-11 Florian Weimer <fweimer@redhat.com>
25760
25761 * resolv/tst-resolv-network.c: Use test framework instead explicit
25762 main function.
25763
8cb5295d
L
257642017-11-09 H.J. Lu <hongjiu.lu@intel.com>
25765
25766 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
25767 <jmp_buf-macros.h>.
25768 [!_ISOMAC] (STR_HELPER): New.
25769 [!_ISOMAC] (STR): Likewise.
25770 [!_ISOMAC] (TEST_SIZE): Likewise.
25771 [!_ISOMAC] (TEST_ALIGN): Likewise.
25772 [!_ISOMAC] (TEST_OFFSET): Likewise.
25773 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
25774 field offsets of jmp_buf as well as sigjmp_buf.
25775 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
25776 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
25777 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
25778 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
25779 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
25780 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
25781 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
25782 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
25783 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
25784 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
25785 Likewise.
25786 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
25787 Likewise.
25788 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
25789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
25790 Likewise.
25791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
25792 Likewise.
25793 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
25794 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
25795 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
25796 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
25797 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
25798 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
25799 Likewise.
25800 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
25801 Likewise.
25802 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
25803 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
25804 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
25805
58c4a161
JM
258062017-11-07 Joseph Myers <joseph@codesourcery.com>
25807
3683b423
JM
25808 * include/float.h
25809 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25810 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
25811 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25812 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
25813 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25814 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
25815 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25816 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
25817 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25818 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
25819 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25820 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
25821 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25822 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
25823 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25824 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
25825 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25826 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
25827 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25828 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
25829 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25830 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
25831 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25832 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
25833 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25834 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
25835 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25836 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
25837 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25838 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
25839 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25840 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
25841 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25842 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
25843 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25844 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
25845 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25846 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
25847 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25848 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
25849 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25850 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
25851 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25852 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
25853 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25854 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
25855 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25856 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
25857 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25858 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
25859 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25860 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
25861 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25862 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
25863 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25864 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
25865 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25866 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
25867 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25868 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
25869 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25870 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
25871 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25872 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
25873 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25874 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
25875 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25876 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
25877 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25878 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
25879 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25880 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
25881 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25882 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
25883 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25884 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
25885 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25886 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
25887 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25888 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
25889 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25890 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
25891 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25892 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
25893 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25894 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
25895 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25896 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
25897
58c4a161
JM
25898 * stdlib/tst-strtod.h (F16): New macro.
25899 (F32): Likewise.
25900 (F64): Likewise.
25901 (F32X): Likewise.
25902 (F64X): Likewise.
25903 (F128X): Likewise.
25904 (IF_FLOAT16): Likewise.
25905 (IF_FLOAT32): Likewise.
25906 (IF_FLOAT64): Likewise.
25907 (IF_FLOAT32X): Likewise.
25908 (IF_FLOAT64X): Likewise.
25909 (IF_FLOAT128X): Likewise.
25910 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
25911 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
25912 (STRTOD_TEST_FOREACH): Likewise.
25913 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
25914 (CHOOSE_f64): Likewise.
25915 (CHOOSE_f32x): Likewise.
25916 (CHOOSE_f64x): Likewise.
25917
feda96a1
AS
259182017-11-07 Andreas Schwab <schwab@suse.de>
25919
25920 * nptl/Makefile (tests-internal): Remove tst-typesizes.
25921
1bd0cbb8
MF
259222017-11-07 Mike FABIAN <mfabian@redhat.com>
25923
25924 [BZ #22403]
25925 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
25926 to be escaped.
25927 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
25928 to be escaped.
25929
363e4519 259302017-11-07 Claude Paroz <claude@2xlibre.net>
d8301314
CP
25931
25932 [BZ #22403]
25933 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
25934 to be escaped.
25935 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
25936 to be escaped.
25937 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
25938 to be escaped.
25939
dff91cd4
AZ
259402017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25941
06be6368
AZ
25942 [BZ #22298]
25943 * nptl/allocatestack.c (allocate_stack): Check if
25944 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
25945 __PTHREAD_MUTEX_HAVE_PREV is defined.
25946 * nptl/descr.h (pthread): Likewise.
25947 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25948 Likewise.
25949 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
25950 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
25951 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
25952 * sysdeps/nptl/bits/thread-shared-types.h
25953 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25954 defines.
25955 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
25956 of __WORDSIZE for internal layout.
25957 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
25958 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
25959 instead of __WORDSIZE whether to use an union for __spins and __list
25960 fields.
25961 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
25962 case.
25963 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
25964 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25965 defines.
25966 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
25967 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25968 Likewise.
25969 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
25970 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25971 Likewise.
25972 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
25973 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25974 Likewise.
25975 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
25976 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25977 Likewise.
25978 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
25979 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25980 Likewise.
25981 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
25982 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25983 Likewise.
25984 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
25985 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25986 Likewise.
25987 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
25988 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25989 Likewise.
25990 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
25991 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25992 Likewise.
25993 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
25994 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25995 Likewise.
25996 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
25997 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25998 Likewise.
25999 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
26000 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26001 Likewise.
26002 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
26003 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26004 Likewise.
26005 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
26006 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26007 Likewise.
26008
72b3c6ee
AZ
26009 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
26010 New macros.
26011 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
26012 checks for expected input type size.
26013 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
26014 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
26015 Likewise.
26016 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
26017 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
26018 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
26019 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
26020 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
26021 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
26022 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
26023 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
26024 superflous runtime assert check.
26025 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
26026 Likewise.
26027 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
26028 Likewise.
26029 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
26030 Likewise.
26031 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
26032 Likewise.
26033 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
26034 Likewise.
26035 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
26036 Likewise.
26037 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
26038 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
26039 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
26040 Likewise.
26041 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
26042 Likewise.
26043 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
26044 Likewise.
26045 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
26046 Likewise.
26047 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
26048 Likewise.
26049 * nptl/pthread_attr_setinheritsched.c
26050 (__pthread_attr_setinheritsched): Likewise.
26051 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
26052 Likewise.
26053 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
26054 Likewise.
26055 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
26056 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
26057 __old_pthread_attr_setstack): Likewise.
26058 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
26059 Likewise.
26060 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
26061 Likewise.
26062 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
26063 Likewise.
26064 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
26065 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
26066 Likewise.
26067 * nptl/tst-typesizes.c: Remove file.
26068
dff91cd4
AZ
26069 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
26070 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
26071 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
26072 checks for internal pthread_mutex_t offsets.
26073 * sysdeps/aarch64/nptl/pthread-offsets.h
26074 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
26075 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
26076 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
26077 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
26078 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
26079 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
26080 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
26081 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
26082 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
26083 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
26084 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
26085 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
26086 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
26087 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
26088 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
26089 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
26090 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
26091 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
26092
b7fc95f8
FW
260932017-11-07 Florian Weimer <fweimer@redhat.com>
26094
26095 * bits/mman-linux.h: Move ...
26096 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
26097 comment.
26098 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
26099 outdated comment.
26100
6b860364
RS
261012017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26102
26103 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
26104 Redefine STRNLEN as __strnlen_power8.
26105
802c1f16
AZ
261062017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26107
d83da3a4
AZ
26108 * signal/sighold.c (sighold): Optimize implementation.
26109
6a4235f1
AZ
26110 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
26111 __NR_rt_sigqueueinfo.
26112
8b0e795a
AZ
26113 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
26114 __sigtimedwait.
26115 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
26116 assume __NR_rt_sigtimedwait.
26117 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
26118 and add LIBC_CANCEL_HANDLED for cancellation marking.
26119 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
26120
a1a638dd
AZ
26121 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
26122 (sysdeps_routines): Add memchr_noneon.
26123 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
26124 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
26125 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
26126 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
26127 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
26128 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
26129 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
26130
802c1f16
AZ
26131 * sysdeps/arm/arm-ifunc.h: New file.
26132 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
26133 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
26134 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
26135 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
26136 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
26137 (__memcpy_neon): Avoid create hidden alias.
26138 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
26139 (__memcpy_vfp): Likewise.
26140 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
26141 (sysdep_routines): Add memcpy_arm.
26142 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
26143
abcb584d
L
261442017-11-06 H.J. Lu <hongjiu.lu@intel.com>
26145
26146 [BZ #22362]
26147 * Makerules (make-link-multidir): New.
26148 * config.make.in (multidir): New.
26149 * configure.ac (libc_cv_multidir): New. AC_SUBST.
26150 * configure: Regenerated.
26151 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
26152 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
26153 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
26154 New target.
26155
4e2dff67
JM
261562017-11-06 Joseph Myers <joseph@codesourcery.com>
26157
26158 [BZ #22402]
26159 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
26160 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
26161
a1c7cd3c
MF
261622017-11-04 Mike FABIAN <mfabian@redhat.com>
26163
26164 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
26165 to be escaped.
26166
b9af29c0
FW
261672017-11-04 Florian Weimer <fweimer@redhat.com>
26168
26169 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
26170
4ca70e1a
JM
261712017-11-03 Joseph Myers <joseph@codesourcery.com>
26172
26173 * math/math.h [__HAVE_DISTINCT_FLOAT16
26174 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
26175 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
26176 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
26177 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
26178 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
26179 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
26180 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26181 (__MATH_TG_F32): New macro.
26182 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26183 (__MATH_TG_F64X): Likewise.
26184 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26185 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
26186
ba0e6668
DL
261872017-11-03 Dmitry V. Levin <ldv@altlinux.org>
26188
26189 * po/de.po: Update translations.
26190 * po/ru.po: Likewise.
26191
bc18a6d3
FW
261922017-11-03 Florian Weimer <fweimer@redhat.com>
26193
26194 * manual/filesys.texi (Hard Links): Document linkat.
26195
97255170
JM
261962017-11-03 Joseph Myers <joseph@codesourcery.com>
26197
86ec4865
JM
26198 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
26199 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
26200 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
26201 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
26202 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
26203 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
26204 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
26205 the same as _Float128.
26206 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
26207 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
26208 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
26209
97255170
JM
26210 * stdlib/stdlib.h
26211 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
26212 Declare.
26213 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
26214 Likewise.
26215 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
26216 Likewise.
26217 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26218 (strtof32x): Likewise.
26219 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26220 (strtof64x): Likewise.
26221 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26222 (strtof128x): Likewise.
26223 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26224 (strfromf16): Likewise.
26225 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26226 (strfromf32): Likewise.
26227 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26228 (strfromf64): Likewise.
26229 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26230 (strfromf32x): Likewise.
26231 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26232 (strfromf64x): Likewise.
26233 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26234 (strfromf128x): Likewise.
26235 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
26236 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
26237 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
26238 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
26239 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
26240 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
26241
6d58ce5e
RH
262422017-11-03 Richard Henderson <rth@twiddle.net>
26243
26244 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
26245
659ca267
SN
262462017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26247
26248 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
26249
94d2f0af
SN
262502017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26251
26252 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
26253 DT_TLSDESC_GOT initialization.
26254 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
26255 (_dl_tlsdesc_resolve_hold): Likewise.
26256 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
26257 (_dl_tlsdesc_resolve_hold): Likewise.
26258 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
26259 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
26260
28e1ddf3
SN
262612017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26262
26263 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
26264
0ca3d1d6
SN
262652017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26266
26267 [BZ #18572]
26268 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
26269 non-lazily for R_ARM_TLS_DESC.
26270
2c1d4e5f
SN
262712017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26272
26273 [BZ #17078]
26274 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
26275 R_ARM_TLS_DESC case.
26276 (elf_machine_lazy_rel): Remove the prelink check.
26277
91c5a366
SN
262782017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26279
26280 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
26281 DT_TLSDESC_GOT initialization.
26282 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
26283 (_dl_tlsdesc_resolve_rela): Likewise.
26284 (_dl_tlsdesc_resolve_hold): Likewise.
26285 (_dl_tlsdesc_undefweak): Remove ldar.
26286 (_dl_tlsdesc_dynamic): Likewise.
26287 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
26288 (_dl_tlsdesc_resolve_rela): Likewise.
26289 (_dl_tlsdesc_resolve_hold): Likewise.
26290 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
26291 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
26292 (_dl_tlsdesc_resolve_rela): Likewise.
26293 (_dl_tlsdesc_resolve_hold): Likewise.
26294
b7cf203b
SN
262952017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26296
26297 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
26298 binding and initialization non-lazily for R_AARCH64_TLSDESC.
26299
0cc5b022
SN
263002017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26301
26302 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
26303 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
26304
43ddff2e
JM
263052017-11-02 Joseph Myers <joseph@codesourcery.com>
26306
26307 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
26308 Declare.
26309 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
26310 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
26311 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
26312 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
26313 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
26314 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
26315 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
26316 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
26317 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
26318 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
26319 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
26320
5baac970
MF
263212017-11-02 Mike FABIAN <mfabian@redhat.com>
26322
26323 [BZ #22382]
26324 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
26325 * localedata/locales/tpi_PG: Add standard header.
26326
ef11081f
FW
263272017-11-02 Florian Weimer <fweimer@redhat.com>
26328
26329 test-errno-linux: quotactl can fail with EPERM in containers.
26330 * sysdeps/unix/sysv/linux/test-errno-linux.c
26331 (LIST, LIST_FORWARD): New macros.
26332 (check_error_in_list): New function.
26333 (test_wrp_rv): Accept list of permitted error codes.
26334 (test_wrp_rv2): Remove.
26335 (test_wrp): Call test_wrp_rv with list of error codes.
26336 (test_wrp2): Accept list of error codes.
26337 (do_test): Adjust. Allow EPERM for quotactl.
26338
d10b132b
FW
263392017-11-02 Florian Weimer <fweimer@redhat.com>
26340
26341 * stdio-common/bug16.c (do_test): Use array_length.
26342 * stdio-common/errlist.c (_sys_nerr): Likewise.
26343 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
26344 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
26345 * stdio-common/psiginfo.c (psiginfo): Use array_length.
26346 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
26347 (do_test): Use array_length.
26348 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
26349 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
26350 * stdio-common/tst-printf-round.c (do_test): Likewise.
26351 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
26352 (CHECK): Use array_length.
26353 * stdio-common/tstdiomisc.c (t3, F): Likewise.
26354 * stdio-common/tstscanf.c (main): Likewise.
26355 * stdio-common/vfprintf.c (process_string_arg): Likewise.
26356
c94a5688
FW
263572017-11-02 Florian Weimer <fweimer@redhat.com>
26358
26359 Add array_length and array_end macros.
26360 * include/array_length.h: New file.
26361
2fac6a6c
FW
263622017-11-02 Florian Weimer <fweimer@redhat.com>
26363
26364 [BZ #22332]
26365 * posix/tst-glob-tilde.c (do_noescape): New variable.
26366 (one_test): Process it.
26367 (do_test): Set do_noescape. Add unescaping test case.
26368
2f1b212e
JM
263692017-11-01 Joseph Myers <joseph@codesourcery.com>
26370
260fbd0a
JM
26371 * math/complex.h
26372 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
26373 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
26374 with appropriate macros defined and undefined.
26375 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
26376 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26377 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
26378 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26379 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
26380 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26381 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
26382 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26383 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
26384 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26385
2f1b212e
JM
26386 * math/complex.h
26387 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
26388 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
26389 that for long double. Do not condition define and undefine of
26390 _Mdouble_complex_ on [__CFLOAT128].
26391
95b93c6e
L
263922017-11-01 H.J. Lu <hongjiu.lu@intel.com>
26393
26394 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
26395 of <sysdeps/generic/sysdep.h>.
26396 (ALIGNARG): Removed.
26397 (ASM_SIZE_DIRECTIVE): Likewise.
26398 (ENTRY): Likewise.
26399 (END): Likewise.
26400 (ENTRY_CHK): Likewise.
26401 (END_CHK): Likewise.
26402 (syscall_error): Likewise.
26403 (mcount): Likewise.
26404 (PSEUDO_END): Likewise.
26405 (L): Likewise.
26406 (atom_text_section): Likewise.
26407 * sysdeps/x86/sysdep.h: New file.
26408 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
26409 of <sysdeps/generic/sysdep.h>.
26410 (ALIGNARG): Removed.
26411 (ASM_SIZE_DIRECTIVE): Likewise.
26412 (ENTRY): Likewise.
26413 (END): Likewise.
26414 (ENTRY_CHK): Likewise.
26415 (END_CHK): Likewise.
26416 (syscall_error): Likewise.
26417 (mcount): Likewise.
26418 (PSEUDO_END): Likewise.
26419 (L): Likewise.
26420 (atom_text_section): Likewise.
26421
1bb36539
RL
264222017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
26423
26424 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
26425 category of LC_CTYPE set to "i18n:2012".
26426 * localedata/locales/i18n_ctype: Regenerate.
26427
067f5d97 264282017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 26429
87bbc4cf
YN
26430 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
26431 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
26432 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
26433 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
26434
e8681faa
YN
26435 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
26436 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
26437 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
26438 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
26439
540af6e2
JM
264402017-10-31 Joseph Myers <joseph@codesourcery.com>
26441
43e66283
JM
26442 * math/complex.h
26443 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
26444 New macro.
26445 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
26446 Likewise.
26447 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
26448 Likewise.
26449 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26450 (CMPLXF32X): Likewise.
26451 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26452 (CMPLXF64X): Likewise.
26453 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26454 (CMPLXF128X): Likewise.
26455
540af6e2
JM
26456 * math/math.h
26457 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
26458 (__MATH_EVAL_FMT2): Define to add 0.0f.
26459
58af72b4
AM
264602017-10-31 Alan Modra <amodra@gmail.com>
26461
26462 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
26463 include sysdep.h.
26464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
26465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
26466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
26467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
26468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
26469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
26470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
26471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
26472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
26473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
26474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
26475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
26476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
26477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
26478 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
26479 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
26480 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
26481 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
26482 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
26483 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
26484 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
26485 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
26486 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
26487 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
26488 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
26489 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
26490 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
26491 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
26492 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
26493 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
26494 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
26495 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
26496 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
26497 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
26498 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
26499 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
26500 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
26501 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
26502 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
26503 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
26504 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
26505 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
26506 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
26507 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
26508 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
26509 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
26510 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
26511 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
26512 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
26513 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
26514 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
26515 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
26516 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
26517 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
26518 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
26519 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
26520 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
26521 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
26522 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
26523 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
26524 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
26525 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
26526 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
26527 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
26528 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
26529 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
26530 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
26531 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
26532 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
26533
26534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
26535 include sysdep.h and math_ldbl_opt.h.
26536
26537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
26538 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
26539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
26540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
26541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
26542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
26543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
26544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
26545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
26546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
26547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
26548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
26549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
26550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
26551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
26552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
26553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
26554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
26555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
26556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
26557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
26558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
26559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
26560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
26561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
26562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
26563
112f30b3
AM
265642017-10-31 Alan Modra <amodra@gmail.com>
26565
26566 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
26567 string/strncase_l.c, not string/strncase.c.
26568 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
26569 (libc_hidden_def): Redefine.
26570
e9e7eced
AM
265712017-10-31 Alan Modra <amodra@gmail.com>
26572
26573 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
26574 (__STRCMP, STRCMP, __strcasecmp_l): Define.
26575 (__strcasecmp): Don't define.
26576
f7b465cf
AM
265772017-10-31 Alan Modra <amodra@gmail.com>
26578
26579 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
26580 IS_IN (libc).
26581 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
26582 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
26583 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
26584
d46b09f9
AM
265852017-10-31 Alan Modra <amodra@gmail.com>
26586
26587 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
26588 USE_AS_STPNCPY.
26589
e9b8e194
AM
265902017-10-31 Alan Modra <amodra@gmail.com>
26591
26592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
26593 Redefine only when SHARED.
26594
eda162dd
JM
265952017-10-30 Joseph Myers <joseph@codesourcery.com>
26596
b61afe8c
JM
26597 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
26598 Include <bits/math-finite.h> with appropriate macros defined and
26599 undefined.
26600 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
26601 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
26602 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
26603 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
26604 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
26605
eda162dd
JM
26606 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
26607 [!_Mlong_double_] (_Mlong_double_): Likewise.
26608 [!_Mfloat16_] (_Mfloat16_): Likewise.
26609 [!_Mfloat32_] (_Mfloat32_): Likewise.
26610 [!_Mfloat64_] (_Mfloat64_): Likewise.
26611 [!_Mfloat128_] (_Mfloat128_): Likewise.
26612 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
26613 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
26614 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
26615 (_Mdouble_): Define without indirection through those macros.
26616 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
26617 [!_Mfloat128_] (_Mfloat128_): Likewise.
26618 [_Mlong_double_] (_Mlong_double_): Likewise.
26619 (_Mdouble_): Define without indirection through those macros.
26620 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
26621 not add -D_Mlong_double_=double.
26622 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
26623 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
26624
4ad5106e
L
266252017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26626
26627 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
26628
fe326df7
L
266292017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26630
26631 * sysdeps/x86/libc-start.c: Reformat.
26632
c5cc4514
L
266332017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26634
26635 [BZ #22353]
26636 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
26637 (1): Renamed to ...
26638 (L(Src0)): This.
26639 (L(Src1)): New.
26640 (L(Src2)): Likewise.
26641 (L(1)): Renamed to ...
26642 (L(Src3)): This.
26643
ce12269f
JM
266442017-10-30 Joseph Myers <joseph@codesourcery.com>
26645
26646 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
26647 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
26648 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
26649 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
26650 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
26651 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
26652 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
26653 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
26654 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
26655 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
26656 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
26657 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
26658 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
26659 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
26660 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
26661 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
26662 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
26663 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
26664 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
26665 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
26666 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
26667 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
26668 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
26669 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
26670 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
26671 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
26672 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
26673 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
26674 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
26675 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
26676 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
26677 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
26678 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
26679 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
26680 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
26681 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
26682 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
26683 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
26684 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
26685 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
26686 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
26687 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
26688 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
26689 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
26690 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
26691 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
26692 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
26693 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
26694 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
26695 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
26696 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
26697 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
26698 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
26699 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
26700 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
26701 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
26702 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
26703 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
26704 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
26705 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
26706 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
26707 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
26708 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
26709 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
26710 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
26711 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
26712
4484b9e2
FW
267132017-10-30 Florian Weimer <fweimer@redhat.com>
26714
26715 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
26716 always defined.
26717 * io/tst-mkdirat.c (do_test): Likewise.
26718 * io/tst-mkfifoat.c (do_test): Likewise.
26719 * io/tst-mknodat.c (do_test): Likewise.
26720 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
26721 * locale/programs/locale.c (select_dirs): Likewise.
26722 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
26723 * posix/bug-glob2.c (my_readdir): Likewise.
26724 * posix/tst-dir.c (main): Likewise.
26725 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
26726 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
26727
68fe16dd
FW
267282017-10-30 Florian Weimer <fweimer@redhat.com>
26729
26730 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
26731 just __USE_GNU.
26732
dadf23f0
FW
267332017-10-30 Florian Weimer <fweimer@redhat.com>
26734
26735 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
26736 Convert to support/test-driver.c.
26737 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
26738 New macro parameters.
26739 (PRINTF): Remove macro. Use test_verbose conditionals instead.
26740 * posix/tst-gnuglob.c: New file.
26741 * posix/tst-gnuglob64.c: Likewise.
26742 * posix/Makefile (tests): Add tst-gnuglob64.
26743
363e4519 267442017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
fbcecc08
MF
26745
26746 [BZ #19485]
26747 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
26748 and use a better translation for March in “mon”.
26749 * localedata/locales/csb_PL: Use more ASCII to improve the
26750 readability of the source.
26751
b110af82
MF
267522017-10-30 Mike FABIAN <mfabian@redhat.com>
26753
26754 [BZ #13953]
26755 * localedata/locales/km_KH: Use ASCII as much
26756 as possible for better readability of the source and
26757 remove useless comments.
26758 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
26759 was commented out and apparently wrong anyway because it was
26760 using Lao characters. If Buddhist era should be used
26761 for km_KH, a native speaker should write the correct formaat
26762 for Khmer.
26763 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
26764 (According to CLDR, the first weekday for Cambodia is Sunday).
26765 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
26766 (These were using Lao characters which must be wrong. If we get
26767 the correct data from a native speaker, we could add it back, until
26768 then it is better not to have name_mr and name_mrs at all than
26769 having it wrong).
26770
f301e533
RL
267712017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
26772
26773 * locale/loadlocale.c: Correct size of
26774 _nl_value_type_LC_<category> arrays.
26775
7e9d7073
JM
267762017-10-27 Joseph Myers <joseph@codesourcery.com>
26777
26778 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
26779 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
26780 with appropriate macros defined and undefined.
26781 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
26782 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
26783 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
26784 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
26785 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
26786
63d3b468
L
267872017-10-27 H.J. Lu <hongjiu.lu@intel.com>
26788
26789 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
26790 "-O2 -march=i586".
26791
a4cc02c7
MF
267922017-10-27 Mike FABIAN <mfabian@redhat.com>
26793
26794 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
26795 with lowercase letters to make it agree with CLDR.
26796
1e5971ec
MF
267972017-10-27 Mike FABIAN <mfabian@redhat.com>
26798
26799 [BZ #15260]
26800 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
26801 first letters of yesstr and nostr in yesexpr and noexpr,
26802 not for the full words.
26803 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26804 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
26805 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
26806 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
26807 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
26808 first letters of yesstr and nostr in yesexpr and noexpr,
26809 until now only English was matched in yesexpr and noexpr.
26810 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
26811 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
26812 fil but not for tl. As tl and fil are very similar, using fil
26813 is probably better than using English.
26814
363e4519 268152017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
bc5fc7de
MF
26816
26817 [BZ #21706]
26818 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
26819 in yesstr and nostr.
26820
5d220788
JM
268212017-10-26 Joseph Myers <joseph@codesourcery.com>
26822
ecc7da5b
JM
26823 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26824 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
26825 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
26826 Likewise.
26827 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
26828 Likewise.
26829 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
26830 Likewise.
26831 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
26832 Likewise.
26833 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26834 (SNANF128X): Likewise.
26835
5d220788
JM
26836 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26837 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
26838 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26839 (HUGE_VAL_F32): Likewise.
26840 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26841 (HUGE_VAL_F64): Likewise.
26842 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26843 (HUGE_VAL_F32X): Likewise.
26844 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26845 (HUGE_VAL_F64X): Likewise.
26846 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26847 (HUGE_VAL_F128X): Likewise.
26848
363e4519 268492017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
67ad7163
TV
26850
26851 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
26852 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
26853 for the br_FR locale.
26854
363e4519 268552017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
408dff7e
TV
26856
26857 [BZ #21706]
26858 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
26859
337ff3c5
CD
268602017-10-25 Carlos O'Donell <carlos@redhat.com>
26861
02eec681
CD
26862 * locale/programs/record-status.h: Define globals, and function
26863 prototypes. Move function bodies...
26864 * locale/programs/record-status.c: ... to here. New file.
26865 * iconv/Makefile (iconv_prog-modules): Add record-status.
26866 * locale/Makefile (lib-modules): Likewise.
26867 * iconv/iconv_prog.c: Remove verbose.
26868 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
26869 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
26870 record a warning about ASCII compatibility.
26871 * locale/programs/ld-monetary.c (monetary_finish): If
26872 warn_int_curr_symbol is true then record a warning about the symbol
26873 not being in our ISO 4217 list.
26874 * locale/programs/locale.c: Include record-status.h. Remove verbose.
26875 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
26876 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
26877 (OPT_NO_WARN): Define.
26878 (OPT_WARN): Define.
26879 (options): Add entry for --no-warnings, and --warnings.
26880 (set_warnings): New function to enable/disable warnings.
26881 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
26882 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
26883 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
26884 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
26885 Pass flags to generate_locale.
26886 (generate_locale): Accept new flag argument and pass it to localedef
26887 invocation.
26888 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
26889 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
26890
56fa555a
CD
26891 * localedata/Makefile (test-input-data): Use full file name.
26892 * localedata/da_DK.in: Rename to...
26893 * localedata/da_DK.ISO-8859-1.in: ...this.
26894 * localedata/de_DE.in: Rename to...
26895 * localedata/de_DE.ISO-8859-1.in: ...this.
26896 * localedata/en_US.in: Rename to...
26897 * localedata/en_US.ISO-8859-1.in: ...this.
26898 * localedata/fr_FR.in: Rename to...
26899 * localedata/fr_FR.UTF-8.in: ... this.
26900 * localedata/hr_HR.in: Rename to...
26901 * localedata/hr_HR.ISO-8859-2.in: ...this.
26902 * localedata/hu_HU.in: Rename to...
26903 * localedata/hu_HU.UTF-8.in: ...this.
26904 * localedata/si_LK.in: Rename to...
26905 * localedata/si_LK.UTF-8.in: ...this.
26906 * localedata/sv_SE.in: Rename to...
26907 * localedata/sv_SE.ISO-8859-1.in: ...this.
26908 * localedata/tr_TR.in: Rename to...
26909 * localedata/tr_TR.UTF-8.in: ...this.
26910 * localedata/uk_UA.in: Rename to...
26911 * localedata/uk_UA.UTF-8.in: ...this.
26912 * localedata/sort-test.sh: Test file is locale name with the
26913 suffix.
26914
337ff3c5
CD
26915 * localedata/unicode-gen/Makefile (check_i18n): Rename to
26916 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
26917 file.
26918 * localedata/locales/i18n_ctype: Regenerate.
26919 * localedata/locales/tr_TR: Likewise.
26920 * localedata/locales/translit_circle: Likewise.
26921 * localedata/locales/translit_cjk_compat: Likewise.
26922 * localedata/locales/translit_combining: Likewise.
26923 * localedata/locales/translit_compat: Likewise.
26924 * localedata/locales/translit_font: Likewise.
26925 * localedata/locales/translit_fraction: Likewise.
26926
63da5cd4
RS
269272017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26928
26929 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
26930 lxvd2x/stxvd2x with lvx/stvx.
26931 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
26932
a122dbfb
L
269332017-10-25 H.J. Lu <hongjiu.lu@intel.com>
26934
26935 * include/alloc_buffer.h: Replace "if if " with "if " in
26936 comments.
26937 * sysdeps/mips/memcpy.S: Likkewise.
26938 * sysdeps/mips/memset.S: Likewise.
26939 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
26940 Likewise.
26941 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
26942 Likewise.
26943 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
26944 Likewise.
26945
9be7530c
MF
269462017-10-25 Mike FABIAN <mfabian@redhat.com>
26947
26948 [BZ #15261]
26949 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
26950 yesexpr and noexpr.
26951 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26952 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26953 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26954 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26955 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26956 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26957 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26958
6ccbf6ff
MF
269592017-10-25 Mike FABIAN <mfabian@redhat.com>
26960
26961 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
26962 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26963 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26964 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26965 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26966 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
26967 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26968 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26969 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26970 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26971 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26972 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26973
58b1a7ea
MF
269742017-10-25 Mike FABIAN <mfabian@redhat.com>
26975
26976 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
26977 as possible for better readability of the source.
26978 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
26979 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
26980 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
26981 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
26982 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
26983 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
26984 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
26985 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
26986 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26987 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
26988 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
26989 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
26990 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
26991 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
26992 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
26993 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
26994 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
26995 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
26996 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
26997 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
26998 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
26999 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
27000 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
27001 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
27002 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
27003 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
27004 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
27005 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
27006 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
27007 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
27008 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
27009 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
27010 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
27011 * localedata/locales/en_US (LC_MESSAGES): Likewise.
27012 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
27013 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
27014 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
27015 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
27016 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
27017 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
27018 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
27019 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
27020 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
27021 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
27022 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
27023 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
27024 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
27025 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
27026 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
27027 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
27028 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
27029 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
27030 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
27031 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
27032 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
27033 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
27034 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
27035 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
27036 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
27037 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
27038 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
27039 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
27040 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
27041 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
27042 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
27043 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
27044 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
27045 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
27046 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
27047 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
27048 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
27049 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
27050 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
27051 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
27052 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
27053 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
27054 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
27055 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
27056 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
27057 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
27058 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
27059 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
27060 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
27061 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
27062 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
27063 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
27064 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
27065 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
27066 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
27067 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
27068 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
27069 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
27070 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
27071 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
27072 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
27073 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
27074 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
27075 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
27076 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
27077 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
27078 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
27079 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
27080 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
27081 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
27082 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
27083 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
27084 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
27085 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
27086 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
27087 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
27088 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
27089 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
27090 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
27091 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
27092 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
27093 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
27094 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
27095 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
27096 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
27097 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
27098 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
27099 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
27100 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
27101 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
27102 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
27103 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
27104 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
27105 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
27106 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
27107 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
27108 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
27109 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
27110 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
27111 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
27112 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
27113 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
27114 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
27115 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
27116 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
27117 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
27118 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
27119 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
27120 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
27121 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
27122 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
27123 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
27124 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
27125 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
27126 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
27127 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
27128 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
27129 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
27130 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
27131 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
27132 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
27133 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
27134 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
27135 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
27136 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
27137 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
27138 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
27139 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
27140 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
27141 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
27142 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
27143 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
27144 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
27145 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
27146 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
27147 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
27148 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
27149 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
27150 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
27151 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
27152
17e78edb
MF
271532017-10-25 Mike FABIAN <mfabian@redhat.com>
27154
27155 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
27156 (Use first letters of yesstr and nostr correctly instead of using
27157 full words).
27158
74e7284f
MF
271592017-10-25 Mike FABIAN <mfabian@redhat.com>
27160
27161 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
27162 (Use first letters of yesstr and nostr correctly).
27163
b41a0ff1
MF
271642017-10-25 Mike FABIAN <mfabian@redhat.com>
27165
27166 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
27167 also check for the first characters of yesstr and nostr.
27168 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
27169 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
27170
d971f380
MF
271712017-10-25 Mike FABIAN <mfabian@redhat.com>
27172
27173 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
27174 also check for Chinese characters.
27175
effc9e1d
MF
271762017-10-25 Mike FABIAN <mfabian@redhat.com>
27177
27178 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
27179 match also for the contents of yesstr and nostr. As the first letter
27180 of yesstr and nostr is equal, checking only for the first letter
27181 is not enough.
27182
10320881
MF
271832017-10-25 Mike FABIAN <mfabian@redhat.com>
27184
27185 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
27186 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
27187
d8682a15
MF
271882017-10-25 Mike FABIAN <mfabian@redhat.com>
27189
27190 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
27191 of main contributor.
27192
1bfb86ae
MF
271932017-10-25 Mike FABIAN <mfabian@redhat.com>
27194
27195 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
27196 instead of using English.
27197
da33d60b
MF
271982017-10-25 Mike FABIAN <mfabian@redhat.com>
27199
27200 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
27201 by including the first letters of nostr and yesexpr in the regexp.
27202 Also make it more readable by using ASCII where possible.
27203
725bbb3e
MF
272042017-10-25 Mike FABIAN <mfabian@redhat.com>
27205
27206 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
27207 the first letter of nostr in the regexp. It agrees with CLDR now.
27208 Also make it more readable by using ASCII where possible.
27209
fe043d8a
MF
272102017-10-24 Mike FABIAN <mfabian@redhat.com>
27211
27212 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
27213 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
27214 these strings contain a U+17D6 (which somewhat looks like a colon)
27215 instead of a real colon to separate the full words for “yes”
27216 and “no” from the single letter responses.
27217
360a8df3
MF
272182017-10-24 Mike FABIAN <mfabian@redhat.com>
27219
27220 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
27221 it agree with CLDR (include the first letter of yesstr).
27222 Also make it more readable by using ASCII where possible.
27223
bab7b6b0
MF
272242017-10-24 Mike FABIAN <mfabian@redhat.com>
27225
27226 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
27227 and improve yesexpr and noexpr. The yesstr and nostr apparently
27228 came from CLDR. And CLDR has a bug there: these strings contain
27229 a U+0903 (which looks like a colon) instead of a real colon
27230 to separate the full words for “yes” and “no” from the single
27231 letter responses.
27232
3e79f758
MF
272332017-10-24 Mike FABIAN <mfabian@redhat.com>
27234
27235 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
27236 letters of the full yesstr and nostr in yesexpr and noexpr.
27237
4960c879
MF
272382017-10-24 Mike FABIAN <mfabian@redhat.com>
27239
27240 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
27241 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
27242 * localedata/locales/an_ES: Make source more readable by using ASCII
27243 where possible.
27244
b06a054f
MF
272452017-10-24 Mike FABIAN <mfabian@redhat.com>
27246
27247 [BZ #20952]
27248 * localedata/locales/yuw_PG: New file.
27249 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
27250 * locale/iso-639.def: Add Yau (Uruwa).
27251
905a7725
WD
272522017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
27253
27254 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
27255
3f6bb8a3
WD
272562017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
27257
27258 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
27259 (__libc_realloc): Likewise.
27260 (_mid_memalign): Likewise.
27261 (__libc_calloc): Likewise.
27262
1d479c8c
MF
272632017-10-23 Mike FABIAN <mfabian@redhat.com>
27264
27265 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
27266 by adding the generic +1 and -0 as in all other locales.
27267 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
27268 day names and make it more readable by using ASCII where possible.
27269
91c3985c
JM
272702017-10-24 Joseph Myers <joseph@codesourcery.com>
27271
27272 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
27273 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
27274
aa95a241
AZ
272752017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27276
27277 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
27278 WNOHANG in waitpid call.
27279
db9bab09
SP
272802017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
27281
a2e0a7f1
SP
27282 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
27283 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
27284
db9bab09
SP
27285 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
27286 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
27287 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
27288 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
27289 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
27290 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
27291 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
27292 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
27293 variables.
27294
5062680c
MC
272952017-10-23 Michael Collison <michael.collison@arm.com>
27296
27297 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
27298 with __builtin_sqrt.
27299 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
27300 with __builtin_sqrtf.
27301 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
27302 with __builtin_ceil.
27303 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
27304 with __builtin_ceilf.
27305 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
27306 with __builtin_floor.
27307 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
27308 with __builtin_floorf.
27309 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
27310 with __builtin_fma.
27311 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
27312 with __builtin_fmaf.
27313 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
27314 with __builtin_fmax.
27315 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
27316 with __builtin_fmaxf.
27317 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
27318 with __builtin_fmin.
27319 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
27320 with __builtin_fminf.
27321 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
27322 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
27323 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
27324 with builtin_rint and conversion to int.
27325 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
27326 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
27327 with builtin_llround.
27328 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
27329 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
27330 with builtin_rint and conversion to long int.
27331 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
27332 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
27333 with builtin_lround.
27334 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
27335 with builtin_lroundf.
27336 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
27337 statements with __builtin_nearbyint.
27338 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
27339 statements with __builtin_nearbyintf.
27340 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
27341 with __builtin_rint.
27342 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
27343 with __builtin_rintf.
27344 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
27345 with __builtin_round.
27346 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
27347 with __builtin_roundf.
27348 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
27349 with __builtin_trunc.
27350 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
27351 with __builtin_truncf.
be080b6c
SN
27352 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
27353 and s_l[l]round[f].c too.
5062680c 27354
174935af
AM
273552017-10-23 Alan Modra <amodra@gmail.com>
27356
27357 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
27358 Adjust stack after restoring regs. Add missing LR cfi_restore.
27359
750a0e49
AM
273602017-10-23 Alan Modra <amodra@gmail.com>
27361
27362 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
27363 Move LR save and frame setup/teardown and LR restore to
27364 immediately around memset call. Provide cfi.
27365
5313581c
L
273662017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27367
27368 * sysdeps/i386/fpu/e_powf.S: Removed.
27369 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
27370 * sysdeps/i386/fpu/w_powf.c: Likewise.
27371 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
27372 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27373 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27374 Add e_powf-sse2.
27375 (CFLAGS-e_powf-sse2.c): New.
27376 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
27377 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
27378
6089a3ee
L
273792017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27380
27381 * sysdeps/i386/fpu/e_log2f.S: Removed.
27382 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
27383 * sysdeps/i386/fpu/w_log2f.c: Likewise.
27384 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
27385 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27386 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27387 Add e_log2f-sse2.
27388 (CFLAGS-e_log2f-sse2.c): New.
27389 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
27390 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
27391
80bb5935
L
273922017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27393
27394 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27395 Add e_powf-fma.
27396 (CFLAGS-e_powf-fma.c): New.
27397 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
27398 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
27399
5c7adbd8
L
274002017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27401
27402 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27403 Add e_log2f-fma.
27404 (CFLAGS-e_log2f-fma.c): New.
27405 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
27406 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
27407
0ccc7153
L
274082017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27409
27410 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27411 Add e_logf-fma.
27412 (CFLAGS-e_logf-fma.c): New.
27413 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
27414 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
27415
fe596486
L
274162017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27417
27418 * sysdeps/i386/fpu/e_logf.S: Removed.
27419 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
27420 * sysdeps/i386/fpu/w_logf.c: Likewise.
27421 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
27422 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
27423 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27424 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27425 Add e_logf-sse2.
27426 (CFLAGS-e_logf-sse2.c): New.
27427 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
27428 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
27429
7eda65f6
L
274302017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27431
27432 * sysdeps/i386/fpu/e_exp2f.S: Removed.
27433 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
27434 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
27435 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27436 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27437 Add e_exp2f-sse2.
27438 (CFLAGS-e_exp2f-sse2.c): New.
27439 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
27440 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
27441
5d15c969
L
274422017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27443
27444 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27445 Add e_exp2f-fma.
27446 (CFLAGS-e_exp2f-fma.c): New.
27447 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
27448 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
27449
b2f6137e
L
274502017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27451
27452 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
27453 * sysdeps/i386/fpu/e_expf.S: Likewise.
27454 * sysdeps/i386/fpu/math_errf.c: Likewise.
27455 * sysdeps/i386/fpu/w_expf.c: Likewise.
27456 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
27457 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27458 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
27459 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
27460 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27461 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27462 Remove e_expf-ia32.
27463 (CFLAGS-e_expf-sse2.c): New.
27464 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
27465 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
27466
e1f59beb
L
274672017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27468
27469 * sysdeps/x86_64/fpu/e_expf.S: Removed.
27470 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
27471 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
27472 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
27473 e_expf.c.
27474 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
27475 New.
27476 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
27477 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
27478 Renamed to ...
27479 (__redirect_expf): This.
27480 (SYMBOL_NAME): Changed to expf.
27481 (__ieee754_expf): Renamed to ...
27482 (__expf): This.
27483 (__GI___expf): This.
27484 (__ieee754_expf): Add strong_alias.
27485 (__expf_finite): Likewise.
27486 (__expf): New.
27487 Include <sysdeps/ieee754/flt-32/e_expf.c>.
27488
363e4519 274892017-10-22 Paul Eggert <eggert@cs.ucla.edu>
a159b53f
PE
27490
27491 [BZ #22332]
27492 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
27493 unescaping.
27494
e80fc1fc
FW
274952017-10-21 Florian Weimer <fweimer@redhat.com>
27496
27497 * posix/Makefile (tests): Add tst-glob-tilde.
27498 (tests-special): Add tst-glob-tilde-mem.out
27499 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
27500 (tst-glob-tilde-mem.out): Add mtrace check.
27501 * posix/tst-glob-tilde.c: New file.
27502
797ba44b
JM
275032017-10-20 Joseph Myers <joseph@codesourcery.com>
27504
27505 * bits/floatn-common.h: New file.
27506 * math/Makefile (headers): Add bits/floatn-common.h.
27507 * bits/floatn.h: Include <bits/floatn-common.h>.
27508 * sysdeps/ia64/bits/floatn.h: Likewise.
27509 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
27510 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
27511 * sysdeps/powerpc/bits/floatn.h: Likewise.
27512 * sysdeps/x86/bits/floatn.h: Likewise.
27513
fe05e1cb
AZ
275142017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27515
8f6f5362
AZ
27516 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
27517 indicates whether compiler emits an warning for alias for
27518 functions with incompatible types.
27519
fe05e1cb
AZ
27520 [BZ #22273]
27521 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
27522 the auxiliary process is terminated by a signal before calling _exit
27523 or execve.
27524
b52b0d79
L
275252017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27526
27527 [BZ #21265]
27528 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
27529 New.
27530 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
27531 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
27532 and bit_arch_XSAVEC_Usable if needed.
27533 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
27534 and bit_arch_Use_dl_runtime_resolve_opt.
27535 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
27536 Removed.
27537 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
27538 (bit_arch_Prefer_No_AVX512): Updated.
27539 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
27540 (bit_arch_XSAVEC_Usable): New.
27541 (STATE_SAVE_OFFSET): Likewise.
27542 (STATE_SAVE_MASK): Likewise.
27543 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
27544 (cpu_features): Add xsave_state_size and xsave_state_full_size.
27545 (index_arch_Use_dl_runtime_resolve_opt): Removed.
27546 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
27547 (index_arch_XSAVEC_Usable): New.
27548 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
27549 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
27550 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
27551 is enabled.
27552 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
27553 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
27554 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
27555 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
27556 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
27557 _dl_runtime_resolve_xsavec.
27558 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
27559 Removed.
27560 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
27561 instead of VEC_SIZE.
27562 (REGISTER_SAVE_BND0): Removed.
27563 (REGISTER_SAVE_BND1): Likewise.
27564 (REGISTER_SAVE_BND3): Likewise.
27565 (REGISTER_SAVE_RAX): Always defined to 0.
27566 (VMOV): Removed.
27567 (_dl_runtime_resolve_avx): Likewise.
27568 (_dl_runtime_resolve_avx_slow): Likewise.
27569 (_dl_runtime_resolve_avx_opt): Likewise.
27570 (_dl_runtime_resolve_avx512): Likewise.
27571 (_dl_runtime_resolve_avx512_opt): Likewise.
27572 (_dl_runtime_resolve_sse): Likewise.
27573 (_dl_runtime_resolve_sse_vex): Likewise.
27574 (USE_FXSAVE): New.
27575 (_dl_runtime_resolve_fxsave): Likewise.
27576 (USE_XSAVE): Likewise.
27577 (_dl_runtime_resolve_xsave): Likewise.
27578 (USE_XSAVEC): Likewise.
27579 (_dl_runtime_resolve_xsavec): Likewise.
27580 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
27581 Removed.
27582 (_dl_runtime_resolve_avx512_opt): Likewise.
27583 (_dl_runtime_resolve_avx): Likewise.
27584 (_dl_runtime_resolve_avx_opt): Likewise.
27585 (_dl_runtime_resolve_sse): Likewise.
27586 (_dl_runtime_resolve_sse_vex): Likewise.
27587 (_dl_runtime_resolve_fxsave): New.
27588 (_dl_runtime_resolve_xsave): Likewise.
27589 (_dl_runtime_resolve_xsavec): Likewise.
27590
363e4519 275912017-10-20 Paul Eggert <eggert@cs.ucla.edu>
c369d66e
PE
27592
27593 [BZ #22320]
27594 CVE-2017-15670
27595 * posix/glob.c (__glob): Fix one-byte overflow.
27596
6d43de4b
WD
275972017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
27598
27599 * malloc/malloc.c (sysdep-cancel.h): Add include.
27600
a15d53e2
WD
276012017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
27602
27603 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
27604
b9a558e7
WH
276052017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
27606
27607 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
27608 (tests): Remove $(objpfx)ga_test depdendency.
27609 * resolv/ga_test.c: Remove file.
27610
b6b08b8e
MF
276112017-10-20 Mike FABIAN <mfabian@redhat.com>
27612
27613 [BZ #18812]
27614 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
27615 * localedata/locales/kab_DZ: New file.
27616
9ba7e810
L
276172017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27618
27619 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
27620 _dl_relocate_static_pie instead of _dl_start to compute load
27621 address in static PIE.
27622
4027a4fd
L
276232017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27624
27625 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
27626
2f9314b4
MF
276272017-10-20 Mike FABIAN <mfabian@redhat.com>
27628
27629 [BZ #13605]
27630 * localedata/SUPPORTED: Add shn_MM/UTF-8.
27631 * localedata/locales/shn_MM: New file.
27632
63b4baa4
FW
276332017-10-20 Florian Weimer <fweimer@redhat.com>
27634
27635 [BZ #22321]
27636 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
27637 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
27638 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
27639 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
27640 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
27641 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
27642
95ccb619
L
276432017-10-19 H.J. Lu <hongjiu.lu@intel.com>
27644
27645 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27646
37bb78cb
JM
276472017-10-19 Joseph Myers <joseph@codesourcery.com>
27648
76f2ed92
JM
27649 * sysdeps/mips/ieee754/bits/floatn.h: New file.
27650
37bb78cb
JM
27651 [BZ #22322]
27652 * sysdeps/mips/bits/long-double.h: Move to ....
27653 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
27654
d74e6f6c
WD
276552017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
27656
27657 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
27658
363e4519 276592017-10-19 Valery Reznic <valery_reznic@yahoo.com>
4d916f0f
L
27660 H.J. Lu <hongjiu.lu@intel.com>
27661
27662 [BZ #22299]
27663 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
27664 GLRO(dl_platform) to NULL.
27665 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
27666 (modules-names): Add tst-platformmod-1 and
27667 x86_64/tst-platformmod-2.
27668 (CFLAGS-tst-platform-1.c): New.
27669 (CFLAGS-tst-platformmod-1.c): Likewise.
27670 (CFLAGS-tst-platformmod-2.c): Likewise.
27671 (LDFLAGS-tst-platformmod-2.so): Likewise.
27672 ($(objpfx)tst-platform-1): Likewise.
27673 ($(objpfx)tst-platform-1.out): Likewise.
27674 (tst-platform-1-ENV): Likewise.
27675 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
27676 * sysdeps/x86_64/tst-platform-1.c: New file.
27677 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
27678 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
27679
4b0fa403
MF
276802017-10-19 Mike FABIAN <mfabian@redhat.com>
27681
27682 [BZ #13994]
27683 * locale/iso-639.def: Add Karbi.
27684 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
27685 * localedata/locales/mjw_IN: New file.
27686
81325b12
JM
276872017-10-18 Joseph Myers <joseph@codesourcery.com>
27688
27689 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
27690 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
27691 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
27692 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
27693 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27694 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27695 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
27696 <bits/floatn.h>.
27697 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27698 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27699 * manual/math.texi (Mathematics): Document additional architecture
27700 support for _Float128.
27701 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27702 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27703 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27704 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27705 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27706 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27707 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27708 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27709 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27710 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27711 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27712 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27713 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27714 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27715 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27716
a68ba2f3
SN
277172017-10-18 Renlin Li <renlin.li@arm.com>
27718
27719 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
27720 _DYNAMIC symbol to calculate load address.
27721
346729f6
PC
277222017-10-18 Paul A. Clarke <pc@us.ibm.com>
27723
27724 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
27725 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
27726 summary bits.
27727 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
27728 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
27729
508b1e71
MF
277302017-10-18 Mike FABIAN <mfabian@redhat.com>
27731
27732 [BZ #16777]
27733 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
27734 and improve readability by using more ASCII.
27735 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
27736 and improve readability by using more ASCII.
27737
2c2245b9
WD
277382017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
27739
27740 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
27741 not all targets support atomics on bool.
27742
13c92696
JM
277432017-10-17 Joseph Myers <joseph@codesourcery.com>
27744
27745 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
27746 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
27747 __f128.
27748 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27749 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
27750 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27751 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
27752 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27753 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
27754
71d85045
AZ
277552017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27756
27757 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
27758 defines.
27759
3381be5c
WD
277602017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27761
27762 [BZ #22159]
27763 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
27764 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
27765 (do_check_remalloced_chunk): Fix build bug.
27766 (do_check_malloc_state): Add assert that checks arena->top.
27767 (malloc_consolidate): Remove initialization.
27768 (int_mallinfo): Remove call to malloc_consolidate.
6b5c8607 27769 (__libc_mallopt): Clarify why malloc_consolidate is needed.
3381be5c 27770
e956075a
WD
277712017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27772
27773 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
27774 (have_fastchunks): Remove.
27775 (clear_fastchunks): Remove.
27776 (set_fastchunks): Remove.
27777 (malloc_state): Add have_fastchunks.
27778 (malloc_init_state): Use have_fastchunks.
27779 (do_check_malloc_state): Remove incorrect invariant checks.
27780 (_int_malloc): Use have_fastchunks.
27781 (_int_free): Likewise.
27782 (malloc_consolidate): Likewise.
27783
e4dd4ace
WD
277842017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27785
27786 * malloc/malloc.c (tcache_put): Inline.
27787 (tcache_get): Inline.
27788
5bf58bc7
AJ
277892017-10-17 Jordi Mallach <jordi@gnu.org>
27790
27791 Aurelien Jarno <aurelien@aurel32.net>
27792 [BZ #2522]
27793 * localedata/locales/ca_ES@valencia: New file.
27794 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
27795
386e1c26
RN
277962017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
27797
27798 [BZ #22296]
27799 * math/math.h: Let signbit use the builtin in C++ mode with gcc
27800 < 6.x
27801
4e17c78e
AZ
278022017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27803
3d265601
AZ
27804 * scripts/build-many-glibcs.py (Context.add_all_configs):
27805 Add arm-linux-gnueabihf multiarch extra_glibcs.
27806
4e17c78e
AZ
27807 * sysdeps/generic/ifunc-init.h: New file.
27808 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
27809
56a752ab
MF
278102017-10-17 Mike FABIAN <mfabian@redhat.com>
27811
27812 [BZ #22019]
27813 * localedata/locales/el_GR: Set n_cs_precedes to 0.
27814 * localedata/locales/el_CY: copy "el_GR" because it is identical.
27815 * stdlib/tst-strfmon_l.c: adapt test case.
27816
c38a4bfd
JM
278172017-10-16 Joseph Myers <joseph@codesourcery.com>
27818
27819 * sysdeps/generic/float128-abi.h: New file.
27820 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
27821 non-__prefixed symbols to ....
27822 * math/Versions: ... here. Include <float128-abi.h>.
27823 * stdlib/Versions ... and here. Include <float128-abi.h>
27824
76009b26
FW
278252017-10-16 Florian Weimer <fweimer@redhat.com>
27826
27827 * version.h (VERSION): Switch to ".9000" as the development
27828 version suffix.
27829
7ece6cd5
FW
278302017-10-16 Florian Weimer <fweimer@redhat.com>
27831
27832 [BZ #22050]
27833 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
27834 compat_symbol_reference to access non-default version.
27835
d8287b36
FW
278362017-10-16 Florian Weimer <fweimer@redhat.com>
27837
27838 * malloc/Makefile (others-extras): Set to mcheck-init.o.
27839
3480ddc4
CD
278402017-10-16 Carlos O'Donell <carlos@redhat.com>
27841
27842 * include/shlib-compat.h (compat_symbol_reference): Update
27843 comment.
27844
02010e79
JM
278452017-10-16 Joseph Myers <joseph@codesourcery.com>
27846
596f7013
JM
27847 * math/Makefile (test-types): Add
27848 $(type-float128-$(float128-alias-fcts)).
27849 * math/test-float128.h (TYPE_STR): Define conditional on
27850 [FLT128_MANT_DIG == LDBL_MANT_DIG].
27851 (ULP_IDX): Likewise.
27852 (ULP_I_IDX): Likewise.
27853
02010e79
JM
27854 * stdlib/strtold.c: Include <bits/floatn.h>
27855 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
27856 and later undefine as macro. Define as weak alias if
27857 [!USE_WIDE_CHAR].
27858 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
27859 and later undefine as macro. Define as weak alias if
27860 [USE_WIDE_CHAR].
27861 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
27862 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
27863 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27864 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27865 Define and later undefine as macro. Define as weak alias if
27866 [USE_WIDE_CHAR].
27867 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
27868 <bits/floatn.h>.
27869 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
27870 Define and later undefine as macro. Define as weak alias if
27871 [!USE_WIDE_CHAR].
27872 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27873 Define and later undefine as macro. Define as weak alias if
27874 [USE_WIDE_CHAR].
27875
ea91c315
CD
278762017-10-15 Carlos O'Donell <carlos@redhat.com>
27877
27878 * localedata/collate-test.c (allocate_arrays): Don't use \n in
27879 record_verbose messages.
27880
8e57c943
L
278812017-10-15 H.J. Lu <hongjiu.lu@intel.com>
27882
27883 [BZ #22052]
27884 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
27885 to silence -O3 -Wall warning with GCC 7.
27886
a4777c46
L
278872017-10-14 H.J. Lu <hongjiu.lu@intel.com>
27888
27889 * Makeconfig (+link-static-before-libc): Use the first of
27890 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
27891 * gmon/Makefile (tests): Add tst-gmon-static.
27892 (tests-static): Likewise.
27893 (CFLAGS-tst-gmon-static.c): New.
27894 (CRT-tst-gmon-static): Likewise.
27895 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
27896 (tst-gmon-static-ENV): Likewise.
27897 (tests-special): Likewise.
27898 ($(objpfx)tst-gmon-static.out): Likewise.
27899 (clean-tst-gmon-static-data): Likewise.
27900 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
27901 * gmon/tst-gmon-static-gprof.sh: New file.
27902 * gmon/tst-gmon-static.c: Likewise.
27903
bc3821bb
CD
279042017-10-13 Carlos O'Donell <carlos@redhat.com>
27905
27906 [BZ #22295]
27907 * locale/programs/linereader.c (get_string): Don't warn on
27908 non-symbolic character.
27909
a3e23a2c
CD
27910 [BZ #22294]
27911 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
27912 int_curr_symbol.
27913
f16491eb
CD
27914 [BZ #22292]
27915 * locale/programs/record-status.h: New file
27916 * locale/programs/locale.c: Add comment.
27917 * locale/programs/charmap-dir.c: Don't include error.h.
27918 (charmap_opendir): Use record_error.
27919 * locale/programs/charmap.c: Don't include error.h.
27920 (charmap_read): Use record_error, and record_warning.
27921 (parse_charmap): Likewise.
27922 * locale/programs/ld-address.c: Don't include error.h.
27923 (address_finish): Use record_error, and record_warning.
27924 * locale/programs/ld-collate.c: Don't include error.h.
27925 (collate_finish): Use record_error, and record_error_at_line.
27926 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
27927 (ctype_class_new): Likewise.
27928 (ctype_map_new): Likewise.
27929 (set_one_default): Likewise.
27930 (set_class_defaults): Likewise.
27931 (translit_flatten): Likewise.
27932 (allocate_arrays): Use record_error, and record_verbose.
27933 * locale/programs/ld-identification.c: Don't include error.h.
27934 (indentation_finish): Use record_error and record_warning.
27935 * locale/programs/ld-measurement.c: Don't include error.h.
27936 (measurement_finish): Use record_error.
27937 * locale/programs/ld-messages.c
27938 (message_finish): Likewise.
27939 * locale/programs/ld-monetary.c
27940 (monetary_finish): Likewise.
27941 * locale/programs/ld-name.c (name_finish): Use record_error
27942 and record_warning.
27943 * locale/programs/ld-numeric.c
27944 (numeric_finish): Use record_error.
27945 * locale/programs/ld-paper.c: Don't include error.h.
27946 (paper_finish): Use record_error.
27947 * locale/programs/ld-telephone.c: Don't include error.h.
27948 (telephone_finish): Use record_error.
27949 * locale/programs/ld-time.c (time_finish): Likewise.
27950 * locale/programs/linereader.h (lr_error): Make inline func.
27951 * locale/programs/localedef.c: Define recorded_warning_count,
27952 and recorded_error_count.
27953 (main): Use record_error. Use recorded_error_count and
27954 recorded_warning_count to issue correct error returns.
27955 (add_to_readlist): Use record_error.
27956 (find_locale): Likewise.
27957 (load_locale): Likewise.
27958 * locale/programs/localedef.h: Remove be_quiet
27959 and WITH_CUR_LOCALE.
27960 * locale/programs/locarchive.c (compare_from_file): Use
27961 record_error.
27962 * locale/programs/locfile.c (write_locale_data): Use
27963 record_error.
27964 * locale/programs/repertoire.c: Dont include error.h.
27965 (repertoire_complain): Use record_error.
27966 * localedata/tst-fmon.sh: Expect failures from localedef.
27967 * localedata/tst-locale.sh: Likewise.
27968 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
27969
8dc8be75
CD
27970 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
27971 (REPORTS): Likewise.
27972 (check): Likewise.
27973 (i18n): Rename to...
27974 (i18n_ctype): ...this.
27975 (i18n-report): Rename to...
27976 (i18n_ctype-report): ...this.
27977 * localedata/locales/i18n_ctype: Regenerate.
27978 * localedata/locales/i18n: copy i18n_ctype.
27979
f8718a9e
JM
279802017-10-13 Joseph Myers <joseph@codesourcery.com>
27981
18c08b96
JM
27982 * stdlib/strfroml.c: Include <bits/floatn.h>.
27983 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
27984 Define before include of <stdlib.h> and undefine afterwards, then
27985 define as weak alias.
27986
f8718a9e
JM
27987 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
27988 Undefine and restore default definition. Use
27989 libm_alias_ldouble_other.
27990
e4f530da
PZ
279912017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
27992
27993 [BZ #22153]
27994 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
27995 in coredumps.
27996
86445888
JC
279972017-10-13 James Clarke <jrtc27@jrtc27.com>
27998
27999 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28000 Assign sym_map to be map for local symbols, as TLS relocations
28001 use sym_map to determine whether the symbol is defined and to
28002 extract the TLS information.
28003 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28004 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28005
179dcdb7
TMQMF
280062017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28007
e8dbd6a3
TMQMF
28008 [BZ #22189]
28009 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
28010 (math_force_eval): Add powerpc version.
28011
179dcdb7
TMQMF
28012 [BZ #22142]
28013 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
28014 -DBL_MAX.
28015 (do_test): Likewise.
28016 * stdio-common/tst-printf.sh: Likewise.
28017 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
28018 ifdef clause in order to set the carry bit right. Replace r0 by
28019 0 without changing the behavior.
28020
7d25d410
JM
280212017-10-13 Joseph Myers <joseph@codesourcery.com>
28022
006e7664
JM
28023 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
28024 <libm-alias-ldouble.h>.
28025 (fabsl): Define using libm_alias_ldouble.
28026 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
28027 <libm-alias-ldouble.h>.
28028 (fabsl): Define using libm_alias_ldouble.
28029
1def91b3
JM
28030 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
28031 Remove conditional code.
28032
7d25d410
JM
28033 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
28034 Rename to __clog10_internal_l.
28035 (__clog10_internal_l): Define aliases using
28036 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
28037 with __clog10.
28038
077ee129
RS
280392017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28040
28041 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
28042 * benchtests/sincosf-inputs: New file.
28043 * benchtests/cosf-inputs: New file.
28044 * benchtests/sinf-inputs: New file.
28045
5ba41de9
SN
280462017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
28047
28048 * posix/tst-spawn.c (do_test): Wait for both children.
28049
d165ca64
L
280502017-10-12 H.J. Lu <hongjiu.lu@intel.com>
28051
28052 [BZ #22284]
28053 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
28054 tests-pie): Add tst-gmon-pie.
28055 (CFLAGS-tst-gmon-pie.c): New.
28056 (CRT-tst-gmon-pie): Likewise.
28057 (tst-gmon-pie-ENV): Likewise.
28058 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
28059 ($(objpfx)tst-gmon-pie.out): Likewise.
28060 (clean-tst-gmon-pie-data): Likewise.
28061 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
28062 * gmon/gmon.c [PIC]: Include <link.h>.
28063 [PIC] (callback): New function.
28064 (write_hist): Add an argument for load address. Subtract load
28065 address from PCs.
28066 (write_call_graph): Likewise.
28067 (write_gmon): Call __dl_iterate_phdr to get load address, pass
28068 it to write_hist and write_call_graph.
7bacdcfc 28069 * gmon/tst-gmon-pie.c: New file.
d165ca64 28070
bc9620d0
JM
280712017-10-11 Joseph Myers <joseph@codesourcery.com>
28072
28073 * math/Makefile (test-types-basic): New variable.
28074 (test-types): Likewise.
28075 (libm-test-support): Use $(test-types) instead of $(types).
28076 (libm-tests-base-normal): Likewise.
28077 (libm-tests-base-finite): Likewise.
28078 (libm-tests-base-inline): Likewise.
28079 (generated): Likewise.
28080 ($(objpfx)libm-test-support-$(t).c): Likewise.
28081 (libm-tests-for-type iterator): Likewise.
28082 (libm-test-support iterator): Likewise.
28083 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
28084 (ulp_idx): Use ULP_IDX.
28085 * math/test-ldouble.h: Include <float.h>.
28086 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
28087 (ULP_IDX): New macro.
28088 (ULP_I_IDX): Likewise.
28089 * math/test-double.h (ULP_IDX): Likewise.
28090 (ULP_I_IDX): Likewise.
28091 * math/test-float.h (ULP_IDX): Likewise.
28092 (ULP_I_IDX): Likewise.
28093 * math/test-float128.h (ULP_IDX): Likewise.
28094 (ULP_I_IDX): Likewise.
28095
09c76a74
AZ
280962017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28097
28098 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
28099 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28100 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28101 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
28102 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28103 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
28104 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
28105 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28106 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28107 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28108 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
28109 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28110 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28111 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28112 (SINGLE_THREAD_BY_GLOBAL): Define.
28113 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28114 Likewise.
28115 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28116 Likewise.
28117 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28118 Likewise.
28119 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28120 Likewise.
28121 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
28122 (SINGLE_THREAD_BY_GLOBAL): Likewise.
28123 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28124 Likewise.
28125
2faa42da
AS
281262017-10-11 Andreas Schwab <schwab@suse.de>
28127
28128 * nis/Makefile (aux): Remove.
28129 * nscd/Makefile (aux): Add nscd_hash.
28130 (nscd-modules): Likewise.
28131 ($(objpfx)nscd): Don't depend on libnsl.
28132 * nscd/nscd_hash.c: New file.
28133 * nscd/nscd_hash.h: Likewise.
28134 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
28135 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
28136 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
28137 instead of <nis/rpcsvc/nis.h>.
28138 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
28139
d8425e11
FW
281402017-10-11 Florian Weimer <fweimer@redhat.com>
28141
28142 [BZ #22078]
28143 Avoid large NSS buffers with many addresses, aliases.
28144 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
28145 using dynarrays and struct alloc_buffer.
28146 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
28147 (tst-nss-files-hosts-multi): Link with -ldl.
28148 * nss/tst-nss-files-hosts-multi.c: New file.
28149
78e806fd
FW
281502017-10-11 Florian Weimer <fweimer@redhat.com>
28151
28152 [BZ #18023]
28153 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
28154 scratch_buffer. Eliminate gotos.
28155
541f19ba
JM
281562017-10-11 Joseph Myers <joseph@codesourcery.com>
28157
0ff64d3a
JM
28158 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
28159 libm_alias_ldouble_other.
28160 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
28161 undefine and redefine.
28162 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
28163 (exp10l): Do not define here.
28164 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
28165 (weak_alias): Undefine and redefine.
28166 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
28167 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
28168 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
28169 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
28170
541f19ba
JM
28171 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
28172 [!__fma] (fma): Define using libm_alias_double.
28173 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
28174 [!__fmaf] (fmaf): Define using libm_alias_float.
28175 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
28176 (fmal): Define using libm_alias_ldouble.
28177
24b6515d
JM
281782017-10-10 Joseph Myers <joseph@codesourcery.com>
28179
28180 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
28181 New macro.
28182 (libm_alias_double_other): Likewise.
28183 (libm_alias_double_r): Use libm_alias_double_other_r.
28184 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
28185 New macro.
28186 (libm_alias_float_other): Likewise.
28187 (libm_alias_float_r): Use libm_alias_float_other_r.
28188 * sysdeps/generic/libm-alias-float128.h
28189 (libm_alias_float128_other_r): New macro.
28190 (libm_alias_float128_other): Likewise.
28191 (libm_alias_float128_r): Use libm_alias_float128_other_r.
28192 * sysdeps/generic/libm-alias-ldouble.h
28193 (libm_alias_ldouble_other_r): New macro.
28194 (libm_alias_ldouble_other): Likewise.
28195 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
28196 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
28197 (libm_alias_double_other_r): New macro.
28198 (libm_alias_double_other): Likewise.
28199 (libm_alias_double_r): Use libm_alias_double_other_r.
28200 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
28201 (libm_alias_ldouble_other_r): New macro.
28202 (libm_alias_ldouble_other): Likewise.
28203 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
28204 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
28205 [!USE_AS_COMPAT]: Use libm_alias_double_other.
28206 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
28207 [!USE_AS_COMPAT]: Use libm_alias_float_other.
28208 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
28209 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
28210 * math/w_exp2f.c: Use libm_alias_float_other.
28211 * math/w_expf.c: Likewise.
28212 * math/w_log2f.c: Likewise.
28213 * math/w_logf.c: Likewise.
28214 * math/w_powf.c: Likewise.
28215 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
28216 [!__exp2f]: Use libm_alias_float_other.
28217 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
28218 [!__expf]: Use libm_alias_float_other.
28219 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
28220 [!__log2f]: Use libm_alias_float_other.
28221 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
28222 [!__logf]: Use libm_alias_float_other.
28223 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
28224 [!__powf]: Use libm_alias_float_other.
28225
8ed70de2
FW
282262017-10-10 Florian Weimer <fweimer@redhat.com>
28227
28228 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
28229 function.
28230 (_nss_files_gethostbyname3_r): Call it.
28231
a8dce619
JM
282322017-10-09 Joseph Myers <joseph@codesourcery.com>
28233
28234 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
28235 error. Remove default definition of declare_mgen_alias.
28236 [!declare_mgen_alias_r]: Likewise.
28237 * sysdeps/generic/math-type-macros-double.h
28238 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
28239 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
28240 (declare_mgen_alias_r): Likewise.
28241 * sysdeps/generic/math-type-macros-float128.h
28242 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
28243 * sysdeps/generic/math-type-macros-ldouble.h
28244 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
28245 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
28246 macro.
28247 (declare_mgen_alias_r_s): Likewise.
28248 (declare_mgen_alias_r): Likewise.
28249 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
28250 (lgamma_r): Define using libm_alias_double_r.
28251 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
28252 (lgammaf_r): Define using libm_alias_float_r.
28253 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
28254 (lgammal_r): Define using libm_alias_ldouble_r.
28255 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
28256 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
28257
bedac136
AZ
282582017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28259
28260 * lib/glob.c (__glob_pattern_type): Remove now-spurious
28261 extern declaration.
28262
c7509db2
JM
282632017-10-09 Joseph Myers <joseph@codesourcery.com>
28264
28265 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
28266
d6c064e9
JW
282672017-10-09 Jonathan Wakely <jwakely@redhat.com>
28268
28269 [BZ #21326]
28270 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
28271 [__cplusplus >= 201103] (__USE_ISOC99): Define.
28272 * math/Makefile (test-math-cxx11): New test.
28273 * math/test-math-cxx11.cc: New file.
28274
98e07420
CB
282752017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
28276
28277 * login/openpty.c (openpty): Close slave pty file descriptor on error.
28278
645ac9aa
CB
28279 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
28280 call to allocate the slave pty file descriptor.
28281
fd3b4e7c
JM
282822017-10-06 Joseph Myers <joseph@codesourcery.com>
28283
f85a176f
JM
28284 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
28285 [!__fma] (fma): Define using libm_alias_double.
28286 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
28287 [!__fma] (fma): Define using libm_alias_double.
28288
fd3b4e7c
JM
28289 * sysdeps/ieee754/float128/float128_private.h: Include
28290 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
28291 (libm_alias_ldouble_r): Undefine and redefine.
28292 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
28293 <libm-alias-ldouble.h>.
28294 (asinhl): Define using libm_alias_ldouble.
28295 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
28296 <libm-alias-ldouble.h>.
28297 (atanl): Define using libm_alias_ldouble.
28298 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
28299 <libm-alias-ldouble.h>.
28300 (cbrtl): Define using libm_alias_ldouble.
28301 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
28302 <libm-alias-ldouble.h>.
28303 (ceill): Define using libm_alias_ldouble.
28304 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
28305 <libm-alias-ldouble.h>.
28306 (copysignl): Define using libm_alias_ldouble.
28307 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
28308 <libm-alias-ldouble.h>.
28309 (cosl): Define using libm_alias_ldouble.
28310 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
28311 <libm-alias-ldouble.h>.
28312 (erfl): Define using libm_alias_ldouble.
28313 (erfcl): Likewise.
28314 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
28315 <libm-alias-ldouble.h>.
28316 (expm1l): Define using libm_alias_ldouble.
28317 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
28318 <libm-alias-ldouble.h>.
28319 (fabsl): Define using libm_alias_ldouble.
28320 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
28321 <libm-alias-ldouble.h>.
28322 (floorl): Define using libm_alias_ldouble.
28323 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
28324 <libm-alias-ldouble.h>.
28325 (fmal): Define using libm_alias_ldouble.
28326 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
28327 <libm-alias-ldouble.h>.
28328 (frexpl): Define using libm_alias_ldouble.
28329 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
28330 libm_alias_ldouble.
28331 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
28332 <libm-alias-ldouble.h>.
28333 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
28334 libm_alias_ldouble.
28335 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
28336 <libm-alias-ldouble.h>.
28337 (getpayloadl): Define using libm_alias_ldouble.
28338 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
28339 <libm-alias-ldouble.h>.
28340 (llrintl): Define using libm_alias_ldouble.
28341 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
28342 <libm-alias-ldouble.h>.
28343 (llroundl): Define using libm_alias_ldouble.
28344 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
28345 <libm-alias-ldouble.h>.
28346 (logbl): Define using libm_alias_ldouble.
28347 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
28348 <libm-alias-ldouble.h>.
28349 (lrintl): Define using libm_alias_ldouble.
28350 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
28351 <libm-alias-ldouble.h>.
28352 (lroundl): Define using libm_alias_ldouble.
28353 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
28354 <libm-alias-ldouble.h>.
28355 (modfl): Define using libm_alias_ldouble.
28356 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
28357 <libm-alias-ldouble.h>.
28358 (nearbyintl): Define using libm_alias_ldouble.
28359 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
28360 <libm-alias-ldouble.h>.
28361 (nextafterl): Define using libm_alias_ldouble.
28362 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
28363 <libm-alias-ldouble.h>.
28364 (nextupl): Define using libm_alias_ldouble.
28365 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
28366 <libm-alias-ldouble.h>.
28367 (remquol): Define using libm_alias_ldouble.
28368 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
28369 <libm-alias-ldouble.h>.
28370 (rintl): Define using libm_alias_ldouble.
28371 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
28372 <libm-alias-ldouble.h>.
28373 (roundevenl): Define using libm_alias_ldouble.
28374 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
28375 <libm-alias-ldouble.h>.
28376 (roundl): Define using libm_alias_ldouble.
28377 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
28378 using libm_alias_ldouble.
28379 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
28380 <libm-alias-ldouble.h>.
28381 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
28382 Define using libm_alias_ldouble.
28383 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
28384 <libm-alias-ldouble.h>.
28385 (sincosl): Define using libm_alias_ldouble.
28386 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
28387 <libm-alias-ldouble.h>.
28388 (sinl): Define using libm_alias_ldouble.
28389 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
28390 <libm-alias-ldouble.h>.
28391 (tanhl): Define using libm_alias_ldouble.
28392 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
28393 <libm-alias-ldouble.h>.
28394 (tanl): Define using libm_alias_ldouble.
28395 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
28396 <libm-alias-ldouble.h>.
28397 (totalorderl): Define using libm_alias_ldouble.
28398 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
28399 <libm-alias-ldouble.h>.
28400 (totalordermagl): Define using libm_alias_ldouble.
28401 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
28402 <libm-alias-ldouble.h>.
28403 (truncl): Define using libm_alias_ldouble.
28404 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
28405 libm_alias_ldouble.
28406 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
28407 libm_alias_ldouble.
28408 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
28409 <libm-alias-ldouble.h>.
28410 (weak_alias): Do not undefine and redefine.
28411 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28412 (copysignl): Define with long_double_symbol only if [IS_IN
28413 (libc)].
28414 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
28415 <libm-alias-ldouble.h>.
28416 (weak_alias): Do not undefine and redefine.
28417 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28418 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
28419 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
28420 <libm-alias-ldouble.h>.
28421 (weak_alias): Do not undefine and redefine.
28422 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28423 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
28424 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
28425 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
28426 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
28427 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
28428 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
28429 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
28430 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
28431 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
28432 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
28433 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
28434 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
28435 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
28436 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
28437 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
28438 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
28439 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
28440 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
28441 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
28442 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
28443 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
28444 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
28445 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
28446 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
28447 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
28448
1e26d351
CD
284492017-10-06 Carlos O'Donell <carlos@redhat.com>
28450
28451 [BZ #22111]
28452 * malloc/malloc.c (tcache_shutting_down): Use bool type.
28453 (tcache_thread_freeres): Set tcache_shutting_down before
28454 freeing the tcache.
28455 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
28456 * malloc/tst-malloc-tcache-leak.c: New file.
28457
d1386762
RS
284582017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28459
28460 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
28461 back to powerpc32 file.
28462 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
28463 (memrchr): Add __memrchr_power8 to ifunc list.
28464 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
28465 extra bytes for unaligned inputs.
28466
6dff1983
JM
284672017-10-06 Joseph Myers <joseph@codesourcery.com>
28468
28469 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
28470 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
28471 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
28472 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
28473 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
28474
86f9568a
JM
284752017-10-05 Joseph Myers <joseph@codesourcery.com>
28476
0db0b931
JM
28477 * sysdeps/arm/libm-test-ulps: Update.
28478
86f9568a
JM
28479 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
28480 <libm-alias-ldouble.h>.
28481 (asinhl): Define using libm_alias_ldouble.
28482 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
28483 <libm-alias-ldouble.h>.
28484 (cbrtl): Define using libm_alias_ldouble.
28485 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
28486 <libm-alias-ldouble.h>.
28487 (copysignl): Define using libm_alias_ldouble.
28488 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
28489 <libm-alias-ldouble.h>.
28490 (cosl): Define using libm_alias_ldouble.
28491 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
28492 <libm-alias-ldouble.h>.
28493 (erfl): Define using libm_alias_ldouble.
28494 (erfcl): Likewise.
28495 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
28496 <libm-alias-ldouble.h>.
28497 (fmal): Define using libm_alias_ldouble.
28498 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
28499 <libm-alias-ldouble.h>.
28500 (frexpl): Define using libm_alias_ldouble.
28501 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
28502 libm_alias_ldouble.
28503 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
28504 <libm-alias-ldouble.h>.
28505 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
28506 libm_alias_ldouble.
28507 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
28508 <libm-alias-ldouble.h>.
28509 (getpayloadl): Define using libm_alias_ldouble.
28510 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
28511 <libm-alias-ldouble.h>.
28512 (llrintl): Define using libm_alias_ldouble.
28513 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
28514 <libm-alias-ldouble.h>.
28515 (llroundl): Define using libm_alias_ldouble.
28516 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
28517 <libm-alias-ldouble.h>.
28518 (lrintl): Define using libm_alias_ldouble.
28519 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
28520 <libm-alias-ldouble.h>.
28521 (lroundl): Define using libm_alias_ldouble.
28522 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
28523 <libm-alias-ldouble.h>.
28524 (modfl): Define using libm_alias_ldouble.
28525 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
28526 <libm-alias-ldouble.h>.
28527 (nextupl): Define using libm_alias_ldouble.
28528 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
28529 <libm-alias-ldouble.h>.
28530 (remquol): Define using libm_alias_ldouble.
28531 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
28532 <libm-alias-ldouble.h>.
28533 (roundevenl): Define using libm_alias_ldouble.
28534 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
28535 <libm-alias-ldouble.h>.
28536 (roundl): Define using libm_alias_ldouble.
28537 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
28538 using libm_alias_ldouble.
28539 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
28540 <libm-alias-ldouble.h>.
28541 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
28542 <libm-alias-ldouble.h>.
28543 (setpayloadsigl): Define using libm_alias_ldouble.
28544 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
28545 <libm-alias-ldouble.h>.
28546 (sincosl): Define using libm_alias_ldouble.
28547 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
28548 <libm-alias-ldouble.h>.
28549 (sinl): Define using libm_alias_ldouble.
28550 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
28551 <libm-alias-ldouble.h>.
28552 (tanhl): Define using libm_alias_ldouble.
28553 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
28554 <libm-alias-ldouble.h>.
28555 (tanl): Define using libm_alias_ldouble.
28556 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
28557 <libm-alias-ldouble.h>.
28558 (totalorderl): Define using libm_alias_ldouble.
28559 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
28560 <libm-alias-ldouble.h>.
28561 (totalordermagl): Define using libm_alias_ldouble.
28562 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
28563 libm_alias_ldouble.
28564 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
28565 libm_alias_ldouble.
28566
9ec87fd2
SP
285672017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
28568
dd5bc7f1
SP
28569 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
28570 memmove_falkor.
28571 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
28572 (__libc_ifunc_impl_list): Likewise.
28573 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
28574 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
28575
5bfb0404
SP
28576 * benchtests/bench-memmove-walk.c: New file.
28577 * benchtests/Makefile (string-benchset): Add it.
28578
36bb8edf
SP
28579 * benchtests/bench-memset-walk.c: New file.
28580 * benchtests/Makefile (string-benchset): Add it.
28581
9ec87fd2
SP
28582 * benchtests/bench-memcpy-walk.c: New file.
28583 * benchtests/Makefile (string-benchset): Add it.
28584
1e9522c6
FW
285852017-10-05 Florian Weimer <fweimer@redhat.com>
28586
28587 nscd: Eliminate compilation time dependency in the build output.
28588 * nscd/nscd_stat.c (STATDATA_VERSION)
28589 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
28590 (STATDATA_VERSION_FULL): New macro definitions.
28591 (compilation): Remove.
28592 (struct statdata): Adjust version member.
28593 (send_stats): Set version from STATDATA_VERSION_FULL.
28594 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
28595
644d3857
JM
285962017-10-05 Joseph Myers <joseph@codesourcery.com>
28597
28598 * configure.ac (--enable-add-ons): Remove option.
28599 (machine): Do not mention add-ons in comment.
28600 (LIBC_PRECONFIGURE): Likewise.
28601 (add_ons): Remove variable and sanity checks and logic to locate
28602 add-ons.
28603 (add_ons_automatic): Remove variable.
28604 (configured_add_ons): Likewise.
28605 (add_ons_sfx): Likewise.
28606 (add_ons_pfx): Likewise.
28607 (add_on_subdirs): Likewise.
28608 (sysnames_add_ons): Likewise. Remove loop over add-ons and
28609 consideration of add-ons in Implies handling.
28610 (sysdeps_add_ons): Likewise.
28611 * configure: Regenerated.
28612 * libidn/configure.ac: Remove.
28613 * libidn/configure: Likewise.
28614 * sysdeps/unix/inet/configure.ac: New file.
28615 * sysdeps/unix/inet/configure: New generated file.
28616 * sysdeps/unix/inet/Subdirs: Add libidn.
28617 * Makeconfig (sysdeps-srcdirs): Remove variable.
28618 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
28619 ($(common-objpfx)config.status): Do not depend on add-on files.
28620 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
28621 comment.
28622 (all-subdirs): Do not include $(add-on-subdirs).
28623 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
28624 * config.make.in (add-ons): Remove variable.
28625 (add-on-subdirs): Likewise.
28626 (sysdeps-add-ons): Likewise.
28627 * manual/Makefile (add-chapters): Remove.
28628 ($(objpfx)texis): Do not depend on $(add-chapters).
28629 (nonexamples): Do not handle $(add-chapters).
28630 (examples): Do not handle $(add-ons).
28631 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
28632 libc-texinfo.sh.
28633 * manual/install.texi (Installation): Do not mention add-ons.
28634 (--enable-add-ons): Do not document configure option.
28635 * INSTALL: Regenerated.
28636 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
28637 * manual/maint.texi (Hierarchy Conventions): Do not mention
28638 add-ons.
28639 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
28640 --enable-add-ons.
28641 * scripts/gen-sorted.awk: Do not handle Subdirs files from
28642 add-ons.
28643 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
28644 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
28645
19f82f35
AS
286462017-10-05 Andreas Schwab <schwab@suse.de>
28647
28648 [BZ #15142]
28649 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
28650 (_IO_flush_all_lockp): Always lock list_all_lock.
28651 (_IO_flush_all_linebuffered): Likewise.
28652 (_IO_unbuffer_all): Likewise.
28653
91e7cf98
FW
286542017-10-05 Florian Weimer <fweimer@redhat.com>
28655
28656 [BZ #15436]
28657 Do not flush stdio streams on abort.
28658 * stdlib/abort.c (fflush): Remove macro definition.
28659 (abort): Remove stages related to stdio flushing.
28660
0c251257
FW
286612017-10-05 Florian Weimer <fweimer@redhat.com>
28662
28663 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
28664
7ea59e3e
SL
286652017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
28666
28667 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28668
84d0e6f0
FW
286692017-10-05 Florian Weimer <fweimer@redhat.com>
28670
28671 * support/support_format_hostent.c (support_format_hostent): Add
28672 more error information for NETDB_INTERNAL.
28673
ee417882
L
286742017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28675
28676 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
28677 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
28678 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
28679 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
28680 AC_DEFINE if multi-arch is enabled.
28681 * sysdeps/i386/configure: Regenerated.
28682
a67029ff
L
286832017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28684
28685 * Makeconfig (+link-static-before-libc): Use
28686 $(DEFAULT-LDFLAGS-$(@F)).
28687 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
28688 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
28689 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
28690
5dba84b3
L
286912017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28692
28693 * elf/Makefile (tests): Add tst-main1.
28694 (modules-names): Add tst-main1mod.
28695 ($(objpfx)tst-main1): New.
28696 (CRT-tst-main1): Likewise.
28697 (LDFLAGS-tst-main1): Likewise.
28698 (LDLIBS-tst-main1): Likewise.
28699 (tst-main1mod.so-no-z-defs): Likewise.
28700 * elf/tst-main1.c: New file.
28701 * elf/tst-main1mod.c: Likewise.
28702
758f1bfa
L
287032017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28704
28705 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
28706
7e16a5d1
JM
287072017-10-04 Joseph Myers <joseph@codesourcery.com>
28708
28709 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
28710 (fma): Define using libm_alias_double.
28711 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
28712 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
28713 <math_ldbl_opt.h>.
28714 (fmal): Do not define as compat symbol here.
28715 * sysdeps/alpha/fpu/s_fma.c: New file.
28716
db4f87ba
SN
287172017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28718
28719 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
28720
72d13ed1
JM
287212017-10-04 Joseph Myers <joseph@codesourcery.com>
28722
32d372d5
JM
28723 [BZ #22229]
28724 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
28725 <math_ldbl_opt.h>
28726 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
28727 and libc.
28728 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
28729 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
28730 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
28731 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
28732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28733 Include <math_ldbl_opt.h>
28734 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
28735 and libc.
28736 (compat_symbol): Undefine and redefine.
28737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
28738 <math_ldbl_opt.h>
28739 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
28740 (compat_symbol): Undefine and redefine.
28741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
28742 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
28743 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
28744 GLIBC_2_1 for libm.
28745 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
28746 GLIBC_2.0 copysignl symbol.
28747 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
28748 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
28749
72d13ed1
JM
28750 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
28751
11c4f501
FW
287522017-10-04 Florian Weimer <fweimer@redhat.com>
28753
28754 * scripts/check-local-headers.sh: Ignore nspr4 header file
28755 directory in addition to nspr.
28756
57b4af19
GT
287572017-10-04 Guido Trentalancia <guido@trentalancia.net>
28758
28759 [BZ #17956]
28760 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
28761 * configure: Regenerate.
28762 * crypt/Makefile (nss-cpp-flags): New variable.
28763 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
28764 (CPPFLAGS-md5-crypt.c): Use it.
28765 * scripts/check-local-headers.sh: Ignore nspr header file
28766 directory.
28767
64d1e08e
AS
287682017-10-04 Andreas Schwab <schwab@suse.de>
28769
28770 * nis/Makefile (services): Remove compat.
28771 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
28772 ($(objpfx)libnss_compat.so): Remove rule.
28773 * nis/Versions (libnss_compat): Remove.
28774 * nss/Makefile (services): Add compat.
28775 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
28776 * nss/Versions (libnss_compat): Define.
28777 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
28778 Don't include <rpc/types.h>. Replace bool_t by bool.
28779 * nss/nss_compat/compat-initgroups.c: Likewise.
28780 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
28781 instead of <rpcsrv/ypclnt.h>.
28782 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
28783 yp_get_default_domain.
28784 * nss/nss_compat/compat-pwd.c: Likewise.
28785 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
28786 yp_get_default_domain.
28787 * nss/nss_compat/nisdomain.c: New file.
28788 * nss/nss_compat/nisdomain.h: Likewise.
28789
86c27ade
SN
287902017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28791
28792 [BZ #22244]
28793 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
28794 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28795
8f8f8ef7
SN
287962017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28797
28798 [BZ #22243]
28799 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
28800 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
28801
95577475
L
288022017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28803
28804 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
28805 "movl main@GOTOFF(%ebx), %eax".
28806
02d2d892
L
288072017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28808
28809 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
28810 allow undefined _DYNAMIC in PIE libc.a.
28811 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28812 Likewse.
28813
0c609d19
L
288142017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28815
28816 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
28817 check _DYNAMIC.
28818
c34a19ed
L
288192017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28820
28821 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
28822 check _DYNAMIC.
28823
cdd4155d
L
288242017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28825
28826 * math/test-math-iscanonical.cc (error): Replace bool with int.
28827
4699cb8b
JM
288282017-10-03 Joseph Myers <joseph@codesourcery.com>
28829
d8f619b3
JM
28830 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
28831 (modf): Define using libm_alias_double, only if [!__modf].
28832 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
28833 <libm-alias-double.h>.
28834 (modf): Define using libm_alias_double, only if [!__modf].
28835 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
28836 compat symbol here.
28837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
28838 (weak_alias): Do not undefine and redefine.
28839 (strong_alias): Likewise.
28840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
28841 (weak_alias): Likewise.
28842 (strong_alias): Likewise.
28843
4699cb8b
JM
28844 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
28845 (logb): Define using libm_alias_double, only if [!__logb].
28846 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
28847 <libm-alias-double.h>.
28848 (logb): Define using libm_alias_double, only if [!__logb].
28849 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
28850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
28851 (weak_alias): Do not undefine and redefine.
28852 (strong_alias): Likewise.
28853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
28854 (weak_alias): Likewise.
28855 (strong_alias): Likewise.
28856
bcc4e4bb
L
288572017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28858
28859 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
28860 Check SHARED instead PIC.
28861
39793865
JM
288622017-10-03 Joseph Myers <joseph@codesourcery.com>
28863
7f1cbdf8
JM
28864 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
28865 [!__fmaf] (fmaf): Define using libm_alias_float.
28866
39793865
JM
28867 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
28868 (frexp): Define using libm_alias_double.
28869 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
28870 <libm-alias-double.h>.
28871 (frexp): Define using libm_alias_double.
28872 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
28873 compat symbol here.
28874
aa0235df
GG
288752017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28876
28877 [BZ #22235]
28878 * math/math.h: Trivial fix for unbalanced parentheses in comment.
28879 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
28880 (CFLAGS-test-math-iscanonical.cc): New variable.
28881 * math/test-math-iscanonical.cc: New file.
28882 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
28883 Provide a C++ implementation based on function overloading,
28884 rather than using __MATH_TG, which uses C-only builtins.
28885 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
28886 Likewise.
28887 * sysdeps/powerpc/powerpc64le/Makefile
28888 (CFLAGS-test-math-iscanonical.cc): New variable.
28889
a1132b5e
JM
288902017-10-03 Joseph Myers <joseph@codesourcery.com>
28891
28892 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
28893 (ceil): Define using libm_alias_double.
28894 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
28895 (floor): Define using libm_alias_double.
28896 * sysdeps/ieee754/dbl-64/s_llround.c: Include
28897 <libm-alias-double.h>.
28898 (llround): Define using libm_alias_double.
28899 * sysdeps/ieee754/dbl-64/s_lround.c: Include
28900 <libm-alias-double.h>.
28901 (lround): Define using libm_alias_double.
28902 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
28903 <libm-alias-double.h>.
28904 (nearbyint): Define using libm_alias_double.
28905 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
28906 <libm-alias-double.h>.
28907 (remquo): Define using libm_alias_double.
28908 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
28909 (rint): Define using libm_alias_double.
28910 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
28911 (round): Define using libm_alias_double.
28912 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
28913 (trunc): Define using libm_alias_double.
28914 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
28915 <libm-alias-double.h>.
28916 (ceil): Define using libm_alias_double.
28917 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
28918 <libm-alias-double.h>.
28919 (floor): Define using libm_alias_double.
28920 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
28921 <libm-alias-double.h>.
28922 (llround): Define using libm_alias_double.
28923 [_LP64] (lround): Likewise.
28924 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
28925 <libm-alias-double.h>.
28926 [!_LP64] (lround): Define using libm_alias_double.
28927 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
28928 <libm-alias-double.h>.
28929 (nearbyint): Define using libm_alias_double.
28930 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
28931 <libm-alias-double.h>.
28932 (remquo): Define using libm_alias_double.
28933 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
28934 <libm-alias-double.h>.
28935 (rint): Define using libm_alias_double.
28936 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
28937 <libm-alias-double.h>.
28938 (round): Define using libm_alias_double.
28939 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
28940 <libm-alias-double.h>.
28941 (trunc): Define using libm_alias_double.
28942 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
28943 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
28944 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
28945 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
28946 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
28947 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
28948 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
28949 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
28950 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
28951
f275f64e
SN
289522017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28953
28954 * math/w_remainder.c: New file.
28955 * math/w_remainderf.c: New file.
28956 * math/w_remainderl.c: New file.
28957
b8818ab5
L
289582017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28959
28960 * elf/rtld.c (BOOTSTRAP_MAP): New.
28961 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
28962 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28963 Likewise.
28964 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28965 Likewise.
28966 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28967 Likewise.
28968
3d1870fa
ST
289692017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28970
28971 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
28972 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
28973 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
28974 rtld_hidden_data_ver): Define to empty.
28975 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
28976 __assert_perror_fail): Likewise.
28977 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28978 (__rewinddir): Likewise.
28979 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28980 (__profile_frequency): Likewise.
28981 * include/setjmp.h (__sigsetjmp): Likewise.
28982 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
28983 __libc_sigaction): Likewise.
28984 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
28985 not set hidden attribute.
28986 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
28987 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
28988 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
28989 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
28990 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
28991 __fxstatat64): Likewise.
28992 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28993 (__uname): Likewise.
28994 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28995 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
28996 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
28997 (NO_RTLD_HIDDEN): Set.
28998 * sysdeps/mach/hurd/configure: Refresh.
28999 * config.h.in: Refresh.
29000
527cd19c
JM
290012017-10-02 Joseph Myers <joseph@codesourcery.com>
29002
38722448
JM
29003 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
29004 (atan): Define using libm_alias_double.
29005 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
29006 (tan): Define using libm_alias_double.
29007 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
29008 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
29009
527cd19c
JM
29010 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
29011 define as weak alias of __atan. Do not define any aliases if
29012 [__atan].
29013 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
29014 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
29015 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
29016 as weak alias of __tan. Do not define any aliases if [__tan].
29017 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
29018 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
29019 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
29020 __atan.
29021 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
29022 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
29023 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
29024 and define as weak alias of __atan.
29025 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
29026 __atan.
29027 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
29028 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
29029 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
29030 define as weak alias of __tan.
29031
bdc5c592
SN
290322017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29033
29034 * math/w_lgamma.c: New file.
29035 * math/w_lgammaf.c: New file.
29036 * math/w_lgammal.c: New file.
29037
bd4430c2
SN
290382017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29039
29040 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
29041 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
29042 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
29043 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
29044 * sysdeps/ieee754/flt-32/w_logf.c: New file.
29045 * sysdeps/ieee754/flt-32/w_powf.c: New file.
29046 * sysdeps/i386/fpu/w_log2f.c: New file.
29047 * sysdeps/i386/fpu/w_logf.c: New file.
29048 * sysdeps/i386/fpu/w_powf.c: New file.
29049 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
29050 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
29051 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
29052
f7a0b063
SN
290532017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29054 H.J. Lu <hongjiu.lu@intel.com>
29055
29056 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
29057 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
29058 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
29059 * sysdeps/ieee754/flt-32/w_expf.c: New file.
29060 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
29061 the new expf code.
29062 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
29063 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
29064 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
29065 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
29066 * sysdeps/i386/fpu/w_exp2f.c: New file.
29067 * sysdeps/i386/fpu/w_expf.c: New file.
29068 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
29069 * sysdeps/x86_64/fpu/w_expf.c: New file.
29070
72d3d281
SN
290712017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29072
29073 * math/Versions (logf): New libm symbol at GLIBC_2.27.
29074 (log2f): Likewise.
29075 (powf): Likewise.
29076 * math/w_log2f.c: New file.
29077 * math/w_logf.c: New file.
29078 * math/w_powf.c: New file.
29079 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
29080 * math/w_logf_compat.c (__logf_compat): Likewise.
29081 * math/w_powf_compat.c (__powf_compat): Likewise.
29082 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
29083 * sysdeps/ia64/fpu/e_logf.S: Likewise.
29084 * sysdeps/ia64/fpu/e_powf.S: Likewise.
29085 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29086 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29087 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29088 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29089 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29090 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29091 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29092 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29093 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29094 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29095 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29096 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29098 Likewise.
29099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29100 Likewise.
29101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29102 Likewise.
29103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29104 Likewise.
29105 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29106 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29107 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29108 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29109 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29110 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29111 Likewise.
29112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29113 Likewise.
29114 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29115 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29116 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29117
59ba2d2b
RS
291182017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29119
29120 * sysdeps/powerpc/powerpc64/multiarch/Makefile
29121 (sysdep_routines): Add memrchr_power8.
29122 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29123 (memrchr): Add __memrchr_power8 to list of memrchr functions.
29124 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
29125 New file.
29126 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
29127 (memrchr): Add __memrchr_power8 to ifunc list.
29128 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
29129
397286ea
L
291302017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29131
29132 [BZ #18822]
29133 * sysdeps/unix/sysv/linux/posix_fadvise64.c
29134 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
29135 libc_hidden_def.
29136 * sysdeps/unix/sysv/linux/posix_fallocate64.c
29137 (__posix_fallocate64_l64): Likewise.
29138
d0a4512b
L
291392017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29140
29141 [BZ #18822]
29142 * sysdeps/unix/sysv/linux/sched_setaffinity.c
29143 (__sched_setaffinity_new): Add libc_hidden_proto and
29144 libc_hidden_def.
29145
c0769f70
L
291462017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29147
29148 [BZ #18822]
29149 * include/glob.h (__glob64): Add libc_hidden_proto.
29150 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
29151 libc_hidden_def.
29152
0e7d5b6e
L
291532017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29154
29155 [BZ #18822]
29156 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
29157 attribute_hidden.
29158
bde06c87
L
291592017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29160
29161 [BZ #18822]
29162 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
29163
fa426590
L
291642017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29165
29166 [BZ #18822]
29167 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
29168 libc_hidden_def.
29169
2f8a05d8
L
291702017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29171
29172 [BZ #18822]
29173 * csu/version.c (__libc_print_version): Add attribute_hidden.
29174
7bfd08ac
L
291752017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29176
29177 [BZ #18822]
29178 * include/libc-internal.h (__init_misc): Add attribute_hidden.
29179
0e1fd06c
L
291802017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29181
29182 [BZ #18822]
29183 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
29184
36e7ae1e
L
291852017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29186
29187 [BZ #18822]
29188 * nscd/nscd_helper.c (__nis_hash): New prototype.
29189
87078544
L
291902017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29191
29192 [BZ #18822]
29193 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
29194 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
29195 libc_hidden_def.
29196 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
29197 * termios/tcgetattr.c (__tcgetattr): Likewise.
29198
dd3121df
L
291992017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29200
29201 [BZ #18822]
29202 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
29203 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
29204 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
29205 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
29206 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
29207
047d1a81
L
292082017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29209
29210 [BZ #18822]
29211 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
29212
fd331b11
L
292132017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29214
29215 [BZ #18822]
29216 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
29217 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
29218
57f859bd
L
292192017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29220
29221 [BZ #18822]
29222 * intl/hash-string.h (__hash_string): Add attribute_hidden.
29223
d1903329
L
292242017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29225
29226 [BZ #18822]
29227 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
29228 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
29229
b4744101
L
292302017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29231
29232 [BZ #18822]
29233 * include/ifreq.h: New file.
29234 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
29235 (__ifreq): Likewise.
29236 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
29237 (__ifreq): Likewise.
29238
43b7dfd1
L
292392017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29240
29241 [BZ #18822]
29242 * include/idna.h: New file.
29243 * inet/getnameinfo.c: Include <idna.h> instead of
29244 <libidn/idna.h>.
29245 (__idna_to_unicode_lzlz): Removed.
29246 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
29247 <libidn/idna.h>.
29248 (__idna_to_ascii_lz): Removed.
29249 (__idna_to_unicode_lzlz): Likewise.
29250
2c0cd8f8
L
292512017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29252
29253 [BZ #18822]
29254 * include/plural-exp.h: New file.
29255 * intl/plural-exp.c: Include <plural-exp.h> instead of
29256 "plural-exp.h".
29257
8369d216
L
292582017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29259
29260 [BZ #18822]
29261 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
29262 "getsourcefilter.h".
29263 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
29264 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
29265 "getsourcefilter.h".
29266 (__get_sol): Removed.
29267
a0aef783
L
292682017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29269
29270 [BZ #18822]
29271 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
29272 to ...
29273 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
29274
3ee8209b
L
292752017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29276
29277 [BZ #18822]
29278 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
29279 attribute_hidden.
29280
6036fc38
L
292812017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29282
29283 [BZ #18822]
29284 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
29285
fe84fed0
L
292862017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29287
29288 [BZ #18822]
29289 * include/search.h (__tdestroy): Add libc_hidden_proto.
29290 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
29291
048dd681
L
292922017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29293
29294 [BZ #18822]
29295 * include/assert.h (__assert_fail_base): Add attribute_hidden.
29296
6e342af6
L
292972017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29298
29299 [BZ #18822]
29300 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
29301 attribute_hidden.
29302
6a088436
L
293032017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29304
29305 [BZ #18822]
29306 * include/signal.h (__kill): Add libc_hidden_proto.
29307 (__sigblock): Likewise.
29308 (__sigprocmask): Likewise.
29309 (__sigaltstack): Likewise.
29310 * signal/kill.c (__kill): Add libc_hidden_def.
29311 * signal/sigblock.c (__sigblock): Likewise.
29312 * signal/sigprocmask.c (__sigprocmask): Likewise.
29313 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
29314 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
29315 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
29316 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
29317 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
29318 Likewise.
29319 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
29320 Likewise.
29321 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
29322 (__sigprocmask): Likewise.
29323 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
29324 Likewise.
29325 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
29326 (__sigprocmask): Likewise.
29327 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
29328 Likewise.
29329
78cf1d74
L
293302017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29331
29332 [BZ #18822]
29333 * include/string.h (__strsep): Add libc_hidden_proto.
29334 * string/strsep.c (__strsep): Add libc_hidden_def.
29335
85b35894
L
293362017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29337
29338 [BZ #18822]
29339 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
29340 attribute_hidden.
29341 (__spawni): Likewise.
29342
225f7eec
L
293432017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29344
29345 [BZ #18822]
29346 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
29347 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
29348 libc_hidden_def.
29349
372fe247
L
293502017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29351
29352 [BZ #18822]
29353 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
29354
9e5ee8b8
L
293552017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29356
29357 [BZ #18822]
29358 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
29359 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
29360 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
29361 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
29362 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
29363 Likewise.
29364 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
29365 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
29366
2ff16592
L
293672017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29368
29369 [BZ #18822]
29370 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
29371 (__dcigettext): Likewise.
29372
b5648377
L
293732017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29374
29375 [BZ #18822]
29376 * include/sys/sysinfo.h (__get_nprocs_conf): Add
29377 libc_hidden_proto.
29378 (__get_nprocs): Likewise.
29379 (__get_phys_pages): Likewise.
29380 (__get_avphys_pages): Likewise.
29381 (__get_child_max): Add attribute_hidden.
29382 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
29383 (__get_nprocs): Likewise.
29384 (__get_phys_pages): Likewise.
29385 (__get_avphys_pages): Likewise.
29386 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
29387 libc_hidden_def.
29388 (__get_nprocs): Likewise.
29389 (__get_phys_pages): Likewise.
29390 (__get_avphys_pages): Likewise.
29391 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
29392 libc_hidden_def.
29393 (__get_nprocs_conf): Likewise.
29394 (__get_phys_pages): Likewise.
29395 (__get_avphys_pages): Likewise.
29396
0389a6aa
L
293972017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29398
29399 [BZ #18822]
29400 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
29401 attribute_hidden.
29402 (__netlink_close): Likewise.
29403 (__netlink_free_handle): Likewise.
29404 (__netlink_request): Likewise.
29405
d48354d8
L
294062017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29407
29408 [BZ #18822]
29409 * include/rpc/rpc.h (__rpc_thread_variables): Add
29410 attribute_hidden.
29411 (__rpc_thread_svc_cleanup): Likewise.
29412 (__rpc_thread_clnt_cleanup): Likewise.
29413 (__rpc_thread_key_cleanup): Likewise.
29414
d6daff12
L
294152017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29416
29417 [BZ #18822]
29418 * include/sys/uio.h (__readv): Add libc_hidden_proto.
29419 (__writev): Likewise.
29420 * misc/readv.c (__readv): Add libc_hidden_def.
29421 * misc/writev.c (__writev): Likewise.
29422 * sysdeps/posix/readv.c (__readv): Likewise.
29423 * sysdeps/posix/writev.c (__writev): Likewise.
29424 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
29425 (__readv): Likewise.
29426 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
29427 (__writev): Likewise.
29428
b68f8620
L
294292017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29430
29431 [BZ #18822]
29432 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
29433 (__regcomp): Add libc_hidden_proto.
29434 (__regexec): Likewise.
29435 (__regfree): Likewise.
29436 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
29437 (__regfree): Likewise.
29438 * posix/regexec.c (__regexec): Likewise.
29439
59c04e67
L
294402017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29441
29442 [BZ #18822]
29443 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
29444 (__getutent): Likewise.
29445 (__getutid): Likewise.
29446 (__getutline): Likewise.
29447 (__pututline): Likewise.
29448 (__getutent_r): Likewise.
29449 (__getutid_r): Likewise.
29450 (__getutline_r): Likewise.
29451 (__utmpname): Add attribute_hidden.
29452 (__setutent): Likewise.
29453 (__endutent): Likewise.
29454 * login/getutent.c (__getutent): Add libc_hidden_def.
29455 * login/getutent_r.c (__getutent_r): Likewise.
29456 (__pututline): Likewise.
29457 * login/getutid.c (__getutid): Likewise.
29458 * login/getutid_r.c (__getutid_r): Likewise.
29459 * login/getutline.c (__getutline): Likewise.
29460 * login/getutline_r.c (__getutline_r): Likewise.
29461 * login/updwtmp.c (__updwtmp): Likewise.
29462
4587a421
L
294632017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29464
29465 [BZ #18822]
29466 * include/dirent.h (__opendir): Always add attribute_hidden.
29467 (__fdopendir): Likewise.
29468 (__closedir): Likewise.
29469 (__readdir): Likewise.
29470 (__readdir64): Add libc_hidden_proto.
29471 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
29472 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
29473 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
29474 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
29475 New alias.
29476
9635ce69
L
294772017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29478
29479 [BZ #18822]
29480 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
29481 * include/netdb.h (__gethostbyaddr_r): Likewise.
29482 (__gethostbyname_r): Likewise.
29483 (__gethostbyname2_r): Likewise.
29484 (__getnetbyaddr_r): Likewise.
29485 (__getnetbyname_r): Likewise.
29486 (__getservbyname_r): Likewise.
29487 (__getservbyport_r): Likewise.
29488 (__getprotobyname_r): Likewise.
29489 (__getprotobynumber_r): Likewise.
29490 (__getnetgrent_r): Likewise.
29491 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
29492 (__getrpcbynumber_r): Likewise.
29493 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
29494
2e0a6909
L
294952017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29496
29497 [BZ #18822]
29498 * include/stdio.h (__fcloseall): Add attribute_hidden.
29499 (__getline): Likewise.
29500 (__path_search): Likewise.
29501 (__gen_tempname): Likewise.
29502 (__libc_message): Likewise.
29503 (__flockfile): Likewise.
29504 (__funlockfile): Likewise.
29505 (__fxprintf): Likewise.
29506 (__fxprintf_nocancel): Likewise.
29507
94fd682c
L
295082017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29509
29510 [BZ #18822]
29511 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
29512 (__sgetsgent_r): Likewise.
29513
e1b33bba
L
295142017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29515
29516 [BZ #18822]
29517 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
29518 (__statfs64): Likewise.
29519 (__fstatfs64): Likewise.
29520 * include/sys/statvfs.h (__statvfs64): Likewise.
29521 (__fstatvfs64): Likewise.
29522 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
29523 (__statfs_filesize_max): Likewise.
29524 (__statfs_symlinks): Likewise.
29525 (__statfs_chown_restricted): Likewise.
29526
b0f56784
L
295272017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29528
29529 [BZ #18822]
29530 * include/time.h (__tzstring): Add attribute_hidden.
29531 (__tzfile_read): Likewise.
29532 (__tzfile_compute): Likewise.
29533 (__tzfile_default): Likewise.
29534 (__tzset_parse_tz): Likewise.
29535 (__offtime): Likewise.
29536 (__asctime_r): Likewise.
29537 (__tzset): Likewise.
29538 (__tz_convert): Likewise.
29539 (__getdate_r): Likewise.
29540 (__getclktck): Likewise.
29541
a4338d99
L
295422017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29543
29544 [BZ #18822]
29545 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
29546 (__nscd_unmap): Likewise.
29547 (__nscd_cache_search): Likewise.
29548 (__nscd_get_nl_timestamp): Likewise.
29549 (__nscd_getpwnam_r): Likewise.
29550 (__nscd_getpwuid_r): Likewise.
29551 (__nscd_getgrnam_r): Likewise.
29552 (__nscd_getgrgid_r): Likewise.
29553 (__nscd_gethostbyname_r): Likewise.
29554 (__nscd_gethostbyname2_r): Likewise.
29555 (__nscd_gethostbyaddr_r): Likewise.
29556 (__nscd_getai): Likewise.
29557 (__nscd_getgrouplist): Likewise.
29558 (__nscd_getservbyname_r): Likewise.
29559 (__nscd_getservbyport_r): Likewise.
29560 (__nscd_innetgr): Likewise.
29561 (__nscd_setnetgrent): Likewise.
29562
a2ca1652
L
295632017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29564
29565 [BZ #18822]
29566 * include/gmp.h: Declare internal functions only if _ISOMAC is
29567 undefined.
29568 (__mpn_extract_double): Add attribute_hidden.
29569 (__mpn_extract_long_double): Likewise.
29570 (__mpn_extract_float128): Likewise.
29571 (__mpn_construct_float): Likewise.
29572 (__mpn_construct_double): Likewise.
29573 (__mpn_construct_long_double): Likewise.
29574 (__mpn_construct_float128): Likewise.
29575 (mpn_add_1): Likewise.
29576 (mpn_addmul_1): Likewise.
29577 (mpn_add_n): Likewise.
29578 (mpn_cmp): Likewise.
29579 (mpn_divrem): Likewise.
29580 (mpn_lshift): Likewise.
29581 (mpn_mul): Likewise.
29582 (mpn_mul_1): Likewise.
29583 (mpn_rshift): Likewise.
29584 (mpn_sub_1): Likewise.
29585 (mpn_submul_1): Likewise.
29586 (mpn_sub_n): Likewise.
29587
44af8a32
L
295882017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29589
29590 [BZ #18822]
29591 * include/wchar.h (__wcsnlen): Add attribute_hidden.
29592 (__wcscat): Likewise.
29593 (__btowc): Likewise.
29594 (__wcrtomb): Likewise.
29595 (__mbsrtowcs): Likewise.
29596 (__wcsrtombs): Likewise.
29597 (__mbsnrtowcs): Likewise.
29598 (__wcsnrtombs): Likewise.
29599 (__wcsncpy): Likewise.
29600 (__wcpncpy): Likewise.
29601 (__wmemcpy): Likewise.
29602 (__wmempcpy): Likewise.
29603 (__wmemmove): Likewise.
29604 (__wcschrnul): Likewise.
29605 (__vfwscanf): Likewise.
29606 (__vswprintf): Likewise.
29607 (__fwprintf): Likewise.
29608 (__vfwprintf): Likewise.
29609
783cd767
L
296102017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29611
29612 [BZ #18822]
29613 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
29614 (__getgrgid_r): Likewise.
29615 (__getgrnam_r): Likewise.
29616 * include/pwd.h (__getpwuid_r): Likewise.
29617 (__getpwnam_r): Likewise.
29618 (__fgetpwent_r): Likewise.
29619 * include/shadow.h (__getspnam_r): Likewise.
29620 (__sgetspent_r): Likewise.
29621 (__fgetspent_r): Likewise.
29622
7ec4b39a
L
296232017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29624
29625 [BZ #18822]
29626 * include/unistd.h (__access): Add attribute_hidden.
29627 (__lseek64): Likewise.
29628 (__libc_pread64): Likewise.
29629 (__pipe2): Likewise.
29630 (__sleep): Likewise.
29631 (__chdir): Likewise.
29632 (__fchdir): Likewise.
29633 (__getcwd): Likewise.
29634 (__rmdir): Likewise.
29635 (__execvpe): Likewise.
29636 (__execve): Likewise.
29637 (__setsid): Likewise.
29638 (__getuid): Likewise.
29639 (__geteuid): Likewise.
29640 (__getgid): Likewise.
29641 (__getegid): Likewise.
29642 (__getgroups): Likewise.
29643 (__group_member): Likewise.
29644 (__ttyname_r): Likewise.
29645 (__isatty): Likewise.
29646 (__readlink): Likewise.
29647 (__unlink): Likewise.
29648 (__gethostname): Likewise.
29649 (__profil): Likewise.
29650 (__getdtablesize): Likewise.
29651 (__brk): Likewise.
29652 (__ftruncate): Likewise.
29653 (__ftruncate64): Likewise.
29654
8345a760
L
296552017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29656
29657 [BZ #18822]
29658 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
29659 * argp/argp-fs-xinl.c: Likewise.
29660 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
29661 * argp/argp-parse.c: Include <argp.h>.
29662 * argp/argp-xinl.c: Likewise.
29663 * include/argp-fmtstream.h: New file.
29664 * include/argp.h (__argp_error): Add attribute_hidden.
29665 (__argp_failure): Likewise.
29666 (__argp_input): Likewise.
29667 (__argp_state_help): Likewise.
29668
c26dd7c6
L
296692017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29670
29671 [BZ #18822]
29672 * include/wchar.h (____wcstof_l_internal): New prototype.
29673 (____wcstod_l_internal): Likewise.
29674 (____wcstold_l_internal): Likewise.
29675 (____wcstol_l_internal): Likewise.
29676 (____wcstoul_l_internal): Likewise.
29677 (____wcstoll_l_internal): Likewise.
29678 (____wcstoull_l_internal): Likewise.
29679 (____wcstof128_l_internal): Likewise.
29680 * sysdeps/ieee754/float128/wcstof128.c
29681 (____wcstof128_l_internal): Removed.
29682 * sysdeps/ieee754/float128/wcstof128_l.c
29683 (____wcstof128_l_internal): Likewise.
29684 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
29685 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
29686 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
29687 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
29688 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
29689 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
29690 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
29691 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
29692 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
29693 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
29694
3aff5644
L
296952017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29696
29697 [BZ #18822]
29698 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
29699 instead of <sys/statvfs.h>.
29700 (__internal_statvfs): Removed.
29701 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
29702 instead of <sys/statvfs.h>.
29703 (__internal_statvfs64): Removed.
29704 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
29705 "internal_statvfs.h" instead of <sys/statvfs.h>.
29706 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
29707 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
29708 instead of <sys/statvfs.h>.
29709 (__internal_statvfs): Removed.
29710 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
29711 instead of <sys/statvfs.h>.
29712 (__internal_statvfs64): Removed.
29713
8bcdb7e0
L
297142017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29715
29716 [BZ #18822]
29717 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
29718 (__gconv_close): Likewise.
29719 (__gconv): Likewise.
29720 (__gconv_find_transform): Likewise.
29721 (__gconv_lookup_cache): Likewise.
29722 (__gconv_compare_alias_cache): Likewise.
29723 (__gconv_load_cache): Likewise.
29724 (__gconv_get_path): Likewise.
29725 (__gconv_close_transform): Likewise.
29726 (__gconv_release_cache): Likewise.
29727 (__gconv_find_shlib): Likewise.
29728 (__gconv_release_shlib): Likewise.
29729 (__gconv_get_builtin_trans): Likewise.
29730 (__gconv_compare_alias): Likewise.
29731 * include/dlfcn.h (_dlerror_run): Likewise.
29732 * include/stdio.h (__fortify_fail_abort): Likewise.
29733 * include/time.h (__tz_compute): Likewise.
29734 (__strptime_internal): Likewise.
29735 * intl/gettextP.h (_nl_find_domain): Likewise.
29736 (_nl_load_domain): Likewise.
29737 (_nl_find_msg): Likewise.
29738 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
29739 (EXTRACT_PLURAL_EXPRESSION): Likewise.
29740 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
29741 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
29742 (__gai_find_request): Likewise.
29743 (__gai_remove_request): Likewise.
29744 (__gai_notify): Likewise.
29745 (__gai_notify_only): Likewise.
29746 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29747 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
29748 (_dl_non_dynamic_init): Likewise.
29749 (_dl_aux_init): Likewise.
29750 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
29751 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29752 Likewise.
29753 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
29754 (__wcsmbs_clone_conv): Likewise.
29755 (__wcsmbs_named_conv): Likewise.
29756
8ed3b643
L
297572017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29758
29759 [BZ #18822]
29760 * include/stdlib.h (__random): Add attribute_hidden.
29761 (__random_r): Likewise.
29762 (__srandom_r): Likewise.
29763 (__initstate_r): Likewise.
29764 (__setstate_r): Likewise.
29765 (__erand48_r): Likewise.
29766 (__nrand48_r): Likewise.
29767 (__jrand48_r): Likewise.
29768 (__srand48_r): Likewise.
29769 (__seed48_r): Likewise.
29770 (__lcong48_r): Likewise.
29771 (__drand48_iterate): Likewise.
29772 (__setenv): Likewise.
29773 (__unsetenv): Likewise.
29774 (__clearenv): Likewise.
29775 (__ptsname_r): Likewise.
29776 (__posix_openpt): Likewise.
29777 (__add_to_environ): Likewise.
29778 (__realpath): Add libc_hidden_proto.
29779 (__ecvt_r): Likewise.
29780 (__fcvt_r): Likewise.
29781 (__qecvt_r): Likewise.
29782 (__qfcvt_r): Likewise.
29783 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
29784 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
29785
ef9b6f73
L
297862017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29787
29788 [BZ #18822]
29789 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
29790 * include/time.h (__mktime_internal): Likewise.
29791 * libio/iolibio.h (__fopen_internal): Likewise.
29792
8da92e72
JDA
297932017-10-01 John David Anglin <danglin@gcc.gnu.org>
29794
29795 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
29796 pointer in frame.
29797 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
29798 Correct offset used to restore PIC register.
29799
388784cf
JDA
298002017-09-30 John David Anglin <danglin@gcc.gnu.org>
29801
29802 [BZ libc/22165]
29803 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
29804 code to load address of __getcontext_ret when generating PIC code.
29805
2000067a
L
298062017-09-30 H.J. Lu <hongjiu.lu@intel.com>
29807
29808 * elf/Makefile (tests-static-internal): Add
29809 tst-tls1-static-non-pie.
29810 (LDFLAGS-tst-tls1-static-non-pie): New.
29811 * elf/tst-tls1-static-non-pie.c: New file.
29812
1e2bffd0
JM
298132017-09-29 Joseph Myers <joseph@codesourcery.com>
29814
29815 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
29816 (asinh): Define using libm_alias_double.
29817 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
29818 (cbrt): Define using libm_alias_double.
29819 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
29820 <libm-alias-double.h>.
29821 (copysign): Define using libm_alias_double.
29822 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
29823 (erf): Define using libm_alias_double.
29824 (erfc): Likewise.
29825 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
29826 (expm1): Define using libm_alias_double.
29827 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
29828 (fabs): Define using libm_alias_double.
29829 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
29830 libm_alias_double.
29831 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
29832 <libm-alias-double.h>.
29833 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
29834 libm_alias_double.
29835 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
29836 <libm-alias-double.h>.
29837 (getpayload): Define using libm_alias_double.
29838 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
29839 <libm-alias-double.h>.
29840 (llrint): Define using libm_alias_double.
29841 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
29842 (lrint): Define using libm_alias_double.
29843 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
29844 <libm-alias-double.h>.
29845 (nextup): Define using libm_alias_double.
29846 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
29847 <libm-alias-double.h>.
29848 (roundeven): Define using libm_alias_double.
29849 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
29850 libm_alias_double.
29851 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
29852 <libm-alias-double.h>.
29853 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
29854 using libm_alias_double.
29855 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
29856 (cos): Define using libm_alias_double.
29857 (sin): Likewise.
29858 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
29859 <libm-alias-double.h>.
29860 (sincos): Define using libm_alias_double.
29861 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
29862 (tanh): Define using libm_alias_double.
29863 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
29864 <libm-alias-double.h>.
29865 (totalorder): Define using libm_alias_double.
29866 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
29867 <libm-alias-double.h>.
29868 (totalordermag): Define using libm_alias_double.
29869 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
29870 libm_alias_double.
29871 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
29872 libm_alias_double.
29873 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
29874 <libm-alias-double.h>.
29875 (getpayload): Define using libm_alias_double.
29876 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
29877 <libm-alias-double.h>.
29878 (roundeven): Define using libm_alias_double.
29879 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
29880 <libm-alias-double.h>.
29881 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
29882 <libm-alias-double.h>.
29883 (totalorder): Define using libm_alias_double.
29884 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
29885 <libm-alias-double.h>.
29886 (totalordermag): Define using libm_alias_double.
29887 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
29888 libc compat symbol here.
29889 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
29890 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
29891 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
29892 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
29893 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
29894 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
29895 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
29896 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
29897 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
29898 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
29899
8172aad9
L
299002017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29901
29902 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
29903 _dl_relocate_static_pie instead of _dl_start to compute load
29904 address in static PIE. Return 0 if _DYNAMIC is undefined for
29905 static executable.
29906
54464e74
L
299072017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29908
29909 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
29910 _DYNAMIC is undefined for static executable.
29911
f6c5e5bc
L
299122017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29913
29914 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
29915
2f92505d
JM
299162017-09-29 Joseph Myers <joseph@codesourcery.com>
29917
29918 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29919
bd8d53bb
WD
299202017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29921
29922 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
29923 (__ieee754_lgamma_r): Use fabs rather than __fabs.
29924 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
29925 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
29926 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
29927 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
29928 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
29929 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
29930 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
29931 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29932 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
29933 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
29934 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29935 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29936 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29937 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29938 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
29939
fffb1507
WD
299402017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29941
29942 * math/bits/cmathcalls.h (cimag): Remove inline.
29943 (creal): Remove inline.
29944 (conj): Remove inline.
29945
4ea49f4c
SN
299462017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29947
29948 * math/Makefile (type-float-routines): Add e_powf_log2_data.
29949 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
29950 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
29951 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
29952 (issignalingf_inline): Likewise.
29953 (POWF_LOG2_TABLE_BITS): Likewise.
29954 (POWF_LOG2_POLY_ORDER): Likewise.
29955 (POWF_SCALE_BITS): Likewise.
29956 (POWF_SCALE): Likewise.
29957 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
29958 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
29959 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
29960
875c76c7
SN
299612017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29962
29963 * math/Makefile (type-float-routines): Add e_log2f_data.
29964 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
29965 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
29966 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
29967 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
29968 * sysdeps/i386/fpu/e_log2f_data.c: New file.
29969 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
29970 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
29971
90c42e40
SN
299722017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29973
29974 * math/Makefile (type-float-routines): Add e_logf_data.
29975 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
29976 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
29977 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
29978 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
29979 * sysdeps/i386/fpu/e_logf_data.c: New file.
29980 * sysdeps/ia64/fpu/e_logf_data.c: New file.
29981 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
29982
4088d8dd
L
299832017-09-28 H.J. Lu <hongjiu.lu@intel.com>
29984
29985 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
29986 undefined _DYNAMIC in PIE libc.a.
29987 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
29988 Likewse.
29989
4d3693ec
WD
299902017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29991
29992 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
29993 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
29994 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
29995 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
29996 (__signbit): Remove.
29997 (__signbitl): Remove.
29998 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
29999 (__signbit): Remove.
30000 (__signbitl): Remove.
30001 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
30002 (__signbit): Remove.
30003 (__signbitl): Remove.
30004 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
30005 (__signbit): Remove.
30006 (__signbitl): Remove.
30007 * sysdeps/tile/bits/mathinline.h: Delete file.
30008 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
30009 (__signbit): Remove.
30010 (__signbitl): Remove.
30011
1e6d0723
WD
300122017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
30013
30014 * math/math.h: Improve handling of C99 isgreater macros.
30015 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
30016 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
30017 * sysdeps/powerpc/bits/mathinline.h: Likewise.
30018 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30019 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
30020
b2f03cf3
SN
300212017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
30022
30023 * sysdeps/aarch64/libm-test-ulps: Update.
30024
f124cb38
JM
300252017-09-28 Joseph Myers <joseph@codesourcery.com>
30026
30027 [BZ #22225]
30028 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30029 math_opt_barrier on argument when doing arithmetic on it.
30030 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30031 Likewise. Use math_force_eval not math_opt_barrier after
30032 arithmetic.
30033 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
30034 math_opt_barrier on argument when doing arithmetic on it.
30035 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
30036 Likewise.
30037
7edd0691
L
300382017-09-27 H.J. Lu <hongjiu.lu@intel.com>
30039
30040 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
30041 libc_hidden_def.
30042 (__freeifaddrs): Likewise.
30043
2c7bbfaf
ST
300442017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
30045
30046 * include/dirent.h (__dirfd): New declaration.
30047 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
30048 alias.
30049 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
30050 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
30051 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
30052 * include/unistd.h (__revoke): New declaration.
30053 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
30054 alias.
30055 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
30056 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
30057 revoke.
64a4af28
ST
30058 * include/dirent.h (__seekdir): New declaration.
30059 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
30060 redefine as weak alias.
30061 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
30062 of seekdir.
4009ddc6
ST
30063 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
30064 and use libc_hidden_def on them.
30065 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
30066 them.
30067 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
30068 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
30069 instead of getifaddrs and freeifaddrs.
2c7bbfaf 30070
825adeee
L
300712017-09-26 H.J. Lu <hongjiu.lu@intel.com>
30072
30073 [BZ #18822]
30074 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
30075 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
30076 (__dso_handle): Remove declaration.
30077 * dlfcn/tstatexit.c (__dso_handle): Removed.
30078 (main): Don't check __dso_handle.
30079 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
30080 (main): Don't check __dso_handle.
30081 * include/dso_handle.h: New file.
30082 * malloc/mtrace.c: Include <dso_handle.h>.
30083 (mtrace): Pass __dso_handle directly.
30084 * nptl/pthread_atfork.c: Include <dso_handle.h>.
30085 (__dso_handle): Remove declaration.
30086 (__pthread_atfork): Pass __dso_handle directly.
30087 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
30088 (__dso_handle): Removed.
30089 * posix/wordexp-test.c: Include <dso_handle.h>.
30090 (__dso_handle): Remove declaration.
30091 (__app_register_atfork): Pass __dso_handle directly.
30092 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
30093 (__dso_handle): Remove declaration.
30094 (at_quick_exit): Pass __dso_handle directly.
30095 * stdlib/atexit.c: Include <dso_handle.h>.
30096 (__dso_handle): Remove declaration.
30097 (atexit): Pass __dso_handle directly.
30098 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
30099 (__dso_handle): Removed.
30100
bfb0deb3
JM
301012017-09-26 Joseph Myers <joseph@codesourcery.com>
30102
30103 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
30104 using VDSO.
30105
cebcb9f8
AM
301062017-09-26 Alexey Makhalov <amakhalov@vmware.com>
30107
30108 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
30109 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
30110 values to correct default value for given type.
30111
592d5c75
L
301122017-09-26 H.J. Lu <hongjiu.lu@intel.com>
30113
30114 [BZ #22101]
30115 * elf/Makefile (tests): Add tst-debug1.
30116 ($(objpfx)tst-debug1): New.
30117 ($(objpfx)tst-debug1.out): Likewise.
30118 ($(objpfx)tst-debug1mod1.so): Likewise.
30119 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
30120 with p_filesz == 0.
30121 * elf/tst-debug1.c: New file.
30122
2d9193f2
JM
301232017-09-26 Joseph Myers <joseph@codesourcery.com>
30124
30125 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
30126 Define using __ifunc.
30127
4c5a7a02
TMQMF
301282017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30129
30130 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
30131 exp2f() values.
30132
12ef66c4
JM
301332017-09-26 Joseph Myers <joseph@codesourcery.com>
30134
30135 [BZ #22156]
30136 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
30137
44dade71
FW
301382017-09-26 Florian Weimer <fweimer@redhat.com>
30139
30140 * resolv/Makefile (tests-internal): Fix typo in comment.
30141
eaca16f1
FW
301422017-09-26 Florian Weimer <fweimer@redhat.com>
30143
30144 * resolv/nss_dns/dns-host.c: Fix typo in comment.
30145
ccf970c7
AZ
301462017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30147
5f9f31ad
AZ
30148 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
30149 Use an union instead of a max_align_t array for __space,
30150 so that __space is the same size on all platforms.
30151 * malloc/scratch_buffer_grow_preserve.c
30152 (__libc_scratch_buffer_grow_preserve): Likewise.
30153
ccf970c7
AZ
30154 [BZ #22183]
30155 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
30156 version to 2.
30157 * posix/Makefile (routines): Add glob-lstat-compat and
30158 glob64-lstat-compat.
30159 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
30160 * posix/glob-lstat-compat.c: New file.
30161 * posix/glob64-lstat-compat.c: Likewise.
30162 * posix/tst-glob_lstat_compat.c: Likewise.
30163 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
30164 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
30165 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
30166 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
30167 Likewise.
30168 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
30169 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
30170 * posix/glob.c (glob_lstat): New function.
30171 (glob): Rename to __glob and add versioned symbol to 2.27.
30172 (glob_in_dir): Use glob_lstat.
30173 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
30174 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
30175 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
30176 2.27.
30177 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
30178 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
30179 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
30180 gl_lstat on glob call.
30181 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
30182 and glob64 symbols.
30183 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
30184 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
30185 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
30186 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
30187 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
30188 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
30189 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
30190 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
30191 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
30192 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
30193 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
30194 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
30195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
30196 Likewise.
30197 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
30198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
30199 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
30200 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
30201 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
30202 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
30203 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
30204 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
30205 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
30206 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
30207 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
30208 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
30209
b4396163
L
302102017-09-25 H.J. Lu <hongjiu.lu@intel.com>
30211
30212 * configure.ac (AS): Require binutils 2.25 or later.
30213 * configure: Regenerated.
30214
8f834987
PP
302152017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
30216
30217 [BZ #22207]
30218 * stdlib/test-atexit-race-common.c (do_test): Minimize required
30219 VM size.
30220
3de93d19
DD
302212017-09-25 DJ Delorie <dj@redhat.com>
30222
30223 [BZ #22161]
30224 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
30225 resetting timeout.
30226
9947638d
SL
302272017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
30228
30229 * sysdeps/ieee754/dbl-64/sincos32.h
30230 [SINCCOS32_H]: Remove define.
30231 [SINCOS32_H]: Define.
30232
f5f0f526
SN
302332017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30234
30235 * math/Versions (expf): New libm symbol at GLIBC_2.27.
30236 (exp2f): Likewise.
30237 * math/w_exp2f.c: New file.
30238 * math/w_expf.c: New file.
30239 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
30240 * math/w_expf_compat.c (__expf_compat): Likewise.
30241 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
30242 * sysdeps/ia64/fpu/e_expf.S: Likewise.
30243 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
30244 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
30245 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
30246 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
30247 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
30248 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
30249 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
30250 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
30251 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
30252 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
30253 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
30254 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
30255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
30256 Likewise.
30257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30258 Likewise.
30259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
30260 Likewise.
30261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
30262 Likewise.
30263 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
30264 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
30265 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
30266 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
30267 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
30268 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
30269 Likewise.
30270 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
30271 Likewise.
30272 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
30273 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
30274 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
30275
72aa6233
SN
302762017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30277
30278 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
30279 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
30280 (roundtoint, converttoint): Likewise.
30281 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
30282 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
30283 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
30284 * sysdeps/ieee754/flt-32/math_config.h: New file.
30285 * sysdeps/ieee754/flt-32/math_errf.c: New file.
30286 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
30287 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
30288 * sysdeps/i386/fpu/math_errf.c: New file.
30289 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
30290 * sysdeps/ia64/fpu/math_errf.c: New file.
30291 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
30292 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
30293
5e6f3253
ST
302942017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
30295
30296 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
30297 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
30298 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
30299 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
30300 to make sure that these symbols are defined.
b38a42a0
ST
30301 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
30302 of <limits.h>
30303 (__need_NULL): Do not define.
30304 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
30305 alignment.
30306 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
30307 CMGROUP_MAX, cmsgcred): Do not define.
30308 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
30309 NULL.
30310 * bits/socket.h: Likewise.
fcafcd16
ST
30311 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
30312 __gettimeofday instead of gettimeofday.
30313 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
30314 instead of settimeofday.
5e6f3253 30315
2f49ce7d
JM
303162017-09-22 Joseph Myers <joseph@codesourcery.com>
30317
30318 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
30319 (asinhf): Define using libm_alias_float.
30320 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
30321 (atanf): Define using libm_alias_float.
30322 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
30323 (cbrtf): Define using libm_alias_float.
30324 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
30325 (ceilf): Define using libm_alias_float.
30326 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
30327 <libm-alias-float.h>.
30328 (copysignf): Define using libm_alias_float.
30329 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
30330 (cosf): Define using libm_alias_float.
30331 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
30332 (erff): Define using libm_alias_float.
30333 (erfcf): Likewise.
30334 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
30335 (expm1f): Define using libm_alias_float.
30336 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
30337 (fabsf): Define using libm_alias_float.
30338 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
30339 (floorf): Define using libm_alias_float.
30340 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
30341 (frexpf): Define using libm_alias_float.
30342 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
30343 libm_alias_float.
30344 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
30345 <libm-alias-float.h>.
30346 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
30347 libm_alias_float.
30348 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
30349 <libm-alias-float.h>.
30350 (getpayloadf): Define using libm_alias_float.
30351 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
30352 <libm-alias-float.h>.
30353 (llrintf): Define using libm_alias_float.
30354 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
30355 <libm-alias-float.h>.
30356 (llroundf): Define using libm_alias_float.
30357 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
30358 (logbf): Define using libm_alias_float.
30359 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
30360 (lrintf): Define using libm_alias_float.
30361 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
30362 (lroundf): Define using libm_alias_float.
30363 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
30364 (modff): Define using libm_alias_float.
30365 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
30366 <libm-alias-float.h>.
30367 (nearbyintf): Define using libm_alias_float.
30368 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
30369 <libm-alias-float.h>.
30370 (nextafterf): Define using libm_alias_float.
30371 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
30372 <libm-alias-float.h>.
30373 (nextupf): Define using libm_alias_float.
30374 * sysdeps/ieee754/flt-32/s_remquof.c: Include
30375 <libm-alias-float.h>.
30376 (remquof): Define using libm_alias_float.
30377 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
30378 (rintf): Define using libm_alias_float.
30379 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
30380 <libm-alias-float.h>.
30381 (roundevenf): Define using libm_alias_float.
30382 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
30383 (roundf): Define using libm_alias_float.
30384 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
30385 using libm_alias_float.
30386 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
30387 <libm-alias-float.h>.
30388 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
30389 Define using libm_alias_float.
30390 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
30391 <libm-alias-float.h>.
30392 (sincosf): Define using libm_alias_float.
30393 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
30394 (sinf): Define using libm_alias_float.
30395 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
30396 (tanf): Define using libm_alias_float.
30397 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
30398 (tanhf): Define using libm_alias_float.
30399 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
30400 <libm-alias-float.h>.
30401 (totalorderf): Define using libm_alias_float.
30402 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
30403 <libm-alias-float.h>.
30404 (totalordermagf): Define using libm_alias_float.
30405 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
30406 (truncf): Define using libm_alias_float.
30407 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
30408 libm_alias_float.
30409 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
30410 libm_alias_float.
30411
c5c4a626
GG
304122017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30413
30414 [BZ #22146]
30415 math/math.h: Let fpclassify use the builtin in C++ mode, even
30416 when optimazing for size.
30417
23947846
JM
304182017-09-22 Joseph Myers <joseph@codesourcery.com>
30419
30420 * csu/Makefile (generated): Do not add version-info.h.
30421 (before-compile): Likewise.
30422 (all-Banner-files): Remove variable.
30423 ($(objpfx)version-info.h): Remove rule.
30424 * csu/version.c (banner): Do not include "version-info.h".
30425 * libidn/Banner: Remove.
30426 * manual/contrib.texi (Simon Josefsson): New entry.
30427
9ac3c682
GG
304282017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30429
30430 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
30431 Remove conditionals on LDBL_MANT_DIG.
30432 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
30433 (__ieee754_lgammal_r): Likewise.
30434
d2f0ed09
GG
304352017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30436
30437 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
30438 _Float128 and L().
30439 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
30440 _Float128 and L(). Replace _Float128 with long double and L(x)
30441 with xL, throughout the file.
30442 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
30443 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
30444 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
30445 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
30446
c5c2e667
GG
304472017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30448
30449 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
30450 sysdeps/ieee754/ldbl-128ibm.
30451 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
30452 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
30453 of including it. Keep _Float128 and L() intact. These will be
30454 reviewed by a separate patch.
30455 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
30456 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
30457 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
30458 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
30459
e010deb2
GG
304602017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30461
30462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
30463 (__finitef128): Define to __redirect___finitef128.
30464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
30465 (__isinff128): Define to __redirect___isinff128.
30466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
30467 (__isnanf128): Define to __redirect___isnanf128.
30468
ffa44804
GG
304692017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30470
30471 * sysdeps/powerpc/powerpc64le/Makefile
30472 (CFLAGS-tst-strtod-nan-locale.c): New variable.
30473 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
30474
e5e4d7cc
PP
304752017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
30476 Carlos O'Donell <carlos@redhat.com>
30477
30478 [BZ #22180]
30479 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
30480 * stdlib/test-dlclose-exit-race.c: New file.
30481 * stdlib/test-dlclose-exit-race-helper.c: New file.
30482 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
30483
c10c5267
JM
304842017-09-21 Joseph Myers <joseph@codesourcery.com>
30485
30486 * crypt/Banner: Remove file.
30487 * nptl/Banner: Likewise.
30488 * resolv/Banner: Likewise.
30489 * soft-fp/Banner: Likewise.
30490 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
30491 ($(objpfx)version.d): Remove dependency on banner.h.
30492 ($(objpfx)version.os): Likewise.
30493 * nptl/version.c (banner): Do not include banner.h.
30494 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
30495 Jelinek and BIND code.
30496
1cc9e59a
PP
304972017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
30498 Carlos O'Donell <carlos@redhat.com>
30499
30500 * support/xdlfcn.h: New file.
30501 * support/xdlfcn.c: New file.
30502 * support/Makefile (libsupport-routines): Add xdlfcn.
30503 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
30504
ae8372d7
JM
305052017-09-20 Joseph Myers <joseph@codesourcery.com>
30506
30507 [BZ #20142]
30508 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30509 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
30510 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
30511 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
30512 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
30513 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
30514 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
30515 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
30516
26e70aec 305172017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
b39d961c
TS
30518 Ricky Zhou <rickyz@google.com>
30519 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26e70aec
PP
30520
30521 [BZ #14333]
30522 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
30523 Remove atomics.
30524 (__new_exitfn): Fail registration when we finished at_exit processing.
30525 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
30526 * stdlib/on_exit.c (__on_exit): Likewise.
30527 * stdlib/exit.c (__exit_funcs_done): New variable.
30528 (__run_exit_handlers): Use __exit_funcs_lock.
30529 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
30530 declarations.
30531 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
30532 (test-cxa_atexit-race, test-on_exit-race): New tests.
30533 * stdlib/test-atexit-race-common.c: New file.
30534 * stdlib/test-atexit-race.c: New file.
30535 * stdlib/test-at_quick_exit-race.c: New file.
30536 * stdlib/test-cxa_atexit-race.c: New file.
30537 * stdlib/test-on_exit-race.c: New file.
30538
0525ce48
SN
305392017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
30540
30541 * benchtests/Makefile: Add exp2f and log2f benchmarks.
30542 * benchtests/exp2f-inputs: Copy of expf-inputs.
30543 * benchtests/log2f-inputs: Copy of logf-inputs.
30544
d82468d1
JM
305452017-09-19 Joseph Myers <joseph@codesourcery.com>
30546
30547 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
30548 Explicitly take address of first element of array arguments in
30549 call to INLINE_SYSCALL.
30550
43ffc53a
AS
305512017-09-19 Andreas Schwab <schwab@suse.de>
30552
30553 [BZ #22134]
30554 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
30555 execveat first.
30556 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
30557 unimplemented.
30558 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
30559 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
30560 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30561 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
30562 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30563 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
30564 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30565 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
30566 * posix/Makefile (tests): Add tst-fexecve.
30567 * posix/tst-fexecve.c: New file.
30568
a5dcc87e
WD
305692017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30570
30571 * benchtests/Makefile: Add logf benchmark.
30572 * benchtests/logf-inputs: Add reduced trace from wrf_r.
30573
7024d544
WD
305742017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30575
30576 * benchtests/Makefile: Add expf benchmark.
30577 * benchtests/expf-inputs: Add reduced trace from wrf_r.
30578
ca3a382e
WD
305792017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30580
30581 * csu/Makefile: Add -funwind-tables to libc-start.c.
30582 * debug/Makefile: Add -funwind-tables to backtrace.c.
30583 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
30584 * sysdeps/arm/Makefile: Likewise.
30585 * sysdeps/i386/Makefile: Likewise.
30586 * sysdeps/m68k/Makefile: Likewise.
30587 * sysdeps/mips/Makefile: Likewise.
30588 * sysdeps/nios2/Makefile: Likewise.
30589 * sysdeps/sh/Makefile: Likewise.
30590 * sysdeps/sparc/Makefile: Likewise.
30591
eb375def
JM
305922017-09-19 Joseph Myers <joseph@codesourcery.com>
30593
30594 * benchtests/Makefile (bench-math): Add trunc and truncf.
30595 (CFLAGS-bench-trunc.c): New variable.
30596 (CFLAGS-bench-truncf.c): Likewise.
30597 * benchtests/trunc-inputs: New file.
30598 * benchtests/truncf-inputs: Likewise.
30599
bd17ba29
RS
306002017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30601
30602 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
30603
92892fdb
JM
306042017-09-18 Joseph Myers <joseph@codesourcery.com>
30605
6d9b0b5a
JM
30606 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
30607 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
30608 redefine.
30609 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
30610 (exp10l): Define as weak alias.
30611 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
30612 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
30613 and redefine.
30614 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
30615 (remainderl): Define as weak alias.
30616
92892fdb
JM
30617 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
30618 (fmal): Define using libm_alias_ldouble.
30619 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
30620 (acoshl): Define using libm_alias_ldouble.
30621 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
30622 (acosl): Define using libm_alias_ldouble.
30623 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
30624 (asinl): Define using libm_alias_ldouble.
30625 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
30626 (atan2l): Define using libm_alias_ldouble.
30627 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
30628 (atanhl): Define using libm_alias_ldouble.
30629 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
30630 (coshl): Define using libm_alias_ldouble.
30631 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
30632 (exp10l): Define using libm_alias_ldouble.
30633 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
30634 (exp2l): Define using libm_alias_ldouble.
30635 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
30636 (expl): Define using libm_alias_ldouble.
30637 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
30638 (fmodl): Define using libm_alias_ldouble.
30639 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
30640 (hypotl): Define using libm_alias_ldouble.
30641 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
30642 (j0l): Define using libm_alias_ldouble.
30643 (y0l): Likewise.
30644 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
30645 (j1l): Define using libm_alias_ldouble.
30646 (y1l): Likewise.
30647 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
30648 (jnl): Define using libm_alias_ldouble.
30649 (ynl): Likewise.
30650 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
30651 (log10l): Define using libm_alias_ldouble.
30652 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
30653 (log2l): Define using libm_alias_ldouble.
30654 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
30655 (logl): Define using libm_alias_ldouble.
30656 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
30657 (powl): Define using libm_alias_ldouble.
30658 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
30659 (remainderl): Define using libm_alias_ldouble.
30660 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
30661 (sinhl): Define using libm_alias_ldouble.
30662 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
30663 (sqrtl): Define using libm_alias_ldouble.
30664 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
30665 (tgammal): Define using libm_alias_ldouble.
30666 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
30667 (exp10l): Do not use long_double_symbol here.
30668 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30669 [LIBM_SVID_COMPAT] (remainderl): Likewise.
30670 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
30671 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30672 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30673 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30674 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30675 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30676 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30677 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30678 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30679 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30680 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30681 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30682 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30683 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30684 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30685 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30686 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30687 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30688 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30689 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30690
6cd380dd
WB
306912017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
30692
30693 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
30694 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
30695
1c6d89e9
ST
306962017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
30697
30698 * io/read.c (read): Add libc_hidden_weak.
30699 * sysdeps/mach/hurd/read.c (read): Likewise.
30700 * io/write.c (write): Likewise.
30701 * sysdeps/mach/hurd/write.c (write): Likewise.
30702 * io/pread64.c (__pread64): Likewise.
30703 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
30704 * posix/pread64.c (__pread64): Add libc_hidden_def.
30705
06b1de23
SP
307062017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
30707
140647ea
SP
30708 * benchtests/scripts/compare_strings.py: New option -g.
30709 (draw_graph): Print a message that a graph is being generated.
30710 (process_results): Generate graph only if -g is passed.
30711 (main): Process option -g.
30712
5a6547b7
SP
30713 * benchtests/scripts/compare_strings.py (process_results):
30714 Better spacing for output.
30715
06b1de23
SP
30716 * benchtests/scripts/compare_strings.py: Use argparse.
30717 * benchtests/README: Document existence of compare_strings.py.
30718
c67a2328
JM
307192017-09-15 Joseph Myers <joseph@codesourcery.com>
30720
9ac44708
JM
30721 * math/s_fma.c: Include <libm-alias-double.h>.
30722 (fma): Define using libm_alias_double.
30723 * math/s_nextafter.c: Include <libm-alias-double.h>.
30724 (nextafter): Define using libm_alias_double.
30725 * math/w_acos_compat.c: Include <libm-alias-double.h>.
30726 (acos): Define using libm_alias_double.
30727 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
30728 (aocsh): Define using libm_alias_double.
30729 * math/w_asin_compat.c: Include <libm-alias-double.h>.
30730 (asin): Define using libm_alias_double.
30731 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
30732 (atan2): Define using libm_alias_double.
30733 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
30734 (atanh): Define using libm_alias_double.
30735 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
30736 (cosh): Define using libm_alias_double.
30737 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
30738 (exp10): Define using libm_alias_double.
30739 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
30740 (exp2): Define using libm_alias_double.
30741 * math/w_exp_compat.c: Include <libm-alias-double.h>.
30742 (exp): Define using libm_alias_double.
30743 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
30744 (fmod): Define using libm_alias_double.
30745 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
30746 (hypot): Define using libm_alias_double.
30747 * math/w_j0_compat.c: Include <libm-alias-double.h>.
30748 (j0): Define using libm_alias_double.
30749 (y0): Likewise.
30750 * math/w_j1_compat.c: Include <libm-alias-double.h>.
30751 (j1): Define using libm_alias_double.
30752 (y1): Likewise.
30753 * math/w_jn_compat.c: Include <libm-alias-double.h>.
30754 (jn): Define using libm_alias_double.
30755 (yn): Likewise.
30756 * math/w_log10_compat.c: Include <libm-alias-double.h>.
30757 (log10): Define using libm_alias_double.
30758 * math/w_log2_compat.c: Include <libm-alias-double.h>.
30759 (log2): Define using libm_alias_double.
30760 * math/w_log_compat.c: Include <libm-alias-double.h>.
30761 (log): Define using libm_alias_double.
30762 * math/w_pow_compat.c: Include <libm-alias-double.h>.
30763 (pow): Define using libm_alias_double.
30764 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
30765 (remainder): Define using libm_alias_double.
30766 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
30767 (sinh): Define using libm_alias_double.
30768 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
30769 (sqrt): Define using libm_alias_double.
30770 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
30771 (tgamma): Define using libm_alias_double.
30772 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
30773 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
30774 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
30775 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
30776 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
30777 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
30778 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
30779 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
30780 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
30781 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
30782 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
30783 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
30784 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
30785 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
30786 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
30787 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
30788 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
30789 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
30790 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
30791 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
30792 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
30793 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
30794 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
30795 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
30796 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
30797
c67a2328
JM
30798 * math/e_acoshl.c: Remove.
30799 * math/e_acosl.c: Likewise.
30800 * math/e_asinl.c: Likewise.
30801 * math/e_atan2l.c: Likewise.
30802 * math/e_atanhl.c: Likewise.
30803 * math/e_coshl.c: Likewise.
30804 * math/e_expl.c: Likewise.
30805 * math/e_fmodl.c: Likewise.
30806 * math/e_gammal_r.c: Likewise.
30807 * math/e_hypotl.c: Likewise.
30808 * math/e_j0l.c: Likewise.
30809 * math/e_j1l.c: Likewise.
30810 * math/e_jnl.c: Likewise.
30811 * math/e_lgammal_r.c: Likewise.
30812 * math/e_log10l.c: Likewise.
30813 * math/e_log2l.c: Likewise.
30814 * math/e_logl.c: Likewise.
30815 * math/e_powl.c: Likewise.
30816 * math/e_rem_pio2l.c: Likewise.
30817 * math/e_sinhl.c: Likewise.
30818 * math/e_sqrtf128.c: Likewise.
30819 * math/e_sqrtl.c: Likewise.
30820 * math/k_cosl.c: Likewise.
30821 * math/k_sinl.c: Likewise.
30822 * math/k_tanl.c: Likewise.
30823 * math/s_asinhl.c: Likewise.
30824 * math/s_atanl.c: Likewise.
30825 * math/s_cbrtl.c: Likewise.
30826 * math/s_erfl.c: Likewise.
30827 * math/s_expm1l.c: Likewise.
30828 * math/s_log1pl.c: Likewise.
30829 * math/s_tanhl.c: Likewise.
30830
61c45f25
TMQMF
308312017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30832
30833 [BZ #21745]
30834 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
30835 [$(subdir) = math] (sysdep_calls): New variable. Has the
30836 previous contents of sysdep_routines, but re-sorted..
30837 [$(subdir) = math] (sysdep_routines): Re-use the contents from
30838 sysdep_calls.
30839 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
30840 defined in sysdep_calls and replace by the respective m_* names.
30841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
30842 (compat_symbol): Undefine to avoid duplicated compat symbols in
30843 libc.
30844
5bcdb315
JM
308452017-09-15 Joseph Myers <joseph@codesourcery.com>
30846
30847 * math/s_fmaf.c: Include <libm-alias-float.h>.
30848 (fmaf): Define using libm_alias_float.
30849 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
30850 (acosf): Define using libm_alias_float.
30851 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
30852 (acoshf): Define using libm_alias_float.
30853 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
30854 (asinf): Define using libm_alias_float.
30855 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
30856 (atan2f): Define using libm_alias_float.
30857 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
30858 (atanhf): Define using libm_alias_float.
30859 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
30860 (coshf): Define using libm_alias_float.
30861 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
30862 (exp10f): Define using libm_alias_float.
30863 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
30864 (fmodf): Define using libm_alias_float.
30865 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
30866 (hypotf): Define using libm_alias_float.
30867 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
30868 (j0f): Define using libm_alias_float.
30869 (y0f): Likewise.
30870 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
30871 (j1f): Define using libm_alias_float.
30872 (y1f): Likewise.
30873 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
30874 (jnf): Define using libm_alias_float.
30875 (ynf): Likewise.
30876 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
30877 (log10f): Define using libm_alias_float.
30878 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
30879 (log2f): Define using libm_alias_float.
30880 * math/w_logf_compat.c: Include <libm-alias-float.h>.
30881 (logf): Define using libm_alias_float.
30882 * math/w_powf_compat.c: Include <libm-alias-float.h>.
30883 (powf): Define using libm_alias_float.
30884 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
30885 (remainderf): Define using libm_alias_float.
30886 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
30887 (sinhf): Define using libm_alias_float.
30888 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
30889 (sqrtf): Define using libm_alias_float.
30890 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
30891 (tgammaf): Define using libm_alias_float.
30892
01f28812
JM
308932017-09-14 Joseph Myers <joseph@codesourcery.com>
30894
30895 * include/math.h (roundeven): Change hidden_proto call to
30896 __roundeven.
30897 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
30898 alias.
30899 [NO_LONG_DOUBLE] (__j0l): New strong alias.
30900 (y0): Rename to __y0 and define as weak alias.
30901 [NO_LONG_DOUBLE] (__y0l): New strong alias.
30902 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
30903 alias.
30904 (y0f): Rename to __y0f and define as weak alias.
30905 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
30906 alias.
30907 [NO_LONG_DOUBLE] (__j1l): New strong alias.
30908 (y1): Rename to __y1 and define as weak alias.
30909 [NO_LONG_DOUBLE] (__y1l): New strong alias.
30910 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
30911 alias.
30912 (y1f): Rename to __y1f and define as weak alias.
30913 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
30914 alias.
30915 [NO_LONG_DOUBLE] (__jnl): New strong alias.
30916 (yn): Rename to __yn and define as weak alias.
30917 [NO_LONG_DOUBLE] (__ynl): New strong alias.
30918 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
30919 alias.
30920 (ynf): Rename to __ynf and define as weak alias.
30921 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
30922 (fromfp): Define as weak alias.
30923 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
30924 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
30925 (fromfpx): Define as weak alias.
30926 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
30927 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
30928 __getpayload and define as weak alias.
30929 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30930 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
30931 __roundeven and define as weak alias.
30932 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30933 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
30934 __setpayload.
30935 (setpayload): Define as weak alias.
30936 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
30937 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
30938 __setpayloadsig.
30939 (setpayloadsig): Define as weak alias.
30940 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
30941 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
30942 __totalorder and define as weak alias.
30943 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30944 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
30945 to __totalordermag and define as weak alias.
30946 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30947 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
30948 (ufromfp): Define as weak alias.
30949 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
30950 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
30951 __ufromfpx.
30952 (ufromfpx): Define as weak alias.
30953 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
30954 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
30955 Rename to __getpayload and define as weak alias.
30956 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30957 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
30958 Rename to __roundeven and define as weak alias.
30959 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30960 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
30961 Rename to __totalorder and define as weak alias.
30962 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30963 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
30964 (totalordermag): Rename to __totalordermag and define as weak
30965 alias.
30966 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30967 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
30968 macro.
30969 (__roundevenl): Likewise.
30970 (__totalorderl): Likewise.
30971 (__totalordermagl): Likewise
30972 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
30973 __fromfpf128.
30974 (fromfpf128): Define as weak alias.
30975 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
30976 __fromfpxf128.
30977 (fromfpxf128): Define as weak alias.
30978 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
30979 __setpayloadf128.
30980 (setpayloadf128): Define as weak alias.
30981 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
30982 __setpayloadsigf128.
30983 (setpayloadsigf128): Define as weak alias.
30984 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
30985 __ufromfpf128.
30986 (ufromfpf128): Define as weak alias.
30987 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
30988 __ufromfpxf128.
30989 (ufromfpxf128): Define as weak alias.
30990 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
30991 (fromfpf): Define as weak alias.
30992 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
30993 __fromfpxf.
30994 (fromfpxf): Define as weak alias.
30995 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
30996 __getpayloadf and define as weak alias.
30997 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
30998 __roundevenf and define as weak alias.
30999 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
31000 __setpayloadf.
31001 (setpayloadf): Define as weak alias.
31002 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
31003 __setpayloadsigf.
31004 (setpayloadsigf): Define as weak alias.
31005 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
31006 __totalorderf and define as weak alias.
31007 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
31008 Rename to __totalordermagf and define as weak alias.
31009 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
31010 __ufromfpf.
31011 (ufromfpf): Define as weak alias.
31012 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
31013 __ufromfpxf.
31014 (ufromfpxf): Define as weak alias.
31015 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
31016 __fromfpl.
31017 (fromfpl): Define as weak alias.
31018 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
31019 __fromfpxl.
31020 (fromfpxl): Define as weak alias.
31021 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
31022 to __getpayloadl and define as weak alias.
31023 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
31024 __roundevenl and define as weak alias.
31025 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
31026 __setpayloadl.
31027 (setpayloadl): Define as weak alias.
31028 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
31029 __setpayloadsigl.
31030 (setpayloadsigl): Define as weak alias.
31031 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
31032 to __totalorderl and define as weak alias.
31033 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
31034 Rename to __totalordermagl and define as weak alias.
31035 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
31036 __ufromfpl.
31037 (ufromfpl): Define as weak alias.
31038 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
31039 __ufromfpxl.
31040 (ufromfpxl): Define as weak alias.
31041 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
31042 __fromfpl.
31043 (fromfpl): Define as weak alias.
31044 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
31045 __fromfpxl.
31046 (fromfpxl): Define as weak alias.
31047 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
31048 Rename to __getpayloadl and define as weak alias.
31049 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
31050 to __roundevenl and define as weak alias. Call __roundeven
31051 instead of roundeven.
31052 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
31053 __setpayloadl.
31054 (setpayloadl): Define as weak alias.
31055 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
31056 __setpayloadsigl.
31057 (setpayloadsigl): Define as weak alias.
31058 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
31059 Rename to __totalorderl and define as weak alias.
31060 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
31061 Rename to __totalordermagl and define as weak alias.
31062 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
31063 __ufromfpl.
31064 (ufromfpl): Define as weak alias.
31065 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
31066 __ufromfpxl.
31067 (ufromfpxl): Define as weak alias.
31068 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
31069 __fromfpl.
31070 (fromfpl): Define as weak alias.
31071 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
31072 __fromfpxl.
31073 (fromfpxl): Define as weak alias.
31074 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
31075 __getpayloadl and define as weak alias.
31076 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
31077 __roundevenl and define as weak alias.
31078 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
31079 __setpayloadl.
31080 (setpayloadl): Define as weak alias.
31081 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
31082 __setpayloadsigl.
31083 (setpayloadsigl): Define as weak alias.
31084 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
31085 __totalorderl and define as weak alias.
31086 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
31087 Rename to __totalordermagl and define as weak alias.
31088 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
31089 __ufromfpl.
31090 (ufromfpl): Define as weak alias.
31091 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
31092 __ufromfpxl.
31093 (ufromfpxl): Define as weak alias.
31094
29c933fb
SP
310952017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
31096
503c92c3
SP
31097 * benchtests/bench-string.h (realloc_bufs): New function.
31098 (test_init): Call it.
31099 * benchtests/bench-memset-large.c (do_test): Likewise.
31100 * benchtests/bench-memset.c (do_test): Likewise.
31101
29c933fb
SP
31102 * benchtests/bench-memset-large.c: Print output in JSON
31103 format.
31104 * benchtests/bench-memset.c: Likewise.
31105
799c8d69
MF
311062017-09-14 Mike FABIAN <mfabian@redhat.com>
31107
31108 [BZ #21084]
31109 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
31110 * iconvdata/Makefile: Add IBM858.
31111 * iconvdata/gconv-modules: Likewise.
31112 * iconvdata/tst-tables.sh: Likewise.
31113 * iconvdata/ibm858.c: New file.
31114 * localedata/charmaps/IBM858: Likewise.
31115
c207f7ce 311162017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
31117
31118 [BZ #22023]
31119 * locales/niu_NZ (LC_TIME): copy "niu_NU".
31120 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
31121
f28a0926
AK
311222017-09-14 Mike FABIAN <mfabian@redhat.com>
31123
31124 [BZ #22112]
31125 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
31126 and add tel_int_fmt.
31127
02093e62
JM
311282017-09-14 Joseph Myers <joseph@codesourcery.com>
31129
31130 * sysdeps/generic/libm-alias-float128.h: New file.
31131 * sysdeps/generic/math-type-macros-float128.h: Include
31132 <libm-alias-float128.h>.
31133 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
31134
1aae75ef
JM
311352017-09-13 Joseph Myers <joseph@codesourcery.com>
31136
31137 * sysdeps/generic/libm-alias-ldouble.h: New file.
31138 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
31139 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
31140 * sysdeps/generic/math-type-macros-ldouble.h: Include
31141 <libm-alias-ldouble.h>.
31142 [!declare_mgen_alias] (declare_mgen_alias): Define to use
31143 libm_alias_ldouble.
31144
bcea7ad6
SN
311452017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
31146
31147 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
31148 * math/w_exp_compat.c: ... here.
31149 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
31150 * math/w_expf_compat.c: ... here.
31151 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
31152 * math/w_expl_compat.c: ... here.
31153 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
31154 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
31155 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
31156 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
31157
0fc56478
JM
311582017-09-13 Joseph Myers <joseph@codesourcery.com>
31159
31160 * math/w_scalbln_template.c (strong_alias): Do not undefine and
31161 redefine.
31162 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
31163 macro.
31164 (ldexpl): Only define as compat symbol for libc, not libm.
31165 (scalbnl): Define as compat symbol for libc here.
31166 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
31167 define for [IS_IN (libc)].
31168 (__ldexpl_2): Remove alias.
31169 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
31170 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
31171 name in long_double_symbol call.
31172 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
31173 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
31174 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
31175 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
31176 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
31177 Remove macro.
31178 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
31179 Define as compat symbol.
31180
3ca622e4
AZ
311812017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31182
31183 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
31184 * sysdeps/unix/sysv/linux/alpha/Makefile
31185 [$(subdir) = csu] (sysdep_routines): Remove rule.
31186
620ff9ee
JM
311872017-09-13 Joseph Myers <joseph@codesourcery.com>
31188
31189 * sysdeps/generic/libm-alias-double.h: New file.
31190 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
31191 * sysdeps/generic/math-type-macros-double.h: Include
31192 <libm-alias-double.h>.
31193 [declare_mgen_alias] (declare_mgen_alias): Define to use
31194 libm_alias_double.
31195 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
31196 (M_LIBM_NEED_COMPAT): Remove macro.
31197 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
31198 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
31199 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
31200 code.
31201 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31202 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31203 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31204 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31205 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31206 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31207 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31208 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31209 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31210 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31211 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31212 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31213 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31214 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31215 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31216 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31217 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31218 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31219 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31220 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31221 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31222 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31223 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31224 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31225 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31226 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31227 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31228 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
31229 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
31230 macro.
31231 (declare_mgen_alias): New macro.
31232 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
31233 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
31234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
31235 (M_LIBM_NEED_COMPAT): Remove macro.
31236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
31237 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
31238 <first-versions.h>.
31239 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
31240 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
31241
a891caff
JM
312422017-09-12 Joseph Myers <joseph@codesourcery.com>
31243
31244 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
31245 (declare_mgen_alias_2): Remove.
31246 * sysdeps/generic/math-type-macros-double.h
31247 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
31248 Likewise.
31249 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
31250 alias.
31251 (ldexp): Define with declare_mgen_alias.
31252 (scalbn): Likewise.
31253
a1a78204
SE
312542017-09-12 Steve Ellcey <sellcey@cavium.com>
31255
31256 * grp/initgroups.c: Include config.h.
31257 (DEFAULT_CONFIG): New macro.
31258 (internal_getgrouplist): Use DEFAULT_CONFIG.
31259 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31260 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
31261 (DEFAULT_DEFCONFIG): New macro.
31262 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
31263 * nss/grp-lookup.c: Include config.h
31264 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
31265 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
31266 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
31267 * manual/nss.texi: Update default values section.
31268
ef8adeb0
L
312692017-09-12 H.J. Lu <hongjiu.lu@intel.com>
31270
31271 [BZ #21967]
31272 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
31273 New.
31274 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
31275 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
31276 Handle MathVec_Prefer_No_AVX512.
31277 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
31278 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
31279 is set.
31280
a166531f
ST
312812017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
31282
31283 * posix/sched_primax.c (__sched_get_priority_max): Add
31284 libc_hidden_def.
31285 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
31286 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
31287 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
31288 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
31289 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
31290 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
31291 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
31292 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
31293 Add aliases.
31294
4b7d1efb
JM
312952017-09-11 Joseph Myers <joseph@codesourcery.com>
31296
31297 * sysdeps/generic/libm-alias-float.h: New file.
31298 * sysdeps/generic/math-type-macros-float.h: Include
31299 <libm-alias-float.h>.
31300 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
31301
45ff3463
L
313022017-09-11 H.J. Lu <hongjiu.lu@intel.com>
31303
31304 [BZ #22093]
31305 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
31306 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
31307 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
31308 (HWCAP_IMPORTANT): Likewise.
31309 (HWCAP_X86_64): New enum.
31310 (HWCAP_X86_AVX512_1): Updated.
31311 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
31312 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
31313 (modules-names): Add x86_64/tst-x86_64mod-1.
31314 (LDFLAGS-tst-x86_64mod-1.so): New.
31315 ($(objpfx)tst-x86_64-1): Likewise.
31316 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
31317 (tst-x86_64-1-clean): Likewise.
31318 * sysdeps/x86_64/tst-x86_64-1.c: New file.
31319 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
31320
891abfd3
SP
313212017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
31322
31323 * po/sv.po: Update translations.
31324 * po/fr.po: Likewise.
31325
00c3da43
ST
313262017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31327
31328 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
31329 seconds.
3bdfd9fb
ST
31330 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
31331 seconds.
65b22ebc 31332 * elf/rtld-Rules: Fix $(error) use.
00c3da43 31333
96480903
MF
313342017-09-09 Mike FABIAN <mfabian@redhat.com>
31335
31336 [BZ #14925]
31337 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
31338 * locale/iso-639.def: Change “Bengali” to “Bangla”.
31339 * localedata/locales/bn_BD: “Bengali” was still used in some
31340 comments. Change it to “Bangla”.
31341
4c03a696
MT
313422017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
31343
31344 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
31345
9c9ec581
SE
313462017-09-08 Steve Ellcey <sellcey@cavium.com>
31347
31348 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
31349 thunderx2t99p1 to list of cpu names.
31350 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
31351 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
31352
f00bce74
SE
313532017-09-08 Steve Ellcey <sellcey@cavium.com>
31354
31355 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
31356 Use strcmp instead of tunable_is_name.
31357
27342d17
JM
313582017-09-08 Joseph Myers <joseph@codesourcery.com>
31359
af1b7c8c
JM
31360 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31361 (F_GET_RW_HINT): New macro.
31362 [__USE_GNU] (F_SET_RW_HINT): Likewise.
31363 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
31364 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
31365 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
31366 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
31367 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
31368 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
31369 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
31370 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
31371
27342d17
JM
31372 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31373 (F_ADD_SEALS): New macro.
31374 [__USE_GNU] (F_GET_SEALS): Likewise.
31375 [__USE_GNU] (F_SEAL_SEAL): Likewise.
31376 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
31377 [__USE_GNU] (F_SEAL_GROW): Likewise.
31378 [__USE_GNU] (F_SEAL_WRITE): Likewise.
31379
c66c9082
AZ
313802017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31381
07b4f49d
AZ
31382 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
31383 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
31384 * posix/glob_internal.h (__glob_pattern_type):
31385 * posix/glob.c (glob):
31386 * posix/glob_pattern_p.c (__glob_pattern_p):
31387 Use them.
31388
116f1c64
AZ
31389 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
31390 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31391 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
31392 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
31393 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
31394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
31395 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
31396 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
31397 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
31398 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31399 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
31400 * sysdeps/wordsize-64/glob.c: Likewise.
31401 * sysdeps/wordsize-64/glob64.c: Likewise.
31402 * sysdeps/wordsize-64/globfree.c: Likewise.
31403 * sysdeps/wordsize-64/globfree64.c: Likewise.
31404 * sysdeps/unix/sysv/linux/glob.c: New file.
31405 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
31406 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
31407 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
31408 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
31409 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
31410 adds !GLOB_NO_OLD_VERSION as an extra condition.
31411 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
31412 using relative path instead of absolute one.
31413 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
31414 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31415 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31416 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
31417 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
31418 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
31419
ffca8901
AZ
31420 [BZ #1062]
31421 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
31422 (glob): Use the same scratch buffer for both getlogin_r and
31423 getpwnam_r. Don’t require preallocation of the login name. This
31424 simplifies storage allocation, and corrects the handling of
31425 long login names.
31426
5a79f975
AZ
31427 [BZ #1062]
31428 * posix/glob.c (glob): Port recent patches to platforms
31429 lacking getpwnam_r.
31430 (glob): Fix longstanding misuse of errno after getpwnam_r, which
31431 returns an error number rather than setting errno.
31432
e00f2425
AZ
31433 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
31434 instead of GCC extension.
31435 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
31436 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
31437 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
31438
5554304f
AZ
31439 [BZ #866]
31440 [BZ #1062]
31441 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
31442 * posix/bug-glob1.c: Remove file.
31443 * posix/tst-glob_symlinks.c: New file.
31444 * posix/glob.c (__lstat64): New macro.
31445 (is_dir): New function.
31446 (glob, glob_in_dir): Match symlinks even if they are dangling.
31447 (link_stat, link_exists_p): Remove. All uses removed.
31448
686f2ea1
AZ
31449 [BZ #1062]
31450 [BZ #19971]
31451 * posix/glob.c (struct readdir_result): Remove skip_entry member.
31452 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
31453 All uses removed.
31454
c66c9082 31455 [BZ #1062]
914c9994 31456 CVE-2017-15671
c66c9082
AZ
31457 * posix/Makefile (routines): Add globfree, globfree64, and
31458 glob_pattern_p.
31459 * posix/flexmember.h: New file.
31460 * posix/glob_internal.h: Likewise.
31461 * posix/glob_pattern_p.c: Likewise.
31462 * posix/globfree.c: Likewise.
31463 * posix/globfree64.c: Likewise.
31464 * sysdeps/gnu/globfree64.c: Likewise.
31465 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
31466 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
31467 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
31468 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
31469 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
31470 * sysdeps/wordsize-64/globfree.c: Likewise.
31471 * sysdeps/wordsize-64/globfree64.c: Likewise.
31472 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
31473 [NDEBUG): Remove comments.
31474 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
31475 (dirent_type): New type. Use uint_fast8_t not
31476 uint8_t, as C99 does not require uint8_t.
31477 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
31478 (struct readdir_result): Use dirent_type. Do not define skip_entry
31479 unless it is needed; this saves a byte on platforms lacking d_ino.
31480 (readdir_result_type, readdir_result_skip_entry):
31481 New functions, replacing ...
31482 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
6b5c8607 31483 these functions, which were removed. This makes the callers
c66c9082
AZ
31484 easier to read. All callers changed.
31485 (D_INO_TO_RESULT): Now empty if there is no d_ino.
31486 (size_add_wrapv, glob_use_alloca): New static functions.
31487 (glob, glob_in_dir): Check for size_t overflow in several places,
31488 and fix some size_t checks that were not quite right.
31489 Remove old code using SHELL since Bash no longer
31490 uses this.
31491 (glob, prefix_array): Separate MS code better.
31492 (glob_in_dir): Remove old Amiga and VMS code.
31493 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
31494 separate files.
31495 (glob_in_dir): Do not rely on undefined behavior in accessing
31496 struct members beyond their bounds. Use a flexible array member
31497 instead
31498 (link_stat): Rename from link_exists2_p and return -1/0 instead of
31499 0/1. Caller changed.
31500 (glob): Fix memory leaks.
31501 * posix/glob64 (globfree64): Move to separate file.
31502 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
31503 (globfree64): Remove hidden alias.
31504 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
31505 oldglob.
31506 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
31507 separate file.
31508 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
31509 define.
31510 Move compat code to separate file.
31511 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
31512 separate file.
31513
78bfa877
L
315142017-09-07 H.J. Lu <hongjiu.lu@intel.com>
31515
31516 * resolv/tst-resolv-qtypes.c (domain): Changed to
31517 "const char domain[] =".
31518
05f0011f
JM
315192017-09-07 Joseph Myers <joseph@codesourcery.com>
31520
85bec0f2
JM
31521 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
31522 version to 3.1.6.
31523
5c23ee6e
JM
31524 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
31525 (TCP_MD5SIG_EXT): Likewise.
31526 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
31527 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
31528 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
31529
05f0011f
JM
31530 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
31531
7c9c5be9
MF
315322017-09-07 Mike FABIAN <mfabian@redhat.com>
31533
31534 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
31535
c207f7ce 315362017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
31537
31538 [BZ #22100]
31539 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
31540
507fe027
ST
315412017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
31542
31543 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
31544 before assuming that the file is empty. Avoid testing buffer content
31545 when nread == 0.
31546
65687ac7
AZ
315472017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31548
7bbbb4b9 31549 [BZ #18858]
65687ac7
AZ
31550 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
31551 Remove define.
31552 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
31553 Likewise.
31554 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
31555 Likewise.
31556 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
31557 Likewise.
31558 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
31559 Likewise.
31560 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
31561 Likewise.
31562 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
31563 Likewise.
31564
ab5ac271
FW
315652017-09-06 Florian Weimer <fweimer@redhat.com>
31566
31567 * malloc/dynarray_emplace_enlarge.c
31568 (__libc_dynarray_emplace_enlarge): Add missing else.
31569
a8304730
FW
315702017-09-06 Florian Weimer <fweimer@redhat.com>
31571
31572 [BZ #22096]
31573 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
31574 case of failure to obtain the global conf object.
31575
5670c4ab
FW
315762017-09-06 Florian Weimer <fweimer@redhat.com>
31577
31578 [BZ #22095]
31579 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
31580 dynarray allocation failure.
31581
c77eb969
FW
315822017-09-06 Florian Weimer <fweimer@redhat.com>
31583
31584 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
31585 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
31586 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
31587 New functions.
31588 (response): Call them. Add 'p', '6' flag processing.
31589 (test_reverse): New function.
31590 (test_get2_any): Call it.
31591 (test_no_inet6): Add 'p' test.
31592 (test_inet6): Likewise.
31593
5e9c4d17
FW
315942017-09-06 Florian Weimer <fweimer@redhat.com>
31595
31596 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
31597 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
31598 the QNAME.
31599 (test_gai): Adjust query names. Add additional tests.
31600 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
31601 test_get2. Adjust query names. Add additional tests.
31602 (test_no_inet6): New function, extracted from threadfunc.
31603 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
31604 Add additional tests.
31605
2ae5be04
MF
316062017-09-06 Mike FABIAN <mfabian@redhat.com>
31607
31608 [BZ #22070]
31609 * localedata/unicode-gen/utf8_gen.py: Set the width for
31610 characters with Prepended_Concatenation_Mark property to 1
31611 * localedata/charmaps/UTF-8: Updated using the improved script.
31612
af83ed5c
MF
316132017-09-06 Mike FABIAN <mfabian@redhat.com>
31614
31615 [BZ #21750]
31616 * localedata/unicode-gen/utf8_gen.py: Improve the script to
31617 use the range notation for all ranges of neighbouring characters
31618 with the same width.
31619
4f3647e4
JM
316202017-09-05 Joseph Myers <joseph@codesourcery.com>
31621
31622 * sysdeps/generic/math-type-macros-double.h: Include
31623 <math-svid-compat.h>.
31624 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31625 * sysdeps/generic/math-type-macros-float.h: Include
31626 <math-svid-compat.h>.
31627 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31628 * sysdeps/generic/math-type-macros-ldouble.h: Include
31629 <math-svid-compat.h>.
31630 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31631 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
31632 condition.
31633 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
31634 * math/w_acosf_compat.c: Likewise.
31635 * math/w_acosh_compat.c: Likewise.
31636 * math/w_acoshf_compat.c: Likewise.
31637 * math/w_acoshl_compat.c: Likewise.
31638 * math/w_acosl_compat.c: Likewise.
31639 * math/w_asin_compat.c: Likewise.
31640 * math/w_asinf_compat.c: Likewise.
31641 * math/w_asinl_compat.c: Likewise.
31642 * math/w_atan2_compat.c: Likewise.
31643 * math/w_atan2f_compat.c: Likewise.
31644 * math/w_atan2l_compat.c: Likewise.
31645 * math/w_atanh_compat.c: Likewise.
31646 * math/w_atanhf_compat.c: Likewise.
31647 * math/w_atanhl_compat.c: Likewise.
31648 * math/w_cosh_compat.c: Likewise.
31649 * math/w_coshf_compat.c: Likewise.
31650 * math/w_coshl_compat.c: Likewise.
31651 * math/w_exp10_compat.c: Likewise.
31652 * math/w_exp10f_compat.c: Likewise.
31653 * math/w_exp10l_compat.c: Likewise.
31654 * math/w_exp2_compat.c: Likewise.
31655 * math/w_exp2f_compat.c: Likewise.
31656 * math/w_exp2l_compat.c: Likewise.
31657 * math/w_fmod_compat.c: Likewise.
31658 * math/w_fmodf_compat.c: Likewise.
31659 * math/w_fmodl_compat.c: Likewise.
31660 * math/w_hypot_compat.c: Likewise.
31661 * math/w_hypotf_compat.c: Likewise.
31662 * math/w_hypotl_compat.c: Likewise.
31663 * math/w_j0_compat.c: Likewise.
31664 * math/w_j0f_compat.c: Likewise.
31665 * math/w_j0l_compat.c: Likewise.
31666 * math/w_j1_compat.c: Likewise.
31667 * math/w_j1f_compat.c: Likewise.
31668 * math/w_j1l_compat.c: Likewise.
31669 * math/w_jn_compat.c: Likewise.
31670 * math/w_jnf_compat.c: Likewise.
31671 * math/w_jnl_compat.c: Likewise.
31672 * math/w_lgamma_r_compat.c: Likewise.
31673 * math/w_lgammaf_r_compat.c: Likewise.
31674 * math/w_lgammal_r_compat.c: Likewise.
31675 * math/w_log10_compat.c: Likewise.
31676 * math/w_log10f_compat.c: Likewise.
31677 * math/w_log10l_compat.c: Likewise.
31678 * math/w_log2_compat.c: Likewise.
31679 * math/w_log2f_compat.c: Likewise.
31680 * math/w_log2l_compat.c: Likewise.
31681 * math/w_log_compat.c: Likewise.
31682 * math/w_logf_compat.c: Likewise.
31683 * math/w_logl_compat.c: Likewise.
31684 * math/w_pow_compat.c: Likewise.
31685 * math/w_powf_compat.c: Likewise.
31686 * math/w_powl_compat.c: Likewise.
31687 * math/w_remainder_compat.c: Likewise.
31688 * math/w_remainderf_compat.c: Likewise.
31689 * math/w_remainderl_compat.c: Likewise.
31690 * math/w_sinh_compat.c: Likewise.
31691 * math/w_sinhf_compat.c: Likewise.
31692 * math/w_sinhl_compat.c: Likewise.
31693 * math/w_sqrt_compat.c: Likewise.
31694 * math/w_sqrtf_compat.c: Likewise.
31695 * math/w_sqrtl_compat.c: Likewise.
31696 * math/w_tgamma_compat.c: Likewise.
31697 * math/w_tgammaf_compat.c: Likewise.
31698 * math/w_tgammal_compat.c: Likewise.
31699 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
31700 [LIBM_SVID_COMPAT].
31701 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
31702 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
31703 [LIBM_SVID_COMPAT].
31704 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
31705 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
31706 [LIBM_SVID_COMPAT].
31707 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
31708 * sysdeps/i386/fpu/w_sqrt.c: New file.
31709 * sysdeps/ia64/fpu/w_acos.c: Likewise.
31710 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
31711 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
31712 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
31713 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
31714 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
31715 * sysdeps/ia64/fpu/w_asin.c: Likewise.
31716 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
31717 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
31718 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
31719 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
31720 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
31721 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
31722 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
31723 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
31724 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
31725 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
31726 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
31727 * sysdeps/ia64/fpu/w_exp.c: Likewise.
31728 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
31729 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
31730 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
31731 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
31732 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
31733 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
31734 * sysdeps/ia64/fpu/w_expf.c: Likewise.
31735 * sysdeps/ia64/fpu/w_expl.c: Likewise.
31736 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
31737 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
31738 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
31739 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
31740 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
31741 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
31742 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
31743 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
31744 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
31745 * sysdeps/ia64/fpu/w_log.c: Likewise.
31746 * sysdeps/ia64/fpu/w_log10.c: Likewise.
31747 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
31748 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
31749 * sysdeps/ia64/fpu/w_log2.c: Likewise.
31750 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
31751 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
31752 * sysdeps/ia64/fpu/w_logf.c: Likewise.
31753 * sysdeps/ia64/fpu/w_logl.c: Likewise.
31754 * sysdeps/ia64/fpu/w_pow.c: Likewise.
31755 * sysdeps/ia64/fpu/w_powf.c: Likewise.
31756 * sysdeps/ia64/fpu/w_powl.c: Likewise.
31757 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
31758 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
31759 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
31760 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
31761 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
31762 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
31763 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
31764 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
31765 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
31766 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
31767 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
31768 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
31769 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
31770 [LIBM_SVID_COMPAT].
31771 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
31772 * sysdeps/ieee754/k_standard.c: Likewise.
31773 * sysdeps/ieee754/k_standardf.c: Likewise.
31774 * sysdeps/ieee754/k_standardl.c: Likewise.
31775 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
31776 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
31777 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
31778 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
31779 long_double_symbol call on [LIBM_SVID_COMPAT].
31780 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
31781 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
31782 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
31783 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
31784 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
31785 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
31786 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
31787 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
31788 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
31789 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
31790 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
31791 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
31792 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
31793 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
31794 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
31795 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
31796 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
31797 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
31798 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
31799 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
31800 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
31801 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
31802
05b38d64
SE
318032017-09-05 Steve Ellcey <sellcey@cavium.com>
31804
31805 * include/shlib-compat.h (TEST_COMPAT): New Macro.
31806 * malloc/tst-mallocstate.c: Convert from test-skeleton
31807 to test-driver. Ifdef code using TEST_COMPAT macro.
31808 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
31809 * math/test-matherr.c: Likewise.
31810
99d67918
JM
318112017-09-05 Joseph Myers <joseph@codesourcery.com>
31812
31813 [BZ #22086]
31814 * debug/pcprofiledump.c (main): Use byte-swapped mask when
31815 comparing word with byte-swapped constant.
31816
c207f7ce 318172017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
31818
31819 [BZ #20498]
31820 * locale/iso-639.def: add Miskito.
31821 * localedata/SUPPORTED: Add miq_NI/UTF-8.
31822 * localedata/locales/miq_NI: New file.
31823
0a587a8a
L
318242017-09-04 H.J. Lu <hongjiu.lu@intel.com>
31825
31826 [BZ #18822]
31827 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
31828 (__mkdir): Likewise.
31829 * io/chmod.c (__chmod): Add libc_hidden_def.
31830 * io/mkdir.c (__mkdir): Likewise.
31831 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
31832 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
31833 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
31834 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
31835
f3a129b8
JM
318362017-09-04 Joseph Myers <joseph@codesourcery.com>
31837
1650e192
JM
31838 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
31839 version to 4.13.
31840
f3a129b8
JM
31841 [BZ #22082]
31842 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
31843 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
31844
b38042f5
FW
318452017-09-04 Florian Weimer <fweimer@redhat.com>
31846
31847 * math/math.h: Issue warning if log is defined.
31848
059b6404
JM
318492017-09-04 Joseph Myers <joseph@codesourcery.com>
31850
31851 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
31852 kernel version to 4.13.
31853
b794e16b
ST
318542017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31855
31856 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
31857 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
31858 parameter.
01969395
ST
31859 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
31860 just <bits/types.h>.
dd2b31de 31861 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 31862 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 31863 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 31864 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
31865 * misc/preadv2.c: Include <errno.h>.
31866 * misc/preadv64v2.c: Include <errno.h>.
31867 * misc/pwritev2.c: Include <errno.h>.
31868 * misc/pwritev64v2.c: Include <errno.h>.
31869 * sysdeps/posix/preadv2.c: Include <errno.h>.
31870 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
31871 Fix <unistd.h> inclusion.
31872 * sysdeps/posix/pwritev2.c: Include <errno.h>.
31873 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
31874 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
31875 __strtoul_internal): New functions.
127e7773
ST
31876 * sysdeps/posix/pause.c: Include <sigsetops.h>.
31877 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
31878 * sysdeps/mach/hurd/i386/Makefile
31879 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
31880 [$(subdir) = csu] (sysdep-only-routines): Likewise.
31881 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
31882 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
31883 __feraiseexcept_renamed to feraiseexcept instead of
31884 __GI_feraiseexcept.
56bf5497 31885 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 31886 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
31887 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
31888 RWF_NOWAIT): Define to 0 if undefined already.
31889 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
31890 boils down to 0.
6547ec0a
ST
31891 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
31892 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 31893
5a80d39d
JM
318942017-09-01 Joseph Myers <joseph@codesourcery.com>
31895
31896 * manual/math.texi (pow10): Do not document.
31897 (pow10f): Likewise.
31898 (pow10l): Likewise.
31899 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
31900 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
31901 * math/libm-test-exp10.inc (pow10_test): Remove.
31902 (do_test): Do not call pow10.
31903 * math/w_exp10_compat.c (pow10): Make into compat symbol.
31904 [NO_LONG_DOUBLE] (pow10l): Likewise.
31905 * math/w_exp10f_compat.c (pow10f): Likewise.
31906 * math/w_exp10l_compat.c (pow10l): Likewise.
31907 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
31908 (pow10): Make into compat symbol.
31909 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
31910 (pow10f): Make into compat symbol.
31911 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
31912 (pow10l): Make into compat symbol.
31913 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
31914 pow10.
31915 (CFLAGS-nldbl-pow10.c): Remove variable..
31916 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
31917 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
31918 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
31919 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
31920 Undefine and redefine.
31921 (pow10l): Make into compat symbol.
31922 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
31923 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
31924 * sysdeps/arm/libm-test-ulps: Likewise.
31925 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
31926 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
31927 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
31928 * sysdeps/microblaze/libm-test-ulps: Likewise.
31929 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31930 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31931 * sysdeps/nios2/libm-test-ulps: Likewise.
31932 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31933 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
31934 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31935 * sysdeps/sh/libm-test-ulps: Likewise.
31936 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31937 * sysdeps/tile/libm-test-ulps: Likewise.
31938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31939
3824fc38
PP
319402017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31941
31942 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
31943
b3008279
L
319442017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31945
31946 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
31947 "../ChangeLog.old/ChangeLog.8".
31948 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
31949 "../ChangeLog.old/ChangeLog.14".
31950
136fa185
L
319512017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31952
31953 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
31954 Threads Library.
31955
c18d50a2
JM
319562017-09-01 Joseph Myers <joseph@codesourcery.com>
31957
31958 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
31959
bedbd859
L
319602017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31961
31962 * csu/version.c (banner): Remove "by Roland McGrath et al.".
31963 * nptl/Banner: Remove "by Ulrich Drepper et al.".
31964
50c66c7a
PP
319652017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31966
31967 * stdlib/tst-atexit-common.c (do_test): Test support for at least
31968 32 atexit handlers.
31969
a617bd11
ZW
319702017-09-01 Zack Weinberg <zackw@panix.com>
31971
31972 * math/math.h (HUGE_VAL): Improve commentary.
31973
e0d2eb5a
AZ
319742017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31975 Andreas Schwab <schwab@suse.de>
31976
31977 [BZ #21530]
31978 * include/stdio.h (__gen_tempfd): New function.
31979 * stdio-common/Makefile (routines): Add gentempfd.
31980 * stdio-common/gentempfd.c: New file.
31981 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
31982 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
31983 unnamed file first.
31984
f4a6be25
FW
319852017-09-01 Florian Weimer <fweimer@redhat.com>
31986
31987 [BZ #21915]
31988 [BZ #21922]
31989 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
31990 result to determine success or failure, not the errno value.
31991 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
31992 (tst-nss-files-hosts-erange): Link with -ldl.
31993 * nss/tst-nss-files-hosts-erange.c: New file.
31994 * nss/tst-resolv-basic.c (response): Handle nodata.example.
31995 (do_test): Add NO_DATA tests.
31996 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
31997 (do_test): Call it.
31998
5f8340f5
FW
319992017-09-01 Florian Weimer <fweimer@redhat.com>
32000
32001 [BZ #21922]
32002 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
32003 coming from gethostbyname2_r.
32004
65329bd2
FW
320052017-09-01 Florian Weimer <fweimer@redhat.com>
32006
32007 * support/namespace.h (struct support_chroot_configuration): Add
32008 hosts, host_conf.
32009 (struct support_chroot): Add path_hosts, path_host_conf.
32010 * support/support_chroot.c (write_file): New function.
32011 (support_chroot_create): Call it to process /etc/resolv.conf,
32012 /etc/hosts, /etc/host.conf.
32013 (support_chroot_free): Update.
32014
a2881ef0
FW
320152017-09-01 Florian Weimer <fweimer@redhat.com>
32016
32017 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
32018 status indicates it is set.
32019
ad816a5e
FW
320202017-09-01 Florian Weimer <fweimer@redhat.com>
32021
63b52889 32022 [BZ #20532]
ad816a5e
FW
32023 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
32024 function lookup failures more reliable.
32025
53250a21
FW
320262017-09-01 Florian Weimer <fweimer@redhat.com>
32027
32028 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
32029 (getcanonname): Likewise.
32030 (gaih_inet): Likewise.
32031
924b121c
FW
320322017-09-01 Florian Weimer <fweimer@redhat.com>
32033
32034 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
32035 (getcanonname): Likewise.
32036 (gaih_inet): Likewise.
32037
d9ff799a 320382017-08-31 Steve Ellcey <sellcey@cavium.com>
6b5c8607 32039 Richard Henderson <rth@twiddle.net>
d9ff799a
SE
32040
32041 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
32042 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
32043 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
32044 (IREG_SIZE, OREG_SIZE): New macros.
32045 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
32046 (IREG_SIZE, OREG_SIZE): New macros.
32047 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
32048 (IREG_SIZE): New macro.
32049 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
32050 (IREG_SIZE): New macro.
32051 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
32052 New includes.
32053 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
32054 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
32055 (__CONCATX): Handle exceptions correctly on large values that may
32056 set FE_INVALID.
32057 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
32058 Initialize if not already set.
b39d961c 32059 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
d9ff799a 32060
102dde84
AZ
320612017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32062
32063 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
32064 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
32065 Likewise.
32066 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
32067 Likewise.
32068 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
32069 Likewise.
32070 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
32071 Likewise.
32072 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
32073 Likewise.
32074 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
32075 Likewise.
32076 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
32077 Likewise.
32078 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
32079 (NO_CANCELLATION): Likewise.
32080 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
32081 Likewise.
32082 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
32083 Likewise.
32084 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
32085 Likewise.
32086 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
32087 (NO_CANCELLATION): Likewise.
32088 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
32089 (NO_CANCELLATION): Likewise.
32090 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
32091 Likewise
32092 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
32093 Likewise.
32094 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
32095 Likewise.
32096 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
32097 Likewise.
32098 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
32099 hidden prototype.
32100 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
32101 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
32102
9eee633b
SE
321032017-08-31 Steve Ellcey <sellcey@cavium.com>
32104
32105 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
32106 in resolver call.
32107
65284eb7
FW
321082017-08-31 Florian Weimer <fweimer@redhat.com>
32109
32110 * include/libc-symbols.h (internal_function): Remove.
32111
41ad5ca6
FW
321122017-08-31 Florian Weimer <fweimer@redhat.com>
32113
32114 * stdlib/fmtmsg.c (internal_addseverity): Remove
32115 internal_function.
32116
2fa6d086
FW
321172017-08-31 Florian Weimer <fweimer@redhat.com>
32118
32119 * stdio-common/printf_fp.c (group_number): Remove
32120 internal_function.
32121 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
32122
b41bd5bc
FW
321232017-08-31 Florian Weimer <fweimer@redhat.com>
32124
32125 * posix/fnmatch.c (internal_function): Remove definition.
32126 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
32127 * posix/regcomp.c (peek_token, init_word_char)
32128 (duplicate_node_closure, fetch_token, peek_token)
32129 (peek_token_bracket, build_range_exp, build_collating_symbol):
32130 Likewise.
32131 * posix/regex_internal.c (re_string_construct_common)
32132 (create_ci_newstate, create_cd_newstate, re_string_allocate)
32133 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
32134 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
32135 (re_string_translate_buffer, re_string_reconstruct)
32136 (re_string_peek_byte_case, re_string_fetch_byte_case)
32137 (re_string_destruct, re_string_context_at, re_node_set_alloc)
32138 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
32139 (re_node_set_add_intersect, re_node_set_init_union)
32140 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
32141 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
32142 (re_dfa_add_node, calc_state_hash, re_acquire_state)
32143 (re_acquire_state_context): Likewise.
32144 * posix/regex_internal.h (internal_function): Remove definition.
32145 (re_string_realloc_buffers, build_wcs_buffer)
32146 (build_wcs_upper_buffer, build_upper_buffer)
32147 (re_string_translate_buffer, re_string_context_at)
32148 (re_string_char_size_at, re_string_wchar_at)
32149 (re_string_elem_size_at): Likewise.
32150 * posix/regexec.c (match_ctx_init, match_ctx_clean)
32151 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
32152 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
32153 (re_search_internal, re_search_2_stub, re_search_stub)
32154 (re_copy_regs, prune_impossible_nodes, check_matching)
32155 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
32156 (free_fail_stack_return, sift_states_iter_mb)
32157 (sift_states_backward, build_sifted_states)
32158 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
32159 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
32160 (check_subexp_limits, sift_states_bkref, merge_state_array)
32161 (find_recover_state, transit_state, merge_state_with_log)
32162 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
32163 (transit_state_mb, transit_state_bkref, get_subexp)
32164 (get_subexp_sub, find_subexp_node, check_arrival)
32165 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
32166 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
32167 (check_node_accept_bytes, find_collation_sequence_value)
32168 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
32169 (acquire_init_state_context, check_halt_node_context)
32170 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
32171 (sub_epsilon_src_nodes): Likewise.
32172 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
32173 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
32174 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
32175 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
32176 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
32177 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
32178 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
32179 * sysdeps/posix/ttyname.c (getttyname): Likewise.
32180 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
32181 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
32182 (PREADV): Likewise.
32183 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
32184 (PREADV): Likewise.
32185 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
32186 (PWRITEV): Likewise.
32187 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
32188 (PWRITEV): Likewise.
32189 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
32190 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
32191
83b09837
FW
321922017-08-31 Florian Weimer <fweimer@redhat.com>
32193
32194 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
32195 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
32196 Remove internal_function.
32197 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
32198 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
32199 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
32200 (__deallocate_stack, __libc_pthread_init)
32201 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
32202 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
32203 (__libc_disable_asynccancel, __librt_disable_asynccancel):
32204 Likewise.
32205 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
32206 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
32207 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
32208 Likewise.
32209 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
32210 (__pthread_mutex_unlock_usercnt): Likewise.
32211
116ac301
FW
322122017-08-31 Florian Weimer <fweimer@redhat.com>
32213
32214 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
32215 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
32216 (fts_safe_changedir): Remove internal_function.
32217 * io/ftw.c (internal_function): Remove definition.
32218 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
32219
9da93bd7
FW
322202017-08-31 Florian Weimer <fweimer@redhat.com>
32221
32222 * inet/deadline.c (__deadline_current_time)
32223 (__deadline_from_timeval, __deadline_to_ms): Remove
32224 internal_function.
32225 * inet/getnameinfo.c (nrl_domainname): Likewise.
32226 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
32227 * inet/inet6_option.c (add_pad): Likewise.
32228 * inet/net-internal.h (__deadline_current_time)
32229 (__deadline_from_timeval, __deadline_to_ms): Likewise.
32230 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
32231 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
32232 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
32233
a60eca2e
JM
322342017-08-31 Joseph Myers <joseph@codesourcery.com>
32235
c0c49d60
JM
32236 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
32237 include <bits/nan.h>.
32238 * math/Makefile (headers): Remove bits/nan.h.
32239 * bits/nan.h: Remove.
32240 * sysdeps/ieee754/bits/nan.h: Likewise.
32241 * sysdeps/mips/bits/nan.h: Likewise.
32242
5ef1b213
JM
32243 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
32244 not include <bits/inf.h>.
32245 * math/Makefile (headers): Remove bits/inf.h.
32246 * bits/inf.h: Remove.
32247 * sysdeps/ieee754/bits/inf.h: Likewise.
32248
a60eca2e
JM
32249 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
32250 bits/huge_vall.h or bits/huge_val_flt128.h.
32251 (HUGE_VAL): Define directly here.
32252 [__USE_ISOC99] (HUGE_VALF): Likewise.
32253 [__USE_ISOC99] (HUGE_VALL): Likewise.
32254 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32255 (HUGE_VAL_F128): Likewise.
32256 * math/Makefile (headers): Remove bits/huge_val.h,
32257 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
32258 * bits/huge_val.h: Remove.
32259 * bits/huge_val_flt128.h: Likewise.
32260 * bits/huge_valf.h: Likewise.
32261 * bits/huge_vall.h: Likewise.
32262 * sysdeps/ia64/bits/huge_vall.h: Likewise.
32263 * sysdeps/ieee754/bits/huge_val.h: Likewise.
32264 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
32265 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
32266 * sysdeps/sh/bits/huge_val.h: Likewise.
32267 * sysdeps/sparc/bits/huge_vall.h: Likewise.
32268 * sysdeps/x86/bits/huge_vall.h: Likewise.
32269
17e00cc6
FW
322702017-08-31 Florian Weimer <fweimer@redhat.com>
32271
32272 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
32273 internal_function.
32274 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
32275 Likewise.
32276 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
32277 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
32278 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
32279 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
32280 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32281 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
32282 * elf/dl-libc.c (dlerror_run): Likewise.
32283 * elf/dl-load.c (add_name_to_object, decompose_rpath)
32284 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
32285 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
32286 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
32287 Likewise.
32288 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
32289 (_dl_higher_prime_number, _dl_strtoul): Likewise.
32290 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
32291 * elf/dl-profile.c (_dl_start_profile): Likewise.
32292 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
32293 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
32294 Likewise.
32295 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
32296 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
32297 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
32298 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
32299 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
32300 (_dl_allocate_tls_storage): Likewise.
32301 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
32302 (_dl_check_all_versions): Likewise.
32303 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
32304 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
32305 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
32306 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
32307 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
32308 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
32309 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
32310 internal_function from __dl_start.
32311 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
32312 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
32313 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
32314 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
32315 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
32316 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
32317 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
32318 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
32319 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
32320 (_dl_next_ld_env_entry, _dl_important_hwcaps)
32321 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
32322 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
32323 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
32324 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
32325 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
32326 Likewise.
32327 (struct rtld_global_ro): Remove internal_function from the
32328 _dl_lookup_symbol_x member.
32329 (_dl_symbol_value): Remove. No longer defined anywhere.
32330 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
32331 internal_function.
32332 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
32333 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
32334 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
32335 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
32336 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
32337 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
32338 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
32339 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
32340 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
32341 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
32342 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
32343 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
32344
8d2f9410
FW
323452017-08-31 Florian Weimer <fweimer@redhat.com>
32346
32347 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
32348 Remove internal_function.
32349 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
32350 Likewise.
32351 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
32352 Likewise.
32353
86e4919f
FW
323542017-08-31 Florian Weimer <fweimer@redhat.com>
32355
32356 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
32357 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
32358 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
32359
59bd52b0
FW
323602017-08-31 Florian Weimer <fweimer@redhat.com>
32361
32362 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
32363 (__gai_enqueue_request): Remove internal_function.
32364 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
32365 (__gai_remove_request, __gai_notify, __gai_notify_only)
32366 (__gai_sigqueue): Likewise.
32367 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
32368 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
32369 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
32370 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32371 Likewise.
32372
fc3d9497
FW
323732017-08-31 Florian Weimer <fweimer@redhat.com>
32374
32375 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
32376 * include/dirent.h (__opendirat, __getdents, __getdents64)
32377 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
32378 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
32379 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32380 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
32381 Likewise.
32382 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
32383
18c54fac
FW
323842017-08-31 Florian Weimer <fweimer@redhat.com>
32385
32386 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
32387 internal_function.
32388 (GETCWD_RETURN_TYPE): Likewise.
32389
7e01f080
FW
323902017-08-31 Florian Weimer <fweimer@redhat.com>
32391
32392 * include/time.h (__tz_compute, __strptime_internal): Remove
32393 internal_function.
32394 * time/strptime_l.c (__strptime_internal): Likewise.
32395 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
32396
d7ccc6c9
FW
323972017-08-31 Florian Weimer <fweimer@redhat.com>
32398
32399 * iconv/gconv.c (__gconv): Remove internal_function.
32400 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
32401 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
32402 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
32403 (__gconv_release_cache): Likewise.
32404 * iconv/gconv_close.c (__gconv_close): Likewise.
32405 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
32406 (read_conf_file, __gconv_get_path): Likewise.
32407 * iconv/gconv_db.c (derivation_lookup, add_derivation)
32408 (__gconv_release_step, gen_steps, increment_counter)
32409 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
32410 (__gconv_close_transform, free_modules_db): Likewise.
32411 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
32412 Likewise.
32413 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
32414 (__gconv_find_transform, __gconv_lookup_cache)
32415 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
32416 (__gconv_close_transform, __gconv_release_cache)
32417 (__gconv_loaded_object, __gconv_release_shlib)
32418 (__gconv_compare_alias): Likewise.
32419 * iconv/gconv_open.c (__gconv_open): Likewise.
32420 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
32421 * iconv/iconvconfig.c (add_module): Likewise.
32422 * intl/dcigettext.c (plural_lookup, guess_category_value)
32423 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
32424 * intl/eval-plural.h (plural_eval): Likewise.
32425 * intl/finddomain.c (_nl_find_domain): Likewise.
32426 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
32427 (_nl_load_domain, _nl_find_msg): Likewise.
32428 (internal_function): Remove definition.
32429 * intl/loadinfo.h (internal_function): Likewise.
32430 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
32431 internal_function.
32432 * intl/localealias.c (internal_function): Remove definition.
32433 (read_alias_file): Remove internal_function.
32434 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
32435 * intl/plural-exp.h (internal_function): Remove definition.
32436 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
32437 internal_function.
32438 * intl/plural.c: Regenerate.
32439 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
32440 * locale/coll-lookup.c (__collidx_table_lookup)
32441 (__collseq_table_lookup): Likewise.
32442 * locale/coll-lookup.h (__collidx_table_lookup)
32443 (__collseq_table_lookup): Likewise.
32444 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
32445 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32446 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
32447 (_nl_unload_locale): Likewise.
32448 * locale/localeinfo.h (struct __locale_data): Remove
32449 internal_function from cleanup member.
32450 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
32451 (_nl_remove_locale, _nl_load_locale_from_archive)
32452 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
32453 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
32454 (_nl_cleanup_time): Remove internal_function.
32455 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
32456 (_nl_parse_alt_digit): Likewise.
32457 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
32458 (_nl_select_era_entry): Likewise.
32459 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
32460 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
32461 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
32462 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
32463 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 32464
dab0eece
FW
324652017-08-31 Florian Weimer <fweimer@redhat.com>
32466
32467 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
32468 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
32469 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
32470 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
32471 Likewise.
32472 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
32473 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
32474 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
32475 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
32476 Likewise.
32477 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
32478
ab5bf7cf
FW
324792017-08-31 Florian Weimer <fweimer@redhat.com>
32480
32481 * misc/getttyent.c (skip, value): Remove internal_function.
32482 * misc/syslog.c (openlog_internal): Likewise.
32483 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
32484
75b3047e
FW
324852017-08-31 Florian Weimer <fweimer@redhat.com>
32486
32487 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
32488 (__nss_rewrite_field): Remove internal_function.
32489 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32490 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
32491 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32492 * nss/nsswitch.c (nss_parse_file, nss_getline)
32493 (nss_parse_service_list, nss_new_service): Likewise.
32494 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
32495 * nss/valid_field.c (__nss_valid_field): Likewise.
32496 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
32497
0c71122c
FW
324982017-08-31 Florian Weimer <fweimer@redhat.com>
32499
32500 * malloc/arena.c (__malloc_fork_lock_parent)
32501 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
32502 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
32503 internal_function from defintions.
32504 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
32505 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
32506 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
32507 internal_function from declarations.
32508 * malloc/malloc.c (internal_function): Do not define.
32509 (mem2mem_check): Remove internal_function from declaration.
32510 (munmap_chunk, mremap_chunk): Remove internal_function.
32511 * malloc/mtrace.c (tr_where): Likewise.
32512
ca4ec803
FW
325132017-08-31 Florian Weimer <fweimer@redhat.com>
32514
32515 * include/rpc/pmap_clnt.h (__get_socket): Remove
32516 internal_function.
32517 * sunrpc/auth_des.c (synchronize): Likewise.
32518 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
32519 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
32520 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
32521 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
32522 (key_call): Likewise.
32523 * sunrpc/pm_getport.c (__get_socket): Likewise.
32524 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
32525 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
32526 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
32527 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
32528 (invalidate): Likewise.
32529 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
32530 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
32531 (set_input_fragment, get_input_bytes): Likewise.
32532
24cffce7
FW
325332017-08-31 Florian Weimer <fweimer@redhat.com>
32534
32535 * malloc/malloc.c (_int_free): Remove locked variable and related
32536 asserts.
32537
ecd0747d
L
325382017-08-31 H.J. Lu <hongjiu.lu@intel.com>
32539
32540 [BZ #22051]
32541 * Makerules (build-module-helper-objlist): Filter out
32542 $(elf-objpfx)sofini.os.
32543 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
32544 needed.
32545
5f0704b6
FW
325462017-08-31 Florian Weimer <fweimer@redhat.com>
32547
32548 * libio/fcloseall.c: Assume weak_alias is defined.
32549 * libio/feof.c: Likewise.
32550 * libio/fileno.c: Likewise.
32551 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
32552 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
32553 definitions.
32554 (_IO_file_open): Call __open directly.
32555 (_IO_new_file_sync): Assume ESPIPE is defined.
32556 (_IO_file_seekoff_maybe_mmap): Call __read directly.
32557 (_IO_new_file_write): Call __write directly.
32558 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
32559 * libio/ftello64.c (__ftello64): Assume EIO is defined.
32560 * libio/genops.c: Assume _LIBC is defined.
32561 (save_for_backup): Remove internal_function.
32562 * libio/getc.c: Assume weak_alias is defined.
32563 * libio/getwc.c: Likewise.
32564 * libio/iofclose.c: Assume _LIBC is defined.
32565 * libio/iofdopen.c: Likewise.
32566 (_IO_fcntl): Remove macro definition.
32567 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
32568 Call __fcntl directly.
32569 * libio/iofflush.c: Assume weak_alias is defined.
32570 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
32571 defined.
32572 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
32573 * libio/iofgets.c: Likewise.
32574 * libio/iofopen.c: Assume _LIBC is defined.
32575 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
32576 * libio/iofputs.c: Assume weak_alias is defined.
32577 * libio/iofread.c: Likewise.
32578 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
32579 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
32580 * libio/ioftell.c: Assume weak_alias is defined.
32581 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
32582 * libio/iofwide.c: Assume _LIBC is defined.
32583 (_IO_fwide): Drop SHARED conditional because it is implied by
32584 SHLIB_COMPAT.
32585 * libio/iofwrite.c: Assume weak_alias is defined.
32586 * libio/iogetdelim.c: Likewise.
32587 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
32588 * libio/iogetwline.c (wmemcpy): Remove macro definition.
32589 (_IO_getwline): Call __wmemcpy directly.
32590 * libio/iopopen.c: Assume _LIBC is defined.
32591 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
32592 (_IO_close): Remove macro definitions.
32593 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
32594 _exit directly.
32595 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
32596 directly.
32597 * libio/ioputs.c: Assume weak_alias is defined.
32598 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
32599 * libio/iosetbuffer.c: Assume weak_alias is defined.
32600 * libio/iosetvbuf.c: Likewise.
32601 * libio/ioungetc.c: Likewise.
32602 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
32603 libc_hidden_def, libc_hidden_weak, NULL are defined.
32604 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
32605 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
32606 defined.
32607 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
32608 definitions.
32609 (_IO_old_file_init_internal): Drop SHARED conditional because it
32610 is implied by SHLIB_COMPAT.
32611 (_IO_old_file_fopen): Call __open directly.
32612 (_IO_old_file_sync): Assume ESPIPE is defined.
32613 (_IO_old_file_write): Call __write directly.
32614 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
32615 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
32616 Call __fcntl directly.
32617 * libio/oldiofgetpos.c: Assume weak_alias is defined.
32618 (_IO_old_fgetpos): Assume EIO is defined.
32619 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
32620 (_IO_old_fgetpos64): Assume EIO is defined.
32621 * libio/oldiofsetpos.c: Assume weak_alias is defined.
32622 (_IO_old_fsetpos): Assume EIO is defined.
32623 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
32624 (_IO_old_fsetpos64): Assume EIO is defined.
32625 * libio/oldiopopen.c: Assume _LIBC is defined.
32626 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
32627 (_IO_close): Remove macro definitions.
32628 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
32629 directly.
32630 (_IO_old_proc_close): Call __close, __waitpid directly.
32631 * libio/put.c: Assume weak_alias is defined.
32632 * libio/stdfiles.c: Assume _LIBC is defined.
32633 * libio/stdio.c: Likewise.
32634 * libio/wfileops.c: Likewise.
32635 (_IO_wfile_sync): Assume ESPIPE is defined.
32636 * libio/wgenops.c: Assume _LIBC is defined.
32637 (save_for_wbackup): Remove internal_function.
32638
5129873a
FW
326392017-08-31 Florian Weimer <fweimer@redhat.com>
32640
32641 * malloc/malloc.c (top_check): Change return type to void. Remove
32642 internal_function.
32643 * malloc/hooks.c (top_check): Likewise.
32644 (malloc_check, realloc_check, memalign_check): Adjust.
32645
4fa9b3bf
JM
326462017-08-30 Joseph Myers <joseph@codesourcery.com>
32647
32648 [BZ #21457]
32649 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
32650 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
32651 sigcontext and namespace requirements.
32652 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
32653 * sysdeps/m68k/sys/ucontext.h: Likewise.
32654 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
32655 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
32656 <bits/sigcontext.h>.
32657 (__ctx): Define earlier.
32658 (mcontext_t): Define structure contents rather than using struct
32659 sigcontext.
32660 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
32661 __glibc_reserved1 instead of __reserved.
32662 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
32663 <bits/sigcontext.h>.
32664 (__ctx): Define earlier.
32665 (mcontext_t): Define structure contents rather than using struct
32666 sigcontext.
32667 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
32668 mcontext_t instead of struct sigcontext.
32669 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
32670 <bits/sigcontext.h>.
32671 (__ctx): Define earlier.
32672 (mcontext_t): Define structure contents rather than using struct
32673 sigcontext.
32674 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
32675 <bits/sigcontext.h>.
32676 (__ctx): Define earlier.
32677 (mcontext_t): Define structure contents rather than using struct
32678 sigcontext.
32679 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
32680 mcontext_t instead of struct sigcontext.
32681 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
32682 mcontext_t instead of struct sigcontext.
32683 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
32684 <bits/sigcontext.h>.
32685 (__ctx): New macro.
32686 (struct __ia64_fpreg_mcontext): New type.
32687 (mcontext_t): Define structure contents rather than using struct
32688 sigcontext.
32689 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
32690 (uc_sigmask): Define using __ctx.
32691 (uc_stack): Likewise.
32692 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
32693 <bits/sigcontext.h>.
32694 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32695 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
32696 <bits/sigcontext.h>.
32697 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
32698 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
32699 <bits/sigcontext.h>.
32700 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
32701 <bits/sigcontext.h>.
32702 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
32703 <bits/sigcontext.h>.
32704 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
32705 <bits/sigcontext.h>.
32706 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
32707 <bits/sigcontext.h>.
32708 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
32709 <bits/sigcontext.h>.
32710 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
32711 <bits/sigcontext.h>.
32712 (__ctx): Define earlier.
32713 (mcontext_t): Define structure contents rather than using struct
32714 sigcontext.
32715 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
32716 <bits/sigcontext.h>. Include <bits/types.h>.
32717 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
32718 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
32719 (test-xfail-XPG42/ucontext.h/conform): Likewise.
32720 (test-xfail-UNIX98/signal.h/conform): Likewise.
32721 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
32722 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
32723 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
32724 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
32725 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
32726 (test-xfail-POSIX2008/signal.h/conform): Likewise.
32727 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
32728 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
32729 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
32730
5898f454
FW
327312017-08-30 Florian Weimer <fweimer@redhat.com>
32732
32733 * malloc/dynarray_emplace_enlarge.c
32734 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
32735 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
32736 * malloc/tst-dynarray.c (test_long_overflow): New function.
32737 (do_test): Call it.
32738
a9da0bb2
FW
327392017-08-30 Florian Weimer <fweimer@redhat.com>
32740
32741 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
32742 (set_arena_corrupt): Remove definitions.
32743 (mtrim): Do not check for corrupt arena.
32744 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
32745 Likewise.
32746
ac3ed168
FW
327472017-08-30 Florian Weimer <fweimer@redhat.com>
32748
32749 [BZ #21754]
32750 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
32751 check_action.
32752 (ptmalloc_init): Do not set or use check_action.
32753 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
32754 call to malloc_printerr. Remove return statement.
32755 (free_check): Likewise. Remove arena unlock.
32756 (top_check): Update comment. Adjust call to malloc_printerr.
32757 Remove heap repair code.
32758 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
32759 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
32760 (sysmalloc): Adjust call to malloc_printerr.
32761 (munmap_chunk, __libc_realloc): Likewise. Remove return
32762 statement.
32763 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
32764 Remove errout label and corresponding gotos.
32765 (_int_free): Likewise. Remove arena unlock.
32766 (do_set_mallopt_check): Do not set check_action.
32767 (malloc_printerr): Adjust parameter list. Do not mark arena as
32768 corrupt.
32769 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
32770 comment.
32771 * manual/probes.texi (Memory Allocation Probes): Remove
32772 memory_mallopt_check_action.
32773
44bcba80
SE
327742017-08-30 Steve Ellcey <sellcey@cavium.com>
32775
32776 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
32777 Use pointer to uint64_t instead of long int for sp.
32778
ec2c1fce
FW
327792017-08-30 Florian Weimer <fweimer@redhat.com>
32780
32781 [BZ #21754]
32782 * malloc/malloc.c (malloc_printerr): Always terminate the process,
32783 without printing a backtrace. Do not leak any information in the
32784 error message.
32785 * manual/memory.texi (Heap Consistency Checking): Update.
32786 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
32787
9ce673b6
FW
327882017-08-30 Florian Weimer <fweimer@redhat.com>
32789
32790 Do not scale NPTL tests with available number of CPUs.
32791 * nptl/tst-cond16.c (count): Set to constant value of 8.
32792 * nptl/tst-cond18.c (count): Likewise.
32793
2f1aef19
JM
327942017-08-29 Joseph Myers <joseph@codesourcery.com>
32795
32796 [BZ #22035]
32797 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
32798 Define to take a second argument that is a macro that
32799 concatentates a suffix, not the suffix itself.
32800 (__CONCAT_d): New macro.
32801 (__CONCAT_f): Likewise.
32802 (__CONCAT_l): Likewise.
32803
8325b477
PP
328042017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
32805
32806 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
32807 by child.
32808
319cbbf6
AZ
328092017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32810 Aurelien Jarno <aurelien@aurel32.net>
32811 Maciej W. Rozycki <macro@imgtec.com>
32812
32813 [BZ #21956]
32814 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
32815 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
32816 `mips16-syscall6' and `mips16-syscall7'.
32817 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
32818 (CFLAGS-mips16-syscall7.c): Remove.
32819 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
32820 Remove `__mips16_syscall5', `__mips16_syscall6' and
32821 `__mips16_syscall7'.
32822 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
32823 (__mips16_syscall0): Rename `__mips16_syscall_return' to
32824 `__mips_syscall_return'.
32825 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
32826 (__mips16_syscall1): Likewise.
32827 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
32828 (__mips16_syscall2): Likewise.
32829 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
32830 (__mips16_syscall3): Likewise.
32831 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
32832 (__mips16_syscall4): Likewise.
32833 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
32834 Remove.
32835 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
32836 Remove.
32837 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
32838 Remove.
32839 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
32840 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
32841 `__mips16_syscall5'. Remove prototype.
32842 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
32843 `__mips16_syscall6'. Remove prototype.
32844 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
32845 `__mips16_syscall7'. Remove prototype.
32846 (__nomips16, __mips16_syscall_return): Move to...
32847 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
32848 (__nomips16, __mips_syscall_return): ... here.
32849 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
32850 `__mips16_syscall_return' to `__mips_syscall_return'.
32851 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
32852 `internal_syscall##nr'.
32853 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
32854 `internal_syscall##nr'.
32855 (FORCE_FRAME_POINTER): Remove.
32856 (__mips_syscall5): New prototype.
32857 (internal_syscall5): Rewrite to call `__mips_syscall5'.
32858 (__mips_syscall6): New prototype.
32859 (internal_syscall6): Rewrite to call `__mips_syscall6'.
32860 (__mips_syscall7): New prototype.
32861 (internal_syscall7): Rewrite to call `__mips_syscall7'.
32862 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
32863 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
32864 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
32865 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
32866 (sysdep_routines): Add libc-do-syscall.
32867 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
32868 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
32869
01b87c65
AZ
328702017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32871
32872 [BZ #21672]
32873 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
32874 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
32875 (advise_stack_range): New function.
32876 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
32877 stack non required to advise_stack_range at allocatestack.c
32878
16f138a4
SN
328792017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32880
32881 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
32882
251bccfa
FW
328832017-08-29 Florian Weimer <fweimer@redhat.com>
32884
32885 [BZ #22026]
32886 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
32887 __end_fct. Mangle __end_fct after setting it to NULL.
32888 * iconv/Makefile (tests): Add tst-gconv-init-failure.
32889 (modules-names, modules-names-tests): Add
32890 tst-gconv-init-failure-mod.
32891 (gconv-modules): New target.
32892 (tst-gconv-init-failure-mod.so): Link against libsupport.
32893 (tst-gconv-init-failure): Depend on gconv-modules,
32894 tst-gconv-init-failure-mod.so.
32895 * iconv/tst-gconv-init-failure-mod.c: New file.
32896 * iconv/tst-gconv-init-failure.c: Likewise.
32897 * iconv/test-gconv-modules: Likewise.
32898
e7c18b9d
FW
328992017-08-29 Florian Weimer <fweimer@redhat.com>
32900
32901 [BZ #22025]
32902 * iconv/gconv_db.c (free_derivation): Remove redundant
32903 parentheses.
32904 (gen_steps): Unconditionally mangle __btowc_fct after
32905 initialization.
32906 (increment_counter): Likewise. Do not call init_fct for internal
32907 modules.
32908
7daada03
JM
329092017-08-29 Joseph Myers <joseph@codesourcery.com>
32910
32911 [BZ #22028]
32912 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32913 (_MSUF_): Remove macro.
32914 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
32915 Likewise.
32916 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32917 (__REDIRFROM_X): New macro.
32918 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
32919 Likewise.
32920 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
32921 (__REDIRTO_X): Likewise.
32922 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
32923 arguments.
32924 (__MATH_REDIRCALL_2): Likewise.
32925 (__MATH_REDIRCALL_INTERNAL): Likewise.
32926 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32927 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
32928 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
32929 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32930 * math/test-finite-macros.c: New file.
32931 * math/Makefile (tests): Add test-finite-macros.
32932 (CFLAGS-test-finite-macros.c): New variable.
32933
1cf1232c
PF
329342017-08-29 Patsy Franklin <pfrankli@redhat.com>
32935 Jeff Law <law@redhat.com>
32936
32937 [BZ #22025]
32938 Mangle NULL pointers in iconv/gconv.
32939 * iconv/gconv_cache.c (find_module): Demangle init_fct before
32940 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
32941 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
32942 is non-NULL before demangling the end_fct. Check for NULL
32943 end_fct after demangling.
32944 (__gconv_release_step): Demangle the end_fct before checking
32945 it for NULL. Remove assert on __shlibc_handle != NULL.
32946 (gen_steps): Don't check btowc_fct for NULL before mangling.
32947 Demangle init_fct before checking for NULL.
32948 (increment_counter): Likewise.
32949 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
32950 end_fct for NULL before mangling.
32951 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
32952 for NULL.
32953
c207f7ce 329542017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
32955
32956 [BZ #21971]
32957 * locale/iso-639.def: add Morisyen.
32958
42496114
GG
329592017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32960
32961 [BZ #21930]
32962 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
32963 (iszero): New C++ implementation that does not use
32964 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
32965 signaling nans are enabled, since __builtin_types_compatible_p
32966 is a C-only feature.
32967 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
32968 defined, include ieee754_float128.h for access to the union and
32969 member ieee854_float128.ieee.
32970 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
32971 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
32972 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32973 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
32974 options of test-math-zero on powerpc64le.
32975
5e2bc4ff
L
329762017-08-28 H.J. Lu <hongjiu.lu@intel.com>
32977
32978 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
32979 Change double to float.
32980
a48c0fb4
JM
329812017-08-28 Joseph Myers <joseph@codesourcery.com>
32982
32983 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
32984 unconditional.
32985 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
32986 conditional code; define contents only for [LIBM_SVID_COMPAT].
32987
ee17d4e9
FW
329882017-08-28 Florian Weimer <fweimer@redhat.com>
32989
32990 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
32991 (abi-lp64_be-options): Remove.
32992 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
32993 (abi-hard-options): Likewise.
32994 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
32995 (abi-o32_hard-options, abi-o32_soft_2008-options)
32996 (abi-o32_hard_2008-options, abi-n32_soft-options)
32997 (abi-n32_hard-options, abi-n32_soft_2008-options)
32998 (abi-n32_hard_2008-options, abi-n64_soft-options)
32999 (abi-n64_hard-options, abi-n64_soft_2008-options)
33000 (abi-n64_hard_2008-options): Likewise.
33001 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
33002 (abi-64-v1-options, abi-64-v2-options): Likewise.
33003 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
33004 (abi-64-options): Likewise.
33005 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
33006 (abi-64-options): Likewise.
33007 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
33008 (abi-64-options): Likewise.
33009 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
33010 (abi-64-options, abi-x32-options): Likewise.
33011
2dba5ce7
FW
330122017-08-28 Florian Weimer <fweimer@redhat.com>
33013
33014 Store supported list of SYS_* system calls in the source tree.
33015 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
33016 (bits/syscall.h): Generate from list file.
33017 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
33018 [$(subdir) = misc] (tests): Add tst-syscall-list.
33019 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
33020 [$(subdir) = misc] (tst-syscall-list-macros.list)
33021 [$(subdir) = misc] (tst-syscall-list-nr.list)
33022 (tst-syscall-list-sys.list): Helper targets for new
33023 tst-syscall-list test.
33024 [$(subdir) = misc] (tst-syscall-list.out): Run test script
33025 tst-syscall-list.sh.
33026 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
33027 target. Do not include bits/syscall.d.
33028 [$(subdir) = misc] (generated): Do not update.
33029 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
33030 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
33031 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
33032 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
33033
5f3b183d
PP
330342017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
33035
33036 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
33037 (tst-cxa_atexit, tst-on_exit): Likewise.
33038 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
33039 tst-cxa_atexit, and tst-on_exit.
33040 * stdlib/tst-atexit-common.c: New file.
33041 * stdlib/tst-atexit.c: New file.
33042 * stdlib/tst-at_quick_exit.c: New file.
33043 * stdlib/tst-cxa_atexit.c: New file.
33044 * stdlib/tst-on_exit.c: New file.
33045
2ef8d469
ST
330462017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
33047
33048 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
33049 * mach/stack_chk_fail_local.c: New file.
33050 * hurd/stack_chk_fail_local.c: New file.
33051 * mach/Machrules ($(interface-library)-routines): Add
33052 stack_chk_fail_local.
99ee4d26
ST
33053 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
33054 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
33055 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
33056 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
33057 * hurd/Makefile (CFLAGS-hurdstartup.o,
33058 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 33059
7ab70c98
L
330602017-08-25 H.J. Lu <hongjiu.lu@intel.com>
33061
33062 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
33063 (index_cpu_*, index_arch_*): Removed.
33064
39e7a5a6
SN
330652017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33066
33067 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
33068 Use uint64_t instead of unsigned long.
33069
bba5c930
JM
330702017-08-25 Joseph Myers <joseph@codesourcery.com>
33071
a6ccdb08
JM
33072 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
33073 [__HAVE_DISTINCT_FLOAT128].
33074
23761119
JM
33075 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
33076 of <bits/math-finite.h>.
33077 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
33078 inclusion of <bits/math-finite.h>.
33079 * math/bits/math-finite.h (__REDIRTO_X): Do not define
33080 conditionally on [__MATH_DECLARING_LDOUBLE && defined
33081 __NO_LONG_DOUBLE_MATH].
33082 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
33083 (__MATH_REDIRCALL_2): Likewise.
33084 (__MATH_REDIRCALL_INTERNAL): Likewise.
33085 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
33086 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
33087 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
33088
bba5c930
JM
33089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
33090 Remove file.
33091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
33092 Likewise.
33093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
33094 Likewise.
33095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
33096 Likewise.
33097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
33098 Likewise.
33099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
33100 Likewise.
33101 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
33102 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
33103 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
33104 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
33105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
33106 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
33107 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
33108 w_sqrtf_compat-ppc32.
33109
3d7b66f6
GG
331102017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33111
33112 * math/math.h [defined __cplusplus] (issignaling): In the long
33113 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
33114 is not defined. Call __issignaling, otherwise.
33115
ebd6f007
AZ
331162017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33117
33118 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
33119 syscall definitions and replace __builtin_expect with __glibc_likely.
33120 * sysdeps/unix/syscall-template.S: Update comment about cancellable
33121 syscall.
6b5c8607 33122 (SYSCALL_CANCELLABLE): Removedefinition
ebd6f007
AZ
33123 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
33124 definition.
33125 (PSEUDO_END): Likewise.
33126 [IS_IN (libpthread)] (CENABLE): Likewise.
33127 [IS_IN (libpthread)] (CDISABLE): Likewise.
33128 [IS_IN (libc)] (CENABLE): Likewise.
33129 [IS_IN (libc)] (CENABLE): Likewise.
33130 [IS_IN (librt)] (CDISABLE): Likewise.
33131 [IS_IN (librt)] (CDISABLE): Likewise.
33132 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33133 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
33134 definition.
33135 (PSEUDO_END): Likewise.
33136 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
33137 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
33138 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
33139 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
33140 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
33141 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
33142 (CENABLE): Likewise.
33143 (CDISABLE): Likewise.
33144 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33145 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
33146 defintion.
33147 (PSEUDO_END): Likewise.
33148 [IS_IN (libpthread)] (CENABLE): Likewise.
33149 [IS_IN (libpthread)] (CDISABLE): Likewise.
33150 [IS_IN (libc)] (CENABLE): Likewise.
33151 [IS_IN (libc)] (CENABLE): Likewise.
33152 [IS_IN (librt)] (CDISABLE): Likewise.
33153 [IS_IN (librt)] (CDISABLE): Likewise.
33154 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33155 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
33156 definition.
33157 (PSEUDO_END): Likewise.
33158 [IS_IN (libpthread)] (CENABLE): Likewise.
33159 [IS_IN (libpthread)] (CDISABLE): Likewise.
33160 [IS_IN (libc)] (CENABLE): Likewise.
33161 [IS_IN (libc)] (CENABLE): Likewise.
33162 [IS_IN (librt)] (CDISABLE): Likewise.
33163 [IS_IN (librt)] (CDISABLE): Likewise.
33164 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33165 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
33166 definition.
33167 (PSEUDO_END): Likewise.
33168 [IS_IN (libpthread)] (CENABLE): Likewise.
33169 [IS_IN (libpthread)] (CDISABLE): Likewise.
33170 [IS_IN (libc)] (CENABLE): Likewise.
33171 [IS_IN (libc)] (CENABLE): Likewise.
33172 [IS_IN (librt)] (CDISABLE): Likewise.
33173 [IS_IN (librt)] (CDISABLE): Likewise.
33174 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33175 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
33176 definition.
33177 (PSEUDO_END): Likewise.
33178 [IS_IN (libpthread)] (CENABLE): Likewise.
33179 [IS_IN (libpthread)] (CDISABLE): Likewise.
33180 [IS_IN (libc)] (CENABLE): Likewise.
33181 [IS_IN (libc)] (CENABLE): Likewise.
33182 [IS_IN (librt)] (CDISABLE): Likewise.
33183 [IS_IN (librt)] (CDISABLE): Likewise.
33184 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33185 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
33186 definition.
33187 (PSEUDO_END): Likewise.
33188 [IS_IN (libpthread)] (CENABLE): Likewise.
33189 [IS_IN (libpthread)] (CDISABLE): Likewise.
33190 [IS_IN (libc)] (CENABLE): Likewise.
33191 [IS_IN (libc)] (CENABLE): Likewise.
33192 [IS_IN (librt)] (CDISABLE): Likewise.
33193 [IS_IN (librt)] (CDISABLE): Likewise.
33194 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33195 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
33196 definition.
33197 (PSEUDO_END): Likewise.
33198 [IS_IN (libpthread)] (CENABLE): Likewise.
33199 [IS_IN (libpthread)] (CDISABLE): Likewise.
33200 [IS_IN (libc)] (CENABLE): Likewise.
33201 [IS_IN (libc)] (CENABLE): Likewise.
33202 [IS_IN (librt)] (CDISABLE): Likewise.
33203 [IS_IN (librt)] (CDISABLE): Likewise.
33204 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33205 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
33206 Remove definition.
33207 (PSEUDO_END): Likewise.
33208 [IS_IN (libpthread)] (CENABLE): Likewise.
33209 [IS_IN (libpthread)] (CDISABLE): Likewise.
33210 [IS_IN (libc)] (CENABLE): Likewise.
33211 [IS_IN (libc)] (CENABLE): Likewise.
33212 [IS_IN (librt)] (CDISABLE): Likewise.
33213 [IS_IN (librt)] (CDISABLE): Likewise.
33214 (SINGLE_THREAD_P): Likewise.
33215 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
33216 definition.
33217 (PSEUDO_END): Likewise.
33218 [IS_IN (libpthread)] (CENABLE): Likewise.
33219 [IS_IN (libpthread)] (CDISABLE): Likewise.
33220 [IS_IN (libc)] (CENABLE): Likewise.
33221 [IS_IN (libc)] (CENABLE): Likewise.
33222 [IS_IN (librt)] (CDISABLE): Likewise.
33223 [IS_IN (librt)] (CDISABLE): Likewise.
33224 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33225 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
33226 definition.
33227 (PSEUDO_END): Likewise.
33228 [IS_IN (libpthread)] (CENABLE): Likewise.
33229 [IS_IN (libpthread)] (CDISABLE): Likewise.
33230 [IS_IN (libc)] (CENABLE): Likewise.
33231 [IS_IN (libc)] (CENABLE): Likewise.
33232 [IS_IN (librt)] (CDISABLE): Likewise.
33233 [IS_IN (librt)] (CDISABLE): Likewise.
33234 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33235 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
33236 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
33237 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
33238 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
33239 definition.
33240 (PSEUDO_END): Likewise.
33241 [IS_IN (libpthread)] (CENABLE): Likewise.
33242 [IS_IN (libpthread)] (CDISABLE): Likewise.
33243 [IS_IN (libc)] (CENABLE): Likewise.
33244 [IS_IN (libc)] (CENABLE): Likewise.
33245 [IS_IN (librt)] (CDISABLE): Likewise.
33246 [IS_IN (librt)] (CDISABLE): Likewise.
33247 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33248 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
33249 definition.
33250 (PSEUDO_END): Likewise.
33251 [IS_IN (libpthread)] (CENABLE): Likewise.
33252 [IS_IN (libpthread)] (CDISABLE): Likewise.
33253 [IS_IN (libc)] (CENABLE): Likewise.
33254 [IS_IN (libc)] (CENABLE): Likewise.
33255 [IS_IN (librt)] (CDISABLE): Likewise.
33256 [IS_IN (librt)] (CDISABLE): Likewise.
33257 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33258 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
33259 definition.
33260 (PSEUDO_END): Likewise.
33261 [IS_IN (libpthread)] (CENABLE): Likewise.
33262 [IS_IN (libpthread)] (CDISABLE): Likewise.
33263 [IS_IN (libc)] (CENABLE): Likewise.
33264 [IS_IN (libc)] (CENABLE): Likewise.
33265 [IS_IN (librt)] (CDISABLE): Likewise.
33266 [IS_IN (librt)] (CDISABLE): Likewise.
33267 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33268 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
33269 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33270 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
33271 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
33272 definition.
33273 (PSEUDO_END): Likewise.
33274 [IS_IN (libpthread)] (CENABLE): Likewise.
33275 [IS_IN (libpthread)] (CDISABLE): Likewise.
33276 [IS_IN (libc)] (CENABLE): Likewise.
33277 [IS_IN (libc)] (CENABLE): Likewise.
33278 [IS_IN (librt)] (CDISABLE): Likewise.
33279 [IS_IN (librt)] (CDISABLE): Likewise.
33280 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33281 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
33282 definition.
33283 (PSEUDO_END): Likewise.
33284 [IS_IN (libpthread)] (CENABLE): Likewise.
33285 [IS_IN (libpthread)] (CDISABLE): Likewise.
33286 [IS_IN (libc)] (CENABLE): Likewise.
33287 [IS_IN (libc)] (CENABLE): Likewise.
33288 [IS_IN (librt)] (CDISABLE): Likewise.
33289 [IS_IN (librt)] (CDISABLE): Likewise.
33290 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33291
8aa48656
SN
332922017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
33293
33294 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
33295
fcaaca41
L
332962017-08-23 H.J. Lu <hongjiu.lu@intel.com>
33297
33298 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33299
376b40a2
L
333002017-08-23 H.J. Lu <hongjiu.lu@intel.com>
33301
33302 [BZ #21982]
33303 * string/stratcliff.c (do_test): Declare size, nchars, inner,
33304 middle and outer with size_t instead of int. Repleace %d and
33305 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
33306 "MAX (outer, nchars - 64)" to support unsigned outer and
33307 nchars. Also exit loop when outer == 0.
33308
2b0b9a1c
AZ
333092017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33310
33311 * include/fcntl.h (__fcntl_nocancel): Remove definition.
33312 * include/signal.h (__sigsuspend_nocancel): Likewise.
33313 * include/time.h (__nanosleep_nocancel): Likewise.
33314 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
33315 * login/utmp_file.c: Include non cancellable syscall header.
33316 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
33317 prototype.
33318
b9eaca8f
L
333192017-08-23 H.J. Lu <hongjiu.lu@intel.com>
33320
33321 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
33322 .byte sequences with AVX512F instructions.
33323 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
33324 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
33325 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
33326 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
33327 Likewise.
33328 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
33329 Likewise.
33330
5a706f64
SE
333312017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
33332 Steve Ellcey <sellcey@cavium.com>
33333
33334 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
33335 Use PTR_REG macro in cmp instruction.
33336
b513da7e
GG
333372017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33338
33339 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
33340 Change the return type of the ifunc resolver to match the return
33341 type of the target function.
33342
78ca091c
AZ
333432017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33344
b70b6026
AZ
33345 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
33346 (preadv64): Likewise.
33347 (pwrite64(: Likewise.
33348 (pwritev64): Likewise.
33349
78ca091c
AZ
33350 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
33351 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
33352 (LOAD_ARGS_0): Likewise.
33353 (LOAD_ARGS_1): Likewise.
33354 (LOAD_ARGS_2): Likewise.
33355 (LOAD_ARGS_3): Likewise.
33356 (LOAD_ARGS_4): Likewise.
33357 (LOAD_ARGS_5): Likewise.
33358 (LOAD_ARGS_6): Likewise.
33359 (LOAD_REGS_0): Likewise.
33360 (LOAD_REGS_1): Likewise.
33361 (LOAD_REGS_2): Likewise.
33362 (LOAD_REGS_3): Likewise.
33363 (LOAD_REGS_4): Likewise.
33364 (LOAD_REGS_5): Likewise.
33365 (LOAD_REGS_6): Likewise.
33366 (ASM_ARGS_0): Likewise.
33367 (ASM_ARGS_1): Likewise.
33368 (ASM_ARGS_2): Likewise.
33369 (ASM_ARGS_3): Likewise.
33370 (ASM_ARGS_4): Likewise.
33371 (ASM_ARGS_5): Likewise.
33372 (ASM_ARGS_6): Likewise.
33373 (LOAD_ARGS_TYPES_1): Likewise.
33374 (LOAD_ARGS_TYPES_2): Likewise.
33375 (LOAD_ARGS_TYPES_3): Likewise.
33376 (LOAD_ARGS_TYPES_4): Likewise.
33377 (LOAD_ARGS_TYPES_5): Likewise.
33378 (LOAD_ARGS_TYPES_6): Likewise.
33379 (LOAD_REGS_TYPES_1): Likewise.
33380 (LOAD_REGS_TYPES_2): Likewise.
33381 (LOAD_REGS_TYPES_3): Likewise.
33382 (LOAD_REGS_TYPES_4): Likewise.
33383 (LOAD_REGS_TYPES_5): Likewise.
33384 (LOAD_REGS_TYPES_6): Likewise.
33385 (TYPEFY): New define.
33386 (ARGIFY): Likewise.
33387 (internal_syscall0): Likewise.
33388 (internal_syscall1): Likewise.
33389 (internal_syscall2): Likewise.
33390 (internal_syscall3): Likewise.
33391 (internal_syscall4): Likewise.
33392 (internal_syscall5): Likewise.
33393 (internal_syscall6): Likewise.
33394 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
33395 (INTERNAL_SYSCALL_NCS): Remove define.
33396 (internal_syscall1): Add define.
33397
453a493d
GG
333982017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33399
33400 * math/w_remainder_compat.c: Remove duplicate inclusion of
33401 math-svid-compat.h.
33402 * math/w_remainderf_compat.c: Likewise.
33403 * math/w_remainderl_compat.c: Likewise.
33404
f2f048a5
GG
334052017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33406
33407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33408
d9bef9c0
JM
334092017-08-22 Joseph Myers <joseph@codesourcery.com>
33410
33411 [BZ #21684]
33412 * math/tgmath.h (__floating_type): Simplify definitions.
33413 (__real_integer_type): New macro.
33414 (__complex_integer_type): Likewise.
33415 (__expr_is_real): Likewise.
33416 (__tgmath_real_type_sub): Update comment to describe handling of
33417 complex types.
33418 (__tgmath_complex_type_sub): New macro.
33419 (__tgmath_complex_type): Likewise.
33420 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33421 (__TGMATH_CF128): Use __expr_is_real.
33422 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
33423 __expr_is_real.
33424 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33425 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
33426 * math/gen-tgmath-tests.py (Type.create_type): Create complex
33427 integer types.
33428
08d6eb46
AZ
334292017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33430
988f991b
AZ
33431 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
33432 macro.
33433 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
33434 alias.
33435 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
33436 Likewise.
33437
6f33fd04
AZ
33438 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
33439 nanosleep_not_cancel with __nanosleep_nocancel.
33440 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
33441 (__nanosleep_nocancel): New macro.
33442 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
33443 function.
33444 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
33445 macro.
33446 (__nanosleep_nocancel): New prototype.
33447
08d6eb46
AZ
33448 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
33449 pause_not_cancel with __pause_nocancel.
33450 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
33451 (__pause_nocancel): New macro.
33452 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
33453 macro.
33454 (__pause_nocancel): New prototype.
33455 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
33456
ee4e992e
MS
334572017-08-22 Martin Sebor <msebor@redhat.com>
33458
33459 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
33460 to return a pointer to the same type as the target function.
33461
20962acb
L
334622017-08-22 H.J. Lu <hongjiu.lu@intel.com>
33463
33464 [BZ #18822]
33465 [BZ #21986]
33466 * include/printf.h (__printf_fphex): Add attribute_hidden.
33467 (__guess_grouping): New prototype.
33468 * stdio-common/printf_fp.c (__guess_grouping): Removed.
33469 * stdio-common/reg-printf.c (__register_printf_specifier): Add
33470 libc_hidden_proto and libc_hidden_def.
33471 * stdlib/strfmon_l.c (__guess_grouping): Removed.
33472 (__vstrfmon_l): Remove the third argument passed to
33473 __guess_grouping.
33474
a16e8bc0
GG
334752017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33476
33477 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
33478 definition for issignaling that does not rely on __MATH_TG,
33479 since __MATH_TG uses __builtin_types_compatible_p, which is only
33480 available in C mode.
33481 (CFLAGS-test-math-issignaling.cc): New variable.
33482 * math/Makefile [CXX] (tests): Add test-math-issignaling.
33483 * math/test-math-issignaling.cc: New test for C++ implementation
33484 of type-generic issignaling.
33485 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
33486 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
33487 options of test-math-issignaling on powerpc64le.
33488
8d2ec553
L
334892017-08-22 H.J. Lu <hongjiu.lu@intel.com>
33490
33491 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33492 building libc.a.
33493 (hidden_proto): Likewise.
33494 (hidden_tls_proto): Likewise.
33495 (__hidden_proto): Likewise.
33496
a4d57b79
FW
334972017-08-22 Florian Weimer <fweimer@redhat.com>
33498
33499 math: Statically link tests of internal functionality.
33500 * math/Makefile (tests): Remove atest-exp, atest-sincos,
33501 atest-exp2.
33502 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
33503 (gmp-objs): Remove assignment.
33504 (atest-exp, atest-sincos, atest-exp2): Remove targets.
33505
75dfe623
JM
335062017-08-22 Joseph Myers <joseph@codesourcery.com>
33507
80f91666
JM
33508 [BZ #21987]
33509 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
33510 and copy to ...
33511 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
33512 ... here.
33513 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
33514 ... and here.
33515
75dfe623
JM
33516 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
33517 variable definitions above inclusion of ../Rules.
33518
ea99fcd0
JM
335192017-08-21 Joseph Myers <joseph@codesourcery.com>
33520
33521 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
33522 case calling __builtin_unreachable.
33523
19926de9
AZ
335242017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33525
a8410a5f
AZ
33526 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
33527 __waitpid_nocancel.
33528 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
33529 (__waitpid_nocancel): New macro.
33530 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
33531 macro.
33532 (__waitpid_nocancel): Replace macro with a function.
33533 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
33534 function.
33535
7369800c
AZ
33536 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
33537 __fcntl_nocancel.
33538 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
33539 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
33540
19926de9
AZ
33541 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
33542 __writev_nocancel_nostatus.
33543 (write_call_graph): Likewise.
33544 (write_bb_counts): Likewise.
33545 * resolv/herror.c (herror): Likewise.
33546 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
33547 macro.
33548 (__writev_nocancel_nostatus): New macro.
33549 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
33550 Remove macro.
33551 (__writev_nocancel_nostatus): New function.
33552
813378e9
JM
335532017-08-21 Joseph Myers <joseph@codesourcery.com>
33554
df1deda6
JM
33555 Revert:
33556 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33557
33558 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33559 building libc.a.
33560 (hidden_proto): Likewise.
33561 (hidden_tls_proto): Likewise.
33562 (__hidden_proto): Likewise.
33563
831bbd55
JM
33564 [BZ #21973]
33565 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
33566 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
33567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
33568 Likewise.
33569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
33570 Likewise.
33571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
33572 Likewise.
33573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
33574 Likewise.
33575 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
33576 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
33577 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
33578 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
33579 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
33580 GLIBC_2.0 sqrtl symbol.
33581
813378e9
JM
33582 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
33583 [__USE_MISC] (_LIB_VERSION): Likewise.
33584 [__USE_MISC] (struct exception): Likewise.
33585 [__USE_MISC] (matherr): Likewise.
33586 [__USE_MISC] (DOMAIN): Likewise.
33587 [__USE_MISC] (SING): Likewise.
33588 [__USE_MISC] (OVERFLOW): Likewise.
33589 [__USE_MISC] (UNDERFLOW): Likewise.
33590 [__USE_MISC] (TLOSS): Likewise.
33591 [__USE_MISC] (PLOSS): Likewise.
33592 [__USE_MISC] (HUGE): Likewise.
33593 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
33594 * math/math-svid-compat.h: New file.
33595 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
33596 and matherrl.
33597 * include/math.h [!_ISOMAC] (__matherr): Remove.
33598 * manual/arith.texi (FP Exceptions): Do not document matherr.
33599 * math/Makefile (tests): Change test-matherr to test-matherr-3.
33600 (tests-internal): New variable.
33601 (install-lib): Do not add libieee.a.
33602 (non-lib.a): Likewise.
33603 (extra-objs): Do not add libieee.a and ieee-math.o.
33604 (CPPFLAGS-s_lib_version.c): Remove variable.
33605 ($(objpfx)libieee.a): Remove rule.
33606 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
33607 * math/ieee-math.c: Remove.
33608 * math/libm-test-support.c (matherr): Remove.
33609 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
33610 and license notices. Include <math-svid-compat.h> and
33611 <shlib-compat.h>.
33612 (matherr): Undefine as macro. Use compat_symbol_reference.
33613 (_LIB_VERSION): Likewise.
33614 * math/test-matherr-2.c: New file.
33615 * math/test-matherr-3.c: Likewise.
33616 * sysdeps/generic/math_private.h (__kernel_standard): Remove
33617 declaration.
33618 (__kernel_standard_f): Likewise.
33619 (__kernel_standard_l): Likewise.
33620 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
33621 <math_private.h>. Include <math-svid-compat.h>.
33622 (_LIB_VERSION): Undefine as macro.
33623 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
33624 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
33625 [LIBM_SVID_COMPAT], use compat_symbol.
33626 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
33627 <math_private.h>. Include <math-svid-compat.h>.
33628 (matherr): Undefine as macro.
33629 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
33630 compat_symbol.
33631 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
33632 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
33633 compat_symbol_reference.
33634 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
33635 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
33636 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
33637 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
33638 (MATHERR_D): Remove declaration.
33639 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
33640 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
33641 [LIBM_BUILD] (pmatherrf): Likewise.
33642 [LIBM_BUILD] (pmatherr): Likewise.
33643 [LIBM_BUILD] (pmatherrl): Likewise.
33644 (DOMAIN): Likewise.
33645 (SING): Likewise.
33646 (OVERFLOW): Likewise.
33647 (UNDERFLOW): Likewise.
33648 (TLOSS): Likewise.
33649 (PLOSS): Likewise.
33650 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
33651 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
33652 compat_symbol.
33653 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
33654 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
33655 compat_symbol.
33656 * math/lgamma-compat.h: Include <math-svid-compat.h>.
33657 * math/w_acos_compat.c: Likewise.
33658 * math/w_acosf_compat.c: Likewise.
33659 * math/w_acosh_compat.c: Likewise.
33660 * math/w_acoshf_compat.c: Likewise.
33661 * math/w_acoshl_compat.c: Likewise.
33662 * math/w_acosl_compat.c: Likewise.
33663 * math/w_asin_compat.c: Likewise.
33664 * math/w_asinf_compat.c: Likewise.
33665 * math/w_asinl_compat.c: Likewise.
33666 * math/w_atan2_compat.c: Likewise.
33667 * math/w_atan2f_compat.c: Likewise.
33668 * math/w_atan2l_compat.c: Likewise.
33669 * math/w_atanh_compat.c: Likewise.
33670 * math/w_atanhf_compat.c: Likewise.
33671 * math/w_atanhl_compat.c: Likewise.
33672 * math/w_cosh_compat.c: Likewise.
33673 * math/w_coshf_compat.c: Likewise.
33674 * math/w_coshl_compat.c: Likewise.
33675 * math/w_exp10_compat.c: Likewise.
33676 * math/w_exp10f_compat.c: Likewise.
33677 * math/w_exp10l_compat.c: Likewise.
33678 * math/w_exp2_compat.c: Likewise.
33679 * math/w_exp2f_compat.c: Likewise.
33680 * math/w_exp2l_compat.c: Likewise.
33681 * math/w_fmod_compat.c: Likewise.
33682 * math/w_fmodf_compat.c: Likewise.
33683 * math/w_fmodl_compat.c: Likewise.
33684 * math/w_hypot_compat.c: Likewise.
33685 * math/w_hypotf_compat.c: Likewise.
33686 * math/w_hypotl_compat.c: Likewise.
33687 * math/w_j0_compat.c: Likewise.
33688 * math/w_j0f_compat.c: Likewise.
33689 * math/w_j0l_compat.c: Likewise.
33690 * math/w_j1_compat.c: Likewise.
33691 * math/w_j1f_compat.c: Likewise.
33692 * math/w_j1l_compat.c: Likewise.
33693 * math/w_jn_compat.c: Likewise.
33694 * math/w_jnf_compat.c: Likewise.
33695 * math/w_jnl_compat.c: Likewise.
33696 * math/w_lgamma_main.c: Likewise.
33697 * math/w_lgamma_r_compat.c: Likewise.
33698 * math/w_lgammaf_main.c: Likewise.
33699 * math/w_lgammaf_r_compat.c: Likewise.
33700 * math/w_lgammal_main.c: Likewise.
33701 * math/w_lgammal_r_compat.c: Likewise.
33702 * math/w_log10_compat.c: Likewise.
33703 * math/w_log10f_compat.c: Likewise.
33704 * math/w_log10l_compat.c: Likewise.
33705 * math/w_log2_compat.c: Likewise.
33706 * math/w_log2f_compat.c: Likewise.
33707 * math/w_log2l_compat.c: Likewise.
33708 * math/w_log_compat.c: Likewise.
33709 * math/w_logf_compat.c: Likewise.
33710 * math/w_logl_compat.c: Likewise.
33711 * math/w_pow_compat.c: Likewise.
33712 * math/w_powf_compat.c: Likewise.
33713 * math/w_powl_compat.c: Likewise.
33714 * math/w_remainder_compat.c: Likewise.
33715 * math/w_remainderf_compat.c: Likewise.
33716 * math/w_remainderl_compat.c: Likewise.
33717 * math/w_scalb_compat.c: Likewise.
33718 * math/w_scalbf_compat.c: Likewise.
33719 * math/w_scalbl_compat.c: Likewise.
33720 * math/w_sinh_compat.c: Likewise.
33721 * math/w_sinhf_compat.c: Likewise.
33722 * math/w_sinhl_compat.c: Likewise.
33723 * math/w_sqrt_compat.c: Likewise.
33724 * math/w_sqrtf_compat.c: Likewise.
33725 * math/w_sqrtl_compat.c: Likewise.
33726 * math/w_tgamma_compat.c: Likewise.
33727 * math/w_tgammaf_compat.c: Likewise.
33728 * math/w_tgammal_compat.c: Likewise.
33729 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
33730 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
33731 * sysdeps/ieee754/k_standard.c: Likewise.
33732 * sysdeps/ieee754/k_standardf.c: Likewise.
33733 * sysdeps/ieee754/k_standardl.c: Likewise.
33734 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
33735 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
33736 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
33737 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
33738 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
33739 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
33740 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
33741 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
33742 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
33743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
33744 Likewise.
33745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
33746 Likewise.
33747 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
33748 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
33749 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
33750 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
33751
4504783c
FW
337522017-08-21 Florian Weimer <fweimer@redhat.com>
33753
33754 [BZ #21864]
33755 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
33756 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
33757 Move before inclusion of ../Rules.
33758
b5889d25
FW
337592017-08-21 Florian Weimer <fweimer@redhat.com>
33760
33761 [BZ #21972]
33762 * assert/assert.h (assert): Use static_cast (bool) for C++.
33763 Use the ternary operator in the warning branch for GNU C.
33764 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
33765 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
33766 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
33767 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
33768 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
33769
41e673c1
L
337702017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33771
33772 [BZ #18822]
33773 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33774 (__syscall_clock_gettime): Add attribute_hidden.
33775 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
33776 (__start_context): Likewise.
33777
568ff429
L
337782017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33779
33780 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33781 building libc.a.
33782 (hidden_proto): Likewise.
33783 (hidden_tls_proto): Likewise.
33784 (__hidden_proto): Likewise.
33785
7c41b4a1
L
337862017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33787
33788 * include/libc-symbols.h (attribute_hidden): Enable hidden
33789 visibility in libc.a compiled with PIE.
33790
483d7068
L
337912017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33792
33793 [BZ #18822]
33794 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
33795 Add attribute_hidden.
33796
337972017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33798
33799 [BZ #21864]
33800 * Makerules (all-nonlib): Add $(others-extras).
33801 * catgets/Makefile (others-extras): New.
33802 * elf/Makefile (others-extras): Likewise.
33803 * nss/Makefile (others-extras): Likewise.
33804
54e4b8f2
L
338052017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33806
33807 [BZ #18822]
33808 * csu/libc-start.c (__libc_multiple_libcs): Removed.
33809 * elf/dl-open.c: Include <libc-internal.h>.
33810 (__libc_multiple_libcs): Removed.
33811 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
33812 <hp-timing.h>.
33813 * include/libc-internal.h (__libc_multiple_libcs): New.
33814 * misc/sbrk.c: Include <libc-internal.h>.
33815 (__libc_multiple_libcs): Removed.
33816
1dbbb1ec
L
338172017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33818
33819 [BZ #18822]
33820 * grp/initgroups.c (__nss_group_database): Removed.
33821 (__nss_initgroups_database): Likewise.
33822 * nscd/gai.c (__nss_hosts_database): Likewise.
33823 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
33824 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
33825 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
33826 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
33827 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
33828 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
33829 attribute_hidden.
33830 * nss/nsswitch.c (__nss_database_custom): Define only if
33831 USE_NSCD is defined.
33832 (__nss_configure_lookup): Use __nss_database_custom only if
33833 USE_NSCD is defined.
33834 * nss/nsswitch.h (__nss_database_custom): Declare only if
33835 USE_NSCD is defined. Add attribute_hidden.
33836 (__nss_setent): Add attribute_hidden.
33837 (__nss_endent): Likewise.
33838 (__nss_getent_r): Likewise.
33839 (__nss_getent): Likewise.
33840 (DEFINE_DATABASE): Declare __nss_##arg##_database.
33841
2585d7b8
L
338422017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33843
33844 [BZ #18822]
33845 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
33846 libc_hidden_proto and libc_hidden_def.
33847
c8dfa99c
L
338482017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33849
33850 [BZ #18822]
33851 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
33852 Add libc_hidden_proto.
33853 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
33854 Add libc_hidden_def.
33855
7ed87317
L
338562017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33857
33858 [BZ #21974]
33859 * gmon/Makefile (routines): Remove bb_init_func and
33860 bb_exit_func.
33861 (elide-routines.os): Removed.
9476b904
L
33862 * gmon/bb_exit_func.c: Likewise.
33863 * gmon/bb_init_func.c: Likewise.
7ed87317
L
33864 * include/sys/gmon.h (__bb): Likewise.
33865 (__bb_init_func): Likewise.
33866 (__bb_exit_func): Likewise.
91695eb1 33867 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 33868
94e6ba15
L
338692017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33870
33871 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
33872 * include/setjmp.h (____longjmp_chk): Here. Add
33873 attribute_hidden.
33874
7550717e
L
338752017-08-19 H.J. Lu <hongjiu.lu@intel.com>
33876
33877 [BZ #18822]
33878 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
33879 attribute_hidden.
33880 (__strspn_sse2): Likewise.
33881
0bb2fabc
AZ
338822017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33883
c181840c
AZ
33884 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
33885 (close_not_cancel_no_status): Likewise.
33886 (__close_nocancel): New macro.
33887 (__close_nocancel_nostatus): Likewise.
33888 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
33889 macro.
33890 (close_not_cancel): Likewise.
33891 (close_not_cancel_no_status): Likewise.
33892 (__close_nocancel): New prototype.
33893 (__close_nocancel_nostatus): New function.
33894 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
33895 * catgets/open_catalog.c (__open_catalog): Replace
33896 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
33897 * gmon/gmon.c (write_gmon): Likewise.
33898 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
33899 * intl/loadmsgcat.c (close): Likewise.
33900 * io/ftw.c (open_dir_stream): Likewise.
33901 (ftw_startup): Likewise.
33902 * libio/fileops.c (_IO_file_open): Likewise.
33903 (_IO_file_close_mmap): Likewise.
33904 (_IO_file_close): Likewise.
33905 * libio/iopopen.c (_IO_dup2): Likewise.
33906 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33907 * locale/loadlocale.c (_nl_load_locale): Likewise.
33908 * login/utmp_file.c (pututline_file): Likewise.
33909 (endutent_file): Likewise.
33910 * misc/daemon.c (daemon): Likewise.
33911 * nscd/nscd_getai.c (__nscd_getai): Likewise.
33912 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33913 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
33914 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33915 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33916 * nscd/nscd_helper.c (open_socket): Likewise.
33917 (__nscd_open_socket): Likewise.
33918 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
33919 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
33920 (__nscd_innetgr): Likewise.
33921 * nss/nss_db/db-open.c (internal_setent): Likewise.
33922 * resolv/res-close.c (__res_iclose): Likewise.
33923 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
33924 * sysdeps/posix/closedir.c (__closedir): Likewise.
33925 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
33926 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33927 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33928 (opendir_tail): Likewise.
33929 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33930 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
33931 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
33932 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33933 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33934 (gethostid): Likewise.
33935 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33936 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33937 Likewise.
33938 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33939 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
33940 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33941 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33942 Likewise.
33943 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
33944 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
33945 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33946 Likewise.
33947 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
33948 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33949 Likewise.
33950 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33951 Likewise.
33952 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33953 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33954 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33955 __close_nocancel.
33956
0bb2fabc
AZ
33957 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
33958 (openat_not_cancel_3): Likewise.
33959 (openat64_not_cancel_3): Likewise).
33960 (openat_not_cancel_3): Likewise).
33961 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
33962 macro.
33963 (openat_not_cancel_3): Likewise.
33964 (openat64_not_cancel): Likewise.
33965 (openat64_not_cancel_3): Likewise.
33966 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
33967 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
33968 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
33969 __open{64}_nocancel.
33970 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33971 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33972 * sysdeps/posix/opendir.c (__opendirat): Likewise.
33973
65a086db
L
339742017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33975
33976 [BZ #18822]
33977 * include/argz.h (__argz_create_sep): New function prototype.
33978 (__argz_append): Likewise.
33979 (__argz_add): Likewise.
33980 (__argz_add_sep): Likewise.
33981 (__argz_delete): Likewise.
33982 (__argz_insert): Likewise.
33983 (__argz_replace): Likewise.
33984 * string/argz.h (__argz_create_sep): Removed.
33985 (__argz_append): Likewise.
33986 (__argz_add): Likewise.
33987 (__argz_add_sep): Likewise.
33988 (__argz_delete): Likewise.
33989 (__argz_insert): Likewise.
33990 (__argz_replace): Likewise.
33991
62753d2c
L
339922017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33993
33994 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
33995 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
33996 (GNU_PROPERTY_STACK_SIZE): Likewie.
33997 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
33998 (GNU_PROPERTY_LOPROC): Likewise.
33999 (GNU_PROPERTY_HIPROC): Likewise.
34000 (GNU_PROPERTY_LOUSER): Likewise.
34001 (GNU_PROPERTY_HIUSER): Likewise.
34002 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
34003 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
34004 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
34005 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
34006 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
34007 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
34008 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
34009 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
34010 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
34011 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
34012 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
34013 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
34014 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
34015 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
34016 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
34017 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
34018 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
34019 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
34020 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
34021 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
34022 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
34023 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
34024 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
34025
6913ad65
GG
340262017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34027
34028 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
34029 in C++ mode.
34030
47a67213
GG
340312017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34032
34033 [BZ #21930]
34034 * math/math.h (isinf): Check if in C or C++ mode before using
34035 __builtin_types_compatible_p, since this is a C mode feature.
34036
a748eb31
AZ
340372017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34038
c647fb88
AZ
34039 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
34040 (__write_nocancel): New macro.
34041 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
34042 Rewrite as a function prototype.
34043 (write_not_cancel): Remove macro.
34044 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
34045 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
34046 (write_gmon): Likewise.
34047 * libio/fileops.c (_IO_new_file_write): Likewise.
34048 * login/utmp_file.c (pututline_file): Likewise.
34049 (updwtmp_file): Likewise.
34050 * stdio-common/psiginfo.c (psiginfo): Likewise.
34051 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34052 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34053 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34054 Likewise.
34055 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34056 Likewise.
34057
a748eb31
AZ
34058 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
34059 (__read_nocancel): New macro.
34060 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34061 __read_nocancel.
34062 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
34063 macro.
34064 (__read_nocancel): New prototype.
34065 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
34066 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
34067 with __read_nocancel.
34068 * intl/loadmsgcat.c (read): Likewise.
34069 * libio/fileops.c (_IO_file_read): Likewise.
34070 * locale/loadlocale.c (_nl_load_locale): Likewise.
34071 * login/utmp_file.c (getutent_r_file): Likewise.
34072 (internal_getut_r): Likewise.
34073 (getutline_r_file): Likewise.
34074 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
34075 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
34076 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34077 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34078 Likewise.
34079 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
34080 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34081 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34082 Likewise.
34083 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34084 Likewise.
34085 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34086 Likewise.
34087 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34088 Likewise.
34089 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34090
098b9dd4
L
340912017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34092
34093 [BZ #21966]
34094 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
34095 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
34096 usable.
34097
a3fe6a20
DD
340982017-08-17 DJ Delorie <dj@redhat.com>
34099
34100 * bug17079.c: Update to new test harness.
34101 * test-digits-dots.c: Likewise.
34102 * test-netdb.c: Likewise.
34103 * tst-field.c: Likewise.
34104 * tst-nss-getpwent.c: Likewise.
34105 * tst-nss-static.c: Likewise.
34106 * tst-nss-test1.c: Likewise.
34107 * tst-nss-test2.c: Likewise.
34108 * tst-nss-test3.c: Likewise.
34109 * tst-nss-test4.c: Likewise.
34110 * tst-nss-test5.c: Likewise.
34111
c2284574
AZ
341122017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34113
34114 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
34115 (open_not_cancel_2): Likewise.
34116 (open_nocancel): New macro.
34117 (open64_nocancel): Likewise.
34118 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
34119 (open_not_cancel_2): Likewise.
34120 (__open_nocancel): New prototype.
34121 (__open64_nocancel): Likewise.
34122 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34123 __open_nocancel.
34124 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
34125 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
34126 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
34127 with __open_nocancel.
34128 * csu/check_fds.c (check_one_fd): Likewise.
34129 * gmon/gmon.c (write_gmon): Likewise.
34130 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
34131 * intl/loadmsgcat.c (open): Likewise.
34132 * libio/fileops.c (_IO_file_open): Likewise.
34133 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34134 * locale/loadlocale.c (_nl_load_locale): Likewise.
34135 * login/utmp_file.c (setutent_file): Likewise.
34136 * misc/daemon.c (daemon): Likewise.
34137 * nss/nss_db/db-open.c (internal_setent): Likewise.
34138 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34139 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
34140 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
34141 (__opendir): Likewise.
34142 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34143 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
34144 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34145 (gethostid): Likewise.
34146 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34147 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34148 Likewise.
34149 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34150 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
34151 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34152 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34153 Likewise.
34154 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34155 Likewise.
34156 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34157 Likewise.
34158 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
34159 Likewise.
34160 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34161 Likewise.
34162 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34163 Likewise.
34164 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
34165 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34166
d4505b89
WD
341672017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
34168
34169 * benchtests/bench-skeleton.c (main): Add support for
34170 latency benchmarking.
34171 * benchtests/scripts/bench.py: Add support for latency benchmarking.
34172
34d6a3cb
L
341732017-08-17 H.J. Lu <hongjiu.lu@intel.com>
34174
34175 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
34176 the startup object.
34177
038d1caf
FW
341782017-08-17 Florian Weimer <fweimer@redhat.com>
34179
34180 * include/sys/socket.h (__opensock): Remove internal_function.
34181 * socket/opensock.c (__opensock): Likewise.
34182 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
34183
67f0aff0
JM
341842017-08-16 Joseph Myers <joseph@codesourcery.com>
34185
34186 [BZ #21944]
34187 * signal/bits/types/__sigval_t.h: New file.
34188 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
34189 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
34190 and define sigval_t using __sigval_t.
34191 * include/bits/types/__sigval_t.h: New file.
34192 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
34193 instead of <bits/types/__sigval_t.h>.
34194 (struct sigevent): Use __sigval_t instead of sigval_t.
34195 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
34196 instead of <bits/types/__sigval_t.h>.
34197 (siginfo_t): Use __sigval_t instead of sigval_t.
34198 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
34199 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
34200 (struct sigevent): Use __sigval_t instead of sigval_t.
34201 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
34202 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
34203 (siginfo_t): Use __sigval_t instead of sigval_t.
34204 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
34205
87e7bf4d
L
342062017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34207
34208 * NEWS: Remove "[Add new features here]" for 2.27.
34209
5047057f
JM
342102017-08-16 Joseph Myers <joseph@codesourcery.com>
34211
34212 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
34213 libc.so.
34214
20c7b195
L
342152017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34216
34217 * NEWS: Mention x86-64 FMA optimization.
34218
24a2e658
L
342192017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34220
34221 [BZ #21912]
34222 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34223 Add e_expf-fma.
34224 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
34225 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
34226 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
34227
eedca977
AS
342282017-08-16 Andreas Schwab <schwab@suse.de>
34229
403143e1
FW
34230 [BZ #16750]
34231 CVE-2009-5064
eedca977
AS
34232 * elf/ldd.bash.in: Never run file directly.
34233
f59f7adb
L
342342017-08-15 H.J. Lu <hongjiu.lu@intel.com>
34235
34236 [BZ #21955]
34237 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
34238 (L(SP_INF_0)): Likewise.
34239
6b11a6ad
FW
342402017-08-15 Florian Weimer <fweimer@redhat.com>
34241
34242 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
34243 run-built-tests.
34244
bbf5c438
FW
342452017-08-15 Florian Weimer <fweimer@redhat.com>
34246
34247 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
34248 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
34249 BROKEN_THREAD_SIGNALS code.
34250 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
34251 request_list): Remove caller_pid member used for
34252 BROKEN_THREAD_SIGNALS.
34253 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
34254 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
34255 Remove BROKEN_THREAD_SIGNALS support.
34256 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
34257 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
34258
6014c65d
FW
342592017-08-15 Florian Weimer <fweimer@redhat.com>
34260
34261 * gmon/Makefile (tests): Add tst-gmon.
34262 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
34263 Set.
34264 (tests-special): Add tst-gmon-prof.out.
34265 (tst-gmon.out): Depend on clean-tst-gmon-data.
34266 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
34267 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
34268 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
34269 startup object.
34270 * aclocal.m4 (GPROF): Set and substitute.
34271 * config.amke.in (GPROF): Set.
34272 * configure: Regenerate.
34273
ee72219a
GR
342742017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
34275
34276 * elf/elf.h A (NT_PPC_TAR): New macro.
34277 (NT_PPC_PPR): Likewise.
34278 (NT_PPC_DSCR): Likewise.
34279 (NT_PPC_EBB): Likewise.
34280 (NT_PPC_PMU): Likewise.
34281 (NT_PPC_TM_CGPR): Likewise.
34282 (NT_PPC_TM_CFPR): Likewise.
34283 (NT_PPC_TM_CVMX): Likewise.
34284 (NT_PPC_TM_CVSX): Likewise.
34285 (NT_PPC_TM_SPR): Likewise.
34286 (NT_PPC_TM_CTAR): Likewise.
34287 (NT_PPC_TM_CPPR): Likewise.
34288 (NT_PPC_TM_CDSCR): Likewise.
34289
4ebf934e
FW
342902017-08-15 Florian Weimer <fweimer@redhat.com>
34291
34292 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
34293 regparm (2) instead of internal_function.
34294 (_MCOUNT_DECL): Adjust.
34295
e9f57484
SL
342962017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
34297
34298 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
34299 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
34300
88ff4d55
JM
343012017-08-14 Joseph Myers <joseph@codesourcery.com>
34302
34303 * conform/data/sys/wait.h-data (si_value): Do not expect for
34304 XPG42.
34305
c88ffc23
FW
343062017-08-14 Florian Weimer <fweimer@redhat.com>
34307
34308 [BZ #21962]
34309 NSS: Create stubs for accidentally exported lookup functions.
34310 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
34311 Remove declaration.
34312 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
34313 (ether_hostton): Call __nss_ethers_lookup2 instead.
34314 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
34315 (ether_ntohost): Call __nss_ethers_lookup2 instead.
34316 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
34317 (setup): Call __nss_netgroup_lookup2 instead.
34318 * nss/Makefile (routines): Add compat-lookup.
34319 * nss/Versions (GLIBC_2.27): Add symbol version.
34320 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
34321 (DB_COMPAT_FCT): Remove.
34322 * nss/compat-lookup.c: New file.
34323 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
34324 from databases.def.
34325 * nss/service-lookup.c (NO_COMPAT): Remove definition.
34326 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
34327 (netname2user): Call __nss_publickey_lookup2 instead.
34328 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
34329 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
34330 instead.
34331
35a29136 343322017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
34333 Sergei Trofimovich <slyfox@inbox.ru>
34334
34335 [BZ #21908]
34336 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
34337 Rename to MMAP2_PAGE_UNIT.
34338 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
34339 __OFF_T_MATCHES_OFF64_T is not defined.
34340 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
34341 uint64_t.
34342 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
34343 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
34344
fbdc1e3e
FW
343452017-08-14 Florian Weimer <fweimer@redhat.com>
34346
34347 i386: Do not set internal_function.
34348 * config.h.in (USE_REGPARMS, internal_function): Remove.
34349 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
34350 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
34351
b3f85fd2
FW
343522017-08-14 Florian Weimer <fweimer@redhat.com>
34353
34354 * elf/dl-init.c (_dl_init): Remove internal_function.
34355 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
34356 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
34357
630bf491
FW
343582017-08-14 Florian Weimer <fweimer@redhat.com>
34359
34360 * elf/rtld.c (_dl_start): Remove internal_function.
34361 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
34362 _dl_start.
34363
9fa7449b
FW
343642017-08-14 Florian Weimer <fweimer@redhat.com>
34365
34366 * elf/dl-fini.c (_dl_fini): Remove internal_function
34367 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
34368
73322d5f
L
343692017-08-14 H.J. Lu <hongjiu.lu@intel.com>
34370
d863cd71 34371 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
73322d5f
L
34372 (bit_cpu_SHSTK): Likewise.
34373 (index_cpu_IBT): Likewise.
34374 (index_cpu_SHSTK): Likewise.
34375 (reg_IBT): Likewise.
34376 (reg_SHSTK): Likewise.
34377 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
34378 Handle index_cpu_IBT and index_cpu_SHSTK.
34379
dbc303ef
MF
343802017-08-14 Mike FABIAN <mfabian@redhat.com>
34381
34382 [BZ #19982]
34383 * po/fr.po: Fix spelling mistake.
34384
3012cfb0
FW
343852017-08-13 Florian Weimer <fweimer@redhat.com>
34386
34387 * elf/dl-addr.c (_dl_addr): Remove internal_function.
34388 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
34389 (_dl_catch_error, _dl_receive_error): Likewise.
34390 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
34391 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
34392 (_dl_deallocate_tls): Likewise.
34393 * include/dlfcn.h (_dl_addr): Likewise.
34394 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
34395 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
34396 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
34397 Likewise.
34398
52bcdf26
FW
343992017-08-13 Florian Weimer <fweimer@redhat.com>
34400
34401 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
34402 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
34403 internal_function.
34404 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
34405
e1d2ae8d
FW
344062017-08-13 Florian Weimer <fweimer@redhat.com>
34407
34408 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
34409 internal_function.
34410 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
34411 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
34412 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
34413 internal_function from _dl_make_stack_executable_hook member.
34414 (_dl_make_stack_executable): Remove internal_function.
34415 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
34416 Likewise.
34417 * sysdeps/unix/sysv/linux/dl-execstack.c
34418 (_dl_make_stack_executable): Likewise.
34419
c4ce0382
FW
344202017-08-13 Florian Weimer <fweimer@redhat.com>
34421
34422 * sysdeps/unix/sysv/linux/netlinkaccess.h
34423 (__netlink_assert_response): Remove internal_function.
34424 * sysdeps/unix/sysv/linux/netlink_assert_response.c
34425 (__netlink_assert_response): Likewise.
34426
c4d767f7
FW
344272017-08-13 Florian Weimer <fweimer@redhat.com>
34428
34429 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
34430 internal_function.
34431 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
34432
b2297409
FW
344332017-08-13 Florian Weimer <fweimer@redhat.com>
34434
34435 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
34436 internal_function.
34437 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
34438 * inet/netgroup.h (__internal_setnetgrent)
34439 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
34440 * inet/getnetgrent_r.c (__internal_setnetgrent)
34441 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
34442 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
34443 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
34444 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
34445 * nss/nsswitch.h (db_lookup_function): Likewise.
34446
1b0bfc69
FW
344472017-08-13 Florian Weimer <fweimer@redhat.com>
34448
34449 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
34450 Remove internal_function.
34451 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
34452 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
34453 message argument on the stack.
34454 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
34455 Likeweise.
34456
a6bd8722
MF
344572017-08-12 Mike FABIAN <mfabian@redhat.com>
34458
34459 Adapt test case data to the changes in the thousands
34460 separators.
34461
34462 [BZ #20756]
34463 * localedata/tst-langinfo.sh: Adapt test case data.
34464 * stdlib/tst-strfmon_l.c: Likewise.
34465 * stdlib/tst-strtod4.c: Likewise.
34466 * stdlib/tst-strtod5i.c: Likewise.
34467
8b2c63e4
FW
344682017-08-11 Florian Weimer <fweimer@redhat.com>
34469
34470 [BZ #21242]
34471 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
34472 Suppress pedantic warning resulting from statement expression.
34473 (__ASSERT_FUNCTION): Add missing __extension__.
34474
61c98291
SP
344752017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
34476
86c6519e
SP
34477 * benchtests/bench-memmove-large.c: Print output in JSON
34478 format.
34479 * benchtests/bench-memmove.c: Likewise.
34480
61c98291
SP
34481 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
34482 * benchtests/bench-memchr.c (do_one_test): Likewise.
34483 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
34484 * benchtests/bench-memcpy.c (do_one_test): Likewise.
34485 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
34486 * benchtests/bench-memmove.c (do_one_test): Likewise.
34487 * benchtests/bench-memset-large.c (do_one_test): Likewise.
34488 * benchtests/bench-memset.c (do_one_test): Likewise.
34489 * benchtests/bench-string.h (test_init): Remove memsets.
34490
925733a9
RJ
344912017-08-10 Rical Jasan <ricaljasan@pacific.net>
34492
34493 * manual/lang.texi
34494 (Computing the Width of an Integer Data Type): Rename section to
34495 "Width of an Integer Type". Remove inaccurate statement regarding
34496 lack of C language facilities for determining width of integer
34497 types, and reorder content to improve flow and context of
34498 discussion.
34499
4fcdfbfc
RJ
345002017-08-10 Rical Jasan <ricaljasan@pacific.net>
34501
34502 * lang.texi (va_copy): Change standard from ISO to C99.
34503 (__va_copy): Add standard and header annotation.
34504 Update description for clarity of origins and current use.
34505
4d98ace9
GG
345062017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34507
34508 [BZ #21941]
34509 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
34510 xssqrtqp requires operands to be in Vector Registers
34511 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
34512 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
34513 (__ieee754_sqrtf128): Likewise.
34514
92236903
WD
345152017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
34516
34517 * sysdeps/aarch64/memcmp.S (memcmp):
34518 Rewrite of optimized memcmp.
34519
2449ae7b
FW
345202017-08-10 Florian Weimer <fweimer@redhat.com>
34521
34522 Introduce ld.so exceptions.
34523 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
34524 (_dl_exception_create, _dl_exception_create_format)
34525 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
34526 (_dl_catch_exception): Declare.
34527 (_dl_catch_error): Update comment.
34528 * elf/dl-error-skeleton.c (struct catch): Replace objname,
34529 errstring, malloced members with exception member.
34530 (_dl_out_of_memory): Remove.
34531 (fatal_error): New function, extracted from _dl_signal_error.
34532 (_dl_signal_exception, _dl_signal_cexception): New functions.
34533 (_dl_signal_error): Call _dl_exception_create to allocate an
34534 exception object.
34535 (_dl_catch_exception): New function, based on _dl_catch_error.
34536 (_dl_catch_error): Implement using _dl_catch_exception.
34537 * elf/dl-exception.c: New file.
34538 * elf/Makefile (dl-routines): Add dl-exception.
34539 (elide-routines.os): Likewise.
34540 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
34541 _dl_exception_create_format, _dl_exception_free.
34542 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
34543 _dl_signal_exception.
34544 * elf/dl-lookup.c (make_string): Remove.
34545 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
34546 _dl_signal_cexception, _dl_exception_free.
34547 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
34548 _dl_signal_exception.
34549 * elf/dl-sym.c (do_sym): Likewise.
34550 * elf/dl-version.c (make_string): Remove.
34551 (match_symbol): Use _dl_exception_create_format,
34552 _dl_signal_cexception, _dl_exception_free.
34553 (_dl_check_map_versions): Likewise.
34554 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
34555 _dl_catch_exception.
34556 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
34557 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
34558 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
34559 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
34560 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
34561 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
34562 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
34563 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
34564 Likewise.
34565 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
34566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
34567 (ld.so): Likewise.
34568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
34569 (ld.so): Likewise.
34570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
34571 Likewise.
34572 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
34573 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
34574 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
34575 Likewise.
34576 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
34577 Likewise.
34578 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
34579
f87cc2bf
FW
345802017-08-10 Florian Weimer <fweimer@redhat.com>
34581
34582 * inet/net-internal.h (__inet6_scopeid_pton): Remove
34583 attribute_hidden, internal_function.
34584 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
34585 internal_function.
34586
eac43cbb
FW
345872017-08-10 Florian Weimer <fweimer@redhat.com>
34588
34589 * malloc/malloc.c (get_max_fast): Reimplement as an inline
34590 function which calls __builtin_unreachable.
34591
bd80111e
MF
345922017-08-10 Mike FABIAN <mfabian@redhat.com>
34593
34594 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
34595 Indian monetary formatting
34596 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
34597 test cases.
34598
60e2846e
DL
345992017-08-09 Dmitry V. Levin <ldv@altlinux.org>
34600
68dc02d1
DL
34601 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
34602 Fix typo in comment.
34603
60e2846e
DL
34604 [BZ #21928]
34605 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
34606 PTRACE_SEIZE_DEVEL): Remove.
34607 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
34608 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34609 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34610 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34611 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34612
3d452dab
JM
346132017-08-09 Joseph Myers <joseph@codesourcery.com>
34614
24d9f53a
JM
34615 * posix/bits/types.h (__qaddr_t): Remove.
34616
3d452dab
JM
34617 [BZ #21457]
34618 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
34619 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34620 __glibc_reserved1.
34621 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
34622 (ucontext_t): Use __ctx with uc_flags.
34623 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
34624 (__ctxt): Likewise.
34625 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34626 __glibc_reserved1.
34627 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
34628 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34629 __glibc_reserved1.
34630 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
34631 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34632 __glibc_reserved1.
34633 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
34634 macro.
34635 (ucontext_t): Use __ctx with uc_flags.
34636 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
34637 (ucontext_t): Use __ctx with uc_flags.
34638 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
34639 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
34640 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
34641 (ucontext_t): Use __ctx with uc_flags.
34642 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
34643 undefine further down.
34644 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34645 __glibc_reserved1.
34646 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
34647 undefine further down.
34648 (ucontext_t): Use __ctx with uc_flags.
34649 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
34650 undefine further down.
34651 (ucontext_t): Use __ctx with uc_flags.
34652 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
34653 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
34654 Rename uc_pad to __glibc_reserved1.
34655 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
34656 undefine further down.
34657 (ucontext_t): Use __ctx with uc_flags.
34658 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
34659 further down.
34660 (ucontext_t): Use __ctx with uc_flags.
34661 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
34662 __ctx with uc_flags.
34663 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
34664 (ucontext_t): Use __ctx with uc_flags.
34665 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
34666 __ctx with uc_flags.
34667
30161498
FW
346682017-08-09 Florian Weimer <fweimer@redhat.com>
34669
34670 [BZ #21932]
34671 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
34672 before early return.
34673
5797b410
AS
346742017-08-09 Andreas Schwab <schwab@suse.de>
34675
139237a4 34676 [BZ #21041]
5797b410
AS
34677 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
34678 renamed alias.
34679
139237a4 34680 [BZ #21041]
40c06a3d
AS
34681 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
34682 tst-compat-forwarder.
34683 (modules-names): Add tst-compat-forwarder-mod.
34684 ($(objpfx)tst-compat-forwarder): Depend on
34685 $(objpfx)tst-compat-forwarder-mod.so.
34686 * nptl/tst-compat-forwarder.c: New file.
34687 * nptl/tst-compat-forwarder-mod.c: New file.
34688
36ada5f6
SP
346892017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
34690
0e02b510
SP
34691 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
34692 comments.
34693
36ada5f6
SP
34694 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
34695 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
34696 memcpy_falkor.
34697 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
34698 Bump.
34699 (__libc_ifunc_impl_list): Add __memcpy_falkor.
34700 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
34701 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
34702 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
34703 Add falkor.
34704 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
34705 New macro.
34706
9995c839
AZ
347072017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34708
34709 [BZ #759]
34710 * manual/setjmp.texi (getcontex): Document uc_stack value
34711 compatibility differences.
34712
f17a4233
JM
347132017-08-08 Joseph Myers <joseph@codesourcery.com>
34714
34715 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
34716 (old_malloc_hook): Likewise.
34717 (old_memalign_hook): Likewise.
34718 (old_realloc_hook): Likewise.
34719 (struct hdr): Likewise.
34720 (flood): Likewise.
34721 (freehook): Likewise.
34722 (mallochook): Likewise.
34723 (memalignhook): Likewise.
34724 (reallochook): Likewise.
34725 (mprobe): Likewise.
34726 * malloc/mtrace.c (mallwatch): Likewise.
34727 (tr_old_free_hook): Likewise.
34728 (tr_old_malloc_hook): Likewise.
34729 (tr_old_realloc_hook): Likewise.
34730 (tr_old_memalign_hook): Likewise.
34731 (tr_where): Likewise.
34732 (lock_and_info): Likewise.
34733 (tr_freehook): Likewise.
34734 (tr_mallochook): Likewise.
34735 (tr_reallochook): Likewise.
34736 (tr_memalignhook): Likewise.
34737 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
34738 * misc/mmap.c (__mmap): Likewise.
34739 * misc/mmap64.c (__mmap64): Likewise.
34740 * misc/mprotect.c (__mprotect): Likewise.
34741 * misc/msync.c (msync): Likewise.
34742 * misc/munmap.c (__munmap): Likewise.
34743 * posix/posix_madvise.c (posix_madvise): Likewise.
34744 * socket/send.c (__send): Likewise.
34745 * socket/sendto.c (__sendto): Likewise.
34746 * socket/setsockopt.c (__setsockopt): Likewise.
34747 * string/memcmp.c (__ptr_t): Remove macro.
34748 (MEMCMP): Use void * instead of ptr_t.
34749 * string/memrchr.c (__ptr_t): Remove macro.
34750 (__memrchr): Use void * instead of ptr_t.
34751 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
34752 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
34753 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
34754 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
34755 * sysdeps/mach/msync.c (msync): Likewise.
34756 * sysdeps/mach/munmap.c (__munmap): Likewise.
34757 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
34758 Likewise.
34759 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34760 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
34761 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
34762 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
34763 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
34764 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
34765 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
34766 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
34767 Likewise.
34768 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
34769 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
34770 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
34771 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
34772 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
34773 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
34774 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
34775 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
34776 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
34777 Likewise.
34778 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
34779 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
34780 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
34781 (MEMCMP): Use void * instead of ptr_t.
34782 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
34783 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
34784
0df595b2
FW
347852017-08-08 Florian Weimer <fweimer@redhat.com>
34786
34787 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
34788 return statement.
34789
086df229
L
347902017-08-08 H.J. Lu <hongjiu.lu@intel.com>
34791
34792 [BZ #21913]
34793 * csu/libc-tls.c: Include <startup.h> first.
34794 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
34795 * elf/dl-tunables.c: Include <startup.h> first.
34796 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
34797 * sysdeps/generic/startup.h: New file.
34798 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
34799 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
34800 (I386_USE_SYSENTER): New. Defined to 0.
34801
fc5ad702
AS
348022017-08-08 Andreas Schwab <schwab@suse.de>
34803
34804 [BZ #21041]
34805 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
34806 * nptl/pt-system.c (system): Likewise.
34807
852d6312
AZ
348082017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34809
34810 [BZ #21780]
34811 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
34812 EOPNOTSUPP.
34813 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
34814 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
34815 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
34816 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
34817 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
34818 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
34819 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
34820
8b164787
JM
348212017-08-07 Joseph Myers <joseph@codesourcery.com>
34822
cd65836b
JM
34823 [BZ #21899]
34824 * bits/sigaction.h (struct sigaction): Define sa_handler and
34825 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
34826 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34827 [__USE_XOPEN_EXTENDED].
34828 (SA_RESTART): Likewise.
34829 (SA_NODEFER): Likewise.
34830 (SA_RESETHAND): Likewise.
34831 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
34832 (struct sigaction): Define sa_handler and sa_sigaction using union
34833 also for [__USE_XOPEN_EXTENDED].
34834 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34835 [__USE_XOPEN_EXTENDED].
34836 (SA_RESTART): Likewise.
34837 (SA_NODEFER): Likewise.
34838 (SA_RESETHAND): Likewise.
34839 * sysdeps/unix/sysv/linux/bits/sigaction.h
34840 (struct sigaction): Define sa_handler and sa_sigaction using union
34841 also for [__USE_XOPEN_EXTENDED].
34842 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34843 [__USE_XOPEN_EXTENDED].
34844 (SA_RESTART): Likewise.
34845 (SA_NODEFER): Likewise.
34846 (SA_RESETHAND): Likewise.
34847 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
34848 (struct sigaction): Define sa_handler and sa_sigaction using union
34849 also for [__USE_XOPEN_EXTENDED].
34850 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34851 [__USE_XOPEN_EXTENDED].
34852 (SA_RESTART): Likewise.
34853 (SA_NODEFER): Likewise.
34854 (SA_RESETHAND): Likewise.
34855 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
34856 (struct sigaction): Define sa_handler and sa_sigaction using union
34857 also for [__USE_XOPEN_EXTENDED].
34858 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34859 [__USE_XOPEN_EXTENDED].
34860 (SA_RESTART): Likewise.
34861 (SA_NODEFER): Likewise.
34862 (SA_RESETHAND): Likewise.
34863 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
34864 (struct sigaction): Define sa_handler and sa_sigaction using union
34865 also for [__USE_XOPEN_EXTENDED].
34866 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34867 [__USE_XOPEN_EXTENDED].
34868 (SA_RESTART): Likewise.
34869 (SA_NODEFER): Likewise.
34870 (SA_RESETHAND): Likewise.
34871 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
34872 (struct sigaction): Define sa_handler and sa_sigaction using union
34873 also for [__USE_XOPEN_EXTENDED].
34874 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34875 [__USE_XOPEN_EXTENDED].
34876 (SA_RESTART): Likewise.
34877 (SA_NODEFER): Likewise.
34878 (SA_RESETHAND): Likewise.
34879 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34880 (struct sigaction): Define sa_handler and sa_sigaction using union
34881 also for [__USE_XOPEN_EXTENDED].
34882 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34883 [__USE_XOPEN_EXTENDED].
34884 (SA_RESTART): Likewise.
34885 (SA_NODEFER): Likewise. Define directly rather than as alias.
34886 (SA_RESETHAND): Likewise.
34887 (SA_INTERRUPT): Define only for [__USE_MISC].
34888 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
34889 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
34890 [__USE_MISC].
34891 (SA_STACK): Define only for [__USE_MISC].
34892 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
34893 (struct sigaction): Define sa_handler and sa_sigaction using union
34894 also for [__USE_XOPEN_EXTENDED].
34895 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34896 [__USE_XOPEN_EXTENDED].
34897 (SA_RESTART): Likewise.
34898 (SA_NODEFER): Likewise.
34899 (SA_RESETHAND): Likewise.
34900 (SA_NOPTRACE): Define only for [__USE_MISC].
34901
d9fee042
JM
34902 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
34903 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
34904 (struct catalog_info): Likewise.
34905 * inet/htontest.c (lo): Likewise.
34906 (foo): Likewise.
34907 * inet/inet_lnaof.c (inet_lnaof): Likewise.
34908 * inet/inet_net.c (inet_network): Likewise.
34909 * inet/inet_netof.c (inet_netof): Likewise.
34910 * inet/rcmd.c (__ivaliduser): Likewise.
34911 (iruserok): Likewise.
34912 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
34913 * locale/programs/locale-spec.c (locale_special): Likewise.
34914 * nis/nis_findserv.c (struct findserv_req): Likewise.
34915 (__nis_findfastest_with_timeout): Likewise.
34916 * nss/test-netdb.c (test_network): Likewise.
34917 * resolv/inet_neta.c (inet_neta): Likewise.
34918 * resolv/ns_date.c (ns_datetosecs): Likewise.
34919 (SECS_PER_DAY): Likewise.
34920 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
34921 Likewise.
34922 * resolv/res_comp.c (__putlong): Likewise.
34923 (__putshort): Likewise.
34924 (_getlong): Likewise.
34925 (_getshort): Likewise.
34926 * resolv/res_debug.c (p_time): Likewise.
34927 (precsize_ntoa): Likewise.
34928 (precsize_aton): Likewise.
34929 (latlon2ul): Likewise.
34930 (loc_aton): Likewise.
34931 (loc_ntoa): Likewise.
34932 * resolv/res_hconf.c (struct netaddr): Likewise.
34933 (_res_hconf_reorder_addrs): Likewise.
34934 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
34935 (clnttcp_control): Likewise.
34936 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
34937 (clntudp_control): Likewise.
34938 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
34939 (clntunix_control): Likewise.
34940 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
34941 * sunrpc/rpc/auth.h (union des_block): Likewise.
34942 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
34943 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
34944 (xdrrec_create): Likewise.
34945 (xdrrec_endofrecord): Likewise.
34946 (flush_out): Likewise.
34947 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
34948 (xdrstdio_putlong): Likewise.
34949 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
34950 Likewise.
34951
8b164787
JM
34952 * misc/sys/cdefs.h (__long_double_t): Remove.
34953 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
34954 instead of __long_double_t,
34955 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
34956
7ee38e60
SP
349572017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
34958
dd3e86ad
SP
34959 * benchtests/scripts/compare_strings.py: Avoid display error when
34960 running on a text terminal.
34961
b115e819
SP
34962 * benchtests/scripts/compare_strings.py (main): Add an
34963 optional -base option.
34964 (process_results): New argument base_func.
34965
7ee38e60
SP
34966 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
34967 hardcoding memcpy.
34968 * benchtests/bench-memcpy-large.c (test_name): Likewise.
34969 * benchtests/bench-memcpy-random.c (test_name): Likewise.
34970
d5afb385
AS
349712017-08-07 Andreas Schwab <schwab@suse.de>
34972
34973 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
34974 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
34975 * intl/Makefile ($(objpfx)tst-gettext.out)
34976 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
34977 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
34978 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
34979 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
34980 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
34981 * posix/Makefile ($(objpfx)globtest.out)
34982 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
34983 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
34984 ($(objpfx)tst-printf.out): Likewise.
34985 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
34986 ($(objpfx)tst-setcontext3.out): Likewise.
34987
57a72fa3
L
349882017-08-07 H.J. Lu <hongjiu.lu@intel.com>
34989
34990 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34991 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
34992 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
34993 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
34994 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
34995 and mptan-fma.
34996 (CFLAGS-doasin-fma.c): New.
34997 (CFLAGS-dosincos-fma.c): Likewise.
34998 (CFLAGS-e_asin-fma.c): Likewise.
34999 (CFLAGS-e_atan2-fma.c): Likewise.
35000 (CFLAGS-e_exp-fma.c): Likewise.
35001 (CFLAGS-e_log-fma.c): Likewise.
35002 (CFLAGS-e_pow-fma.c): Likewise.
35003 (CFLAGS-halfulp-fma.c): Likewise.
35004 (CFLAGS-mpa-fma.c): Likewise.
35005 (CFLAGS-mpatan-fma.c): Likewise.
35006 (CFLAGS-mpatan2-fma.c): Likewise.
35007 (CFLAGS-mpexp-fma.c): Likewise.
35008 (CFLAGS-mplog-fma.c): Likewise.
35009 (CFLAGS-mpsqrt-fma.c): Likewise.
35010 (CFLAGS-mptan-fma.c): Likewise.
35011 (CFLAGS-s_atan-fma.c): Likewise.
35012 (CFLAGS-sincos32-fma.c): Likewise.
35013 (CFLAGS-slowexp-fma.c): Likewise.
35014 (CFLAGS-slowpow-fma.c): Likewise.
35015 (CFLAGS-s_sin-fma.c): Likewise.
35016 (CFLAGS-s_tan-fma.c): Likewise.
35017 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
35018 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
35019 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
35020 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
35021 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
35022 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
35023 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
35024 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
35025 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
35026 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
35027 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
35028 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
35029 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
35030 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
35031 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
35032 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
35033 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
35034 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
35035 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
35036 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
35037 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
35038 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
35039 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
35040 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
35041 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
35042 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35043 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35044 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
35045 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35046 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35047 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35048
219dd320
JM
350492017-08-04 Joseph Myers <joseph@codesourcery.com>
35050
35051 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
35052 (min_of_type_f): New macro.
35053 (min_of_type_): Likewise.
35054 (min_of_type_l): Likewise.
35055 (min_of_type_f128): Likewise.
35056 (min_of_type): Define using __MATH_TG and taking an expression
35057 argument.
35058 (math_check_force_underflow): Pass expression instead of type to
35059 min_of_type.
35060 (math_check_force_underflow_nonneg): Likewise.
35061
64d4dea6
L
350622017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35063
35064 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
35065 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
35066 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
35067
973da22a
L
350682017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35069
35070 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35071 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
35072 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
35073 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
35074 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
35075 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
35076 memcpy_chk-nonshared, mempcpy_chk-nonshared,
35077 memmove_chk-nonshared and memset_chk-nonshared
35078 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
35079 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
35080 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
35081 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
35082 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
35083 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
35084 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
35085 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
35086 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
35087 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
35088 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
35089 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
35090 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
35091 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
35092 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
35093 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
35094 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
35095 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
35096 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
35097 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
35098 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
35099 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
35100 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
35101 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
35102 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
35103 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
35104 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
35105 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
35106 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
35107 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
35108 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
35109 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
35110 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
35111 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
35112 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
35113 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
35114 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
35115 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
35116 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
35117 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
35118 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
35119 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
35120 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
35121 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
35122 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
35123 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
35124 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
35125 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
35126 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
35127 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
35128 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
35129 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
35130 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
35131 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
35132 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
35133 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
35134 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
35135 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
35136 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
35137 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
35138 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
35139 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
35140 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
35141 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
35142 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
35143 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
35144 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
35145 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
35146 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
35147 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
35148 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
35149 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35150 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35151 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35152 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35153 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35154 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35155 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35156 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35157 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35158 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35159 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35160 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35161 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35162 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35163 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35164 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35165 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35166 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35167 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35168 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35169 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35170 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35171 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35172 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35173 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35174 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35175 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35176 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35177 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35178 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35179 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35180 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35181 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35182 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35183 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35184 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35185 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35186
8537e0f6
L
351872017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35188
35189 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
35190 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
35191 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
35192 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
35193 svml_d_log2_core-sse2, svml_d_log4_core-sse,
35194 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
35195 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
35196 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
35197 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
35198 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
35199 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
35200 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
35201 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
35202 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
35203 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
35204 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
35205 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
35206 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
35207 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
35208 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
35209 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
35210 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
35211 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
35212 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
35213 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
35214 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
35215 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
35216 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
35217 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
35218 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
35219 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
35220 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
35221 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
35222 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
35223 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
35224 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
35225 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
35226 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
35227 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
35228 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
35229 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
35230 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
35231 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
35232 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
35233 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
35234 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
35235 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
35236 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
35237 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
35238 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
35239 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
35240 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
35241 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
35242 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
35243 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
35244 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
35245 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
35246 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
35247 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
35248 ...
35249 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
35250 Don't include <sysdep.h> nor <init-arch.h>.
35251 (_ZGVbN2v_cos): Removed.
35252 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
35253 ...
35254 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
35255 Don't include <sysdep.h> nor <init-arch.h>.
35256 (_ZGVdN4v_cos): Removed.
35257 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
35258 ...
35259 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
35260 Don't include <sysdep.h> nor <init-arch.h>.
35261 (_ZGVeN8v_cos): Removed.
35262 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
35263 ...
35264 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
35265 Don't include <sysdep.h> nor <init-arch.h>.
35266 (_ZGVbN2v_exp): Removed.
35267 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
35268 ...
35269 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
35270 Don't include <sysdep.h> nor <init-arch.h>.
35271 (_ZGVdN4v_exp): Removed.
35272 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
35273 ...
35274 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
35275 Don't include <sysdep.h> nor <init-arch.h>.
35276 (_ZGVeN8v_exp): Removed.
35277 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
35278 ...
35279 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
35280 Don't include <sysdep.h> nor <init-arch.h>.
35281 (_ZGVbN2v_log): Removed.
35282 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
35283 ...
35284 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
35285 Don't include <sysdep.h> nor <init-arch.h>.
35286 (_ZGVdN4v_log): Removed.
35287 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
35288 ...
35289 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
35290 Don't include <sysdep.h> nor <init-arch.h>.
35291 (_ZGVeN8v_log): Removed.
35292 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
35293 ...
35294 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
35295 Don't include <sysdep.h> nor <init-arch.h>.
35296 (_ZGVbN2vv_pow): Removed.
35297 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
35298 ...
35299 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
35300 Don't include <sysdep.h> nor <init-arch.h>.
35301 (_ZGVdN4vv_pow): Removed.
35302 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
35303 ...
35304 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
35305 Don't include <sysdep.h> nor <init-arch.h>.
35306 (_ZGVeN8vv_pow): Removed.
35307 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
35308 ...
35309 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
35310 Don't include <sysdep.h> nor <init-arch.h>.
35311 (_ZGVbN2v_sin): Removed.
35312 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
35313 ...
35314 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
35315 Don't include <sysdep.h> nor <init-arch.h>.
35316 (_ZGVbN4v_sin): Removed.
35317 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
35318 ...
35319 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
35320 Don't include <sysdep.h> nor <init-arch.h>.
35321 (_ZGVbN8v_sin): Removed.
35322 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
35323 ...
35324 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
35325 Don't include <sysdep.h> nor <init-arch.h>.
35326 (_ZGVbN2vvv_sincos): Removed.
35327 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
35328 ...
35329 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
35330 Don't include <sysdep.h> nor <init-arch.h>.
35331 (_ZGVdN4vvv_sincos): Removed.
35332 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
35333 ...
35334 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
35335 Don't include <sysdep.h> nor <init-arch.h>.
35336 (_ZGVeN8vvv_sincos): Removed.
35337 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
35338 ...
35339 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
35340 Don't include <sysdep.h> nor <init-arch.h>.
35341 (_ZGVeN16v_cosf): Removed.
35342 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
35343 ...
35344 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
35345 Don't include <sysdep.h> nor <init-arch.h>.
35346 (_ZGVbN4v_cosf): Removed.
35347 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
35348 ...
35349 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
35350 Don't include <sysdep.h> nor <init-arch.h>.
35351 (_ZGVdN8v_cosf): Removed.
35352 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
35353 ...
35354 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
35355 Don't include <sysdep.h> nor <init-arch.h>.
35356 (_ZGVeN16v_expf): Removed.
35357 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
35358 ...
35359 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
35360 Don't include <sysdep.h> nor <init-arch.h>.
35361 (_ZGVbN4v_expf): Removed.
35362 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
35363 ...
35364 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
35365 Don't include <sysdep.h> nor <init-arch.h>.
35366 (_ZGVdN8v_expf): Removed.
35367 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
35368 ...
35369 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
35370 Don't include <sysdep.h> nor <init-arch.h>.
35371 (_ZGVeN16v_logf): Removed.
35372 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
35373 ...
35374 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
35375 Don't include <sysdep.h> nor <init-arch.h>.
35376 (_ZGVbN4v_logf): Removed.
35377 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
35378 ...
35379 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
35380 Don't include <sysdep.h> nor <init-arch.h>.
35381 (_ZGVdN8v_logf): Removed.
35382 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
35383 ...
35384 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
35385 Don't include <sysdep.h> nor <init-arch.h>.
35386 (_ZGVeN16vv_powf): Removed.
35387 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
35388 ...
35389 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
35390 Don't include <sysdep.h> nor <init-arch.h>.
35391 (_ZGVbN4vv_powf): Removed.
35392 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
35393 ...
35394 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
35395 Don't include <sysdep.h> nor <init-arch.h>.
35396 (_ZGVdN8vv_powf): Removed.
35397 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
35398 ...
35399 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
35400 Don't include <sysdep.h> nor <init-arch.h>.
35401 (_ZGVeN16vvv_sincosf): Removed.
35402 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
35403 ...
35404 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
35405 Don't include <sysdep.h> nor <init-arch.h>.
35406 (_ZGVbN4vvv_sincosf): Removed.
35407 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
35408 ...
35409 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
35410 Don't include <sysdep.h> nor <init-arch.h>.
35411 (_ZGVdN8vvv_sincosf): Removed.
35412 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
35413 ...
35414 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
35415 Don't include <sysdep.h> nor <init-arch.h>.
35416 (_ZGVeN16v_sinf): Removed.
35417 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
35418 ...
35419 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
35420 Don't include <sysdep.h> nor <init-arch.h>.
35421 (_ZGVbN4v_sinf): Removed.
35422 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
35423 ...
35424 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
35425 Don't include <sysdep.h> nor <init-arch.h>.
35426 (_ZGVdN8v_sinf): Removed.
35427
10a87ca4
L
354282017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35429
35430 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35431 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
35432 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
35433 s_rint-sse4_1 and s_rintf-sse4_1.
35434 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
35435 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
35436 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
35437 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
35438 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
35439 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
35440 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
35441 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
35442 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
35443 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
35444 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
35445 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35446 (__ceil): Removed.
35447 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
35448 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
35449 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35450 (__ceilf): Removed.
35451 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
35452 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
35453 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35454 (__floor): Removed.
35455 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
35456 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
35457 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35458 (__floorf): Removed.
35459 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
35460 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
35461 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35462 (__nearbyint): Removed.
35463 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
35464 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
35465 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35466 (__nearbyintf): Removed.
35467 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
35468 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
35469 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35470 (__rint): Removed.
35471 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
35472 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
35473 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35474 (__rintf): Removed.
35475
1e8e527d
L
354762017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35477
35478 * sysdeps/i386/start.S (_start): Check Check PIC instead of
35479 SHARED. Avoid dynamic relocation against main in static PIE.
35480
e13daad7
L
354812017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35482
35483 [BZ #21815]
35484 * elf/Makefile (CFLAGS-tst-prelink.c): New.
35485 (LDFLAGS-tst-prelink): Likewise.
35486
627c69c8
L
354872017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35488
35489 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
35490 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
35491 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
35492 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
35493 (INTERNAL_SYSCALL_NCS): Likewise.
35494 (LOADARGS_1): Likewise.
35495 (LOADARGS_5): Likewise.
35496 (RESTOREARGS_1): Likewise.
35497 (RESTOREARGS_5): Likewise.
35498
fc11ff8d
L
354992017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35500
35501 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
35502 (MEMPCPY_SYMBOL): Likewise.
35503 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
35504 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
35505 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
35506 in libc.a.
35507 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35508 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
35509 Likewise.
35510 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
35511 (__hidden_ver1): Don't use in libc.a.
35512 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
35513 (__mempcpy): Don't create a weak alias in libc.a.
35514 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
35515 libc.a.
35516 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
35517 (__hidden_ver1): Don't use in libc.a.
35518
19f1a11e
L
355192017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35520
35521 * config.make.in (have-insert): New.
35522 * configure.ac (libc_cv_insert): New. Set to yes if linker
35523 supports INSERT in linker script.
35524 (AC_SUBST(libc_cv_insert): New.
35525 * configure: Regenerated.
35526 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
35527 if $(have-insert) == yes.
35528
3093fd5e
L
355292017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35530
35531 * elf/Makefile (tests): Add vismain only if
35532 $(have-protected-data) == yes.
35533 (tests-pie): Likewise.
35534
d2cf37c0
L
355352017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35536
35537 [BZ #21871]
35538 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
35539 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
35540
c8a0e6ec
L
355412017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35542
35543 [BZ #21790]
35544 * sysdeps/i386/i586/memset.S
35545 (__memset_zero_constant_len_parameter): Removed.
35546 * sysdeps/i386/i686/memset.S
35547 (__memset_zero_constant_len_parameter): Likewise.
35548 * sysdeps/i386/i686/multiarch/memset_chk.S
35549 (__memset_zero_constant_len_parameter): Likewise.
35550 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
35551 Likewise.
35552
2b34e271
AJ
355532017-08-03 Aurelien Jarno <aurelien@aurel32.net>
35554
35555 * stdlib/getentropy.c (getentropy): Change return type to int.
35556
144bdab0
AJ
355572017-08-03 Aurelien Jarno <aurelien@aurel32.net>
35558
35559 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
35560
24ab7723
JM
355612017-08-03 Joseph Myers <joseph@codesourcery.com>
35562
35563 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
35564 u_intN_t.
35565 * math/s_nexttowardf.c (__nexttowardf): Likewise.
35566 * sysdeps/generic/math_private.h (ieee_double_shape_type):
35567 Likewise.
35568 (ieee_float_shape_type): Likewise.
35569 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
35570 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
35571 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
35572 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35573 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
35574 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
35575 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
35576 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
35577 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
35578 Likewise.
35579 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
35580 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
35581 (__ieee754_yn): Likewise.
35582 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
35583 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
35584 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
35585 Likewise.
35586 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
35587 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
35588 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
35589 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
35590 (__erfc): Likewise.
35591 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
35592 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
35593 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
35594 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
35595 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
35596 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
35597 Likewise.
35598 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
35599 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
35600 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
35601 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
35602 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
35603 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
35604 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
35605 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
35606 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
35607 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
35608 (__issignaling): Likewise.
35609 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
35610 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
35611 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
35612 Likewise.
35613 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35614 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
35615 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
35616 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
35617 Likewise.
35618 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
35619 Likewise.
35620 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
35621 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
35622 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
35623 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
35624 (__erfcf): Likewise.
35625 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
35626 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
35627 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
35628 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
35629 Likewise.
35630 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
35631 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
35632 Likewise.
35633 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
35634 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
35635 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
35636 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
35637 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
35638 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
35639 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
35640 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
35641 Likewise.
35642 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
35643 Likewise.
35644 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
35645 Likewise.
35646 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
35647 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
35648 Likewise.
35649 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
35650 Likewise.
35651 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
35652 (__ieee754_ynl): Likewise.
35653 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
35654 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
35655 Likewise.
35656 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
35657 Likewise.
35658 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
35659 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
35660 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35661 Likewise.
35662 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
35663 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
35664 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
35665 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
35666 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
35667 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
35668 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
35669 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
35670 Likewise.
35671 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
35672 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
35673 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
35674 Likewise.
35675 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
35676 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
35677 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
35678 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
35679 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
35680 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
35681 Likewise.
35682 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
35683 Likewise.
35684 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35685 Likewise.
35686 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35687 Likewise.
35688 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
35689 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
35690 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35691 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
35692 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
35693 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
35694 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
35695 Likewise.
35696 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
35697 Likewise.
35698 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
35699 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35700 Likewise.
35701 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
35702 (__ieee754_remainderl): Likewise.
35703 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35704 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35705 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
35706 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
35707 Likewise.
35708 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
35709 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35710 Likewise.
35711 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35712 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
35713 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
35714 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
35715 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
35716 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
35717 Likewise.
35718 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
35719 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
35720 (__ieee754_y0l): Likewise.
35721 (pzero): Likewise.
35722 (qzero): Likewise.
35723 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
35724 (__ieee754_y1l): Likewise.
35725 (pone): Likewise.
35726 (qone): Likewise.
35727 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
35728 (__ieee754_ynl): Likewise.
35729 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
35730 (__ieee754_lgammal_r): Likewise.
35731 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
35732 Likewise.
35733 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
35734 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
35735 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
35736 (__erfcl): Likewise.
35737 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
35738 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
35739 Likewise.
35740 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
35741 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
35742 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
35743 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
35744 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
35745 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35746 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35747 Likewise.
35748 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
35749 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
35750 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
35751 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
35752 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35753 Likewise.
35754 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
35755 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
35756 Likewise.
35757 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
35758 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
35759 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
35760 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
35761 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
35762
964263bb
FW
357632017-08-03 Florian Weimer <fweimer@redhat.com>
35764
35765 [BZ #21885]
35766 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
35767 on memory allocation failure.
35768
e98c925f
AM
357692017-08-03 Alan Modra <amodra@gmail.com>
35770
35771 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
35772 tst-tlsopt-powerpc.c with function name change and no test harness.
35773 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
35774 Call tls_get_addr_opt_test.
35775 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
35776 (modules-names): Add mod-tlsopt-powerpc.
35777 (mod-tlsopt-powerpc.so-no-z-defs): Define.
35778 (tst-tlsopt-powerpc): Depend on .so.
35779 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
35780 define. Expand use in TLS_GD and TLS_LD.
35781
8ee1abdb
ST
357822017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
35783
35784 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
35785 function.
3da5756e 35786 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 35787
42df8d59
JM
357882017-08-02 Joseph Myers <joseph@codesourcery.com>
35789
35790 [BZ #21686]
35791 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
35792 comparing size with that of double.
35793 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
35794 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
35795 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
35796 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
35797 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35798 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
35799 unsigned __int128 types.
35800
b7f95f49
SE
358012017-08-02 Steve Ellcey <sellcey@cavium.com>
35802
35803 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
35804 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
35805 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
35806 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
35807 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
35808
5b736bc9
L
358092017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35810
35811 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
35812
dfc93c41
L
358132017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35814
35815 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
35816 of SHARED.
35817 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
35818 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35819 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35820 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35821 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35822 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35823 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35824
2fee621d
JM
358252017-08-02 Joseph Myers <joseph@codesourcery.com>
35826
35827 [BZ #21685]
35828 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
35829 bit-field expressions passed to sizeof or typeof.
35830 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35831 (__TGMATH_F128): Likewise.
35832 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35833 (__TGMATH_CF128): Likewise.
35834 (__TGMATH_UNARY_REAL_ONLY): Likewise.
35835 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
35836 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
35837 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
35838 (__TGMATH_BINARY_REAL_ONLY): Likewise.
35839 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
35840 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
35841 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
35842 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
35843 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
35844 (__TGMATH_UNARY_REAL_IMAG): Likewise.
35845 (__TGMATH_UNARY_IMAG): Likewise.
35846 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
35847 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35848 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
35849 type.
35850 (define_vars_for_type): Handle bit_field type specially.
35851 (Tests.__init__): Declare structure with bit-field element.
35852
b358255f
L
358532017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35854
35855 [BZ #21791]
35856 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
35857 (MEMCPY_CHK): Define only if SHARED is defined.
35858 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
35859 Likewise.
35860 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
35861 Likewise.
edf66db1
SP
35862
35863See ChangeLog.18 for earlier changes.