]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
locale/tst-locale-locpath: Fix arguments passing
[thirdparty/glibc.git] / ChangeLog
CommitLineData
7901d4ee
MH
12019-07-10 Mao Han <han_mao@c-sky.com>
2
3 * locale/Makefile: Fix tst-locale-locpath arguments passing.
4
b5232c9f
PC
52019-07-09 Paul A. Clarke <pc@us.ibm.com>
6
7 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
8 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
9
6ba205b2
DD
102019-07-08 DJ Delorie <dj@redhat.com>
11
12 [BZ #23501]
13 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
14 * io/tst-ftw-lnk.c: New test.
15 * io/Makefile: Run it.
16
f215dbbd
AZ
172019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18
6ea21bfe
AZ
19 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
20 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
21 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
22 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
23 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
24 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
25 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
26 Adjust implementation path.
27 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
28 Adjust implementation path.
29 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
30 Adjust implementation path.
31 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
32 (libm-sysdep_routines): Add s_log* objects.
33 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
34 CFLAGS-s_logb-power7.c): New fule.
35 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
36 to ...
37 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
38 ... here.
39 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
40 to ...
41 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
42 ... here.
43 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
44 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
45 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
46 to ...
47 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
48 ... here.
49 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
50 to ...
51 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
52 ... here.
53 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
54 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
55 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
56 to ...
57 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
58 ... here.
59 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
60 to ...
61 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
62 ... here.
63 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
64 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
65 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
66 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
67 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
68 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
69
105f2ed3
AZ
70 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
71 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
72 powerpc32 integer 0 converting to -0.
73
0cccd37f
AZ
74 * benchtests/Makefile (bench-math): Add logb.
75 * benchtests/logb-inputs: New file.
76 * benchtests/logbf-inputs: New file.
77
931c616e
AZ
78 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
79 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
80 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
81 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
82 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
83 Adjust include.
84 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
85 Likewise.
86 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
87 sysdep_routines): Add s_modf* objects.
88 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
89 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
90 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
91 to ...
92 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
93 ... here.
94 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
95 to ...
96 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
97 ... here.
98 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
99 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
101 to ...
102 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
103 ... here.
104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
105 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
106 ... here.
107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
108 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
109
69461d98
AZ
110 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
111 twoM500, twoM600, two60factor, pdnum): Remove.
112 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
113 (__ieee754_hypot): Replace static variables with inline definition,
114 remove ununsed branches.
115 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
116 (libm-sysdep_routines): Remove e_hypot-* objects.
117 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
118 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
119 file.
120 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
121 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
122 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
123 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
124 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
125
f215dbbd
AZ
126 * benchtests/Makefile (bench-math): Add hypot.
127 * benchtests/hypot-inputs: New file.
128
97274b18
VC
1292019-07-08 Vincent Chen <vincentc@andestech.com>
130
131 * sysdeps/unix/sysv/linux/dl-vdso.h
132 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
133
484b7af3
AS
1342019-07-04 Andreas Schwab <schwab@suse.de>
135
136 [BZ #24484]
137 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
138
2b8a3c86
SN
1392019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
140
141 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
142 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
143 * sysdeps/aarch64/sys/ifunc.h: New file.
144 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
145 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
146
41d6f74e
FW
1472019-07-01 Florian Weimer <fweimer@redhat.com>
148
149 [BZ #20188]
150 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
151 Replace __vfork with __libpthread_version_placeholder for
152 GLIBC_2.1.2.
153 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
154 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
155 libpthread-compat.
156 * nptl/pt-vfork.c: Remove file.
157 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
158 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
159 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
160 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
161 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
162 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
163 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
164 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
165 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
166 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
167 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
168 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
169 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
170 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
171 Remove vfork, __vfork.
172 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
173 Remove vfork.
174 (GLIBC_2.1.2): Replace __vfork with
175 __libpthread_version_placeholder.
176 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
177 Remove vfork, __vfork.
178 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
179 Likewise.
180 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
181 Remove vfork.
182 (GLIBC_2.1.2): Replace __vfork with
183 __libpthread_version_placeholder.
184 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
185 Remove vfork.
186 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
187 (GLIBC_2.4): Remove vfork, __vfork.
188 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
189 (GLIBC_2.0): Remove vfork.
190 (GLIBC_2.1.2): Replace __vfork with
191 __libpthread_version_placeholder.
192 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
193 (GLIBC_2.18): Remove vfork, __vfork.
194 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
195 (GLIBC_2.0): Remove vfork.
196 (GLIBC_2.2): Remove __vfork.
197 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
198 (GLIBC_2.2): Remove vfork, __vfork.
199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
200 (GLIBC_2.0): Remove vfork.
201 (GLIBC_2.1.2): Replace __vfork with
202 __libpthread_version_placeholder.
203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
204 (GLIBC_2.3): Remove vfork, __vfork.
205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
206 (GLIBC_2.17): Likewise.
207 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
208 (GLIBC_2.0): Remove vfork.
209 (GLIBC_2.1.2): Replace __vfork with
210 __libpthread_version_placeholder.
211 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
212 (GLIBC_2.2): Remove vfork, __vfork.
213 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
214 Likewise.
215 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
216 (GLIBC_2.0): Remove vfork.
217 (GLIBC_2.1.2): Replace __vfork with
218 __libpthread_version_placeholder.
219 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
220 (GLIBC_2.2): Remove vfork, __vfork.
221 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
222 (GLIBC_2.2.5): Likewise.
223 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
224 (GLIBC_2.16): Likewise.
225 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
226 Remove __errno_location.
227
27cec9ae
FW
2282019-07-02 Florian Weimer <fweimer@redhat.com>
229
230 [BZ #24757]
231 * malloc/Depend: Add nptl and htl, due to potential indirect
232 libpthread dependency of memusagestat.
233
d1bc2cbb
SL
2342019-07-02 Stefan Liebler <stli@linux.ibm.com>
235
236 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
237 warning.
238
72edea80
FW
2392019-07-01 Florian Weimer <fweimer@redhat.com>
240
241 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
242 variant for arm-linux-gnueabi.
243
d0093c5c
L
2442019-07-01 H.J. Lu <hongjiu.lu@intel.com>
245
246 [BZ #24259]
247 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
248 relocation.
249 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
250 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
251 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
252 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
253 and tst-cet-legacy-mod-6c.
254 (CFLAGS-tst-cet-legacy-5a.c): New.
255 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
256 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
257 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
258 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
259 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
260 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
261 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
262 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
263 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
264 ($(objpfx)tst-cet-legacy-5a): Likewise.
265 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
266 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
267 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
268 ($(objpfx)tst-cet-legacy-5b): Likewise.
269 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
270 (tst-cet-legacy-5b-ENV): Likewise.
271 ($(objpfx)tst-cet-legacy-6a): Likewise.
272 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
273 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
274 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
275 ($(objpfx)tst-cet-legacy-6b): Likewise.
276 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
277 (tst-cet-legacy-6b-ENV): Likewise.
278 * sysdeps/x86/tst-cet-legacy-5.c: New file.
279 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
280 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
281 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
282 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
283 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
284 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
285 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
286 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
287 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
288 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
289 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
290 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
291 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
292
3db85a98
PC
2932019-06-30 Paul A. Clarke <pc@us.ibm.com>
294
295 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
296 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
297 (__fegetround_ISA300) New.
298 (__fegetround_ISA2) New.
299 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
300 (_FPU_MFFS): Move implementation...
301 (_FPU_GETCW): Here.
302 (_FPU_MFFSL): Move implementation....
303 (_FPU_GET_RC_ISA300): Here. New.
304 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
305 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
306 (fegetenv_status): New.
307 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
308 instead of fegetenv_register().
309 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
310
d0645912
WD
3112019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
312
313 * benchtests/bench-math-inlines.c: Increase iterations.
314 * benchtests/bench-memcmp.c: Likewise.
315 * benchtests/bench-rawmemchr.c: Likewise.
316 * benchtests/bench-strcmp.c: Likewise.
317 * benchtests/bench-strcpy_chk.c: Likewise.
318 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
319 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
320 (INNER_LOOP_ITERS_SMALL): Likewise.
321 * benchtests/bench-strncat.c: Increase iterations.
322 * benchtests/bench-strncmp.c: Increase iterations.
323 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
324 * benchtests/bench-strrchr.c: Increase iterations.
325 * benchtests/bench-strstr.c: Keep iterations unchanged.
326 * benchtests/bench-strtod.c: Increase iterations.
327
afe23eb0
AY
3282019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
329
330 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
331 with INNER_LOOP_ITERS_LARGE.
332 * benchtests/bench-memchr.c: Likewise.
333 * benchtests/bench-rawmemchr.c: Likewise.
334 * benchtests/bench-strcat.c: Likewise.
335 * benchtests/bench-strchr.c: Likewise.
336 * benchtests/bench-string.h: Likewise.
337 * benchtests/bench-strlen.c: Likewise.
338 * benchtests/bench-strncpy.c: Likewise.
339 * benchtests/bench-strnlen.c: Likewise.
340
507f55c0
FW
3412019-06-28 Florian Weimer <fweimer@redhat.com>
342
343 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
344 Use mmap instead of malloc. malloc with M_PERTURB writes to the
345 entire allocated memory range.
346
589787f8
TK
3472019-06-28 Tobias Klauser <tklauser@distanz.ch>
348
349 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
350 (prepare_version_base): New helper inline function.
351 (prepare_version): New macro replacing PREPARE_VERSION.
352 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
353
f0b2132b
FW
3542019-06-28 Florian Weimer <fweimer@redhat.com>
355
356 [BZ #24741]
357 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
358 mismatch in a versioned symbol reference.
359 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
360 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
361 tst-sonamemove-dlopen.
362 (module-names): Add tst-sonamemove-linkmod1,
363 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
364 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
365 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
366 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
367 (tst-sonamemove-runmod1.so): Link against
368 tst-sonamemove-runmod2.so.
369 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
370 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
371 tst-sonamemove-runmod2.so.
372 (tst-sonamemove-dlopen): Link with -ldl.
373 (tst-sonamemove-dlopen.out): Likewise.
374 * elf/tst-sonamemove-link.c: New file.
375 * elf/tst-sonamemove-dlopen.c: Likewise.
376 * elf/tst-sonamemove-linkmod1.c: Likewise.
377 * elf/tst-sonamemove-linkmod1.map: Likewise.
378 * elf/tst-sonamemove-runmod1.c: Likewise.
379 * elf/tst-sonamemove-runmod1.map: Likewise.
380 * elf/tst-sonamemove-runmod2.c: Likewise.
381 * elf/tst-sonamemove-runmod2.map: Likewise.
382
17432d71
FW
3832019-06-28 Florian Weimer <fweimer@redhat.com>
384
385 * support/xdlfcn.h (xdlvsym): Declare function.
386 * support/xdlfcn.c (xdlvsym): Define funciton.
387
5a659ccc
FW
3882019-06-28 Florian Weimer <fweimer@redhat.com>
389
390 [BZ #24744]
391 io: Remove the copy_file_range emulation.
392 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
393 not define and call copy_file_range_compat.
394 * io/Makefile (tests-static, tests-internal): Do not add
395 tst-copy_file_range-compat.
396 * io/copy_file_range-compat.c: Remove file.
397 * io/copy_file_range.c (copy_file_range): Define as stub.
398 * io/tst-copy_file_range-compat.c: Remove file.
399 * io/tst-copy_file_range.c (xdevfile): Remove variable.
400 (typical_sizes): Update comment. Remove 16K sizes.
401 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
402 Remove variables.
403 (find_maximum_offset, pipe_as_source, pipe_as_destination)
404 (delayed_write_failure_beginning, delayed_write_failure_end)
405 (cross_device_failure, enospc_failure_1, enospc_failure)
406 (oappend_failure): Remove functions.
407 (tests): Adjust test case list.
408 (do_test): Remove file system search code. Check for ENOSYS from
409 copy_file_range. Do not free xdevfile.
410 * manual/llio.texi (Copying File Data): Document ENOSYS error from
411 copy_file_range. Do not document the EXDEV error, which future
412 kernels may not report. Update the wording to reflect that
413 further errors are possible.
414 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
415 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
416 not undefine.
417 * sysdeps/unix/sysv/linux/arm/kernel-features.h
418 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
419 Likewise.
420 * sysdeps/unix/sysv/linux/kernel-features.h
421 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
422 Remove definition.
423 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
424 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
425 not undefine.
426 * sysdeps/unix/sysv/linux/sh/kernel-features.h
427 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
428 Likewise.
429
1626f499
GG
4302019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
431
432 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
433 used as a mask for the mode argument of __vfprintf_internal.
434 * stdio-common/printf-parse.h (printf_arg): New union member:
435 pa_float128.
436 * stdio-common/vfprintf-internal.c
437 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
438 (PARSE_FLOAT_VA_ARG): Likewise.
439 (SETUP_FLOAT128_INFO): Likewise.
440 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
441 SETUP_FLOAT128_INFO.
442 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
443 floating-point value to the new union member, pa_float128.
444 (printf_positional): Zero-initialize args_value[cnt] with memset.
445
a620bd79
FW
4462019-06-27 Florian Weimer <fweimer@redhat.com>
447
448 [BZ #24740]
449 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
450 buffer size if necessary.
451 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
452 Likewise.
453 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
454 New function.
455 (large_buffer_checks): Likewise.
456 (do_test): Call large_buffer_checks.
457
d039da1c
L
4582019-06-26 H.J. Lu <hongjiu.lu@intel.com>
459
460 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
461 * sysdeps/x86/dl-lookupcfg.h: Here.
462 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
463
9d5d214e
AZ
4642019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
465
aa32f5bf
AZ
466 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
467 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
468 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
469 file.
470 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
471 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
472 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
473 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
474 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
475
9d5d214e
AZ
476 * sysdeps/powerpc/powerpc32/fpu/Makefile
477 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
478 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
479 and fctidz optimization.
480 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
481 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
483 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
484 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
485 CFLAGS-s_lround-power5+.c): New rule.
486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
487 New file.
488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
489 Likewise.
490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
491 Likewise.
492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
493 Likewise.
494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
495 Likewise.
496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
497 Remove file.
498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
499 Likewise.
500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
501 Likewise.
502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
503 Likewise.
504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
505 Likewise.
506 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
507 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
508 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
509 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
510 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
511 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
512 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
513
a63b96fb
VC
5142019-06-26 Vincent Chen <vincentc@andestech.com>
515
516 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
517 specific system calls, fp_udfiex_crtl and udftrap.
518
c78b3f55
SL
5192019-06-26 Stefan Liebler <stli@linux.ibm.com>
520
521 * nptl/tst-eintr1.c (tf1): Add return statement.
522 (do_test): Remove unused th variable.
523
9e6a7d9c
SL
5242019-06-26 Stefan Liebler <stli@linux.ibm.com>
525
526 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
527 Return error if get_character fails.
528
c89e669a
SL
5292019-06-25 Stefan Liebler <stli@linux.ibm.com>
530
531 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
532
a55541fd
RL
5332019-06-24 Rafal Luzynski <digitalfreak@lingonborough.com>
534
535 [BZ #24652]
536 * localedata/locales/szl_PL (day): Use the correct Unicode
537 sequences instead of non-ASCII characters.
538
2bd81b60
GK
5392019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
540
541 [BZ #24652]
542 * localedata/locales/szl_PL (abday): Spelling corrections.
543 (day): Likewise.
544 (abmon): Likewise.
545 (mon): Rename to...
546 (alt_mon): This, then apply spelling corrections.
547 (mon): New entry, month names in the genitive case.
548
fefa2179
RL
5492019-06-21 Rafal Luzynski <digitalfreak@lingonborough.com>
550
551 [BZ #23831]
552 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
553 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
554 (thousands_sep): Likewise.
555 (grouping): Set to 3;3.
556
85c748f9
TK
5572019-06-21 Tobias Klauser <tklauser@distanz.ch>
558
559 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
560 PREPARE_VERSION_KNOWN.
561 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
562 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
563 define.
564 (VDSO_HASH_LINUX_2_6_39): Likewise.
565 (VDSO_NAME_LINUX_4_9): Likewise.
566 (VDSO_HASH_LINUX_4_9): Likewise.
567 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
568 * sysdeps/unix/sysv/linux/powerpc/init-first.c
569 (_libc_vdso_platform_setup): Likewise.
570 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
571 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
572 Likewise.
573 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
574 Likewise.
575
db13e32c
MC
5762019-06-20 Mike Crowe <mac@mcrowe.com>
577
ce5b73a7
MC
578 * nptl/eintr.c: Use libsupport.
579 * nptl/tst-eintr1.c: Likewise.
580 * nptl/tst-eintr2.c: Likewise.
581 * nptl/tst-eintr3.c: Likewise.
582 * nptl/tst-eintr4.c: Likewise.
583 * nptl/tst-eintr5.c: Likewise.
584 * nptl/tst-mutex-errorcheck.c: Likewise.
585 * nptl/tst-mutex5.c: Likewise.
586
8bf225d5
MC
587 * support/test-driver.h: Add verbose_printf macro.
588
db13e32c
MC
589 * support/xtime.h: Add xclock_now() helper function.
590
21cc130b
DL
5912019-06-20 Dmitry V. Levin <ldv@altlinux.org>
592 Florian Weimer <fweimer@redhat.com>
593
594 [BZ #24228]
595 * libio/genops.c (_IO_unbuffer_all)
596 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
597 buffers and access _IO_FILE_complete members of legacy libio streams.
598 * libio/tst-bz24228.c: New file.
599 * libio/tst-bz24228.map: Likewise.
600 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
601 [build-shared] (generated): Add tst-bz24228.mtrace and
602 tst-bz24228.check.
603 [run-built-tests && build-shared] (tests-special): Add
604 $(objpfx)tst-bz24228-mem.out.
605 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
606 ($(objpfx)tst-bz24228-mem.out): New rule.
607
49bc41b6
PC
6082019-06-19 Paul A. Clarke <pc@us.ibm.com>
609
610 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
611 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
612 (__FPU_MFFSL): Likewise.
613 (_FPU_SETCW): Likewise.
614
335c1007
SS
6152019-06-19 Stan Shebs <stanshebs@google.com>
616 Raoni Fassina Firmino <raoni@linux.ibm.com>
617
618 [BZ #24640]
619 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
620 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
621 static-linking version.
622 * sysdeps/unix/sysv/linux/powerpc/Makefile
623 (tests-static): Add test-gettimebasefreq-static.
624 (tests): Likewise.
625 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
626 New file.
627
f59a54ab
RL
6282019-06-19 Rafal Luzynski <digitalfreak@lingonborough.com>
629
630 [BZ #24614]
631 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
632 between the currency symbol and the minus sign).
633 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
634
f0c5a803
SL
6352019-06-19 Stefan Liebler <stli@linux.ibm.com>
636
637 [BZ #24556]
638 * string/test-strcasestr.c (check_result): Add NULL check.
639 * nss/tst-field.c (check_rewrite): Likewise.
640 * benchtests/bench-strstr.c (do_one_test): Likewise.
641 * string/test-strstr.c (check_result): Likewise.
642 * argp/argp-test.c (popt): Increase size of buf to 12.
643 * benchtests/bench-malloc-simple.c (bench):
644 Do not initialize tests array out of bounds.
645
fabf5e49
FW
6462019-06-19 Florian Weimer <fweimer@redhat.com>
647
648 [BZ #24166]
649 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
650 dls_serpath field.
651
2c75b545
FW
6522019-06-18 Florian Weimer <fweimer@redhat.com>
653
654 [BZ #24323]
655 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
656 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
657 fail when called from dlopen.
658 * elf/Makefile [have-fpie && build-shared] (tests): Add
659 tst-dlopen-pie.
660 (tst-dlopen-pie): Link with -ldl.
661 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
662 * elf/tst-dlopen-pie.c (do_test): New file.
663
02d8b5ab
RL
6642019-06-17 Rafal Luzynski <digitalfreak@lingonborough.com>
665
666 [BZ #24614]
667 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
668 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
669 between the currency symbol and the minus sign).
670 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
671 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
672
78049de0
AZ
6732019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
674
112a0ae1
AZ
675 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
676 sysdep-rtld-routines): Remove rules.
677 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
678 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
679 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
680 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
681 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
682 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
683 vDSO path for SHARED.
684 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
685 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
686 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
687 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
688 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
689 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
690
dee07df1
AZ
691 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
692 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
693 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
694 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
695 CFLAGS-s_llround-power5+.c): New rule.
696 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
697 New file.
698 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
699 Likewise.
700 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
701 Likewise.
702 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
703 Likewise.
704 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
705 Likewise.
706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
707 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
709 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
711 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
712 * sysdeps/powerpc/powerpc64/fpu/Makefile
713 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
714 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
715 (libm-sysdep_routines): Remove s_llround-* objects.
716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
717 file.
718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
719 Likewise.
720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
721 Likewise.
722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
723 Likewise.
724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
725 Likewise.
726 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
727 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
728 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
729 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
730 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
731 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
732 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
733 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
734 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
735 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
736 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
737 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
738 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
739 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
740
2166283f
AZ
741 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
742 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
743 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
744 * sysdeps/powerpc/powerpc32/fpu/Makefile
745 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
746 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
747 optimization.
748 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
749 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
750 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
752 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
753 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
754 CFLAGS-s_lrint-ppc32.c): New rule.
755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
756 Remove file.
757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
758 Likewise.
759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
760 Likewise.
761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
762 Likewise.
763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
764 Likewise.
765 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
766 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
767 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
768 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
770 New file.
771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
772 Likewise.
773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
774 Likewise.
775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
776 Likewise.
777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
778 Likewise.
779
78049de0
AZ
780 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
781 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
782 s_llrint-ppc64.
783 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
784 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
785 file.
786 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
787 Likewise.
788 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
789 Likewise.
790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
791 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
793 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
795 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
796 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
797 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
798 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
799 (libm-sysdep_routines): Remove s_llrint-* objects.
800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
801 file.
802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
803 Likewise.
804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
805 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
806 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
807 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
808 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
809 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
810 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
811 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
812 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
813 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
814
48c3c123
FW
8152019-06-14 Florian Weimer <fweimer@redhat.com>
816
817 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
818 argument to __glibc_has_include to inhibit macro expansion.
819
8d141877
FW
8202019-06-14 Florian Weimer <fweimer@redhat.com>
821
822 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
823 function-like macro, so that __has_include can inhibit expansion
824 of its argument.
825
a26e2e9f
JM
8262019-06-13 Joseph Myers <joseph@codesourcery.com>
827
cf274686
JM
828 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
829 New macro.
830
a26e2e9f
JM
831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
832 Allow memset in libc.so.
833
82bc69c0
SN
8342019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
835
836 * sysdeps/aarch64/dl-dtprocnum.h: New file.
837 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
838 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
839 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
840 symbols at load time.
841 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
842
55f82d32
SN
8432019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
844
845 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
846 (DT_AARCH64_VARIANT_PCS): Define.
847
21bd039b
AZ
8482019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
849
11926960
AZ
850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
851 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
852 objects.
853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
854 Remove file.
855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
856 Likewise.
857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
859 Likewise.
860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
861 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
862 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
863 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
864 Remove s_finite* objects.
865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
871 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
872 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
873 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
874 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
875
a7218676
AZ
876 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
877 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
878
6427a6ac
AZ
879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
880 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
881 objects.
882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
883 Remove file.
884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
885 Likewise.
886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
888 Likewise.
889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
890 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
891 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
892 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
893 Remove s_isinf* and s_isinf* objects.
894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
900 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
901 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
902 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
903 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
904
a8c590f7
AZ
905 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
906 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
907
2666f963
AZ
908 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
909 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
910 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
912 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
913 s_isnanf-* objects.
914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
915 Remove file
916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
917 Likewise.
918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
919 Likewise.
920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
921 Likewise.
922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
924 Likewise.
925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
926 Likewise.
927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
928 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
929 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
930 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
931 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
932 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
933 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
934 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
935 Remove s_isnan-* and s_isnanf-* objects.
936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
939 Likewise.
940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
945 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
946 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
947 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
948 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
949 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
950 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
951 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
952 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
953
197dbda1
AZ
954 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
955 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
956
2731a326
AZ
957 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
958 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
959 CFLAGS-bench-isfinite.c): New rule.
960 * benchtests/isnan-input: New file.
961 * benchtests/isinf-input: New file.
962 * benchtests/isfinite-input: New file.
963
e41d66e4
AZ
964 * sysdeps/powerpc/fpu/s_copysign.c: New file.
965 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
966 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
967 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
969 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
970 s_copysign-ppc32.
971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
972 Remove file.
973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
974 Likewise.
975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
976 Likewise.
977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
978 Likewise.
979 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
980 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
981 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
982 Remove s_copysign-power6 s_copysign-ppc64.
983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
984 Remove file.
985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
986 Likewise.
987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
989 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
990 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
991 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
992 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
993
21bd039b
AZ
994 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
995 round_to_integer_float, round_mode): Add RINT handling.
996 (reset_fenv_mode): New symbol.
997 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
998 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
999 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
1000 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1001 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1002 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1003
cfa61144
FW
10042019-06-12 Florian Weimer <fweimer@redhat.com>
1005
1006 [BZ #24632]
1007 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
1008 * libio/freopen.c (freopen): Use it.
1009
744e8296
FW
10102019-06-12 Florian Weimer <fweimer@redhat.com>
1011
1012 Linux: Deprecate sysctl.
1013 * include/sysctl.h (__sysctl): Remove declaration.
1014 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
1015 check.
1016 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
1017 (sysctl): Add deprecation attribute.
1018 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
1019 directly, to avoid the deprecation warning. Do not include
1020 <string.h>.
1021 (__sysctl): Remove hidden alias.
1022
5dad6ffb
FW
10232019-06-12 Florian Weimer <fweimer@redhat.com>
1024
1025 Linux: Use kernel headers for statx definitions if available.
1026 * include/bits/statx-generic.h: New file.
1027 * include/bits/types/struct_statx.h: Likewise.
1028 * include/bits/types/struct_statx_timestamp.h: Likewise.
1029 * io/Makefile (headers): Add bits/statx-generic.h.
1030 * io/bits/statx-generic.h: New file. Partly copied from
1031 io/bits/statx.h.
1032 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
1033 define original_statx.
1034 * io/bits/types/struct_statx.h: Likewise.
1035 * io/bits/types/struct_statx_timestamp.h: Likewise.
1036 (statx_generic): Use original_statx.
1037 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
1038 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
1039
4e75c2a4
FW
10402019-06-12 Florian Weimer <fweimer@redhat.com>
1041
1042 * misc/sys/cdefs.h (__glibc_has_include): Define.
1043
680942b0
WD
10442019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
1045
1046 * string/memmem.c (__memmem): Rewrite to improve performance.
1047
5e0a7ecb
WD
10482019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
1049
1050 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
1051 warning.
1052 (two_way_long_needle): Block inlining.
1053 * string/strstr.c (strstr2): Add new function.
1054 (strstr3): Likewise.
1055 (STRSTR): Completely rewrite strstr to improve performance.
1056
80b2bfb5
WD
10572019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
1058
1059 * benchtests/bench-strstr.c (test_hard_needle): New function.
1060
e6e24243
JM
10612019-06-10 Joseph Myers <joseph@codesourcery.com>
1062
1063 * malloc/tst-calloc.c: Include <libc-diag.h>.
1064 (null_test): Ignore -Wunused-result around calls to calloc.
1065 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
1066 (do_test): Ignore -Wunused-result around call to malloc.
1067
51ea67d5
FW
10682019-06-07 Florian Weimer <fweimer@redhat.com>
1069
1070 Linux: Add getdents64 system call.
1071 * include/dirnent.h (getdents): Add comment and change buffer
1072 argument type to void *.
1073 (getdents64): Likewise. Add hidden prototype.
1074 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
1075 getdents64.
1076 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
1077 Add tst-getdents64.
1078 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
1079 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
1080 argument type to void *.
1081 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
1082 Add hidden definition and getdents64 alias.
1083 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
1084 Likewise.
1085 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
1086 * manual/filesys.texi (Accessing Directories): Add Low-level
1087 Directory Access node reference.
1088 (Opening a Directory): Cross-reference it.
1089 (Low-level Directory Access): New node.
1090 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
1091 getdents64.
1092 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1093 Likewise.
1094 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1095 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
1096 Likewise.
1097 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
1098 Likewise.
1099 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
1100 Likewise.
1101 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
1102 Likewise.
1103 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1104 Likewise.
1105 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1106 Likewise.
1107 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1108 Likewise.
1109 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1110 (GLIBC_2.30): Likewise.
1111 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1112 (GLIBC_2.30): Likewise.
1113 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1114 (GLIBC_2.30): Likewise.
1115 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1116 (GLIBC_2.30): Likewise.
1117 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1118 Likewise.
1119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1120 (GLIBC_2.30): Likewise.
1121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1122 (GLIBC_2.30): Likewise.
1123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1124 (GLIBC_2.30): Likewise.
1125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1126 (GLIBC_2.30): Likewise.
1127 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1128 Likewise.
1129 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1130 Likewise.
1131 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1132 Likewise.
1133 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1134 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1135 Likewise.
1136 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1137 Likewise.
1138 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1139 Likewise.
1140 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1141 Likewise.
1142
de751ebc
PC
11432019-06-06 Paul A. Clarke <pc@us.ibm.com>
1144
1145 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
1146 (__FPU_MFFS): New.
1147 (__FPU_MFFSL): New.
1148 (_FPU_GET_RC): New.
1149 (_FPU_GETCW): Use __FPU_MFFS().
1150 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
1151
28dd3939
FW
11522019-06-06 Florian Weimer <fweimer@redhat.com>
1153
1154 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
1155 internal GCC preprocessor identifier __has_include__.
1156
0158473d
PC
11572019-06-05 Paul A. Clarke <pc@us.ibm.com>
1158
1159 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
1160 with call to equivalent function.
1161
e863dbf6
FW
11622019-06-04 Florian Weimer <fweimer@redhat.com>
1163
1164 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
1165 (do_release_shlib): Adjust for __twalk_r.
1166 (__gconv_release_shlib): Call __twalk_r.
1167
4802be92
AS
11682019-06-04 Andreas Schwab <schwab@suse.de>
1169
1170 [BZ #18830]
1171 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
1172 no irreversible characters occurred.
1173 * iconv/gconv_simple.c (internal_ucs4_loop)
1174 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
1175 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
1176 (ucs4_internal_loop_single, internal_ucs4le_loop)
1177 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
1178 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
1179 (ucs4le_internal_loop_single): Add const to outend.
1180 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
1181 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
1182 * iconv/Makefile (tests): Add tst-iconv7.
1183 * iconv/tst-iconv7.c: New file.
1184
dc91a19e
JM
11852019-06-03 Joseph Myers <joseph@codesourcery.com>
1186
1187 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
1188
6a1a9a49 11892019-06-01 Florian Weimer <fweimer@redhat.com>
6b33f373
FW
1190
1191 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
1192 * sysdeps/unix/sysv/linux/arm/Makefile
1193 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
1194 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
1195 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
1196 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
1197 compatibility symbols.
1198
0bb8f8c7
FW
11992019-05-31 Florian Weimer <fweimer@redhat.com>
1200
1201 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
1202 system calls for the arm architecture: breakpoint, get_tls,
1203 set_tls, usr26, usr32.
1204
9250e661
GG
12052019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
1206
1207 * sysdeps/powerpc/Makefile
1208 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
1209 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
1210 Declare '.machine power7' to get support for ldbrx.
1211 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
1212 directive based on the directory of the file.
1213 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1214 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
1215 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
1216 '.machine' directive.
1217 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
1218 (VADDUQM_V7_V8): Remove.
1219 (__STRCASECMP): Replace macros with actual instructions.
1220 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
1221 '.machine' directive.
1222 (VCLZD_V8_v7): Remove.
1223 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
1224
fbd6c928
AZ
12252019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1226
1227 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
1228 Remove file.
1229 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
1230
e47308c9
AZ
12312019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1232
1233 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
1234 NEARBYINT handling.
1235 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
1236 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
1237 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
1238 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
1239 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
1240 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1241
157cda1f 12422019-05-28 mansayk <6688000@gmail.com>
1243
1244 [BZ #24370]
1245 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
1246
182a3746 12472019-05-28 mansayk <6688000@gmail.com>
1248
1249 [BZ #24369]
1250 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
1251 (abmon): Likewise, but remove the trailing dots.
1252
c6df1ce3
JM
12532019-05-28 Joseph Myers <joseph@codesourcery.com>
1254
1255 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
1256
85188d82
FW
12572019-05-27 Florian Weimer <fweimer@redhat.com>
1258
1259 * nptl/nptl-init.c: Add comment.
1260
5c23c821
FW
12612019-05-24 Florian Weimer <fweimer@redhat.com>
1262
1263 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
1264 struct in_addr/struct in6_addr alignment.
1265
bee1f2c4
JM
12662019-05-23 Joseph Myers <joseph@codesourcery.com>
1267
1268 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1269 (F_SEAL_FUTURE_WRITE): New macro.
1270
481c30cb
AH
12712019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
1272
1273 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
1274 * elf/tst-ldconfig-bad-aux-cache.c: New file.
1275 * elf/tst-ldconfig_aux-cache.root: New directory.
1276 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
1277 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
1278 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
1279
cb755eed
ZW
12802019-05-22 Zack Weinberg <zackw@panix.com>
1281
1282 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
1283 host type.
1284 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
1285 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
1286
1287 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
1288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
1289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
1290 Delete.
1291
1292 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
1293 Issue an #error if used with a compiler in SPE-float mode.
1294 * sysdeps/powerpc/powerpc32/__longjmp_common.S
1295 * sysdeps/powerpc/powerpc32/setjmp_common.S
1296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
1298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
1299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
1300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1302 Remove code to preserve SPE register state.
1303
1304 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1305 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1306 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
1307 Remove __SPE__ ifndefs.
1308
46ae0732
WD
13092019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
1310
1311 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
1312 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
1313 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
1314 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
1315 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
1316 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
1317 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
1318 (INNER_LOOP_ITERS_MEDIUM): New define.
1319 (INNER_LOOP_ITERS_SMALL): New define.
1320 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
1321 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
1322 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
1323 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
1324 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
1325
004e52fe
AZ
13262019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
1327
1328 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
1329 New define.
1330 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
1331 (SEMTIMEDOP_IPC_ARGS): Likewise.
1332
c9c15ac3
FW
13332019-05-21 Florian Weimer <fweimer@redhat.com>
1334
1335 [BZ #24584]
1336 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
1337 before updating __counter field and release it afterwards. Add
1338 overflow check.
1339 * iconv/gconv.h (struct __gconv_step): Mention synchronization
1340 requirement for __counter member.
1341
7e740ab2
FW
13422019-05-21 Florian Weimer <fweimer@redhat.com>
1343
1344 [BZ #24583]
1345 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
1346 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
1347 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
1348 instead of __gconv_release_step.
1349 * libio/Makefile (tests): Add tst-wfile-gconv.
1350 (tests-container): Add tst-wfile-ascii.
1351 (tst-wfile-gconv-ENV): Enable mtrace.
1352 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
1353 (tests-special): Add tst-wfile-gconv-mem.out.
1354 (tst-wfile-gconv.out): Depend on locales.
1355 (tst-wfile-gconv-mem.out): Add mtrace rule.
1356 * libio/tst-wfile-ascii.c: New file.
1357 * libio/tst-wfile-gconv.c: Likewise.
1358
09e1b0e3
FW
13592019-05-20 Florian Weimer <fweimer@redhat.com>
1360
1361 [BZ #24588]
1362 libio: Remove codecvt vtable.
1363 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
1364 __libio_codecvt.
1365 * libio/iofgetpos.c (_IO_new_fgetpos): Call
1366 __libio_codecvt_encoding.
1367 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
1368 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
1369 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
1370 * libio/iofwide.c (__libio_codecvt): Remove variable.
1371 (_IO_fwide): Do not copy __libio_codecvt.
1372 (__libio_codecvt_out): Rename from do_out and export.
1373 (do_unshift): Remove function.
1374 (__libio_codecvt_in): Rename from do_in and export.
1375 (__libio_codecvt_encoding): Rename from do_encoding and export.
1376 (do_always_noconv): Remove function.
1377 (__libio_codecvt_length): Rename from do_length and export.
1378 (do_max_length): Remove function.
1379 * libio/libio.h (enum __codecvt_result): Remove definition; moved
1380 to libioP.h.
1381 (struct _IO_codecvt): Remove fields __codecvt_destr,
1382 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
1383 __codecvt_do_encoding, __codecvt_do_always_noconv,
1384 __codecvt_do_length, __codecvt_do_max_length.
1385 * libio/libioP.h (enum __codecvt_result): Define; moved from
1386 libio.h.
1387 (__libio_codecvt_out, __libio_codecvt_in)
1388 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
1389 functions.
1390 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
1391 (_IO_wfile_underflow): Call __libio_codecvt_in.
1392 (_IO_wfile_underflow): Likewise.
1393 (_IO_wfile_underflow_mmap): Likewise.
1394 (_IO_wfile_sync): Call __libio_codecvt_encoding,
1395 __libio_codecvt_length.
1396 (adjust_wide_data): Call __libio_codecvt_encoding,
1397 __libio_codecvt_in.
1398 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
1399 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
1400 __libio_codecvt_length.
1401
75c51570
FW
14022019-05-20 Florian Weimer <fweimer@redhat.com>
1403
1404 * support/support.h (support_sbindir_prefix): Declare.
1405 (support_install_rootsbindir): Update comment.
1406 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
1407 * support/support_paths.c (support_sbindir_prefix): Define.
1408
ff6bec7d
MC
14092019-05-20 Mike Crowe <mac@mcrowe.com>
1410
b62bb3bc
MC
1411 * support/timespec.c: Add backslash to correct newline in failure
1412 message.
1413
ff6bec7d
MC
1414 * support/timespec.h: Correct confusing comment.
1415
dfba907f
AZ
14162019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1417
236c18e5
AZ
1418 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
1419 define.
1420 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
1421 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
1422 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
1423 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
1424
dfba907f
AZ
1425 [BZ #24570]
1426 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
1427 usage.
1428
13886008
JM
14292019-05-20 Joseph Myers <joseph@codesourcery.com>
1430
1431 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
1432 (NT_ARM_PACG_KEYS): Likewise.
1433
1f50f2ad
WD
14342019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
1435
1436 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
1437 (tcache_put): Remove redundant assert.
1438 (tcache_get): Remove redundant asserts.
1439 (__libc_malloc): Check tcache count is not zero.
1440 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
1441
fef7c63c
FW
14422019-05-17 Florian Weimer <fweimer@redhat.com>
1443
1444 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
1445
5f161b23
JM
14462019-05-16 Joseph Myers <joseph@codesourcery.com>
1447
1448 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1449 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
1450 0x050100].
1451 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
1452 Likewise.
1453 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1454 (__ASSUME_STATX): Likewise.
1455
ec255a97
FW
14562019-05-16 Florian Weimer <fweimer@redhat.com>
1457
1458 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
1459 flags argument.
1460 (LINE_PARSER): Do not map IPv4 addresses.
1461 (internal_nis_gethostent_r): Remove flags argument. Adjust call
1462 to parse_line.
1463 (_nss_nis_gethostent_r): Always pass AF_INET to
1464 internal_nis_gethostent_r.
1465 (internal_gethostbyname2_r): Remove flags argument. Adjust call
1466 to parse_line.
1467 (_nss_nis_gethostbyname2_r): Adjust call to
1468 internal_nis_gethostent_r.
1469 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
1470 call to internal_nis_gethostent_r.
1471 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
1472 from parse_line.
1473 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
1474 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
1475 Remove flags argument. Do not map IPv4 addresses.
1476 (internal_nisplus_gethostent_r): Adjust call to
1477 _nss_nisplus_parse_hostent.
1478 (internal_gethostbyname2_r): Remove flags argument. Adjust call
1479 to _nss_nisplus_parse_hostent.
1480 (_nss_nisplus_gethostbyname2_r): Adjust call to
1481 internal_gethostbyname2_r.
1482 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
1483 Adjust call to internal_gethostbyname2_r.
1484 (_nss_nisplus_gethostbyaddr_r): Adjust call to
1485 _nss_nisplus_parse_hostent.
1486 (_nss_nisplus_gethostbyname4_r): Adjust call to
1487 internal_gethostbyname2_r.
1488
9c02d078
FW
14892019-05-16 Florian Weimer <fweimer@redhat.com>
1490
1491 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
1492 Remove flags.
1493 (LINE_PARSER): Remove address mapping.
1494 (EXTRA_ARGS_VALUE): Remove flags argument.
1495 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
1496 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
1497 gethostbyname3_multi.
1498 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
1499 _nss_files_gethostbyname3_r.
1500 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
1501
85b0e1e8
FW
15022019-05-16 Florian Weimer <fweimer@redhat.com>
1503
1504 * support/support_test_compare_blob.c (report_blob): Report
1505 incorrect NULL blobs.
1506
11b451c8
MW
15072019-05-15 Mark Wielaard <mark@klomp.org>
1508
1509 [BZ# 24476]
1510 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
1511 __libc_once_get (once) and static_buf == NULL.
1512 (__dlerror): Check we have a valid key, set result to static_buf
1513 otherwise.
1514
32ff3975
AS
15152019-05-15 Andreas Schwab <schwab@suse.de>
1516
1517 [BZ #20568]
1518 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
1519 __codecvt_do_length.
1520 * libio/Makefile (tests): Add tst-wfile-sync.
1521 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
1522 * libio/tst-wfile-sync.c: New file.
1523 * libio/tst-wfile-sync.input: New file.
1524
a9368c34
FW
15252019-05-15 Florian Weimer <fweimer@redhat.com>
1526
1527 nss: Turn __nss_database_lookup into a compatibility symbol.
1528 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
1529 __nss_database_lookup.
1530 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
1531 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
1532 __nss_database_lookup.
1533 (__nss_next): Move to …
1534 * nss/compat-lookup.c (nss_next): … here. Change it to fail
1535 unconditionally.
1536 (__nss_database_lookup): New function.
1537 * nss/Versions (GLIBC_2.0): Update comment.
1538 (GLIBC_PRIVATE): Export __nss_database_lookup2.
1539 * grp/initgroups.c (internal_getgrouplist): Call
1540 __nss_database_lookup2 instead of __nss_database_lookup.
1541 * nscd/aicache.c (addhstaiX): Likewise.
1542 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1543 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1544 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
1545 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
1546 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
1547 Likewise.
1548 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
1549 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
1550 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1551
d50f0918 15522019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
32ff3975 1553
d50f0918
AH
1554 * support/support.h (support_install_rootsbindir): New variable.
1555 * support/support_paths.c: Likewise.
1556 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
1557
7ac6fad9
FW
15582019-05-15 Florian Weimer <fweimer@redhat.com>
1559
1560 * iconv/gconv.h (__gconv_transliterate): Move declaration …
1561 * iconv/gconv_int.h (__gconv_transliterate): … here.
1562 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
1563 * iconv/skeleton.c: Likewise.
1564
04b261bd
FW
15652019-05-14 Florian Weimer <fweimer@redhat.com>
1566
1567 Linux: Add the tgkill function.
1568 * bits/signal_ext.h: New file.
1569 * manual/signal.texi (Signaling Another Process): Document tgkill.
1570 * signal/Makefile (headers): Add bits/signal_ext.h.
1571 * signal/signal.h: Include <bits/signal_ext.h>.
1572 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
1573 (tst-tgkill): Link with libpthread.
1574 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
1575 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
1576 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
1577 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
1578 tgkill.
1579 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1580 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1581 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
1582 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1583 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1584 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1585 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1586 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1587 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1588 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1589 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
1590 Likewise.
1591 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1592 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1593 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1595 Likewise.
1596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1597 Likewise.
1598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
1599 Likewise.
1600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
1601 Likewise.
1602 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
1603 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1604 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1605 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1606 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1607 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1608 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1609 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1610
6807f47b
CD
16112019-05-14 Carlos O'Donell <carlos@redhat.com>
1612
1613 * manual/search.texi (Tree Search Function): Adjust twalk_r
1614 documentation.
1615
fdb8a0be
AZ
16162019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1617
da2b83ef
AZ
1618 [BZ #24544]
1619 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
1620 pre-defined value.
1621
c7ac9caa
AZ
1622 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
1623 * support/support.h (support_bindir_prefix): New variable.
1624 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
1625
91f043ae
AZ
1626 * config.make.in (bindir): New variable.
1627
c50e1c26
AZ
1628 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
1629 (lll_trylock): Call __lll_trylock.
1630 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
1631 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
1632 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
1633 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1634 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
1635 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
1636 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1637 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1638 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
1639 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
1640 lowlevellock-futex.h.
1641
959aff9f
AZ
1642 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1643 initialization for LLL_LOCK_INITIALIZER different than 0.
1644 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
1645 Assume LLL_LOCK_INITIALIZER being 0.
1646 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
1647 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
1648 Likewise.
1649 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
1650 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
1651
d7e4c642
AZ
1652 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
1653 Optimize futex call and add systemtap probe.
1654
fdb8a0be
AZ
1655 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
1656 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
1657 __libc_disable_asynccancel, __librt_enable_asynccancel,
1658 __libc_disable_asynccancel, __librt_enable_asynccancel,
1659 __librt_disable_asynccancel): Move to ...
1660 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
1661 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
1662 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
1663 * sysdeps/generic/single-thread.h: New file.
1664 * sysdeps/unix/sysdep.h: Include single-thread.h.
1665 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
1666 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1667
f6efec90
MF
16682019-05-08 Mike FABIAN <mfabian@redhat.com>
1669
1670 [BZ #24535]
1671 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
1672 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
1673 Unicode 12.1.0.
1674 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
1675 * localedata/unicode-gen/PropList.txt: Likewise.
1676 * localedata/unicode-gen/UnicodeData.txt: Likewise.
1677 * localedata/charmaps/UTF-8: Regenerate.
1678 * localedata/locales/i18n_ctype: Likewise.
1679 * localedata/locales/tr_TR: Likewise.
1680 * localedata/locales/translit_circle: Likewise.
1681 * localedata/locales/translit_cjk_compat: Likewise.
1682 * localedata/locales/translit_combining: Likewise.
1683 * localedata/locales/translit_compat: Likewise.
1684 * localedata/locales/translit_font: Likewise.
1685 * localedata/locales/translit_fraction: Likewise.
1686
5ad533e8
WD
16872019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
1688
1689 [BZ #24531]
1690 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
1691 (do_set_tcache_count): Only update if count is small enough.
1692 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
1693
4aee85f9
FW
16942019-05-10 Florian Weimer <fweimer@redhat.com>
1695
1696 * nptl/sem_close.c (struct walk_closure): Define.
1697 (walker): Adjust for __twalk_r.
1698 (sem_close): Call __twalk_r.
1699
eb669ff5
AZ
17002019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1701
1702 * support/timespec.c (test_timespec_before_impl,
1703 test_timespec_equal_or_after_impl): print timespec member as intmax_t
1704 insted of long int.
1705
51983996
MC
17062019-05-09 Mike Crowe <mac@mcrowe.com>
1707
44ac6ee9
MC
1708 * nptl/tst-abstime.c: Use libsupport.
1709
495514ee
MC
1710 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
1711 small bug where only tv.tv_usec was checked which could cause an
1712 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
1713 than a second.
1714
1715 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
1716 libsupport.
1717
40d0816f
MC
1718 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
1719 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
1720
d8e0b901
MC
1721 * nptl/tst-cond11.c: Use libsupport.
1722
51983996
MC
1723 * support/timespec.h: New file. Provide timespec helper functions
1724 along with macros in the style of those in check.h.
1725 * support/timespec.c: New file. Implement check functions declared
1726 in support/timespec.h.
1727 * support/timespec-add.c: New file from gnulib containing
1728 timespec_add implementation that handles overflow.
1729 * support/timespec-sub.c: New file from gnulib containing
1730 timespec_sub implementation that handles overflow.
1731 * support/README: Mention timespec.h.
1732
18aa51ee
SN
17332019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1734
1735 [BZ #24537]
1736 * nptl/Makefile: Move tst-eintr1 to xtests.
1737
252296c6
AZ
17382019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1739
ae45cf84
AZ
1740 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
1741 TRUNC handling.
1742 (round_mode): Add definition for TRUNC.
1743 * sysdeps/powerpc/fpu/s_trunc.c: New file.
1744 * sysdeps/powerpc/fpu/s_truncf.c: New file.
1745 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
1746 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1747 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
1748 Likewise.
1749 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
1750 Likewise.
1751 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
1752 Likewise.
1753 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1754 Likewise.
1755 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
1756 file.
1757 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
1758 Likewise.
1759 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
1760 Likewise.
1761 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
1762 Likewise.
1763 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
1764 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
1765 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
1766 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
1767 s_truncf-power5+, and s_truncf-ppc64.
1768 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
1769 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
1770 file.
1771 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
1772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
1773 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
1774 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
1775 file.
1776 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
1777 Likewise.
1778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
1779 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
1780 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1781 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
1782 s_truncf-power5+, and s_truncf-ppc64.
1783 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
1784 file.
1785 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
1786 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
1787 Likewise.
1788 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
1789 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1790 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1791 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
1792 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
1793
a1cb1888
AZ
1794 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
1795 ROUND handling.
1796 (round_mode): Add definition for ROUND.
1797 (round_to_integer_float): Likewise.
1798 * sysdeps/powerpc/fpu/s_round.c: New file.
1799 * sysdeps/powerpc/fpu/s_roundf.c: New file.
1800 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
1801 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1802 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
1803 Likewise.
1804 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
1805 Likewise.
1806 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
1807 Likewise.
1808 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1809 Likewise.
1810 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
1811 file.
1812 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
1813 Likewise.
1814 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
1815 Likewise.
1816 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
1817 Likewise.
1818 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
1819 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
1820 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
1821 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
1822 s_roundf-power5+, and s_roundf-ppc64.
1823 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
1824 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
1825 file.
1826 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
1827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
1828 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
1829 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
1830 file.
1831 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
1832 Likewise.
1833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
1834 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
1835 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1836 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
1837 s_roundf-power5+, and s_roundf-ppc64.
1838 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
1839 file.
1840 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
1841 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
1842 Likewise.
1843 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
1844 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1845 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1846 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
1847 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
1848
252296c6
AZ
1849 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
1850 Add FLOOR option.
1851 (round_mode): Add definition for FLOOR.
1852 * sysdeps/powerpc/fpu/s_floor.c: New file.
1853 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
1854 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
1855 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1857 Remove file.
1858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
1859 Likewise
1860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1861 Likewise.
1862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1863 Likewise.
1864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
1865 New file.
1866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
1867 Likewise.
1868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
1869 Likewise.
1870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
1871 Likewise.
1872 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
1873 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
1874 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1875 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
1876 s_floorf-power5+, and s_floorf-ppc64.
1877 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
1878 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
1879 file.
1880 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
1881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
1882 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
1883 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
1884 file.
1885 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
1886 Likewise.
1887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
1888 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
1889 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1890 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
1891 s_floorf-power5+, and s_floorf-ppc64.
1892 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
1893 file.
1894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
1895 file.
1896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
1897 Likewise.
1898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
1899 Likewise.
1900 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1901 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1902 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
1903 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
1904
33647a72
MC
19052019-05-08 Mike Crowe <mac@mcrowe.com>
1906
1907 * support/xclock_gettime.c (xclock_gettime): New file. Provide
1908 clock_gettime wrapper for use in tests that fails the test rather
1909 than returning failure.
1910
1911 * support/xtime.h: New file to declare xclock_gettime.
1912
1913 * support/Makefile: Add xclock_gettime.c.
1914
1915 * support/README: Mention xtime.h.
1916
b2f601ba
FW
19172019-05-08 Florian Weimer <fweimer@redhat.com>
1918
1919 malloc/tst-mallocfork2: Use process-shared barriers.
1920 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
1921 (signal_count, sigusr1_sender_pid): Remove.
1922 (iterations): Define constant.
1923 (shared): New variable.
1924 (sigusr1_received): Update comment.
1925 (sigusr1_handler): Do not send SIGSTOP to the sender process.
1926 (signal_sender): Optional use barriers to avoid sending signals
1927 during irrelevant times.
1928 (do_it): Initialize variable shared. Use xfork for error
1929 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
1930 the iteration count, independent of signal delivery. Check for
1931 deadlocks in fork. Introduce barriers for reducing signal
1932 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
1933 replaced by the barriers. Count signals during fork/free/malloc
1934 and report them.
1935 * malloc/Makefile (tst-mallocfork): Link with libpthread.
1936
c4a392cf
JM
19372019-05-07 Joseph Myers <joseph@codesourcery.com>
1938
7621676f
JM
1939 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1940 version to 5.1.
1941 (clock_adjtime64) New syscall.
1942 (clock_getres_time64) Likewise.
1943 (clock_gettime64) Likewise.
1944 (clock_nanosleep_time64) Likewise.
1945 (clock_settime64) Likewise.
1946 (futex_time64) Likewise.
1947 (io_pgetevents_time64) Likewise.
1948 (io_uring_enter) Likewise.
1949 (io_uring_register) Likewise.
1950 (io_uring_setup) Likewise.
1951 (mq_timedreceive_time64) Likewise.
1952 (mq_timedsend_time64) Likewise.
1953 (pidfd_send_signal) Likewise.
1954 (ppoll_time64) Likewise.
1955 (pselect6_time64) Likewise.
1956 (recvmmsg_time64) Likewise.
1957 (rt_sigtimedwait_time64) Likewise.
1958 (sched_rr_get_interval_time64) Likewise.
1959 (semtimedop_time64) Likewise.
1960 (timer_gettime64) Likewise.
1961 (timer_settime64) Likewise.
1962 (timerfd_gettime64) Likewise.
1963 (timerfd_settime64) Likewise.
1964 (utimensat_time64) Likewise.
1965
c4a392cf
JM
1966 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
1967 version to 9 branch.
1968
32e902a9
AY
19692019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
1970
1971 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
1972 __memmove_thunderx2 to the list of implementations
1973 * sysdeps/aarch64/multiarch/memmove.c: Likewise
1974 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
1975 (__memmove_thunderx2): Rewritten using SIMD ld/st
1976 (__memcpy_thunderx2): Fixed handling overlapping cases.
1977 Used ldp/stp instead of ldr/str if possible. Made loops
1978 tails branchless.
1979
ac3da35d
FW
19802019-05-03 Florian Weimer <fweimer@redhat.com>
1981
1982 * misc/tst-tsearch.c (walk_tree): Add more error checking.
1983
b2af6fb2
AZ
19842019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1985
7dfde28a 1986 [BZ #24506]
b2af6fb2
AZ
1987 * elf/tst-pldd.c (in_str_list): New function.
1988 (do_test): Add default names for ld and libc as one option.
1989
7b807a35
FW
19902019-05-02 Florian Weimer <fweimer@redhat.com>
1991
1992 misc: Add twalk_r function.
1993 * include/search.h (__twalk_r): Declare.
1994 * manual/examples/twalk.c: New file.
1995 * manual/search.texi (Tree Search Function): Document twalk_r.
1996 * misc/Versions (2.30): Export twalk_r.
1997 (GLIBC_PRIVATE): Export __twalk_r.
1998 * misc/search.h [__USE_GNU] (twalk_r): Declare.
1999 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
2000 (twalk_r): Add weak alias.
2001 * misc/tst-tsearch.c (struct walk_trace_element): Define.
2002 (walk_trace): New variable.
2003 (struct twalk_with_twalk_r_closure): Define.
2004 (twalk_with_twalk_r_action): New function.
2005 (twalk_with_twalk_r): Likewise.
2006 (walk_action): Call walk_trace_add.
2007 (walk_tree_with): Rename from walk_tree. Add walk argument.
2008 (walk_tree): New function.
2009 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
2010 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
2011 Likewise.
2012 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2013 Likewise.
2014 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2015 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
2016 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
2017 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
2018 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
2019 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2020 Likewise.
2021 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2022 Likewise.
2023 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2024 Likewise.
2025 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2026 (GLIBC_2.30): Likewise.
2027 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2028 (GLIBC_2.30): Likewise.
2029 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2030 (GLIBC_2.30): Likewise.
2031 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2032 (GLIBC_2.30): Likewise.
2033 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2034 Likewise.
2035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2036 (GLIBC_2.30): Likewise.
2037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2038 (GLIBC_2.30): Likewise.
2039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2040 (GLIBC_2.30): Likewise.
2041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2042 (GLIBC_2.30): Likewise.
2043 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2044 Likewise.
2045 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2046 Likewise.
2047 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2048 Likewise.
2049 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2050 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2051 Likewise.
2052 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2053 Likewise.
2054 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2055 Likewise.
2056 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2057 Likewise.
2058
20aa5819
PE
20592019-04-30 Paul Eggert <eggert@cs.ucla.edu>
2060
2061 Make mktime etc. compatible with __time64_t
2062 Keep these functions compatible with Gnulib while adding
2063 __time64_t support. The basic idea is to move private API
2064 declarations from include/time.h to time/mktime-internal.h, since
2065 the former file cannot easily be shared with Gnulib whereas the
2066 latter can.
2067 Also, do some other minor cleanup while in the neighborhood.
2068 * include/time.h: Include stdbool.h, time/mktime-internal.h.
2069 (__mktime_internal): Move this prototype to time/mktime-internal.h,
2070 since Gnulib needs it.
2071 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
2072 Move these macros to time/mktime-internal.h, since Gnulib needs them.
2073 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
2074 (in_time_t_range): New static function.
2075 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
2076 so that glibc users are not tempted to use __time64_t.
2077 * time/mktime-internal.h: Rewrite so that it does both glibc
2078 and Gnulib work. Include time.h if not _LIBC.
2079 (mktime_offset_t) [!_LIBC]: Define for gnulib.
2080 (__time64_t): New type or macro, moved here from
2081 posix/bits/types.h.
2082 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
2083 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
2084 from include/time.h.
2085 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
2086 New macros, taken from GNulib.
2087 (__mktime_internal): New prototype, moved here from include/time.h.
2088 * time/mktime.c (mktime_min, mktime_max, convert_time)
2089 (ranged_convert, __mktime_internal, __mktime64):
2090 * time/timegm.c (__timegm64):
2091 Use __time64_t, not time_t.
2092 * time/mktime.c: Stop worrying about whether time_t is floating-point.
2093 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
2094 Rename from mktime.
2095 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
2096 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
2097 for libc_hidden_def.
2098 Include errno.h.
2099 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
2100 Rename from timegm.
2101 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
2102
87c266d7
MR
21032019-04-30 Maciej W. Rozycki <macro@wdc.com>
2104
2105 [BZ #19444]
2106 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
2107 from `-Wmaybe-uninitialized'.
2108 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
2109
c4c0848b
AZ
21102019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2111
6cac323c
AZ
2112 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
2113 function.
2114 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
2115 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
2116 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
2117 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
2118 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
2119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2120 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
2121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2122 Remove file.
2123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
2124 Likewise.
2125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2126 Likewise.
2127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
2128 Likewise.
2129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
2130 New file.
2131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
2132 Likewise.
2133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
2134 Likewise.
2135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
2136 Likewise.
2137 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
2138 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
2139 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
2140 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
2141 Likewise.
2142 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
2143 Likewise.
2144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
2145 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
2146 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
2147 file.
2148 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
2149 Likewise.
2150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
2151 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
2152 * here.
2153 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2154 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
2155 s_ceilf-power5+, and s_ceilf-ppc64.
2156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
2157 file.
2158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
2159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
2160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
2161 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
2162 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
2163 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
2164 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
2165
c4c0848b
AZ
2166 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
2167 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
2168 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
2169
f492fc99
YD
21702019-04-29 Yann Droneaud <ydroneaud@opteya.com>
2171
2172 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
2173 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
2174 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
2175 (sem_getvalue): Likewise.
2176
c57afec0
FW
21772019-04-26 Florian Weimer <fweimer@redhat.com>
2178
2179 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
2180 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
2181
a8ff215e
FW
21822019-04-26 Florian Weimer <fweimer@redhat.com>
2183
2184 Makeconfig: Move -Wl,-rpath-link options before library references.
2185 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
2186 (link-libc): Remove $(link-libc-rpath-link).
2187
21882019-04-25 Florian Weimer <fweimer@redhat.com>
2189
2190 * Makeconfig (+link-pie-before-libc): Remove $(CC).
2191 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
2192 (+link-static-before-libc): Remove $(CC).
2193 (+link-static, +link-static-tests): Add $(CC).
2194 (+link-before-libc): Remove $(CC).
2195 (+link, +link-pie, +link-pie-printers): Add $(CC).
2196
e30fb31c
FW
21972019-04-26 Florian Weimer <fweimer@redhat.com>
2198
2199 * Makeconfig (+link-pie-before-libc): Remove $(CC).
2200 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
2201 (+link-static-before-libc): Remove $(CC).
2202 (+link-static, +link-static-tests): Add $(CC).
2203 (+link-before-libc): Remove $(CC).
2204 (+link, +link-pie, +link-pie-printers): Add $(CC).
2205
deacca00
DA
22062019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
2207
2208 [BZ#24484]
2209 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
2210
b5ffdc48
FW
22112019-04-25 Florian Weimer <fweimer@redhat.com>
2212
2213 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
2214 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
2215 (bench-link-targets): New variable.
2216 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
2217
94a4e9e4
FW
22182019-04-25 Florian Weimer <fweimer@redhat.com>
2219
2220 Also enable BIND_NOW for programs if --enable-bind-now.
2221 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
2222 (+link-pie): Use $(link-extra-flags).
2223 (+link-static): Likewise.
2224 [! $(build-pie-default)] (+link): Likewise.
2225 * manual/install.texi (Configuring and compiling): Update
2226 --enable-bind-now description.
2227 * INSTALL: Regenerated.
2228
fe92a91f
WD
22292019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
2230
2231 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
2232 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
2233
f9b645b4
MF
22342019-04-24 Mike Frysinger <vapier@gentoo.org>
2235
2236 [BZ #18465]
2237 * malloc/Makefile (others): Add memusagestat.
2238 ($(objpfx)memusagestat): Delete rule.
2239 (LDLIBS-memusagestat): New variable.
2240
439bf534
FW
22412019-04-24 Florian Weimer <fweimer@redhat.com>
2242
2243 * locale/Makefile (tests-special): Guard setting by
2244 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
2245 to run while cross-compiling.
2246
1a4c2735
AZ
22472019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2248
2249 [BZ #18035]
2250 * elf/Makefile (tests-container): Add tst-pldd.
2251 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
2252 (E(find_maps)): Avoid use alloca, use default read file operations
2253 instead of explicit LFS names, and fix infinite loop.
2254 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
2255 (get_process_info): Use _Static_assert instead of assert, use default
2256 directory operations instead of explicit LFS names, and free some
2257 leadek pointers.
2258 * elf/tst-pldd.c: New file.
2259
2d398aa2
L
22602019-04-23 H.J. Lu <hongjiu.lu@intel.com>
2261
2262 * malloc/arena.c (do_set_mallopt_check): Removed.
2263
e485b2b6
FW
22642019-04-23 Florian Weimer <fweimer@redhat.com>
2265
2266 locale: Add LOCPATH diagnostics to the locale program.
2267 * locale/programs/locale.c (setlocale_failed): New variable.
2268 (try_setlocale): New function.
2269 (quote_string): Likewise.
2270 (setlocale_diagnostics): Likewise.
2271 (main): Call try_setlocale instead of setlocale. Call
2272 setlocale_diagnostics.
2273 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
2274 (tst-locale-locpath.out): New target.
2275 * locale/tst-locale-locpath.sh: New file.
2276
25f7a3c9
AZ
22772019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2278
2279 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
2280 to 2.30 notes.
2281
9bf8e29c
AZ
22822019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2283
2284 [BZ #23741]
2285 * malloc/hooks.c (malloc_check, realloc_check): Use
2286 __builtin_add_overflow on overflow check and adapt to
2287 checked_request2size change.
2288 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
2289 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
2290 allocation size to PTRDIFF_MAX.
2291 (REQUEST_OUT_OF_RANGE): Remove macro.
2292 (checked_request2size): Change to inline function and limit maximum
2293 requested size to PTRDIFF_MAX.
2294 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
2295 maximum allocation size to PTRDIFF_MAX.
2296 (_mid_memalign): Use _int_memalign call for overflow check.
2297 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
2298 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
2299 limit maximum requested size to PTRDIFF_MAX.
2300 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
2301 valloc, pvalloc): Add __attribute_alloc_size__.
2302 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
2303 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
2304 larger than PTRDIFF_MAX.
2305 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
2306 around tests of malloc with negative sizes.
2307 * malloc/tst-posix_memalign.c (do_test): Likewise.
2308 * malloc/tst-pvalloc.c (do_test): Likewise.
2309 * malloc/tst-valloc.c (do_test): Likewise.
2310 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
2311 with resulting size allocation larger than PTRDIFF_MAX with
2312 reallocarray_nowarn.
2313 (reallocarray_nowarn): New function.
2314 * NEWS: Mention the malloc function semantic change.
2315
0e169691
AZ
23162019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2317
52faba65
AZ
2318 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
2319 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
2320
3a16dd78
AZ
2321 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
2322 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2323 * sysdeps/powerpc/fpu/s_fma.c: New file.
2324 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
2325
1dac8bd6
AZ
2326 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
2327 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
2328
a3ae315a
AZ
2329 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
2330 the magic flag store.
2331 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
2332 Likewise.
2333 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
2334 Likewise.
2335 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
2336 Remove rt_sigreturn call.
2337
ffe8a9a8
AZ
2338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2339 Remove rt_sigreturn call.
2340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2341 Likewise.
2342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
2343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2344
0e169691
AZ
2345 * support/Makefile (libsupport-routines): Add support_subprocess,
2346 xposix_spawn, xposix_spawn_file_actions_addclose, and
2347 xposix_spawn_file_actions_adddup2.
2348 (tst-support_capture_subprocess-ARGS): New rule.
2349 * support/capture_subprocess.h (support_capture_subprogram): New
2350 prototype.
2351 * support/support_capture_subprocess.c (support_capture_subprocess):
2352 Refactor to use support_subprocess and support_capture_poll.
2353 (support_capture_subprogram): New function.
2354 * support/tst-support_capture_subprocess.c (write_mode_to_str,
2355 str_to_write_mode, test_common, parse_int, handle_restart,
2356 do_subprocess, do_subprogram, do_multiple_tests): New functions.
2357 (do_test): Add support_capture_subprogram tests.
2358 * support/subprocess.h: New file.
2359 * support/support_subprocess.c: Likewise.
2360 * support/xposix_spawn.c: Likewise.
2361 * support/xposix_spawn_file_actions_addclose.c: Likewise.
2362 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
2363 * support/xspawn.h: Likewise.
2364
bae8cf0e
MG
23652019-04-17 Mike Gerow <gerow@google.com>
2366
2367 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
2368 groups limit.
2369
e3f454ba
FW
23702019-04-11 Florian Weimer <fweimer@redhat.com>
2371
2372 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
2373 domain with empty string.
2374 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2375
32d85c11
FW
23762019-04-11 Florian Weimer <fweimer@redhat.com>
2377
2378 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
2379 comment.
2380 (alloc_buffer_next): Change return type to non-const. Update
2381 comment.
2382
221710af
FW
23832019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
2384
2385 * manual/time.texi (Formatting Calendar Time): Add missing percent
2386 sign to conversion specifier.
2387
e621246e
CD
23882019-04-09 Carlos O'Donell <carlos@redhat.com>
2389 Kwok Cheung Yeung <kcy@codesourcery.com>
2390
2391 [BZ #16573]
2392 * malloc/mtrace.c: Define prototypes for all hooks.
2393 (set_default_hooks): New function.
2394 (set_trace_hooks): Likewise.
2395 (save_default_hooks): Likewise.
2396 (tr_freehook): Use new s*_hooks functions.
2397 (tr_mallochook): Likewise.
2398 (tr_reallochook): Likewise.
2399 (tr_memalignhook): Likewise.
2400 (mtrace): Likewise.
2401 (muntrace): Likewise.
2402
648279f4
WD
24032019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2404
2405 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
2406 (generic_stpcpy): New function.
2407 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
2408 (generic_stpncpy): New function.
2409 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
2410 (generic_strcat): New function.
2411 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
2412 (generic_strcpy): New function.
2413 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
2414 (STUPID_STRNCAT): Remove function.
2415 (generic_strncat): New function.
2416 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
2417 (STUPID_STRNCPY): Remove function.
2418 (generic_strncpy): New function.
2419 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
2420 (generic_strnlen): New function.
2421 (memchr_strnlen): New function.
2422 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
2423 (memchr_strlen): Likewise.
2424
93eebae5
WD
24252019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2426
2427 * benchtests/bench-strstr.c (input): Add realistic input text.
2428 (stupid_strstr): Remove function.
2429 (basic_strstr): Add function.
2430 (twoway_strstr): Add function.
2431 (do_one_test): Add result checking.
2432 (do_test): Use new input text. Remove accidental early matches.
2433 (test_main): Improve range of tests, reduce unaligned cases.
2434
a173d09f
WD
24352019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2436
2437 * benchtests/bench-memmem.c (simple_memmem): Remove function.
2438 (basic_memmem): Add function.
2439 (twoway_memmem): Add function.
2440
6103c0a8
WD
24412019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
2442
2443 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
2444 * benchtests/bench-malloc-thread.c: Likewise.
2445 * benchtests/bench-skeleton.c: Likewise.
2446 * benchtests/bench-strtod.c: Likewise.
2447 * benchtests/bench-timing.h: Likewise.
2448
33322186
FW
24492019-04-08 Florian Weimer <fweimer@redhat.com>
2450
2451 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
2452 definitions.
2453 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
2454 RES_INSECURE2 security checks.
2455 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
2456 RES_INSECURE2 handling.
2457
3f8b44be
FW
24582019-04-08 Florian Weimer <fweimer@redhat.com>
2459
2460 resolv: Remove support for RES_USE_INET6 and the inet6 option.
2461 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
2462 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
2463 GETHOSTBYNAME.
2464 * resolv/Makefile (tests): Remove tst-res_use_inet6.
2465 (tests-internal): Update justification for tst-resolv-res_init,
2466 tst-resolv-res_init-thread.
2467 (tst-res_use_inet6): Remove target.
2468 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
2469 * resolv/res_debug.c (p_option): Remove "inet6" support.
2470 * resolv/res_init.c (res_setoptions): Likewise.
2471 * resolv/res_use_inet6.h: Remove file.
2472 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
2473 definition.
2474 (res_use_inet6): Always return false.
2475 * resolv/resolv.h (RES_USE_INET6): Remove definition.
2476 * resolv/resolv_context.h: Adjust file comment.
2477 (struct resolv_context): Update comment on __next field.
2478 (__resolv_context_put): Update comment.
2479 * resolv/tst-res_use_inet6.c: Remove file.
2480 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
2481 "inet6" support.
2482 (test_cases): Adjust test case.
2483 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
2484 (thread_byname2_af_inet6): Use old byname_inet6 code.
2485 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
2486 (gai): Remove do_inet6 argument.
2487 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
2488 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
2489 (thread_gai_unspec_inet6): Remove functions.
2490 (do_test): Adjust thread_funcs.
2491 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
2492 RES_USE_INET6 flag.
2493 (gaih_inet): Do not disable RES_USE_INET6 flag.
2494
6b5c8607 24952019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
94e358f6
AY
2496
2497 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
2498 and remove redundant code.
2499
e3fd0b0e
AZ
25002019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2501
f82ed45d
AZ
2502 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
2503 New rule.
2504 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
2505 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
2506 Likewise.
2507 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
2508 Likewise.
2509 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
2510 Likewise.
2511 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2512 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
2513 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
2514 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
2515 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2516 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
2517 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2518 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
2519 wcsrchr-power7.
2520 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
2521 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
2522 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2523 Remove wcsrchr optimizations.
2524 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2525
662c2cc4
AZ
2526 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
2527 the loop unroll.
2528
421e3005
AZ
2529 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
2530 New rule.
2531 * sysdeps/powerpc/power6/wcschr.c: Remove file.
2532 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
2533 Likewise.
2534 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
2535 Likewise.
2536 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
2537 Likewise.
2538 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2539 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
2540 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
2541 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
2542 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2543 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
2544 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2545 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
2546 wcschr-power7.
2547 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
2548 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
2549 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2550 Remove wcschr optimizations.
2551 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2552
7ba0100c
AZ
2553 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
2554 the loop unroll.
2555
447a1306
AZ
2556 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
2557 New rule.
2558 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
2559 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
2560 Likewise.
2561 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
2562 Likewise.
2563 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
2564 Likewise.
2565 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2566 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
2567 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
2568 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
2569 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2570 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
2571 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2572 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
2573 wcscpy-power7.
2574 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
2575 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
2576 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2577 Remove wcscpy optimizations.
2578 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2579
e3fd0b0e
AZ
2580 * include/loop_unroll.h: New file.
2581 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
2582 besides generic implementation.
2583
8260f236
DD
25842019-04-03 DJ Delorie <dj@redhat.com>
2585
2586 * time/tst-strftime3.c (tm_to_printed): Disable warning about
2587 snprintf truncating output.
2588
0bd545ee
DD
25892019-04-02 DJ Delorie <dj@redhat.com>
2590
2591 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
2592 warning.
2593
466afec3
TS
25942019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2595
2596 [BZ #22964]
2597 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
2598 era.
2599 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
2600 (mkreftable): Add rules for the new Japanese era and the new dates.
2601
2f1d6155
TS
26022019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2603 Rafal Luzynski <digitalfreak@lingonborough.com>
2604
2605 * time/tst-strftime2.c (date_t): Explicitly define the type.
2606 (dates): Use natural month and year numbers to express a date.
2607 (is_before): New function to compare dates.
2608 (mkreftable): Minor improvements to simplify maintenance.
2609 (do_test): Reflect the changes in dates array.
2610
84aea169
TS
2611 [BZ #24293]
2612 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
2613 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
2614 * time/tst-strftime2.c (locales): Likewise.
2615 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
2616 2010-04-01, and 2011-04-01.
2617 (mkreftable): Add rules for the new locales and the new dates.
2618
62449176
CD
26192019-04-01 Carlos O'Donell <carlos@redhat.com>
2620
2621 * localedata/locales/ja_JP: Add comments to era entries.
2622
e0e4c321
DD
26232019-04-01 DJ Delorie <dj@redhat.com>
2624
2625 [BZ #24394]
2626 * time/strptime_l.c (%Ey): Fix fencepost error.
2627 * time/tst-strftime3.c: New.
2628 * time/Makefile (tests): Add tst-strftime3.
2629
6b5c8607 26302019-04-01 Uros Bizjak <ubizjak@gmail.com>
993e3107
UB
2631
2632 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
2633 conditional branch to DIVBYZERO. Fix unwind info.
2634 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
2635 excb after conditional branch to $powerof2. Add missing unop
2636 instructions and .align directives and reorder instructions to
2637 match __divqu.
2638
d5ecee82
RH
26392019-04-01 Richard Henderson <rth@twiddle.net>
2640
2641 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
2642 Do not redefine.
2643 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
2644 Do not redefine.
2645
656dd306
MR
26462019-03-30 Maciej W. Rozycki <macro@wdc.com>
2647
2648 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
2649 $libc_cv_riscv_float_abi in `test' invocation.
2650 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
2651
10cce669
PC
26522019-03-29 Paul A. Clarke <pc@us.ibm.com>
2653
2654 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
2655 asm with builtin.
2656 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
2657 Likewise.
2658 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2659 (_GET_SI_FPSCR): Likewise.
2660 (_SET_SI_FPSCR): Likewise.
2661
5e67e4bf 26622019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4997e8f3
AZ
2663
2664 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
2665 clang 2.8.
2666 (signbit): Use builtin for clang 3.3.
2667 (isinf): Use builtin for clang 3.7.
2668
01963891
AZ
26692019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2670
2671 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
2672
67112f7a
AH
26732019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
2674
2675 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
2676 quote in printf.
2677
7a773abf
MC
26782019-03-25 Mike Crowe <mac@mcrowe.com>
2679
82849fde
MC
2680 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
2681 pthread_rwlock_timedrdlock with calls to
2682 pthread_rwlock_timedwrlock to ensure that the latter is tested
2683 too. Use new function name in diagnostic messages too.
2684
7a773abf
MC
2685 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
2686 (do_test) Use libsupport test macros rather than hand-coded
2687 conditionals and error messages. Ensure that sem_init returns zero
2688 rather than not -1. Use <support/test-driver.c> rather than
2689 test-skeleton.c.
2690
2691 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
2692 test macros rather than hand-coded conditionals and error messages.
2693 Use <support/test-driver.c> rather than test-skeleton.c.
2694
9ac2de69
JM
26952019-03-25 Joseph Myers <joseph@codesourcery.com>
2696
d7563e62
JM
2697 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
2698
9ac2de69
JM
2699 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
2700 (NT_MIPS_MSA): Likewise.
2701
38cc11da
AZ
27022019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2703
7621e38b
WD
2704 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
2705 * benchtests/README: Update description.
2706 * benchtests/bench-timing.h: Default to hp-timing.
2707 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
2708 HP_TIMING_PRINT): Remove.
2709 (HP_TIMING_NOW): Add generic implementation.
2710 (hp_timing_t): Change to uint64_t.
2711
1e372ded
AZ
2712 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
2713 HP_TIMING_INLINE.
2714 * nptl/descr.h: Likewise.
2715 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
2716 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
2717 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
2718 Abstract hp-timing usage with RTLD_* macros.
2719 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
2720 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
2721 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
2722 HP_TIMING_NONAVAIL): Likewise.
2723 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
2724 Likewise.
2725 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
2726 HP_SMALL_TIMING_AVAIL): Likewise.
2727 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
2728 HP_SMALL_TIMING_AVAIL): Likewise.
2729 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
2730 HP_SMALL_TIMING_AVAIL): Likewise.
2731 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
2732 HP_SMALL_TIMING_AVAIL): Likewise.
2733 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
2734 Likewise.
2735 * sysdeps/generic/hp-timing-common.h: Update comment with
2736 HP_TIMING_AVAIL removal.
2737
359653aa
AZ
2738 * include/random-bits.h: New file.
2739 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
2740 (__res_context_mkquery): Remove usage hp-timing usage and replace with
2741 random_bits.
2742 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
2743 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
2744 Likewise.
2745
6e8ba7fd
AZ
2746 * include/libc-internal.h (__get_clockfreq): Remove prototype.
2747 * rt/Makefile (clock-routines): Remove get_clockfreq.
2748 * rt/get_clockfreq.c: Remove file.
2749 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
2750 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
2751 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
2752 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
2753 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
2754
77b6f553
AZ
2755 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
2756 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
2757 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
2758 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
2759 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
2760
38cc11da
AZ
2761 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
2762 pthread_clock_settime.
2763 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
2764 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
2765 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
2766 * elf/rtld.c (_dl_start_final): Likewise.
2767 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
2768 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
2769 Remove.
2770 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
2771 (_dl_cpuclock_offset): Remove.
2772 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
2773 cpuclock_offset_ununsed.
2774 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
2775 cpuclock_offset set.
2776 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
2777 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2778 * nptl/pthread_clock_gettime.c: Remove file.
2779 * nptl/pthread_clock_settime.c: Likewise.
2780 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
2781 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
2782 and CLOCK_PROCESS_CPUTIME_ID support.
2783 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
2784 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
2785 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
2786 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
2787 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
2788 Likewise.
2789 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
2790
421749d6
SL
27912019-03-22 Stefan Liebler <stli@linux.ibm.com>
2792
2793 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
2794 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
2795 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
2796 New defines.
2797 * sysdeps/s390/memmem-arch13.S: New file.
2798 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
2799 if it is only used as fallback.
2800 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
2801 * sysdeps/s390/multiarch/ifunc-impl-list.c
2802 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
2803
6f47401b
SL
28042019-03-22 Stefan Liebler <stli@linux.ibm.com>
2805
2806 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
2807 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
2808 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
2809 New defines.
2810 * sysdeps/s390/multiarch/ifunc-impl-list.c
2811 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
2812 * sysdeps/s390/strstr-arch13.S: New file.
2813 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
2814 if it is only used as fallback.
2815 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
2816
96fbb9a3
SL
28172019-03-22 Stefan Liebler <stli@linux.ibm.com>
2818
2819 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
2820 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
2821 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
2822 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
2823 ifunc selector.
2824 * sysdeps/s390/multiarch/ifunc-impl-list.c
2825 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
2826 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
2827 S390_IS_ARCH13_MIE3): New defines.
2828
a899a551
SL
28292019-03-22 Stefan Liebler <stli@linux.ibm.com>
2830
2831 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
2832 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
2833 * sysdeps/s390/configure.ac: Add checks for arch13 support.
2834 * sysdeps/s390/configure: Regenerated.
2835
1a7df49c
SL
28362019-03-22 Stefan Liebler <stli@linux.ibm.com>
2837
2838 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
2839 Add vxe2, vxp, dflt, sort flags.
2840 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
2841 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
2842 capabilities.
2843 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
2844 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
2845 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
2846 HWCAP_S390_DFLT): Define.
2847
5e67e4bf 28482019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5abcddd7
GG
2849
2850 [BZ #24372]
2851 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
2852 of compiler warning.
2853 * locale/programs/ld-collate.c (collate_output): Likewise.
2854
ac64195c
DD
28552019-03-21 DJ Delorie <dj@redhat.com>
2856
2857 [BZ #24372]
2858 * iconv/iconvconfig.c (write_output): Replace floating point math
2859 with integer math to avoid imprecise results.
2860 * locale/programs/ld-collate.c (collate_output): Likewise.
2861
61f5e947
SL
28622019-03-21 Stefan Liebler <stli@linux.ibm.com>
2863
2864 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
2865 Add HWCAP_S390_VX and HWCAP_S390_VXE.
2866
57ada43c 28672019-03-20 mansayk <6688000@gmail.com>
2868
2869 [BZ #24296]
2870 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
2871 (abday): Likewise, but remove the trailing dots.
2872
a2e57f89
JM
28732019-03-19 Joseph Myers <joseph@codesourcery.com>
2874
2875 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
2876 macro.
2877 (HWCAP_PACA): Likewise.
2878 (HWCAP_PACG): Likewise.
2879 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
2880 Increase to 32.
2881 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
2882
e87d8ada
ST
28832019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2884
2885 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
2886 should be handled.
2887
477e739b
JM
28882019-03-15 Joseph Myers <joseph@codesourcery.com>
2889
2890 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2891 version to 5.0.
2892 (old_getpagesize): New syscall.
2893
238d60a1
FY
28942019-03-15 Felix Yan <felixonmars@archlinux.org>
2895
2896 [BZ #24293]
2897 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
2898 * localedata/locales/cmn_TW (era): Likewise.
2899 * localedata/locales/hak_TW (era): Likewise.
2900 * localedata/locales/lzh_TW (era): Likewise.
2901 * localedata/locales/nan_TW (era): Likewise.
2902
5dde9ef7
DD
29032019-03-14 Adam Maris <amaris@redhat.com>
2904
2905 * malloc/malloc.c (_int_malloc): Check for large bin list
2906 corruption when inserting unsorted chunk.
2907
a0a0dc83
FW
29082019-03-14 Florian Weimer <fweimer@redhat.com>
2909
2910 Remove obsolete, never-implemented XSI STREAMS declarations.
2911 * manual/terminal.texi (Allocation): Remove portability note and
2912 adjust example.
2913 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
2914 _SC_STREAMS.
2915 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
2916 * sysdeps/unix/inet/Subdirs (streams): Remove.
2917 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
2918 (conformtest-headers-UNIX98): Likewise.
2919 (conformtest-headers-XOPEN2K): Likewise.
2920 (conformtest-headers-POSIX2008): Likewise.
2921 * posix/compat-streams.c: New file.
2922 * posix/Makefile (routines): Add it.
2923 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
2924 getpmsg, isastream, putmsg, putpmsg.
2925 (GLIBC_2.30): New section.
2926 * bits/stropts.h: Remove file.
2927 * bits/xtitypes.h: Likewise.
2928 * conform/data/stropts.h-data: Likewise.
2929 * include/stropts.h: Likewise.
2930 * include/sys/stropts.h: Likewise.
2931 * include/xtitypes.h: Likewise.
2932 * streams/Makefile: Likewise.
2933 * streams/fattach.c: Likewise.
2934 * streams/fdetach.c: Likewise.
2935 * streams/getmsg.c: Likewise.
2936 * streams/getpmsg.c: Likewise.
2937 * streams/isastream.c: Likewise.
2938 * streams/putmsg.c: Likewise.
2939 * streams/putpmsg.c: Likewise.
2940 * streams/stropts.h: Likewise.
2941 * streams/sys/stropts.h: Likewise.
2942 * sysdeps/ia64/bits/xtitypes.h: Likewise.
2943 * sysdeps/s390/bits/xtitypes.h: Likewise.
2944 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
2945 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
2946 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
2947 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
2948 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
2949 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
2950 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
2951 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
2952 * sysdeps/x86/bits/xtitypes.h: Likewise.
2953
081bdf94
FW
29542019-03-14 Florian Weimer <fweimer@redhat.com>
2955
2956 * nss/tst-nss-files-alias-truncated.c (do_test): Load
2957 libnss_files.
2958 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
2959 but not with libnss_files.
2960 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
2961
97f8225d
ZW
29622019-03-14 Zack Weinberg <zackw@panix.com>
2963
2964 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
2965 Specify encoding="utf-8" when opening headers to check.
2966
0c1041ee
JM
29672019-03-13 Joseph Myers <joseph@codesourcery.com>
2968
2969 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2970 version to 5.0.
2971 (Context.checkout_tar): Handle variable major version for Linux
2972 kernel.
2973
043440e7
FW
29742019-03-13 Florian Weimer <fweimer@redhat.com>
2975
2976 [BZ #24047]
2977 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
2978
29218b26
ZW
29792019-03-13 Zack Weinberg <zackw@panix.com>
2980
2981 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
2982 Move to stdlib.
2983 * include/inttypes.h: Adjust to match.
2984 * include/stdint.h: New wrapper.
2985
711a322a
ZW
29862019-03-13 Zack Weinberg <zackw@panix.com>
2987
2988 * scripts/check-obsolete-constructs.py: New test script.
2989 * scripts/check-installed-headers.sh: Remove tests for
2990 obsolete typedefs, superseded by check-obsolete-constructs.py.
2991 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
2992 as a special test. Update commentary.
2993 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
2994 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
2995 Update commentary.
2996 * posix/sys/types.h (__u_intN_t): Remove.
2997 (u_int8_t): Typedef using __uint8_t.
2998 (u_int16_t): Typedef using __uint16_t.
2999 (u_int32_t): Typedef using __uint32_t.
3000 (u_int64_t): Typedef using __uint64_t.
3001
7c651308
SL
30022019-03-13 Stefan Liebler <stli@linux.ibm.com>
3003
3004 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
3005 call _dl_procinfo.
3006 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
3007 Ignore types other than AT_HWCAP.
3008 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
3009 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
3010 Likewise.
3011 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
3012 in the case of falling back to generic output mechanism.
3013 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
3014 Likewise.
3015
38b52865
FW
30162019-03-12 Florian Weimer <fweimer@redhat.com>
3017
3018 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
3019
08504de7
FW
30202019-03-12 Florian Weimer <fweimer@redhat.com>
3021
3022 [BZ #24047]
3023 resolv: Enable full ICMP errors for UDP DNS sockets
3024 * resolv/res_enable_icmp.c: New file.
3025 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
3026 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
3027 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
3028 socket.
3029
5fbcd763
MH
30302019-03-11 Mao Han <han_mao@c-sky.com>
3031
3032 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
3033 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
3034
c4e5f34b
MH
30352019-03-11 Mao Han <han_mao@c-sky.com>
3036
3037 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
3038 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
3039 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
3040
827e30f3
MH
30412019-03-11 Mao Han <han_mao@c-sky.com>
3042
3043 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
3044 directly.
3045 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
3046 definition.
3047
6229c9bf
MH
30482019-03-11 Mao Han <han_mao@c-sky.com>
3049
3050 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
3051 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
3052 in mcontext_t
3053
86bdd49d
MF
30542019-03-08 Mike FABIAN <mfabian@redhat.com>
3055
3056 [BZ #24307]
3057 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
3058 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
3059 Unicode 12.0.0.
3060 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
3061 * localedata/unicode-gen/PropList.txt: Likewise.
3062 * localedata/unicode-gen/UnicodeData.txt: Likewise.
3063 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
3064 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
3065 * localedata/charmaps/UTF-8: Regenerate.
3066 * localedata/locales/i18n_ctype: Likewise.
3067 * localedata/locales/tr_TR: Likewise.
3068 * localedata/locales/translit_circle: Likewise.
3069 * localedata/locales/translit_cjk_compat: Likewise.
3070 * localedata/locales/translit_combining: Likewise.
3071 * localedata/locales/translit_compat: Likewise.
3072 * localedata/locales/translit_font: Likewise.
3073 * localedata/locales/translit_fraction: Likewise.
3074
c5f65462
JM
30752019-03-07 Joseph Myers <joseph@codesourcery.com>
3076
3077 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
3078 than after operators.
3079 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
3080 (setitimer_locked): Likewise.
3081 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
3082 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3083 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
3084 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
3085 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
3086 (PPC_CPU_SUPPORTED): Likewise.
3087 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
3088 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
3089 (stat_overflow): Likewise.
3090 (statfs_overflow): Likewise.
3091 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
3092 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
3093 (eq_ttyname_r): Likewise.
3094 (run_chroot_tests): Likewise.
3095
27a2f2f3
FW
30962019-03-07 Florian Weimer <fweimer@redhat.com>
3097
3098 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
3099 header check.
3100
ae514971 31012019-03-07 Martin Liska <mliska@suse.cz>
3102
3103 * math/Makefile: Change location where math-vector-fortran.h is
3104 installed.
3105 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
3106 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
3107 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
3108 * scripts/check-installed-headers.sh: Skip Fortran header files.
3109 * scripts/check-wrapper-headers.py: Likewise.
3110
0ddb7ea8
AZ
31112019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3112
3113 * nptl/nptl-init.c (__have_futex_clock_realtime,
3114 __have_futex_clock_realtime): Remove definition.
3115 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
3116 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
3117 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
3118 __ASSUME_FUTEX_CLOCK_REALTIME support.
3119 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
3120 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3121 * sysdeps/unix/sysv/linux/kernel-features.h
3122 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
3123 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
3124 Adjust comment.
3125
590675c0
GG
31262019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3127
3128 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
3129 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
3130 __GI___wcscpy and wcscpy.
3131
de71ee7b
FW
31322019-03-04 Florian Weimer <fweimer@redhat.com>
3133
3134 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
3135 declaration.
3136 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
3137 defined.
3138
ce6ddae0
SL
31392019-03-04 Stefan Liebler <stli@linux.ibm.com>
3140
3141 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
3142 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3143
31efface
TS
31442019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3145
3146 [BZ #24162]
3147 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
3148 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
3149
f0eaf862
GG
31502019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3151
3152 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
3153 tests.
3154 (do_test): Likewise.
3155 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
3156 (do_test_call_varg): Likewise.
3157 (do_test_call_rarg): Likewise.
3158 * sysdeps/ieee754/ldbl-opt/Makefile
3159 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
3160 tst-nldbl-error.
3161 ($(objpfx)tst-nldbl-warn.c): New rule.
3162 ($(objpfx)tst-nldbl-error.c): Likewise.
3163 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
3164 New variables.
3165
d11086a9
GG
31662019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3167
3168 [BZ #23984]
3169 * include/bits/error-ldbl.h: New file.
3170 * include/error.h: Include stdarg.h. Declare internal functions
3171 __error_internal and __error_at_line_internal.
3172 * misc/Makefile (headers): Add bits/error-ldbl.h.
3173 * misc/bits/error-ldbl.h: New file.
3174 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
3175 avoid the inclusion of bits/error.h.
3176 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
3177 and __nldbl_error_at_line.
3178 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
3179 (__nldbl_error, __ndlbl_error_at_line): New functions.
3180 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
3181 Redirect error and error_at_line.
3182 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3184 Likewise.
3185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3186 Likewise.
3187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3188 Likewise.
3189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3190 Likewise.
3191 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3192 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3193 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3194
90188e7d
GG
31952019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3196
3197 [BZ #23984]
3198 * include/bits/err-ldbl.h: New file.
3199 * include/err.h: Add prototypes for the internal functions:
3200 __vwarnx_internal and __vwarn_internal.
3201 * misc/Makefile (headers): Add bits/err-ldbl.h.
3202 * misc/bits/err-ldbl.h: New file.
3203 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
3204 defined, i.e.: when -mlong-double-64 is in use.
3205 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
3206 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
3207 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
3208 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
3209 (VA_CALL): New macro.
3210 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
3211 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
3212 functions.
3213 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
3214 declare prototypes for the new functions.
3215 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3217 Likewise.
3218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3219 Likewise.
3220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3221 Likewise.
3222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3223 Likewise.
3224 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3225 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3226 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3227
ea2d89d0
GG
32282019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3229
3230 * sysdeps/ieee754/ldbl-opt/Makefile
3231 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
3232 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
3233 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
3234
6e1f6440
GG
32352019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3236
3237 [BZ #23983]
3238 * argp/Makefile (headers): Add bits/argp-ldbl.h.
3239 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
3240 * argp/bits/argp-ldbl.h: New file.
3241 * include/argp.h: Include stdarg.h. Add prototypes for internal
3242 functions: __argp_error_internal and __argp_failure_internal.
3243 * include/bits/argp-ldbl.h: New file.
3244 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
3245 __nldbl_argp_error and __nldbl_argp_failure.
3246 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
3247 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
3248 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
3249 Redirect argp_error and argp_failure calls.
3250 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
3251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3252 Likewise.
3253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3254 Likewise.
3255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3256 Likewise.
3257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3258 Likewise.
3259 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3260 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3261 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3262
c259196b
FW
32632019-03-01 Florian Weimer <fweimer@redhat.com>
3264
3265 [BZ #20419]
3266 * elf/tst-big-note-lib.S: Create a syntactically valid note.
3267 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
3268 code, to avoid creating an ABI tag note.
3269 (modules-names-nobuild): Add tst-big-note-lib.
3270
928b305d
SL
32712019-03-01 Stefan Liebler <stli@linux.ibm.com>
3272
3273 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
3274 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
3275
36f30c10
FW
32762019-03-01 Florian Weimer <fweimer@redhat.com>
3277
3278 [BZ #20271]
3279 * sysdeps/unix/sysv/linux/netlink_assert_response.c
3280 (__netlink_assert_response): Add additional missing newlines.
3281
462e83a4
JM
32822019-02-28 Joseph Myers <joseph@codesourcery.com>
3283
3284 * sysdeps/powerpc/powerpc32/dl-machine.c
3285 (__elf_machine_fixup_plt): Use space before '('.
3286 (__process_machine_rela): Likewise.
3287 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
3288 Likewise.
3289 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
3290 Likewise.
3291 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
3292 Likewise.
3293 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
3294 (pattern): Likewise.
3295 (delta): Likewise.
3296 (check_result): Likewise.
3297 (check_excepts): Likewise.
3298 (check_op): Likewise.
3299 (fail_xr): Likewise.
3300 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
3301 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
3302 (SCNHSZ): Likewise.
3303 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
3304 Likewise.
3305 (ARGS): Likewise.
3306 (__makecontext): Likewise.
3307 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
3308 Likewise.
3309
cc3e573c
FW
33102019-02-28 Florian Weimer <fweimer@redhat.com>
3311
3312 [BZ #23937]
3313 elf: Add test with a local IFUNC resolver.
3314 * elf/ifuncmain9.c: New file.
3315 * elf/ifuncmain9pic.c: Likewise.
3316 * elf/ifuncmain9picstatic.c: Likewise.
3317 * elf/ifuncmain9pie.c: Likewise.
3318 * elf/ifuncmain9static.c: Likewise.
3319 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
3320 ifuncmain9static, ifuncmain9picstatic.
3321 * elf/Makefile [multi-arch && build-shared] (tests-internal):
3322 Add ifuncmain9, ifuncmain9pic.
3323 * elf/Makefile [multi-arch && build-shared && have-fpie]
3324 (ifunc-pie-tests): Add ifuncmain9pie.
3325 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
3326 (CFLAGS-ifuncmain9picstatic.c): Likewise.
3327 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
3328
92ad88fe
L
33292019-02-27 H.J. Lu <hongjiu.lu@intel.com>
3330
3331 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
3332 * configure: Regenerated.
3333 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
3334
6bd4d02e
AZ
33352019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3336
3337 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
3338 symbol as __wcspcy instead of wcscpy.
3339
1b218417
ST
33402019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3341
3342 * include/stdio.h (__renameat2): New hidden prototype.
3343 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
3344 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
3345 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
3346 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
3347
c4f50205
JM
33482019-02-27 Joseph Myers <joseph@codesourcery.com>
3349
f627dd4d
JM
3350 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
3351 if statement.
3352
c4f50205
JM
3353 * benchtests/bench-strcpy.c (do_test): Use space before '('.
3354 * benchtests/bench-string.h (cmdline_process_function): Likewise.
3355 * benchtests/bench-strlen.c (do_test): Likewise.
3356 (test_main): Likewise.
3357 * catgets/gencat.c (read_old): Likewise.
3358 * elf/cache.c (load_aux_cache): Likewise.
3359 * iconvdata/bug-iconv8.c (do_test): Likewise.
3360 * math/test-tgmath-ret.c (do_test): Likewise.
3361 * nis/nis_call.c (rec_dirsearch): Likewise.
3362 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3363 * nptl/tst-audit-threads.c (do_test): Likewise.
3364 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
3365 * nss/nss_test1.c (init): Likewise.
3366 * nss/test-netdb.c (test_hosts): Likewise.
3367 * posix/execvpe.c (maybe_script_execute): Likewise.
3368 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
3369 * stdio-common/tst-printf.c (do_test): Likewise.
3370 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
3371 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
3372 * stdlib/qsort.c (STACK_SIZE): Likewise.
3373 * stdlib/test-canon.c (do_test): Likewise.
3374 * stdlib/tst-swapcontext1.c (do_test): Likewise.
3375 * string/memcmp.c (OPSIZ): Likewise.
3376 * string/test-strcpy.c (do_test): Likewise.
3377 (do_random_tests): Likewise.
3378 * string/test-strlen.c (do_test): Likewise.
3379 (test_main): Likewise.
3380 * string/test-strrchr.c (do_test): Likewise.
3381 (do_random_tests): Likewise.
3382 * string/tester.c (test_memrchr): Likewise.
3383 (test_memchr): Likewise.
3384 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
3385 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
3386 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
3387 (read_encoded_value_with_base): Likewise.
3388 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
3389 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
3390 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
3391 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
3392 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
3393 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
3394 Likewise.
3395 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
3396 Likewise.
3397 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
3398 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
3399 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
3400 Likewise.
3401 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
3402 Likewise.
3403 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
3404 Likewise.
3405 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
3406 Likewise.
3407 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
3408 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
3409 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3410 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
3411 * time/test_time.c (main): Likewise.
3412
7b3fb620
AZ
34132019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3414
457208b1
AZ
3415 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
3416
30a7e208
AZ
3417 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
3418 wmemcpy.
3419
ddf21ec7
AZ
3420 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
3421 wmemcpy.
3422
4d801563
AZ
3423 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
3424
81a14439
AZ
3425 * include/wchar.h (__wcscpy): New prototype.
3426 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
3427 (__wcscpy): Route internal symbol to generic implementation.
3428 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
3429 Add internal __wcscpy alias.
3430 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
3431 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
3432 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
3433 * wcsmbs/wcscpy.c (wcscpy): Add
3434 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
3435 use generic implementation.
3436 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
3437
39ef0744
AZ
3438 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
3439 wmemset.
3440
7b3fb620
AZ
3441 * sysdeps/m68k/wcpcpy.c: Remove file.
3442 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
3443
e0cb7b61
JM
34442019-02-26 Joseph Myers <joseph@codesourcery.com>
3445
aa0e4663
JM
3446 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
3447 than after operators.
3448 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
3449 * sysdeps/mach/hurd/getcwd.c
3450 (__hurd_canonicalize_directory_name_internal): Likewise.
3451 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
3452 (pthread_mutex_consistent): Likewise.
3453 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
3454 Likewise.
3455 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
3456 (__pthread_mutex_transfer_np): Likewise.
3457 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
3458 (__pthread_mutex_unlock): Likewise.
3459 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
3460 (mtx_owned_p): Likewise.
3461 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
3462 (pthread_mutexattr_getrobust): Likewise.
3463 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
3464 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
3465 Likewise.
3466 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3467 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
3468 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
3469 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
3470 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
3471 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3472 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
3473 Likewise.
3474 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
3475 Likewise.
3476 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
3477 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
3478 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
3479 (____longjmp_chk): Likewise.
3480 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
3481 Likewise.
3482 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3483 (INTERNAL_SYSCALL): Likewise.
3484 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3485 (INTERNAL_SYSCALL): Likewise.
3486 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3487 (__get_clockfreq_via_cpuinfo): Likewise.
3488
e0cb7b61
JM
3489 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
3490 comments.
3491 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
3492 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
3493 (WORD_COPY_BWD): Likewise.
3494 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3495 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3496 Likewise.
3497 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
3498 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
3499 comment.
3500 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
3501
a04549c1
JM
35022019-02-25 Joseph Myers <joseph@codesourcery.com>
3503
3504 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
3505 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
3506 rather than after operators.
3507 * elf/cache.c (print_cache): Likewise.
3508 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
3509 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
3510 * hurd/hurdinit.c (_hurd_setproc): Likewise.
3511 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
3512 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
3513 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
3514 (reauth_proc): Likewise.
3515 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
3516 (__file_name_split_at): Likewise.
3517 (__directory_name_split_at): Likewise.
3518 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
3519 * hurd/port2fd.c (_hurd_port2fd): Likewise.
3520 * iconv/gconv_dl.c (do_print): Likewise.
3521 * inet/netinet/in.h (struct sockaddr_in): Likewise.
3522 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
3523 * locale/setlocale.c (new_composite_name): Likewise.
3524 * malloc/memusagestat.c (main): Likewise.
3525 * misc/fstab.c (fstab_convert): Likewise.
3526 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
3527 Likewise.
3528 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
3529 (getgrent_next_file): Likewise.
3530 (internal_getgrnam_r): Likewise.
3531 (internal_getgrgid_r): Likewise.
3532 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
3533 Likewise.
3534 (internal_getgrent_r): Likewise.
3535 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
3536 (getpwent_next_nss): Likewise.
3537 (getpwent_next_file): Likewise.
3538 (internal_getpwnam_r): Likewise.
3539 (internal_getpwuid_r): Likewise.
3540 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
3541 Likewise.
3542 (getspent_next_nss): Likewise.
3543 (internal_getspnam_r): Likewise.
3544 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
3545 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
3546 * string/strchr.c (STRCHR): Likewise.
3547 * string/strchrnul.c (STRCHRNUL): Likewise.
3548 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
3549 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3550 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
3551 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
3552 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
3553 Likewise.
3554 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
3555 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
3556 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
3557 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
3558 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
3559 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
3560 (open_file): Likewise.
3561 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
3562 (pthread_mutexattr_setprotocol): Likewise.
3563 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3564 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
3565 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
3566 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
3567 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
3568 Likewise.
3569 (elf_machine_rela): Likewise.
3570 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3571 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3572 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
3573 * sysdeps/posix/rename.c (rename): Likewise.
3574 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
3575 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
3576 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
3577 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
3578 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3579 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
3580 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
3581 Likewise.
3582 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
3583 Likewise.
3584 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
3585 * time/tzfile.c (__tzfile_compute): Likewise.
3586
34a5a146
JM
35872019-02-22 Joseph Myers <joseph@codesourcery.com>
3588
3589 * benchtests/bench-memmem.c (simple_memmem): Break lines before
3590 rather than after operators.
3591 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
3592 * crypt/md5.c (md5_finish_ctx): Likewise.
3593 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
3594 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
3595 * elf/cache.c (load_aux_cache): Likewise.
3596 * elf/dl-load.c (open_verify): Likewise.
3597 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
3598 * elf/readelflib.c (process_elf_file): Likewise.
3599 * elf/rtld.c (dl_main): Likewise.
3600 * elf/sprof.c (generate_call_graph): Likewise.
3601 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
3602 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
3603 * hurd/dtable.c (reauth_dtable): Likewise.
3604 * hurd/getdport.c (__getdport): Likewise.
3605 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
3606 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
3607 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
3608 Likewise.
3609 * hurd/hurdioctl.c (fioctl): Likewise.
3610 * hurd/hurdselect.c (_hurd_select): Likewise.
3611 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
3612 (STOPSIGS): Likewise.
3613 * hurd/hurdstartup.c (_hurd_startup): Likewise.
3614 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
3615 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
3616 * hurd/msgportdemux.c (msgport_server): Likewise.
3617 * hurd/setauth.c (_hurd_setauth): Likewise.
3618 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
3619 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
3620 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
3621 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
3622 * login/tst-utmp.c (do_check): Likewise.
3623 (simulate_login): Likewise.
3624 * mach/lowlevellock.h (lll_lock): Likewise.
3625 (lll_trylock): Likewise.
3626 * math/test-fenv.c (ALL_EXC): Likewise.
3627 * math/test-fenvinline.c (ALL_EXC): Likewise.
3628 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
3629 * nis/nis_call.c (__do_niscall3): Likewise.
3630 * nis/nis_callback.c (cb_prog_1): Likewise.
3631 * nis/nis_defaults.c (searchaccess): Likewise.
3632 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3633 * nis/nis_ismember.c (internal_ismember): Likewise.
3634 * nis/nis_local_names.c (nis_local_principal): Likewise.
3635 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
3636 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
3637 Likewise.
3638 * nis/ypclnt.c (yp_match): Likewise.
3639 (yp_first): Likewise.
3640 (yp_next): Likewise.
3641 (yp_master): Likewise.
3642 (yp_order): Likewise.
3643 * nscd/hstcache.c (cache_addhst): Likewise.
3644 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3645 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
3646 (internal_getpwuid_r): Likewise.
3647 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
3648 * posix/glob.h (__GLOB_FLAGS): Likewise.
3649 * posix/regcomp.c (peek_token): Likewise.
3650 (peek_token_bracket): Likewise.
3651 (parse_expression): Likewise.
3652 * posix/regexec.c (sift_states_iter_mb): Likewise.
3653 (check_node_accept_bytes): Likewise.
3654 * posix/tst-spawn3.c (do_test): Likewise.
3655 * posix/wordexp-test.c (testit): Likewise.
3656 * posix/wordexp.c (parse_tilde): Likewise.
3657 (exec_comm): Likewise.
3658 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
3659 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
3660 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
3661 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
3662 * stdio-common/tst-fileno.c (do_test): Likewise.
3663 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
3664 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
3665 * stdlib/strtod_l.c (round_and_return): Likewise.
3666 (____STRTOF_INTERNAL): Likewise.
3667 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
3668 * string/strcspn.c (STRCSPN): Likewise.
3669 * string/test-memmem.c (simple_memmem): Likewise.
3670 * termios/tcsetattr.c (tcsetattr): Likewise.
3671 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
3672 * time/asctime.c (asctime_internal): Likewise.
3673 * time/strptime_l.c (__strptime_internal): Likewise.
3674 * time/sys/time.h (timercmp): Likewise.
3675 * time/tzfile.c (__tzfile_compute): Likewise.
3676
b0b50fe0
PF
36772019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
3678
b39d961c
TS
3679 [BZ #21915]
3680 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
b0b50fe0 3681
f43b8dd5
GG
36822019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3683
3684 * argp/argp-help.c (__argp_error_internal): New function,
3685 renamed from __argp_error, but that takes a 'mode_flags'
3686 parameter to control the format of long double parameters.
3687 (__argp_error): Converted into a call __argp_error_internal.
3688 (__argp_failure_internal): New function, renamed from
3689 __argp_failure, but that takes a 'mode_flags' parameter.
3690 (__argp_failure): Converted into a call __argp_failure_internal.
3691 * misc/err.c (__vwarnx_internal): New function, renamed from
3692 vwarnx, but that takes a 'mode_flags' parameter.
3693 (vwarnx): Converted into a call to __vwarnx_internal.
3694 (__vwarn_internal): New function, renamed from vwarn, but that
3695 takes a 'mode_flags' parameter.
3696 (vwarn): Converted into a call to __vwarn_internal.
3697 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
3698 call to __vfxprintf with 'mode_flags'.
3699 (__error_internal): New function, renamed from error, but that
3700 takes a 'mode_flags' parameter.
3701 (error): Converted into a call to __error_internal.
3702 (__error_at_line_internal): New function, renamed from
3703 error_at_line, but that takes a 'mode_flags' parameter.
3704 (error_at_line): Converted into a call to
3705 __error_at_line_internal.
3706 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
3707 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
3708 Likewise.
3709
dc0afac3 37102019-02-20 Martin Liska <mliska@suse.cz>
3711
3712 * math/Makefile: Install math-vector-fortran.h.
3713 * bits/math-vector-fortran.h: New file.
3714 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
3715
4a2dd41c
GG
37162019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3717
3718 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
3719 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
3720
04de9302
WS
37212019-02-19 Wolfram Sang <wsa@the-dreams.de>
3722
3723 * nptl/pthread_mutex_trylock.c: Fix comment.
3724
b026ce1e
CD
37252019-02-19 Carlos O'Donell <carlos@redhat.com>
3726
3727 * nptl/pthread_tryjoin.c: Fix comment.
3728
8c9289b6
JM
37292019-02-18 Joseph Myers <joseph@codesourcery.com>
3730
3731 [BZ #24231]
3732 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
3733 after R_SPARC_H34 case.
3734
308e022f
FW
37352019-02-18 Florian Weimer <fweimer@redhat.com>
3736
3737 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
3738 (getanswer): Do not call Dprintf.
3739 (res_gethostbyname2_context): Likewise.
3740 (res_gethostbyaddr_context): Likewise.
3741
a5406364
FW
37422019-02-18 Florian Weimer <fweimer@redhat.com>
3743
3744 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
3745 declaration.
3746 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
3747 Remove definitions.
3748 * libio/stdfiles.c: Update comment.
3749 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
3750 set _IO_stdin, _IO_stdout, _IO_stderr.
3751 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
3752 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
3753 inline function.
3754 (_IO_deallocate_file): New inline function.
3755 * libio/iolibio.h (_IO_vprintf): Remove definition.
3756 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
3757 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
3758 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
3759 _IO_legacy_file.
3760 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
3761 __builtin_expect. Use _IO_legacy_file.
3762
6c29942c
SL
37632019-02-18 Stefan Liebler <stli@linux.ibm.com>
3764
3765 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
3766 Initialize ctid with a known value and remove update of ctid
3767 after clone.
3768 (wait_tid): Adjust arguments and call futex_wait with ctid_val
3769 as assumed current value of ctid_ptr.
3770
225d9445 37712019-02-16 Florian Weimer <fweimer@redhat.com>
ad18dade
FW
3772
3773 Check that non-sysdeps headers have wrapper headers.
3774 * scripts/check-wrapper-headers.py: New file.
3775 * Makefile (tests-special): Add check-wrapper-headers.out.
3776 (check-wrapper-headers.out): New target.
3777 * Rules (tests-special): Add check-wrapper-headers.out.
3778 (check-wrapper-headers.out): New target.
3779
225d9445 37802019-02-16 Florian Weimer <fweimer@redhat.com>
ebd32784
FW
3781
3782 Add missing header wrappers under include/.
3783 * include/ar.h: New file.
3784 * include/bits/mqueue2.h: Likewise.
3785 * include/bits/stdio.h: Likewise.
3786 * include/bits/stdio2.h: Likewise.
3787 * include/fstab.h: Likewise.
3788 * include/fts.h: Likewise.
3789 * include/lastlog.h: Likewise.
3790 * include/netinet/icmp6.h: Likewise.
3791 * include/netinet/igmp.h: Likewise.
3792 * include/netinet/ip6.h: Likewise.
3793 * include/re_comp.h: Likewise.
3794 * include/regexp.h: Likewise.
3795 * include/rpcsvc/bootparam.h: Likewise.
3796 * include/rpcsvc/yp_prot.h: Likewise.
3797 * include/sys/random.h: Likewise.
3798 * include/sys/stropts.h: Likewise.
3799 * include/sys/ttychars.h: Likewise.
3800 * include/sys/vfs.h: Likewise.
3801 * include/wait.h: Likewise.
3802
225d9445 38032019-02-16 Florian Weimer <fweimer@redhat.com>
a198d37a
FW
3804
3805 * nptl_db/proc_service.h: Move to ...
3806 * sysdeps/nptl/proc_service.h: ... here.
3807 * nptl_db/thread_db.h: Move to ...
3808 * sysdeps/nptl/thread_db.h: ... here.
3809 * nptl/descr.h: Include <thread_db.h>.
3810
e442e40d
AZ
38112019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3812
3813 * io/Makefile (tests): Add tst-lockf.
3814 * io/lockf.c (lockf): Use __fcntl and only define for
3815 !__OFF_T_MATCHES_OFF64_T.
3816 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
3817 __OFF_T_MATCHES_OFF64_T case.
3818 * io/tst-lockf.c: New file.
3819 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
3820 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
3821 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
3822 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
3823 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
3824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
3825 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
3826 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
3827 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
3828
bc10e22c
FW
38292019-02-15 Florian Weimer <fweimer@redhat.com>
3830
3831 [BZ #24211]
3832 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
3833 pd->result after the thread descriptor has been freed.
3834
365f05c7
JM
38352019-02-15 Joseph Myers <joseph@codesourcery.com>
3836
8a11f970
JM
3837 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
3838 from function return type.
3839
365f05c7
JM
3840 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
3841
6b5c8607 38422019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
56a731d4
JK
3843
3844 * scripts/test_printers_common.py: Set TERM to a known harmless
3845 value.
3846
712182c8
JM
38472019-02-14 Joseph Myers <joseph@codesourcery.com>
3848
3849 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
3850 (xdr_u_int): Likewise.
3851 (xdr_enum): Likewise.
3852 (xdr_bytes): Reword fall-through comment.
3853 (xdr_string): Likewise.
3854
eb76e5b4
AZ
38552019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3856
3857 [BZ #2421]
3858 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
3859 (tests): Add tst-join8 tst-join9.
3860 * nptl/lll_timedwait_tid.c: Remove file.
3861 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
3862 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
3863 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
3864 * nptl/pthread_join_common.c (timedwait_tid): New function.
3865 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
3866 is set.
3867 * nptl/tst-join5.c (thread_join): New function.
3868 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
3869 check.
3870 * nptl/tst-join8.c: New file.
3871 * nptl/tst-join9.c: Likewise.
3872 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
3873 lll_futex_timed_wait_cancel): Add generic macros.
3874 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
3875 Remove definitions.
3876 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3877 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3878 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3879 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
3880 Remove function.
3881 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
3882 Likewise.
3883 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3884 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3885 (lll_futex_timed_wait_cancel): New macro.
3886
3904fd85
WD
38872019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
3888
3889 * benchtests/Makefile: Add malloc-simple benchmark.
3890 * benchtests/bench-malloc-simple.c: New benchmark.
3891
24ca04fe
SP
38922019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
3893
3894 * benchtests/bench-memmove.c (do_one_test): Remove unused
3895 ORIG_SRC.
3896 (do_test): Adjust.
3897 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
3898 ORIG_SRC.
3899 (do_test): Adjust.
3900
85bd1ddb
JW
39012019-01-13 Jim Wilson <jimw@sifive.com>
3902
3903 [BZ #24040]
3904 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
3905 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
3906 (func): New.
3907 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
3908 call func directly.
3909 * nptl/Makefile (tests): Add tst-unwind-thread.
3910 (CFLAGS-tst-unwind-thread.c): Define.
3911 * nptl/tst-unwind-thread.c: New file.
3912 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
3913 as undefined.
3914
86140c62
JM
39152019-02-13 Joseph Myers <joseph@codesourcery.com>
3916
10756268
JM
3917 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
3918 comment wording.
3919 * nis/nis_call.c (__do_niscall3): Likewise.
3920
05383720
JM
3921 * catgets/gencat.c (normalize_line): Use braces around empty
3922 'else' body.
3923 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3924 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
3925 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
3926 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
3927 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
3928 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
3929 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
3930 definition.
3931
86140c62
JM
3932 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
3933 execlp returns.
3934
16f87cfd
WD
39352019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
3936
3937 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
3938 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
3939 * benchtests/bench-strchr.c (stupid_strchr): Remove.
3940 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
3941 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
3942 * benchtests/bench-strlen.c (builtin_strlen): Remove.
3943 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
3944 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
3945 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
3946 * benchtests/bench-strspn.c (stupid_strspn): Remove.
3947 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
3948 * benchtests/bench-bcopy.c: Delete file.
3949 * benchtests/bench-bzero.c: Likewise.
3950 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
3951 (simple_memccpy): Remove.
3952 (generic_memccpy): Add function.
3953 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
3954 * benchtests/bench-memmove.c (simple_bcopy): Remove.
3955 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
3956 (generic_mempcpy): Add new function.
3957 * benchtests/bench-memset.c (simple_bzero): Remove.
3958 (builtin_bzero): Remove.
3959 (builtin_memset): Remove.
3960 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
3961 (generic_rawmemchr): Add new function.
3962
0c6d82e9
FW
39632019-02-12 Florian Weimer <fweimer@redhat.com>
3964
3965 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
3966
b3fbfe81
AZ
39672019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3968
3969 [BZ #24122]
3970 * elf/Makefile (tests): Add tst-audit13.
3971 (modules-names): Add tst-audit13mod1.
3972 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3973 rule.
3974 * elf/tst-audit13.c: New file.
3975 * elf/tst-audit13mod1.c: Likewise.
3976
3b856d09
FW
39772019-02-12 Florian Weimer <fweimer@redhat.com>
3978
3979 [BZ #24122]
3980 * elf/rtld.c (unload_audit_module): New function.
3981 (report_audit_module_load_error): Likewise.
3982 (load_audit_module): Likewise. Extracted from dl_main. Call
3983 _dl_close if the laversion symbol cannot be found. Use early
3984 returns for error handling. Add malloc error check. Check for a
3985 zero return value from la_version. Remove spurious comment about
3986 static TLS initialization. Remove useless casts.
3987 (notify_audit_modules_of_loaded_object): New function. Extracted
3988 from dl_main.
3989 (load_audit_module): Likewise.
3990 (dl_main): Call load_audit_modules.
3991
32db86d5
JM
39922019-02-12 Joseph Myers <joseph@codesourcery.com>
3993
3994 * elf/dl-exception.c (_dl_exception_create_format): Add
3995 fall-through comments.
3996 * elf/ldconfig.c (parse_conf_include): Likewise.
3997 * elf/rtld.c (print_statistics): Likewise.
3998 * locale/programs/charmap.c (parse_charmap): Likewise.
3999 * misc/mntent_r.c (__getmntent_r): Likewise.
4000 * posix/wordexp.c (parse_arith): Likewise.
4001 (parse_backtick): Likewise.
4002 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
4003 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
4004 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4005
a51bc4fe
PC
40062019-02-11 Paul A. Clarke <pc@us.ibm.com>
4007
4008 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
4009 Use float instead of double.
4010
fb25b135
TS
40112019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
4012
4013 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
4014
32ea7299
JM
40152019-02-08 Joseph Myers <joseph@codesourcery.com>
4016
4017 * sysdeps/powerpc/bits/mathinline.h: Remove.
4018
eef4d4f8
FW
40192019-02-08 Florian Weimer <fweimer@redhat.com>
4020
4021 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
4022 * math/bits/math-finite.h: Move to ...
4023 * bits/math-finite.h: ... here.
4024
fdfbd47d
FW
40252019-02-08 Florian Weimer <fweimer@redhat.com>
4026
4027 * sysdeps/generic/bits/unistd_ext.h: Move to ...
4028 * bits/unistd_ext.h: here.
4029
11eb21c4
PF
40302019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
4031
4032 [BZ #21915]
4033 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
4034 * nss/tst-nss-files-hosts-long.c: New file.
4035 * nss/tst-nss-files-hosts-long.root: New directory.
4036 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
4037 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
4038
e47d82c9
FW
40392019-02-08 Florian Weimer <fweimer@redhat.com>
4040
4041 * include/bits/unistd_ext.h: Remove file.
4042 * posix/bits/unistd_ext.h: Move to ...
4043 * sysdeps/generic/bits/unistd_ext.h: ... here.
4044
8f89ab21
FW
40452019-02-08 Florian Weimer <fweimer@redhat.com>
4046
4047 * include/bits/unistd_ext.h: New file.
4048
144a794e
TS
40492019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
4050
4051 * time/tst-strftime2.c: Use array_length macros instead of magic
4052 numbers.
4053
669ff911
FW
40542019-02-08 Florian Weimer <fweimer@redhat.com>
4055
4056 [BZ #24161]
4057 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
4058 argument.
4059 * nptl/register-atfork.c (__run_fork_handlers): Only perform
4060 locking if the new do_locking argument is true.
4061 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
4062 __run_fork_handlers.
4063
d0bd87d4 40642019-02-08 Florian Weimer <fweimer@redhat.com>
1d0fc213
FW
4065
4066 [BZ #6399]
4067 Linux: Add gettid system call wrapper.
4068 * posix/Makefile (headers): Add bits/unistd_ext.h.
4069 * posix/bits/unistd_ext.h: New file.
4070 * posix/unistd.h: Include it.
4071 * manual/process.texi (Process Identification): Document gettid.
4072 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
4073 tst-gettid, tst-gettid-kill.
4074 (tst-gettid): Link with $(shared-thread-library).
4075 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
4076 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
4077 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
4078 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
4079 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
4080 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
4081 Add gettid.
4082 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
4083 Likewise.
4084 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
4085 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
4086 Likewise.
4087 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
4088 Likewise.
4089 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
4090 Likewise.
4091 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
4092 Likewise.
4093 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
4094 Likewise.
4095 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
4096 Likewise.
4097 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
4098 Likewise.
4099 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4100 (GLIBC_2.30): Likewise.
4101 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4102 (GLIBC_2.30): Likewise.
4103 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4104 (GLIBC_2.30): Likewise.
4105 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4106 (GLIBC_2.30): Likewise.
4107 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
4108 Likewise.
4109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4110 (GLIBC_2.30): Likewise.
4111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4112 (GLIBC_2.30): Likewise.
4113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
4114 (GLIBC_2.30): Likewise.
4115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
4116 (GLIBC_2.30): Likewise.
4117 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
4118 Likewise.
4119 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
4120 Likewise.
4121 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
4122 Likewise.
4123 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
4124 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
4125 Likewise.
4126 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
4127 Likewise.
4128 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
4129 Likewise.
4130 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
4131 Likewise.
4132 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
4133
225d9445 41342019-02-08 Florian Weimer <fweimer@redhat.com>
f289e656
FW
4135
4136 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
4137 compatibility symbols.
4138
823624bd
SL
41392019-02-07 Stefan Liebler <stli@linux.ibm.com>
4140
4141 [BZ #24180]
4142 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4143 Add compiler barriers and comments.
4144
8311c83f
FW
41452019-02-07 Florian Weimer <fweimer@redhat.com>
4146
4147 * include/array_length.h (array_length): Do not use a statement
4148 expression and _Static_assert, so that array_length can be used at
4149 file scope and as a constant expression.
4150
94b63e66
FW
41512019-02-07 Florian Weimer <fweimer@redhat.com>
4152
4153 * support/xdlfcn.h (xdlmopen): Declare.
4154 * support/xdlmopen.c: New file.
4155 * support/Makefile (libsupport-routines): Add xdlmopen.
4156
c2d8f0b7
JM
41572019-02-06 Joseph Myers <joseph@codesourcery.com>
4158
4159 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
4160 before return type, without separate inline.
4161 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
4162 * elf/dl-tunables.h (tunable_is_name): Likewise.
4163 * malloc/malloc.c (do_set_trim_threshold): Likewise.
4164 (do_set_top_pad): Likewise.
4165 (do_set_mmap_threshold): Likewise.
4166 (do_set_mmaps_max): Likewise.
4167 (do_set_mallopt_check): Likewise.
4168 (do_set_perturb_byte): Likewise.
4169 (do_set_arena_test): Likewise.
4170 (do_set_arena_max): Likewise.
4171 (do_set_tcache_max): Likewise.
4172 (do_set_tcache_count): Likewise.
4173 (do_set_tcache_unsorted_limit): Likewise.
4174 * nis/nis_subr.c (count_dots): Likewise.
4175 * nptl/allocatestack.c (advise_stack_range): Likewise.
4176 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
4177 (do_sin): Likewise.
4178 (reduce_sincos): Likewise.
4179 (do_sincos): Likewise.
4180 * sysdeps/unix/sysv/linux/x86/elision-conf.c
4181 (do_set_elision_enable): Likewise.
4182 (TUNABLE_CALLBACK_FNDECL): Likewise.
4183
3b935595
FW
41842019-02-06 Florian Weimer <fweimer@redhat.com>
4185
4186 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
4187 (xdlsym): Use dlerror to detect a NULL symbol.
4188
b4333340
FW
41892019-02-06 Florian Weimer <fweimer@redhat.com>
4190
4191 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
4192 <stap-probe.h>.
4193 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4194
b6d8a999
SL
41952019-02-06 Stefan Liebler <stli@linux.ibm.com>
4196
4197 * libio/tst-bz24153.c (wide): Use wide char format specifier.
4198
94eeeec0
SL
41992019-02-06 Stefan Liebler <stli@linux.ibm.com>
4200
4201 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
4202 __wmemcmp and weak alias to wmemcmp.
4203
bc79db3f
SL
42042019-02-06 Stefan Liebler <stli@linux.ibm.com>
4205
4206 [BZ #23403]
4207 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
4208 TLS_TCB_AT_TP tls variant.
4209 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
4210 Add alignment checks.
4211 * support/Makefile (libsupport-routines): Add xposix_memalign and
4212 xpthread_setstack.
4213 * support/support.h: Add xposix_memalign.
4214 * support/xthread.h: Add xpthread_attr_setstack.
4215 * support/xposix_memalign.c: New File.
4216 * support/xpthread_attr_setstack.c: Likewise.
4217
f1ac7455
FW
42182019-02-05 Florian Weimer <fweimer@redhat.com>
4219
4220 [BZ #24164]
4221 arm: Use "nr" constraint for Systemtap probes, to avoid the
4222 compiler using memory operands for constants, due to the "o"
4223 alternative in the default "nor" constraint.
4224 * include/stap-probe.h [USE_STAP_PROBE]: Include
4225 <stap-probe-machine.h>
4226 * sysdeps/generic/stap-probe-machine.h: New file.
4227 * sysdeps/arm/stap-probe-machine.h: Likewise.
4228
7a0dcfc6
JM
42292019-02-04 Joseph Myers <joseph@codesourcery.com>
4230
77dc0d86
JM
4231 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
4232 with 0, not tcache->entries[tc_idx].
4233
7a0dcfc6
JM
4234 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
4235 once.
4236
65f7767a
AS
42372019-02-04 Andreas Schwab <schwab@suse.de>
4238
4239 [BZ #16976]
4240 [BZ #17396]
4241 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
4242 looking up collating elements match against (wide) character
4243 sequence instead of name. Correct alignment adjustment.
4244 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
4245 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
4246 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
4247 (LOCALES): Add cs_CZ.ISO-8859-2.
4248 * posix/tst-fnmatch4.c: New file.
4249 * posix/tst-fnmatch5.c: New file.
4250 * include/wchar.h (__wmemcmp): Declare.
4251 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
4252 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
4253 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
4254 * sysdeps/s390/wmemcmp.c: Likewise.
4255
3f635fb4
L
42562019-02-04 H.J. Lu <hongjiu.lu@intel.com>
4257
4258 [BZ #24155]
4259 CVE-2019-7309
4260 * NEWS: Updated for CVE-2019-7309.
4261 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
4262 upper 32 bits of RDX register for x32. Use unsigned Jcc
4263 instructions, instead of signed.
4264 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
4265 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
4266
2ab5741b
FW
42672019-02-04 Florian Weimer <fweimer@redhat.com>
4268
4269 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
4270 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
4271 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
4272 Likewise.
4273 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
4274 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
4275 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
4276 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
4277 Likewise.
4278 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
4279 Likewise.
4280 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
4281 Likewise.
4282 (posix_spawn_file_actions_addopen): Likewise.
4283 (posix_spawn_file_actions_addclose): Likewise.
4284 (posix_spawn_file_actions_adddup2): Likewise.
4285 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
4286 qualifiers.
4287 (posix_spawn_file_actions_addfchdir_np): Likewise.
4288
8692ebdb
DN
42892019-02-04 David Newall <glibc@davidnewall.com>
4290
4291 elf: Implement --preload option for the dynamic linker.
4292 * elf/rtld.c (preloadarg): New variable.
4293 (handle_preload_list): Pass through “where” argument to
4294 do_preload.
4295 (dl_main): Handle "--preload" and add second call to
4296 handle_preload_list.
4297 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
4298 (tst-rtld-preload-OBJS): Set variable.
4299 (tst-rtld-preload.out): New target.
4300 * elf/tst-rtld-preload.sh: New file.
4301
5e10136b
MM
43022019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
4303
4304 * Makefile (testrun.sh): Exit in case of incorrect argument.
4305
221baae0
FW
43062019-02-04 Florian Weimer <fweimer@redhat.com>
4307
4308 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
4309 alignment gaps.
4310
b8c72381
FW
43112019-02-03 Florian Weimer <fweimer@redhat.com>
4312
4313 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
4314 implicit overflow checks.
4315
11f382ee
AJ
43162019-02-03 Aurelien Jarno <aurelien@aurel32.net>
4317
4318 * stdlib/isomac.c: Include <unistd.h>.
4319
77c7d55e
FW
43202019-02-03 Florian Weimer <fweimer@redhat.com>
4321
4322 * include/time.h (__tzfile_default): Use int, not long int, for
4323 the GMT offsets.
4324 * time/tzfile.c (struct ttinfo): Change type of the offset member
4325 to int.
4326 (__tzfile_read): Remove useless cast.
4327 (__tzfile_default): Adjust prototype.
4328 * time/tzset.c (tz_rule): Change type of the offset member to int.
4329 (parse_offset): Change the type of the sign variable to int.
4330
ee9941f9
FW
43312019-02-03 Florian Weimer <fweimer@redhat.com>
4332
4333 [BZ #24153]
4334 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
4335 * libio/getchar.c (getchar): Likewise.
4336 * libio/getchar_u.c (getchar_unlocked): Likewise.
4337 * libio/getwchar.c (getwchar): Likewise.
4338 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4339 * libio/iogets.c (_IO_gets): Likewise.
4340 * libio/vscanf.c (_IO_vscanf): Likewise.
4341 * libio/vwscanf.c (__vwscanf): Likewise.
4342 * libio/tst-bz24153.c: New file.
4343 * libio/Makefile (tests): Add it.
4344
c70824b9
FW
43452019-02-02 Florian Weimer <fweimer@redhat.com>
4346
4347 [BZ #14829]
4348 * manual/resource.texi (Basic Scheduling Functions): Add
4349 portability note. Change process to task throughout the section.
4350 Remove incorrect comment about sched_yield as it affects
4351 tasks/threads, not entire processes.
4352 * sysdeps/unix/sysv/linux/bits/posix_opt.h
4353 (_POSIX_PRIORITY_SCHEDULING): Update comment.
4354
4dcbbc3b
JM
43552019-02-01 Joseph Myers <joseph@codesourcery.com>
4356
4357 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
4358 * configure: Regenerated.
4359 * manual/install.texi (Tools for Compilation): Update minimum GCC
4360 version.
4361 * INSTALL: Regenerated.
4362
6175507c
FW
43632019-02-01 Florian Weimer <fweimer@redhat.com>
4364
4365 * support/support_test_compare_string.c
4366 (support_test_compare_string): Use "string" in error message.
4367 * support/tst-test_compare_string.c (do_test): Adjust.
4368
baef1943
FW
43692019-02-01 Florian Weimer <fweimer@redhat.com>
4370
4371 * support/support_format_address_family.c
4372 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
4373
395599f0
FW
43742019-02-01 Florian Weimer <fweimer@redhat.com>
4375
4376 * manual/socket.texi (Internet Address Formats): Clarify the byte
4377 order of struct sockaddr_in, struct sockaddr_in6. Document
4378 sin6_flowinfo and sin6_scope_id.
4379
b06f4c00
WD
43802019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
4381
4382 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
4383 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
4384 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
4385 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
4386 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
4387 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
4388
83d1cc42
FX
43892019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4390
4391 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
4392 [!MEMCHR](MEMCHR): Set to __memchr.
4393 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
4394 Add memchr_generic and memchr_nosimd.
4395 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
4396 (__libc_ifunc_impl_list): Add memchr ifuncs.
4397 * sysdeps/aarch64/multiarch/memchr.c: New file.
4398 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
4399 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
4400
c7d3890f
FX
44012019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4402
4403 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
4404 Add memset_emag.
4405 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
4406 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
4407 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
4408 Add IS_EMAG check for ifunc dispatch.
4409 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
4410 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
4411
07c3d1ec
FX
44122019-02-01 Feng Xue <fxue@os.amperecomputing.com>
4413
4414 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
4415 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4416 Add emag.
4417 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
4418 New macro.
4419
114f792e
SL
44202019-02-01 Stefan Liebler <stli@linux.ibm.com>
4421
4422 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
4423
d5627550
VG
44242019-01-31 Vineet Gupta <vgupta@synopsys.com>
4425
4426 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
4427 syscall-template file.
4428
5fc9ed4c
CD
44292019-01-31 Carlos O'Donell <carlos@redhat.com>
4430 Torvald Riegel <triegel@redhat.com>
4431 Rik Prohaska <prohaska7@gmail.com>
4432
4433 [BZ# 23844]
4434 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
4435 tst-rwlock-trywrlock-stall.
4436 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4437 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
4438 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
4439 Set __wrphase_fute to 1 only if we started the write phase.
4440 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
4441 * nptl/tst-rwlock-trywrlock-stall.c: New file.
4442 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
4443 * support/xpthread_rwlock_destroy.c: New file.
4444 * support/xthread.h: Declare xpthread_rwlock_destroy.
4445
932329a5
JM
44462019-02-01 Joseph Myers <joseph@codesourcery.com>
4447
4448 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
4449 version to 4.0.2.
4450
5f10701f
PP
44512019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4452
4453 [BZ #24051]
4454 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
4455 * libio/fileops.c (_IO_new_file_underflow): Likewise
4456 * libio/wfileops.c (_IO_wfile_underflow): Likewise
4457 * libio/putchar.c (putchar): Likewise.
4458 * libio/putchar_u.c (putchar_unlocked): Likewise.
4459 * libio/putwchar.c (putchar): Likewise.
4460 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
4461 * libio/tst-bz24051.c: New test.
4462 * libio/Makefile (tests): Add tst-bz24051
4463
583dd860
PE
44642019-01-31 Paul Eggert <eggert@cs.ucla.edu>
4465
b626c5aa 4466 CVE-2019-9169
583dd860
PE
4467 regex: fix read overrun [BZ #24114]
4468 Problem found by AddressSanitizer, reported by Hongxu Chen in:
4469 https://debbugs.gnu.org/34140
4470 * posix/regexec.c (proceed_next_node):
4471 Do not read past end of input buffer.
4472
2bac7daa
FW
44732019-01-31 Florian Weimer <fweimer@redhat.com>
4474
4475 [BZ #24059]
4476 * nss/nss_files/files-alias.c (get_next_alias): Handle
4477 continuation line without newline at the end.
4478 * nss/tst-nss-files-alias-truncated.c: New file.
4479 * nss/Makefile [$(build-shared)] (tests): Add
4480 tst-nss-files-alias-truncated.
4481 (tst-nss-files-alias-truncated): Link with libnss_files.so.
4482 * support/namespace.h (struct support_chroot_configuration): Add
4483 aliases member.
4484 (struct support_chroot): Add path_aliases member.
4485 * support/support_chroot.c (support_chroot_create): Handle
4486 aliases.
4487 (support_chroot_free): Free path_aliases.
4488
330c9d0d
SP
44892019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
4490
de44ab67
SP
4491 * version.h (RELEASE): Set to "development".
4492 (VERSION): Set to "2.29.9000".
4493 * NEWS: Add section for 2.30.
4494
56c86f5d
SP
4495 * version.h (RELEASE): Set to "stable".
4496 (VERSION): Set to "2.29".
4497 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
4498
330c9d0d
SP
4499 * NEWS: Add the list of bugs fixed in 2.29.
4500 * manual/contrib.texi: Update contributors list with some more
4501 names.
4502 * manual/install.texi: Update latest versions of packages
4503 tested.
4504 * INSTALL: Regenerated.
4505
e1e47c91
SP
45062019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
4507
4508 * po/be.po: Update translations.
4509 * po/bg.po: Likewise.
4510 * po/ca.po: Likewise.
4511 * po/cs.po: Likewise.
4512 * po/da.po: Likewise.
4513 * po/de.po: Likewise.
4514 * po/el.po: Likewise.
4515 * po/eo.po: Likewise.
4516 * po/es.po: Likewise.
4517 * po/fi.po: Likewise.
4518 * po/fr.po: Likewise.
4519 * po/gl.po: Likewise.
4520 * po/hr.po: Likewise.
4521 * po/hu.po: Likewise.
4522 * po/ia.po: Likewise.
4523 * po/id.po: Likewise.
4524 * po/it.po: Likewise.
4525 * po/ja.po: Likewise.
4526 * po/ko.po: Likewise.
4527 * po/lt.po: Likewise.
4528 * po/nb.po: Likewise.
4529 * po/nl.po: Likewise.
4530 * po/pl.po: Likewise.
4531 * po/pt_BR.po: Likewise.
4532 * po/ru.po: Likewise.
4533 * po/rw.po: Likewise.
4534 * po/sk.po: Likewise.
4535 * po/sl.po: Likewise.
4536 * po/sv.po: Likewise.
4537 * po/tr.po: Likewise.
4538 * po/uk.po: Likewise.
4539 * po/vi.po: Likewise.
4540 * po/zh_CN.po: Likewise.
4541 * po/zh_TW.po: Likewise.
4542
8d016826
UB
45432019-01-24 Uroš Bizjak <ubizjak@gmail.com>
4544
4545 [BZ #24130]
4546 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
4547 of $f3 register on $y_is_neg path.
4548
a0bb5abd
ST
45492019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
4550
b96e22d0 4551 [BZ #24110]
a0bb5abd
ST
4552 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
4553 sigaltstack.ss_flags.
4554
b22eed37
TS
45552019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
4556
4557 [BZ #23758]
4558 * manual/time.texi (strftime): Document "%Ey".
4559 * time/strftime_l.c (__strftime_internal): Set the default width
4560 padding with zero of "%Ey" to 2.
4561
32f600a2
TS
4562 [BZ #24096]
4563 * manual/time.texi (strftime): Document "%EC" and "%EY".
4564 * time/Makefile (tests): Add tst-strftime2.
4565 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
4566 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
4567 override padding for "%Ey".
4568 If an optional flag ('_' or '-') is specified to "%EY", interpret the
4569 "%Ey" in the subformat as if decorated with that flag.
4570 * time/tst-strftime2.c: New file.
4571
8e889c5d
AZ
45722019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4573
3367acdb
AZ
4574 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
4575 are not defined.
4576
8e889c5d
AZ
4577 [BZ #24122]
4578 * elf/Makefile (tests): Add tst-audit13.
4579 (modules-names): Add tst-audit13mod1.
4580 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
4581 rule.
4582 * elf/rtld.c (dl_main): Handle invalid audit module version.
4583 * elf/tst-audit13.c: New file.
4584 * elf/tst-audit13mod1.c: Likewise.
4585
a95dc01c
ST
45862019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
4587
4588 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
4589 returned by __hurd_at_flags.
ee4d7902
ST
4590 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
4591 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
4592 directly instead of __hurd_file_name_lookup.
a95dc01c 4593
712f1167
JM
45942019-01-21 Joseph Myers <joseph@codesourcery.com>
4595
4596 * scripts/build-many-glibcs.py (Context.checkout): Default
4597 binutils version to 2.32 branch.
4598
108bc404
FW
45992019-01-21 Florian Weimer <fweimer@redhat.com>
4600
4601 [BZ #20018]
4602 CVE-2016-10739
4603 resolv: Reject trailing characters in host names
4604 * include/arpa/inet.h (__inet_aton_exact): Declare.
4605 (inet_aton): Remove hidden prototype. No longer used internally.
4606 * nscd/gai.c (__inet_aton): Do not define.
4607 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
4608 * nss/digits_dots.c (__inet_aton): Likewise.
4609 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
4610 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
4611 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
4612 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
4613 (tst-resolv-trailing): Likewise.
4614 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
4615 libc.
4616 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
4617 Make static. Add endp parameter.
4618 (__inet_aton_exact): New function.
4619 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
4620 (__inet_addr): Call inet_aton_end.
4621 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
4622 not just IPv6. Call __inet_aton_exact.
4623 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
4624 (tests): Make const. Add additional test cases with trailing
4625 characters.
4626 (do_test): Use array_length.
4627 * resolv/tst-inet_aton_exact.c: New file.
4628 * resolv/tst-resolv-trailing.c: Likewise.
4629 * resolv/tst-resolv-nondecimal.c: Likewise.
4630 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
4631
5165de69
L
46322019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4633
4634 [BZ# 24097]
4635 CVE-2019-6488
4636 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
4637 Clear the upper 32 bits of RSI register.
4638 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
4639 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
4640 and tst-size_t-wcsnlen.
4641 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
4642 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
4643
c7c54f65
L
46442019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4645
4646 [BZ# 24097]
4647 CVE-2019-6488
4648 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
4649 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4650 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4651 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
4652 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
4653
ee915088
L
46542019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4655
4656 [BZ# 24097]
4657 CVE-2019-6488
4658 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
4659 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4660 * sysdeps/x86_64/strcmp.S: Likewise.
4661 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
4662 tst-size_t-strncmp and tst-size_t-wcsncmp.
4663 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
4664 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
4665 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
4666
82d0b4a4
L
46672019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4668
4669 [BZ# 24097]
4670 CVE-2019-6488
4671 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
4672 RDX_LP for length. Clear the upper 32 bits of RDX register.
4673 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
4674 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
4675 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
4676 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
4677
ecd8b842
L
46782019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4679
4680 [BZ# 24097]
4681 CVE-2019-6488
4682 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
4683 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
4684 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
4685 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
4686
231c5676
L
46872019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4688
4689 [BZ# 24097]
4690 CVE-2019-6488
4691 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
4692 length. Clear the upper 32 bits of RDX register.
4693 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4694 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
4695 Likewise.
4696 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4697 Likewise.
4698 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
4699 tst-size_t-wmemchr.
4700 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
4701
b304fc20
L
47022019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4703
4704 [BZ# 24097]
4705 CVE-2019-6488
4706 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
4707 length. Clear the upper 32 bits of RDX register.
4708 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4709 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4710 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
4711 tst-size_t-wmemcmp.
4712 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
4713 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
4714
97700a34
L
47152019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4716
4717 [BZ# 24097]
4718 CVE-2019-6488
4719 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
4720 upper 32 bits of RDX register.
4721 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
4722 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
4723 tst-size_t-wmemchr.
4724 * sysdeps/x86_64/x32/test-size_t.h: New file.
4725 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
4726 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
4727
6ca53a24
FW
47282019-01-18 Florian Weimer <fweimer@redhat.com>
4729
4730 [BZ #24112]
4731 resolv: Do not send queries for non-host-names in nss_dns.
4732 * resolv/nss_dns/dns-host.c (check_name): New function.
4733 (_nss_dns_gethostbyname2_r): Use it.
4734 (_nss_dns_gethostbyname_r): Likewise.
4735 (_nss_dns_gethostbyname4_r): Likewise.
4736
5e30b8ef
FW
47372019-01-21 Florian Weimer <fweimer@redhat.com>
4738
4739 * resolv/inet_addr.c: Reformat to GNU style.
4740 (__inet_addr, __inet_aton): Update comment.
4741
71effcea
FW
47422019-01-18 Florian Weimer <fweimer@redhat.com>
4743
4744 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
4745 ("malloc: Use current (C11-style) atomics for fastbin access").
4746 This commit introduces a substantial performance regression on
4747 POWER and Aarch64.
4748 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
4749 (REMOVE_FB): Define.
4750 (_int_malloc): Use it and reindent.
4751 (_int_free): Use CAS loop with
4752 catomic_compare_and_exchange_val_rel.
4753 (malloc_consolidate): Use atomic_exchange_acq.
4754
4755
562f4362
L
47562019-01-18 H.J. Lu <hongjiu.lu@intel.com>
4757
4758 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
4759 -Wl,-z,now.
4760 (LDFLAGS-tst-minsigstksz-2): Likewise.
4761 (LDFLAGS-tst-minsigstksz-3): Likewise.
4762 (LDFLAGS-tst-minsigstksz-3a): Likewise.
4763 (LDFLAGS-tst-minsigstksz-4): Likewise.
4764
80dfa298
TS
47652019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
4766
4767 * manual/time.texi (strftime): Fix the wording to "alternative" rather
4768 than "alternate".
4769
008b598e
PC
47702019-01-16 Paul A. Clarke <pc@us.ibm.com>
4771
4772 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
4773
fbbc9a4e
ZW
47742019-01-16 Zack Weinberg <zackw@panix.com>
4775
6b5c8607
TS
4776 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
4777 (xget_sigstack_location): New test support functions.
4778 * support/xsigstack.c: New file, implementing them.
4779 * support/tst-xsigstack.c: New test for them.
4780 * support/Makefile: Update.
fbbc9a4e 4781
6b5c8607
TS
4782 * signal/tst-minsigstksz-1.c
4783 * signal/tst-minsigstksz-2.c
4784 * signal/tst-minsigstksz-3.c
4785 * signal/tst-minsigstksz-3a.c
4786 * signal/tst-minsigstksz-4.c: New tests.
4787 * signal/Makefile: Run them.
fbbc9a4e 4788
5f1135e4
SP
47892019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
4790
4791 * po/libc.pot: Regenerate.
4792
ecdacd34
TMQMF
47932019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4794
4795 * math/libm-test-fma.inc (fma_test_data): Set
4796 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
4797
56054664
RA
47982019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4799
4800 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
4801 (do_test): Changed __vector __int128_t to __vector unsigned int.
4802
1a153e47
LS
48032019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4804
4805 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4806 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
4807 stpcpy-avx2 and stpncpy-avx2.
4808 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
4809 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
4810 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
4811 and __stpncpy_avx2.
4812 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
4813 ifunc-strcpy.h}: rename header for a more generic name.
4814 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
4815 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
4816 AVX unaligned load is fast and vzeroupper is preferred.
4817 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
4818 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
4819 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
4820 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
4821 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
4822 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
4823
a1b02ae7
DL
48242019-01-12 Dmitry V. Levin <ldv@altlinux.org>
4825
4826 * argp/argp-help.c: Fix typo in comment.
4827 * misc/sys/cdefs.h: Likewise.
4828 * posix/regexec.c (sift_states_iter_mb): Likewise.
4829 * socket/sockatmark.c: Likewise.
4830 * socket/sys/socket.h: Likewise.
4831 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
4832 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
4833 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
4834 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4835 * sysdeps/unix/sockatmark.c: Likewise.
4836 * time/strptime_l.c: Likewise.
4837
5cbbf01e
TS
48382019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
4839
4840 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
4841 missing space after the cast of "_NL_CURRENT".
4842
0bc9bdf1
RA
48432019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4844
4845 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
4846 ifdef to fix read of VSCR.
4847 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
4848 tst-ucontext-ppc64-vscr.c to test list.
4849 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
4850
5494af04
AH
48512019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
4852
4853 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
4854 fall-through.
4855
e17f63ff
JW
48562019-01-09 Jim Wilson <jimw@sifive.com>
4857
4858 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
4859
02f440c1
WD
48602019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
4861
4862 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
4863 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
4864 __memcpy_falkor for ares.
4865 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
4866 Add new define.
4867 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4868 Add ares cpu.
4869
69da3c9e
L
48702019-01-07 H.J. Lu <hongjiu.lu@intel.com>
4871
4872 [BZ #24066]
4873 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
4874 4_FP_W_TYPEs are used for IEEE quad precision.
4875 * soft-fp/extendhftf2.c: Likewise.
4876 * soft-fp/extendsftf2.c: Likewise.
4877 * soft-fp/extendxftf2.c: Likewise.
4878 * soft-fp/trunctfdf2.c: Likewise.
4879 * soft-fp/trunctfhf2.c: Likewise.
4880 * soft-fp/trunctfsf2.c: Likewise.
4881 * soft-fp/trunctfxf2.c: Likewise.
4882 * sysdeps/alpha/ots_cvttx.c: Likewise.
4883 * sysdeps/alpha/ots_cvtxt.c: Likewise.
4884 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
4885 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
4886 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
4887 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
4888 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
4889 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
4890 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
4891 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
4892 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
4893 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
4894 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
4895 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
4896 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
4897 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
4898 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
4899 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
4900
2ef42716
AJ
49012019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4902
4903 [BZ #24024]
4904 * Makeconfig: Build libm with -fno-math-errno but build the remaining
4905 code with -fmath-errno.
4906 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
4907 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
4908 * string/test-strerror-errno.c: New file.
4909
7395f3a0
AJ
49102019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4911
4912 [BZ #24046]
4913 * localedata/locales/en_US (date_fmt): Add, set to
4914 "%a %d %b %Y %r %Z".
4915
010fe231
FW
49162019-01-07 Florian Weimer <fweimer@redhat.com>
4917
4918 [BZ #24063]
4919 * manual/arith.texi (Math Error Reporting): Use @code{errno}
4920 instead of @var{errno}.
4921 (Parsing of Integers): Likewise.
4922 (Parsing of Floats): Likewise.
4923 * manual/filesys.texi (Working with Directory Trees): Likewise.
4924 (Temporary Files): Likewise.
4925 * manual/job.texi (Terminal Access Functions): Likewise.
4926 * manual/llio.texi (Synchronizing I/O): Likewise.
4927 * manual/math.texi (SVID Random): Likewise.
4928 * manual/message.texi (The catgets Functions): Likewise.
4929 (Translation with gettext): Likewise.
4930 (Locating gettext catalog): Likewise.
4931 (Charset conversion in gettext): Likewise.
4932 * manual/nss.texi (NSS Module Function Internals): Likewise.
4933 * manual/search.texi (Hash Search Function): Likewise.
4934 * manual/setjmp.texi (System V contexts): Likewise.
4935 * manual/time.texi (Sleeping): Likewise.
4936 * manual/users.texi (Lookup User): Likewise.
4937 (Lookup Group): Likewise.
4938
b79dc8d0
AZ
49392019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4940
4941 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
4942 fix typo.
4943
890461fe 49442019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
27c5e756
MJ
4945
4946 [BZ #19444]
4947 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
4948 __builtin_unreachable for default case in switch.
4949 (__ieee754_yn): Likewise.
4950 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4951 (__ieee754_ynl): Likewise.
4952 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4953 (__ieee754_ynl): Likewise.
4954 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4955 (__ieee754_ynl): Likewise.
4956
8b18d418
SN
49572019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
4958
4959 * manual/maint.texi: Use @{ and @}.
4960
4392898d
FW
49612019-01-04 Florian Weimer <fweimer@redhat.com>
4962
4963 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
4964 function.
4965 (do_in_chroot_1): Call it.
4966 (run_chroot_tests):
4967 Improve error reporting in case it is not possible to create a
4968 collision for the PTY name required by the test.
4969
17cc27d5
AZ
49702019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4971
ce7eb0e9
AZ
4972 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
4973 lll_wait_tid with timeout.
4974 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
4975 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
4976 futex_reltimed_wait_cancelable for cancelabla mode.
4977 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
4978 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
4979 macros.
4980 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
4981 * sysdeps/posix/waitid.c (__sigwait): Likewise.
4982 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
4983 SYSCALL_CANCEL_NCS): New macro.
4984 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
4985 (lll_timedwait_tid): Remove macro.
4986 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
4987 Likewise.
4988 (lll_timedwait_tid): Likewise.
4989 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
4990 Likewise.
4991 (lll_timedwait_tid): Likewise.
4992 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
4993 Likewise.
4994 (lll_timedwait_tid): Likewise.
4995 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
4996 Use INTERNAL_SYSCALL_CANCEL.
4997 * sysdeps/unix/sysv/linux/futex-internal.h
4998 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
4999 instead of __pthread_{enable,disable}_asynccancel.
5000 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
5001 (lll_futex_wait_cancel): New macro.
5002
0b13e255
AZ
5003 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
5004 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
5005
85c828a4
AZ
5006 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
5007 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
5008
d0d7f85f
AZ
5009 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
5010 in backtrace analysis.
5011 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
5012 side-effects.
5013 (tf_send): Likewise.
5014
17cc27d5
AZ
5015 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
5016 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
5017 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
5018 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
5019 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
5020 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
5021 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
5022 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
5023 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
5024 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
5025 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
5026 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
5027 Likewise.
5028 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
5029 tst-cancel-wrappers.sh.
5030 (generated): Remove tst-cancel-wrappers.out.
5031 (tst-cancel-wrappers.out): Remove rule.
5032 * nptl/tst-cancel-wrappers.sh: Remove file.
5033
7d7af8f1
SN
50342019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
5035
5036 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
5037 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
5038 Update.
5039
805334b2
AZ
50402019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5041
5042 [BZ #23640]
5043 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
5044 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
5045 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
5046 close-on-exec reset for adddup2 file action.
5047 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
5048
03992356
ZW
50492019-01-03 Zack Weinberg <zackw@panix.com>
5050
5051 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
5052 parameter. Only use deprecated scanf when __USE_GNU is defined
5053 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
5054 than 201103L, whichever is relevant for the language being compiled.
5055
5056 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
5057 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
5058 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
5059 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
5060 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
5061
5062 * libio/iovsscanf.c
5063 * libio/fwscanf.c
5064 * libio/iovswscanf.c
5065 * libio/swscanf.c
5066 * libio/vscanf.c
5067 * libio/vwscanf.c
5068 * libio/wscanf.c
5069 * stdio-common/fscanf.c
5070 * stdio-common/scanf.c
5071 * stdio-common/vfscanf.c
5072 * stdio-common/vfwscanf.c
5073 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5074 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
5075 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
5076 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
5077 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
5078 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
5079 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
5080 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
5081 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
5082 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
5083 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
5084 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
5085 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
5086 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
5087 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
5088
5089 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
5090 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
5091 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
5092 not sscanf.
5093 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
5094 with a preprocessor macro.
5095
5096 * stdio-common/bug21.c, stdio-common/scanf14.c:
5097 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
5098 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
5099 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
5100 to xscanf, xfscanf, xsscanf.
5101
5102 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
5103 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
5104 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
5105 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
5106 xfscanf, xsscanf.
5107 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
5108 override feature selection macros or provide definitions of u_char etc.
5109 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
5110 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
5111 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
5112 with -std=gnu89.
5113
8083afa5
AZ
51142019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5115
6f343c1f
AZ
5116 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5117 bits/termios-misc.h.
5118 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
5119 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5120 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5121 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5122 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
5123 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
5124
51f4beb0
AZ
5125 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
5126 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
5127 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
5128 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
5129 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
5130 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
5131 termios-misc.h.
5132 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
5133 (sysdep_headers): Add termios-misc.h.
5134
f69c5cb2
AZ
5135 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
5136 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5137 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5138
3aa4a07e
AZ
5139 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5140 termios-tcflow.h.
5141 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
5142 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
5143 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
5144 TCSAFLUSH): Move to termios-tcflow.h.
5145 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5146 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5147 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5148 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5149
22679ddf
AZ
5150 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5151 termios-c_lflag.h.
5152 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
5153 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
5154 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
5155 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
5156 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
5157 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
5158 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
5159 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
5160 Likewise.
5161 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5162 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5163 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5164 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5165
72eb6ecc
AZ
5166 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5167 termios-c_cflag.h.
5168 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
5169 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
5170 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
5171 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
5172 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
5173 termios-c_cflag.h.
5174 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5175 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5176 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5177 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5178
9c5d0d02
AZ
5179 [BZ #23783]
5180 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5181 termios-baud.h.
5182 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
5183 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
5184 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
5185 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
5186 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
5187 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
5188 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
5189 __MAX_BAUD): Move to termios-baud.h.
5190 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
5191 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
5192 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5193 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5194 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5195
7b832018
AZ
5196 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5197 termios-c_oflag.h.
5198 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
5199 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
5200 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
5201 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
5202 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
5203 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
5204 termios-c_oflag.h.
5205 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
5206 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
5207 FFR1): Likewise.
5208 [USE_MISC] (XTABS): Likewise.
5209 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5210 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5211 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5212 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
5213
3127003e
AZ
5214 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
5215 termios-c_iflag.h.
5216 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
5217 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
5218 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
5219 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
5220 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
5221 IUTF8): Move to termios-c_iflag.h.
5222 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5223 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5224 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5225 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5226
48c1dd96
AZ
5227 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
5228 termios-cc.h.
5229 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
5230 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
5231 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
5232 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
5233 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
5234 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
5235 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
5236 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
5237 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
5238 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5239 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5240 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5241
e5a50db3
AZ
5242 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
5243 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
5244 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
5245 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
5246 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5247 termios-struct.h.
5248 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
5249 termios-struct.h.
5250 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
5251 Likewise.
5252 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
5253 Likewise.
5254 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
5255 Likewise.
5256 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
5257 Likewise.
5258 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
5259 _HAVE_C_OSPEED): Define.
5260 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
5261 _HAVE_C_OSPEED): Likewise.
5262 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
5263 _HAVE_C_OSPEED): Likewise.
5264 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
5265 (cfsetospeed): Check for define value instead of existence.
5266 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
5267 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
5268 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
5269 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
5270 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
5271
8083afa5
AZ
5272 [BZ #17783]
5273 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
5274 Define.
5275 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
5276 (TIOCSER_TEMT): Likewise.
5277 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
5278 (TEOCSER_TEMT): Likewise.
5279
4d7d7dc6
P
52802019-01-02 PanderMusubi <pander@users.sourceforge.net>
5281
5282 [BZ #24011]
5283 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
5284
8e291a29
JM
52852019-01-02 Joseph Myers <joseph@codesourcery.com>
5286
5287 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
5288
55137f7d
ST
52892019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5290
5291 * sysdeps/htl/pt-barrierattr-setpshared.c
5292 (pthread_barrierattr_setpshared): Add stub warning.
5293 * sysdeps/htl/pt-condattr-setpshared.c
5294 (pthread_condattr_setpshared): Likewise.
5295 * sysdeps/htl/pt-mutexattr-setpshared.c
5296 (pthread_mutexattr_setpshared): Likewise.
5297 * sysdeps/htl/pt-rwlockattr-setpshared.c
5298 (pthread_rwlockattr_setpshared): Likewise.
5299 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
5300 (pthread_mutexattr_setpshared): Likewise.
5301
2ce09e01
JM
53022019-01-02 Joseph Myers <joseph@codesourcery.com>
5303
acb55dcb
JM
5304 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
5305 constants to match with Linux 4.20.
5306
2ce09e01
JM
5307 * sysdeps/mips/mips32/libm-test-ulps: Update.
5308 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5309
fe20bb1d
AJ
53102019-01-02 Aurelien Jarno <aurelien@aurel32.net>
5311
5312 [BZ #24034]
5313 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
5314 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
5315 than __typeof (...) for the a_ptr variable.
5316
2d9837c1
GG
53172019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5318
5319 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
5320 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
5321 * libio/Makefile (tests): Add tst-sprintf-ub and
5322 tst-sprintf-chk-ub.
5323 (CFLAGS-tst-sprintf-ub.c): New variable.
5324 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
5325 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
5326 destination buffer and check for overflows in fortified mode.
5327 * libio/libioP.h (PRINTF_CHK): New macro.
5328 * libio/tst-sprintf-chk-ub.c: New file.
5329 * libio/tst-sprintf-ub.c: Likewise.
5330
d5c6df0b 53312019-01-02 Florian Weimer <fweimer@redhat.com>
8c1aafc1
FW
5332
5333 [BZ #24018]
5334 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
5335 failure.
5336
66081e38
FW
53372019-01-02 Florian Weimer <fweimer@redhat.com>
5338
5339 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
5340
04277e02
JM
53412019-01-01 Joseph Myers <joseph@codesourcery.com>
5342
6ef3d225
JM
5343 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
5344 macro.
5345
e3d4e292
JM
5346 * sysdeps/unix/sysv/linux/netpacket/packet.h
5347 (PACKET_IGNORE_OUTGOING): New macro.
5348
f4507797
JM
5349 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
5350 macro.
5351
47ad5e1a
JM
5352 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5353 version to 4.20.
5354 (riscv_flush_icache): New syscall.
5355
7628a1b0
JM
5356 * manual/texinfo.tex: Update to version 2018-12-28.17 with
5357 trailing whitespace removed.
5358 * scripts/config.guess: Update to version 2019-01-01.
5359 * scripts/config.sub: Update to version 2019-01-01.
5360 * scripts/move-if-change: Update from gnulib.
5361
c9123888
JM
5362 * NEWS: Update copyright dates.
5363 * catgets/gencat.c (print_version): Likewise.
5364 * csu/version.c (banner): Likewise.
5365 * debug/catchsegv.sh: Likewise.
5366 * debug/pcprofiledump.c (print_version): Likewise.
5367 * debug/xtrace.sh (do_version): Likewise.
5368 * elf/ldconfig.c (print_version): Likewise.
5369 * elf/ldd.bash.in: Likewise.
5370 * elf/pldd.c (print_version): Likewise.
5371 * elf/sotruss.sh: Likewise.
5372 * elf/sprof.c (print_version): Likewise.
5373 * iconv/iconv_prog.c (print_version): Likewise.
5374 * iconv/iconvconfig.c (print_version): Likewise.
5375 * locale/programs/locale.c (print_version): Likewise.
5376 * locale/programs/localedef.c (print_version): Likewise.
5377 * login/programs/pt_chown.c (print_version): Likewise.
5378 * malloc/memusage.sh (do_version): Likewise.
5379 * malloc/memusagestat.c (print_version): Likewise.
5380 * malloc/mtrace.pl: Likewise.
5381 * manual/libc.texinfo: Likewise.
5382 * nptl/version.c (banner): Likewise.
5383 * nscd/nscd.c (print_version): Likewise.
5384 * nss/getent.c (print_version): Likewise.
5385 * nss/makedb.c (print_version): Likewise.
5386 * posix/getconf.c (main): Likewise.
5387 * scripts/test-installation.pl: Likewise.
5388 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5389
04277e02
JM
5390 * All files with FSF copyright notices: Update copyright dates
5391 using scripts/update-copyrights.
5392 * locale/programs/charmap-kw.h: Regenerated.
5393 * locale/programs/locfile-kw.h: Likewise.
5394
e740e5b1
JM
53952018-12-31 Joseph Myers <joseph@codesourcery.com>
5396
5397 * timezone/zdump.c: Update from tzcode 2018i.
5398 * timezone/zic.c: Likewise.
5399
9b7f98b3
PE
54002018-12-31 Paul Eggert <eggert@cs.ucla.edu>
5401
5402 regex: improve Gnulib port to AIX
5403 From the glibc point of view, this removes duplicate macro
5404 definitions and is obviously safe.
5405 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
5406 * posix/regex_internal.h:
5407 (__attribute__, __attribute_warn_unused_result__):
5408 Remove; already defined elsewhere.
5409
b50dd3bc
FW
54102018-12-31 Florian Weimer <fw@deneb.enyo.de>
5411
5412 [BZ #24027]
5413 * malloc/malloc.c (_int_realloc): Always call memcpy for the
5414 copying operation. (ncopies had the wrong type, resulting in an
5415 integer wraparound and too few elements being copied.)
5416
0b9c8490
L
54172018-12-31 H.J. Lu <hongjiu.lu@intel.com>
5418
5419 [BZ #24022]
5420 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
5421 <asm/syscalls.h> exists with __has_include__ before including it.
5422
01047fa6
JM
54232018-12-31 Joseph Myers <joseph@codesourcery.com>
5424
5425 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5426 version to 4.20.
5427
6b5c8607 54282018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
065957a3
JW
5429
5430 * hurd/lookup-retry: Include <unistd.h>.
5431 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
5432 Release it on return. Handle "pid" magical lookup retry.
5433
989182c4
RL
54342018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
5435
5436 [BZ #10496]
5437 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
5438 (t_fmt_ampm): Likewise.
5439 * localedata/locales/aa_ER (t_fmt): Likewise.
5440 (t_fmt_ampm): Likewise.
5441 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
5442 (t_fmt_ampm): Likewise.
5443 * localedata/locales/aa_ET (t_fmt): Likewise.
5444 (t_fmt_ampm): Likewise.
5445 * localedata/locales/am_ET (t_fmt): Likewise.
5446 (t_fmt_ampm): Likewise.
5447 * localedata/locales/byn_ER (t_fmt): Likewise.
5448 (t_fmt_ampm): Likewise.
5449 * localedata/locales/om_ET (t_fmt): Likewise.
5450 (t_fmt_ampm): Likewise.
5451 * localedata/locales/sid_ET (t_fmt): Likewise.
5452 (t_fmt_ampm): Likewise.
5453 * localedata/locales/so_DJ (t_fmt): Likewise.
5454 (t_fmt_ampm): Likewise.
5455 * localedata/locales/so_ET (t_fmt): Likewise.
5456 (t_fmt_ampm): Likewise.
5457 * localedata/locales/so_SO (t_fmt): Likewise.
5458 (t_fmt_ampm): Likewise.
5459 * localedata/locales/ti_ER (t_fmt): Likewise.
5460 (t_fmt_ampm): Likewise.
5461 * localedata/locales/ti_ET (t_fmt): Likewise.
5462 (t_fmt_ampm): Likewise.
5463 * localedata/locales/tig_ER (t_fmt): Likewise.
5464 (t_fmt_ampm): Likewise.
5465 * localedata/locales/wal_ET (t_fmt): Likewise.
5466 (t_fmt_ampm): Likewise.
5467
5468 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
5469 * localedata/locales/ar_IN (t_fmt): Likewise.
5470 * localedata/locales/bhb_IN (t_fmt): Likewise.
5471 * localedata/locales/bho_IN (t_fmt): Likewise.
5472 * localedata/locales/bi_VU (t_fmt): Likewise.
5473 * localedata/locales/bn_BD (t_fmt): Likewise.
5474 * localedata/locales/bn_IN (t_fmt): Likewise.
5475 * localedata/locales/brx_IN (t_fmt): Likewise.
5476 * localedata/locales/doi_IN (t_fmt): Likewise.
5477 * localedata/locales/en_HK (t_fmt): Likewise.
5478 (t_fmt_ampm): Likewise.
5479 * localedata/locales/en_IN (t_fmt): Likewise.
5480 * localedata/locales/en_PH (t_fmt): Likewise.
5481 * localedata/locales/gu_IN (t_fmt): Likewise.
5482 * localedata/locales/hi_IN (t_fmt): Likewise.
5483 * localedata/locales/hif_FJ (t_fmt): Likewise.
5484 * localedata/locales/hne_IN (t_fmt): Likewise.
5485 * localedata/locales/kn_IN (t_fmt): Likewise.
5486 * localedata/locales/kok_IN (t_fmt): Likewise.
5487 * localedata/locales/ks_IN (t_fmt): Likewise.
5488 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
5489 * localedata/locales/mag_IN (t_fmt): Likewise.
5490 * localedata/locales/mai_IN (t_fmt): Likewise.
5491 * localedata/locales/mjw_IN (t_fmt): Likewise.
5492 * localedata/locales/ml_IN (t_fmt): Likewise.
5493 * localedata/locales/mni_IN (t_fmt): Likewise.
5494 * localedata/locales/mr_IN (t_fmt): Likewise.
5495 * localedata/locales/ms_MY (t_fmt): Likewise.
5496 * localedata/locales/pa_IN (t_fmt): Likewise.
5497 * localedata/locales/raj_IN (t_fmt): Likewise.
5498 * localedata/locales/sa_IN (t_fmt): Likewise.
5499 * localedata/locales/sat_IN (t_fmt): Likewise.
5500 * localedata/locales/sd_IN (t_fmt): Likewise.
5501 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
5502 * localedata/locales/tcy_IN (t_fmt): Likewise.
5503 * localedata/locales/the_NP (t_fmt): Likewise.
5504 * localedata/locales/to_TO (t_fmt): Likewise.
5505 * localedata/locales/ur_IN (t_fmt): Likewise.
5506
5507 * localedata/locales/hif_FJ (d_t_fmt): Set to
5508 "%A %d %b %Y %I:%M:%S %p".
5509 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
5510
5511 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
5512 * localedata/locales/ar_BH (t_fmt): Likewise.
5513 * localedata/locales/ar_DZ (t_fmt): Likewise.
5514 * localedata/locales/ar_EG (t_fmt): Likewise.
5515 * localedata/locales/ar_IQ (t_fmt): Likewise.
5516 * localedata/locales/ar_JO (t_fmt): Likewise.
5517 * localedata/locales/ar_KW (t_fmt): Likewise.
5518 * localedata/locales/ar_LB (t_fmt): Likewise.
5519 * localedata/locales/ar_LY (t_fmt): Likewise.
5520 * localedata/locales/ar_OM (t_fmt): Likewise.
5521 * localedata/locales/ar_QA (t_fmt): Likewise.
5522 * localedata/locales/ar_SD (t_fmt): Likewise.
5523 * localedata/locales/ar_SS (t_fmt): Likewise.
5524 * localedata/locales/ar_SY (t_fmt): Likewise.
5525 * localedata/locales/ar_TN (t_fmt): Likewise.
5526 * localedata/locales/ar_YE (t_fmt): Likewise.
5527
5528 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
5529 (t_fmt_ampm): Likewise.
5530 * localedata/locales/gez_ET (t_fmt): Likewise.
5531 (t_fmt_ampm): Likewise.
5532
5533 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
5534 (t_fmt_ampm): Likewise.
5535 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
5536
5537 * localedata/locales/zh_HK (t_fmt):
5538 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
5539
5540 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
5541 because this locale does not use the 12-hour clock.
5542 (t_fmt): Set to "%Z %H:%M:%S".
5543 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
5544
5545 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
5546 because this locale does not use the 12-hour clock.
5547 (t_fmt): Set to "%H:%M:%S %Z".
5548 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
5549
5550 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
5551 because this locale does not use the 12-hour clock.
5552 (t_fmt): Set to "%T".
5553 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
5554 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
5555
5556 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
5557 because this locale does not use the 12-hour clock.
5558 (t_fmt): Set to "%H:%M:%S %Z".
5559 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
5560
5561 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
5562 because this locale does not use the 12-hour clock.
5563 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
5564 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
5565
27841a7d
RL
55662018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
5567
5568 [BZ #10496]
5569 [BZ #23724]
5570 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
5571 (t_fmt_ampm): Likewise.
5572 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
5573 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
5574 (d_fmt): Set to "%-d.%-m.%y".
5575
0253580a
AZ
55762018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5577
5578 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
5579 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
5580 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
5581 Likewise.
5582 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
5583 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
5584 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
5585 function.
5586 * support/blob_repeat.c (check_mul_overflow_size_t,
5587 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
5588
09104e5b
AJ
55892018-12-28 Aurelien Jarno <aurelien@aurel32.net>
5590
5591 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
5592
c0feb731
PE
55932018-12-27 Paul Eggert <eggert@cs.ucla.edu>
5594
5595 regex: simplify Gnulib port
5596 This simplifies the code, by removing stuff intended for porting
5597 to Gnulib but no longer needed there.
5598 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
5599 uses of libc_hidden_def, weak_alias.
5600 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
5601 _Restrict_ except for public-facing headers.
5602 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
5603 Remove; already defined elsewhere.
5604 * posix/regex.c, posix/regex_internal.h:
5605 Use __GNUC_PREREQ instead of rolling our own.
5606 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
5607
5289f1f5
WD
56082018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
5609
5610 * benchtests/bench-strlen.c (generic_strlen): New function.
6b5c8607 5611 (memchr_strlen): New function.
5289f1f5 5612
ba4b8fab
L
56132018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5614
5615 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
5616 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
5617 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
5618
9412979a
L
56192018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5620
5621 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5622
8700a785
L
56232018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5624
5625 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
5626 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
5627 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
5628 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
5629 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
5630 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
5631 <sysdeps/ieee754/flt-32/s_sincosf.c>.
5632
57b3ff8e
JM
56332018-12-21 Joseph Myers <joseph@codesourcery.com>
5634
5635 [BZ #24023]
5636 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
5637 PLT reference in libc.so.
5638 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
5639 _Q_lltoq and _Q_qtod PLT references in libc.so.
5640
90d3320d
WD
56412018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
5642
5643 * benchtests/bench-memchr.c: Cleanup defines.
5644 * benchtests/bench-memcmp.c: Likewise.
5645 * benchtests/bench-memset.c: Likewise.
5646 * benchtests/bench-memset-large.c: Likewise.
5647 * benchtests/bench-memset-walk.c: Likewise.
5648 * benchtests/bench-stpcpy.c: Likewise.
5649 * benchtests/bench-stpncpy.c: Likewise.
5650 * benchtests/bench-strcat.c: Likewise.
5651 * benchtests/bench-strchr.c: Likewise.
5652 * benchtests/bench-strcmp.c: Likewise.
5653 * benchtests/bench-strcpy.c: Likewise.
5654 * benchtests/bench-strcspn.c: Likewise.
5655 * benchtests/bench-string.h: Likewise.
5656 * benchtests/bench-strlen.c: Likewise.
5657 * benchtests/bench-strncat.c: Likewise.
5658 * benchtests/bench-strncmp.c: Likewise.
5659 * benchtests/bench-strncpy.c: Likewise.
5660 * benchtests/bench-strnlen.c: Likewise.
5661 * benchtests/bench-strpbrk.c: Likewise.
5662 * benchtests/bench-strrchr.c: Likewise.
5663 * benchtests/bench-strspn.c: Likewise.
5664
192963be
JM
56652018-12-21 Joseph Myers <joseph@codesourcery.com>
5666
5d025ea6
JM
5667 * stdlib/longlong.h: Update from GCC.
5668
192963be
JM
5669 [BZ #23993]
5670 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
5671 * configure: Regenerated.
5672 * manual/install.texi (Tools for Compilation): Update minimum GCC
5673 version.
5674 * INSTALL: Regenerated.
5675
6b5c8607 56762018-12-21 Istvan Kurucsai <pistukem@gmail.com>
c0e82f11
IK
5677
5678 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
5679
6b5c8607 56802018-12-20 Istvan Kurucsai <pistukem@gmail.com>
ebe544bf
IK
5681
5682 * malloc/malloc.c (mremap_chunk): Additional checks.
5683
5f72b005
MH
56842018-12-21 Mao Han <han_mao@c-sky.com>
5685
5686 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
5687 * scripts/build-many-glibcs.py: Add C-SKY targets.
5688 * sysdeps/csky/Implies: New file.
5689 * sysdeps/csky/Makefile: Likewise.
5690 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
5691 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
5692 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
5693 * sysdeps/csky/abiv2/memcmp.S: Likewise.
5694 * sysdeps/csky/abiv2/memcpy.S: Likewise.
5695 * sysdeps/csky/abiv2/memmove.S: Likewise.
5696 * sysdeps/csky/abiv2/memset.S: Likewise.
5697 * sysdeps/csky/abiv2/setjmp.S: Likewise.
5698 * sysdeps/csky/abiv2/start.S: Likewise.
5699 * sysdeps/csky/abiv2/strcmp.S: Likewise.
5700 * sysdeps/csky/abiv2/strcpy.S: Likewise.
5701 * sysdeps/csky/abiv2/strlen.S: Likewise.
5702 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
5703 * sysdeps/csky/abort-instr.h: Likewise.
5704 * sysdeps/csky/atomic-machine.h: Likewise.
5705 * sysdeps/csky/bits/endian.h: Likewise.
5706 * sysdeps/csky/bits/fenv.h: Likewise.
5707 * sysdeps/csky/bits/link.h: Likewise.
5708 * sysdeps/csky/bits/setjmp.h: Likewise.
5709 * sysdeps/csky/bsd-_setjmp.S: Likewise.
5710 * sysdeps/csky/bsd-setjmp.S: Likewise.
5711 * sysdeps/csky/configure: Likewise.
5712 * sysdeps/csky/configure.ac: Likewise.
5713 * sysdeps/csky/dl-machine.h: Likewise.
5714 * sysdeps/csky/dl-procinfo.c: Likewise.
5715 * sysdeps/csky/dl-procinfo.h: Likewise.
5716 * sysdeps/csky/dl-sysdep.h: Likewise.
5717 * sysdeps/csky/dl-tls.h: Likewise.
5718 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
5719 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
5720 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
5721 * sysdeps/csky/fpu/fegetenv.c: Likewise.
5722 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
5723 * sysdeps/csky/fpu/fegetmode.c: Likewise.
5724 * sysdeps/csky/fpu/fegetround.c: Likewise.
5725 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
5726 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
5727 * sysdeps/csky/fpu/fenv_private.h: Likewise.
5728 * sysdeps/csky/fpu/fesetenv.c: Likewise.
5729 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
5730 * sysdeps/csky/fpu/fesetmode.c: Likewise.
5731 * sysdeps/csky/fpu/fesetround.c: Likewise.
5732 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
5733 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
5734 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
5735 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
5736 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
5737 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
5738 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
5739 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
5740 * sysdeps/csky/fpu_control.h: Likewise.
5741 * sysdeps/csky/gccframe.h: Likewise.
5742 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
5743 * sysdeps/csky/ldsodefs.h: Likewise.
5744 * sysdeps/csky/libc-tls.c: Likewise.
5745 * sysdeps/csky/linkmap.h: Likewise.
5746 * sysdeps/csky/machine-gmon.h: Likewise.
5747 * sysdeps/csky/memusage.h: Likewise.
5748 * sysdeps/csky/nofpu/Implies: Likewise.
5749 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
5750 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
5751 * sysdeps/csky/nptl/Makefile: Likewise.
5752 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
5753 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
5754 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
5755 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
5756 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
5757 * sysdeps/csky/nptl/tls.h: Likewise.
5758 * sysdeps/csky/preconfigure: Likewise.
5759 * sysdeps/csky/sfp-machine.h: Likewise.
5760 * sysdeps/csky/sotruss-lib.c: Likewise.
5761 * sysdeps/csky/stackinfo.h: Likewise.
5762 * sysdeps/csky/sysdep.h: Likewise.
5763 * sysdeps/csky/tininess.h: Likewise.
5764 * sysdeps/csky/tst-audit.h: Likewise.
5765 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
5766 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
5767 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
5768 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
5769 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
5770 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
5771 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
5772 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
5773 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
5774 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
5775 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
5776 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
5777 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
5778 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
5779 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
5780 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
5781 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
5782 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
5783 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
5784 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
5785 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
5786 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
5787 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
5788 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
5789 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
5790 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
5791 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
5792 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
5793 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
5794 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
5795 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
5796 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
5797 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
5798 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
5799 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
5800 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
5801 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
5802 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
5803 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
5804 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
5805 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
5806 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
5807 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
5808 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
5809
6b5c8607 58102018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
ac253355
AA
5811
5812 * include/time.h (__difftime64): Add.
5813 * time/difftime.c (subtract): convert to 64-bit time.
5814 * time/difftime.c (__difftime64): Add.
5815 * time/difftime.c (__difftime): Wrap around __difftime64.
5816
ab416931
L
58172018-12-20 H.J. Lu <hongjiu.lu@intel.com>
5818
5819 * manual/examples/add.c: Remove redundant "if not".
5820 * manual/examples/argp-ex1.c: Likewise.
5821 * manual/examples/argp-ex2.c: Likewise.
5822 * manual/examples/argp-ex3.c: Likewise.
5823 * manual/examples/argp-ex4.c: Likewise.
5824 * manual/examples/atexit.c: Likewise.
5825 * manual/examples/db.c: Likewise.
5826 * manual/examples/dir.c: Likewise.
5827 * manual/examples/dir2.c: Likewise.
5828 * manual/examples/execinfo.c: Likewise.
5829 * manual/examples/filecli.c: Likewise.
5830 * manual/examples/filesrv.c: Likewise.
5831 * manual/examples/fmtmsgexpl.c: Likewise.
5832 * manual/examples/genpass.c: Likewise.
5833 * manual/examples/inetcli.c: Likewise.
5834 * manual/examples/inetsrv.c: Likewise.
5835 * manual/examples/isockad.c: Likewise.
5836 * manual/examples/longopt.c: Likewise.
5837 * manual/examples/memopen.c: Likewise.
5838 * manual/examples/memstrm.c: Likewise.
5839 * manual/examples/mkdirent.c: Likewise.
5840 * manual/examples/mkfsock.c: Likewise.
5841 * manual/examples/mkisock.c: Likewise.
5842 * manual/examples/mygetpass.c: Likewise.
5843 * manual/examples/pipe.c: Likewise.
5844 * manual/examples/popen.c: Likewise.
5845 * manual/examples/rprintf.c: Likewise.
5846 * manual/examples/search.c: Likewise.
5847 * manual/examples/select.c: Likewise.
5848 * manual/examples/setjmp.c: Likewise.
5849 * manual/examples/sigh1.c: Likewise.
5850 * manual/examples/sigusr.c: Likewise.
5851 * manual/examples/stpcpy.c: Likewise.
5852 * manual/examples/strdupa.c: Likewise.
5853 * manual/examples/strftim.c: Likewise.
5854 * manual/examples/subopt.c: Likewise.
5855 * manual/examples/swapcontext.c: Likewise.
5856 * manual/examples/termios.c: Likewise.
5857 * manual/examples/testopt.c: Likewise.
5858 * manual/examples/testpass.c: Likewise.
5859 * manual/examples/timeval_subtract.c: Likewise.
5860
515f463f
JM
58612018-12-19 Joseph Myers <joseph@codesourcery.com>
5862
da75c1b1
JM
5863 * sysdeps/x86/fpu/math_private.h: New file.
5864 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
5865
515f463f
JM
5866 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
5867 definition.
5868 (cosh): Likewise.
5869 (tanh): Likewise.
5870
1616d034
TMQMF
58712018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5872
5873 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
5874 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
5875 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
5876 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
5877 fields.
5878 (_dl_show_auxv): Give a special treatment to
5879 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
5880 and AT_L3_CACHEGEOMETRY.
5881 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
5882 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
5883 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
5884 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
5885
61595e3d
AS
58862018-12-19 Andreas Schwab <schwab@suse.de>
5887
5888 * nscd/connections.c (check_use): Don't abort on invalid len.
5889
bbb7dc84
ST
58902018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
5891
5892 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
5893 values in the 64bit value cases.
5894
6b5c8607 58952018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
64c2277d 5896
c4c2836a
AA
5897 * include/time.h
5898 (__ctime64_r): Add.
5899 * time/ctime_r.c
5900 (__ctime64_r): Add.
5901 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
5902
7755e504
AA
5903 * include/time.h
5904 (__ctime64): Add.
5905 * time/gmtime.c
5906 (__ctime64): Add.
5907 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
5908
a1d346ce
AA
5909 * include/time.h
5910 (__gmtime64_r): Add.
5911 * time/gmtime.c
5912 (__gmtime64_r): Add.
5913 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5914
131db8b0
AA
5915 * include/time.h
5916 (__gmtime64): Add.
5917 * time/gmtime.c
5918 (__gmtime64): Add.
5919 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5920
64c2277d
AA
5921 * include/time.h
5922 (__localtime64_r): Add.
5923 * time/localtime.c
5924 (__localtime64_r): Add.
5925 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
5926
56b98bf1
AZ
59272018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5928
64dd7a16
AZ
5929 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
5930 kernel_sigction definition.
5931
8b1d5da5
AZ
5932 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
5933
f9eabb19
AZ
5934 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
5935
56b98bf1
AZ
5936 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
5937 __syscall_rt_sigaction.
5938 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
5939 (kernel_sigaction): Use Linux generic defintion.
5940 (STUB): Define.
5941 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
5942 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
5943 (__syscall_rt_sigaction): Remove implementation.
5944 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
5945 hidden.
5946 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
5947 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
5948 INTERNAL_SYSCALL): Remove definitions.
5949 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
5950 action and signal set size.
5951 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
5952 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
5953
43a45c2d
AZ
59542018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5955 James Clarke <jrtc27@jrtc27.com>
5956
dfa6216f 5957 [BZ #23967]
43a45c2d
AZ
5958 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
5959 Define if SA_RESTORER is defined.
5960 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
5961 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
5962 already defined.
5963 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
5964 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
5965 definitions.
5966 (HAS_SA_RESTORER): Define.
5967 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
5968 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
5969 (HAS_SA_RESTORER): Define.
5970 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
5971 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
5972 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
5973 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
5974 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5975
646ce7e0
JM
59762018-12-18 Joseph Myers <joseph@codesourcery.com>
5977
5978 * sysdeps/unix/sysv/linux/kernel-features.h
5979 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
5980 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5981 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
5982 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5983 (__ASSUME_ST_INO_64_BIT): Likewise.
5984 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
5985 <kernel-features.h>.
5986 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5987 Remove conditional code.
5988 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
5989 <kernel-features.h>.
5990 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5991 Remove conditional code.
5992 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
5993 <kernel-features.h>.
5994 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5995 Remove conditional code.
5996 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
5997 <kernel-features.h>.
5998 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
5999 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
6000
80190d2b
SL
60012018-12-18 Stefan Liebler <stli@linux.ibm.com>
6002
6003 * sysdeps/s390/multiarch/ifunc-resolve.h
6004 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
6005 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
6006 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
6007 Delete macro definition.
6008 (s390_libc_ifunc_init): Rename to
6009 s390_libc_ifunc_expr_stfle_init.
6010 * sysdeps/s390/bzero: Use
6011 s390_libc_ifunc_expr_stfle_init instead of
6012 s390_libc_ifunc_init.
6013 * sysdeps/s390/memcmp.c: Likewise.
6014 * sysdeps/s390/memcpy.c: Likewise.
6015 * sysdeps/s390/mempcpy.c: Likewise.
6016 * sysdeps/s390/memset.c: Likewise.
6017
12f0dcb8
SL
60182018-12-18 Stefan Liebler <stli@linux.ibm.com>
6019
6020 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
6021 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
6022
25654a8c
SL
60232018-12-18 Stefan Liebler <stli@linux.ibm.com>
6024
6025 * sysdeps/s390/multiarch/Makefile
6026 (sysdep_routines): Remove wmemcmp variants.
6027 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
6028 * sysdeps/s390/multiarch/ifunc-impl-list.c
6029 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
6030 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
6031 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
6032 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
6033 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
6034 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
6035 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
6036 * sysdeps/s390/ifunc-wmemcmp.h: New file.
6037
d2a7436c
SL
60382018-12-18 Stefan Liebler <stli@linux.ibm.com>
6039
6040 * sysdeps/s390/multiarch/Makefile
6041 (sysdep_routines): Remove wmemset variants.
6042 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
6043 * sysdeps/s390/multiarch/ifunc-impl-list.c
6044 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
6045 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
6046 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
6047 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
6048 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
6049 * sysdeps/s390/multiarch/wmemset.c: Move to ...
6050 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
6051 * sysdeps/s390/ifunc-wmemset.h: New file.
6052
c62534ae
SL
60532018-12-18 Stefan Liebler <stli@linux.ibm.com>
6054
6055 * sysdeps/s390/multiarch/Makefile
6056 (sysdep_routines): Remove wmemchr variants.
6057 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
6058 * sysdeps/s390/multiarch/ifunc-impl-list.c
6059 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
6060 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
6061 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
6062 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
6063 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
6064 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
6065 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
6066 * sysdeps/s390/ifunc-wmemchr.h: New file.
6067
79b44cf6
SL
60682018-12-18 Stefan Liebler <stli@linux.ibm.com>
6069
6070 * sysdeps/s390/multiarch/Makefile
6071 (sysdep_routines): Remove wcscspn variants.
6072 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
6073 * sysdeps/s390/multiarch/ifunc-impl-list.c
6074 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
6075 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
6076 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
6077 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
6078 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
6079 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
6080 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
6081 * sysdeps/s390/ifunc-wcscspn.h: New file.
6082
8e87c1f6
SL
60832018-12-18 Stefan Liebler <stli@linux.ibm.com>
6084
6085 * sysdeps/s390/multiarch/Makefile
6086 (sysdep_routines): Remove wcspbrk variants.
6087 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
6088 * sysdeps/s390/multiarch/ifunc-impl-list.c
6089 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
6090 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
6091 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
6092 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
6093 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
6094 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
6095 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
6096 * sysdeps/s390/ifunc-wcspbrk.h: New file.
6097
8507e831
SL
60982018-12-18 Stefan Liebler <stli@linux.ibm.com>
6099
6100 * sysdeps/s390/multiarch/Makefile
6101 (sysdep_routines): Remove wcsspn variants.
6102 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
6103 * sysdeps/s390/multiarch/ifunc-impl-list.c
6104 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
6105 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
6106 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
6107 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
6108 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
6109 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
6110 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
6111 * sysdeps/s390/ifunc-wcsspn.h: New file.
6112
4753713a
SL
61132018-12-18 Stefan Liebler <stli@linux.ibm.com>
6114
6115 * sysdeps/s390/multiarch/Makefile
6116 (sysdep_routines): Remove wcsrchr variants.
6117 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
6118 * sysdeps/s390/multiarch/ifunc-impl-list.c
6119 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
6120 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
6121 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
6122 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
6123 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
6124 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
6125 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
6126 * sysdeps/s390/ifunc-wcsrchr.h: New file.
6127
c09c1b6f
SL
61282018-12-18 Stefan Liebler <stli@linux.ibm.com>
6129
6130 * sysdeps/s390/multiarch/Makefile
6131 (sysdep_routines): Remove wcschrnul variants.
6132 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
6133 * sysdeps/s390/multiarch/ifunc-impl-list.c
6134 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
6135 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
6136 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
6137 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
6138 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
6139 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
6140 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
6141 * sysdeps/s390/ifunc-wcschrnul.h: New file.
6142
cf3ccc31
SL
61432018-12-18 Stefan Liebler <stli@linux.ibm.com>
6144
6145 * sysdeps/s390/multiarch/Makefile
6146 (sysdep_routines): Remove wcschr variants.
6147 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
6148 * sysdeps/s390/multiarch/ifunc-impl-list.c
6149 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
6150 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
6151 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
6152 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
6153 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
6154 * sysdeps/s390/multiarch/wcschr.c: Move to ...
6155 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
6156 * sysdeps/s390/ifunc-wcschr.h: New file.
6157
e9873e1d
SL
61582018-12-18 Stefan Liebler <stli@linux.ibm.com>
6159
6160 * sysdeps/s390/multiarch/Makefile
6161 (sysdep_routines): Remove wcsncmp variants.
6162 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
6163 * sysdeps/s390/multiarch/ifunc-impl-list.c
6164 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
6165 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
6166 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
6167 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
6168 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
6169 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
6170 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
6171 * sysdeps/s390/ifunc-wcsncmp.h: New file.
6172
3459e23d
SL
61732018-12-18 Stefan Liebler <stli@linux.ibm.com>
6174
6175 * sysdeps/s390/multiarch/Makefile
6176 (sysdep_routines): Remove wcscmp variants.
6177 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
6178 * sysdeps/s390/multiarch/ifunc-impl-list.c
6179 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
6180 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
6181 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
6182 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
6183 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
6184 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
6185 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
6186 * sysdeps/s390/ifunc-wcscmp.h: New file.
6187
814a76e1
SL
61882018-12-18 Stefan Liebler <stli@linux.ibm.com>
6189
6190 * sysdeps/s390/multiarch/Makefile
6191 (sysdep_routines): Remove wcsncat variants.
6192 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
6193 * sysdeps/s390/multiarch/ifunc-impl-list.c
6194 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
6195 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
6196 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
6197 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
6198 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
6199 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
6200 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
6201 * sysdeps/s390/ifunc-wcsncat.h: New file.
6202
3389cae4
SL
62032018-12-18 Stefan Liebler <stli@linux.ibm.com>
6204
6205 * sysdeps/s390/multiarch/Makefile
6206 (sysdep_routines): Remove wcscat variants.
6207 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
6208 * sysdeps/s390/multiarch/ifunc-impl-list.c
6209 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
6210 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
6211 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
6212 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
6213 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
6214 * sysdeps/s390/multiarch/wcscat.c: Move to ...
6215 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
6216 * sysdeps/s390/ifunc-wcscat.h: New file.
6217
c3081bcb
SL
62182018-12-18 Stefan Liebler <stli@linux.ibm.com>
6219
6220 * sysdeps/s390/multiarch/Makefile
6221 (sysdep_routines): Remove wcpncpy variants.
6222 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
6223 * sysdeps/s390/multiarch/ifunc-impl-list.c
6224 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
6225 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
6226 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
6227 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
6228 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
6229 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
6230 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
6231 * sysdeps/s390/ifunc-wcpncpy.h: New file.
6232
0966dd86
SL
62332018-12-18 Stefan Liebler <stli@linux.ibm.com>
6234
6235 * sysdeps/s390/multiarch/Makefile
6236 (sysdep_routines): Remove wcsncpy variants.
6237 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
6238 * sysdeps/s390/multiarch/ifunc-impl-list.c
6239 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
6240 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
6241 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
6242 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
6243 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
6244 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
6245 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
6246 * sysdeps/s390/ifunc-wcsncpy.h: New file.
6247
0582e428
SL
62482018-12-18 Stefan Liebler <stli@linux.ibm.com>
6249
6250 * sysdeps/s390/multiarch/Makefile
6251 (sysdep_routines): Remove wcpcpy variants.
6252 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
6253 * sysdeps/s390/multiarch/ifunc-impl-list.c
6254 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
6255 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
6256 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
6257 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
6258 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
6259 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
6260 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
6261 * sysdeps/s390/ifunc-wcpcpy.h: New file.
6262
804f2e5c
SL
62632018-12-18 Stefan Liebler <stli@linux.ibm.com>
6264
6265 * sysdeps/s390/multiarch/Makefile
6266 (sysdep_routines): Remove wcscpy variants.
6267 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
6268 * sysdeps/s390/multiarch/ifunc-impl-list.c
6269 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
6270 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
6271 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
6272 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
6273 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
6274 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
6275 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
6276 * sysdeps/s390/ifunc-wcscpy.h: New file.
6277
c7e7cd26
SL
62782018-12-18 Stefan Liebler <stli@linux.ibm.com>
6279
6280 * sysdeps/s390/multiarch/Makefile
6281 (sysdep_routines): Remove wcsnlen variants.
6282 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
6283 * sysdeps/s390/multiarch/ifunc-impl-list.c
6284 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
6285 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
6286 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
6287 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
6288 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
6289 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
6290 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
6291 * sysdeps/s390/ifunc-wcsnlen.h: New file.
6292
2e02d0b7
SL
62932018-12-18 Stefan Liebler <stli@linux.ibm.com>
6294
6295 * sysdeps/s390/multiarch/Makefile
6296 (sysdep_routines): Remove wcslen variants.
6297 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
6298 * sysdeps/s390/multiarch/ifunc-impl-list.c
6299 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
6300 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
6301 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
6302 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
6303 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
6304 * sysdeps/s390/multiarch/wcslen.c: Move to ...
6305 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
6306 * sysdeps/s390/ifunc-wcslen.h: New file.
6307
89bfcbdf
SL
63082018-12-18 Stefan Liebler <stli@linux.ibm.com>
6309
6310 * sysdeps/s390/multiarch/Makefile
6311 (sysdep_routines): Remove memrchr variants.
6312 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
6313 * sysdeps/s390/multiarch/ifunc-impl-list.c
6314 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
6315 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
6316 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
6317 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
6318 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
6319 * sysdeps/s390/multiarch/memrchr.c: Move to ...
6320 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
6321 * sysdeps/s390/ifunc-memrchr.h: New file.
6322
196655ba
SL
63232018-12-18 Stefan Liebler <stli@linux.ibm.com>
6324
6325 * sysdeps/s390/multiarch/Makefile
6326 (sysdep_routines): Remove memccpy variants.
6327 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
6328 * sysdeps/s390/multiarch/ifunc-impl-list.c
6329 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
6330 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
6331 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
6332 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
6333 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
6334 * sysdeps/s390/multiarch/memccpy.c: Move to ...
6335 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
6336 * sysdeps/s390/ifunc-memccpy.h: New file.
6337
4c7b3cec
SL
63382018-12-18 Stefan Liebler <stli@linux.ibm.com>
6339
6340 * sysdeps/s390/multiarch/Makefile
6341 (sysdep_routines): Remove rawmemchr variants.
6342 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
6343 * sysdeps/s390/multiarch/ifunc-impl-list.c
6344 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
6345 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
6346 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
6347 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
6348 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
6349 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
6350 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
6351 * sysdeps/s390/ifunc-rawmemchr.h: New file.
6352
581a051c
SL
63532018-12-18 Stefan Liebler <stli@linux.ibm.com>
6354
6355 * sysdeps/s390/multiarch/Makefile
6356 (sysdep_routines): Remove memchr variants.
6357 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
6358 * sysdeps/s390/multiarch/ifunc-impl-list.c
6359 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
6360 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
6361 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
6362 * sysdeps/s390/multiarch/memchr.c: Move to ...
6363 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
6364 * sysdeps/s390/ifunc-memchr.h: New file.
6365 * sysdeps/s390/s390-64/memchr.S: Move to ...
6366 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
6367 for 31/64bit and ifunc handling.
6368 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
6369 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
6370 * sysdeps/s390/s390-32/memchr.S: Likewise.
6371
5d2ec20a
SL
63722018-12-18 Stefan Liebler <stli@linux.ibm.com>
6373
6374 * sysdeps/s390/multiarch/Makefile
6375 (sysdep_routines): Remove strcspn variants.
6376 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
6377 * sysdeps/s390/multiarch/ifunc-impl-list.c
6378 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
6379 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
6380 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
6381 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
6382 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
6383 * sysdeps/s390/multiarch/strcspn.c: Move to ...
6384 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
6385 * sysdeps/s390/ifunc-strcspn.h: New file.
6386
572cca93
SL
63872018-12-18 Stefan Liebler <stli@linux.ibm.com>
6388
6389 * sysdeps/s390/multiarch/Makefile
6390 (sysdep_routines): Remove strpbrk variants.
6391 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
6392 * sysdeps/s390/multiarch/ifunc-impl-list.c
6393 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
6394 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
6395 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
6396 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
6397 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
6398 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
6399 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
6400 * sysdeps/s390/ifunc-strpbrk.h: New file.
6401
483fc569
SL
64022018-12-18 Stefan Liebler <stli@linux.ibm.com>
6403
6404 * sysdeps/s390/multiarch/Makefile
6405 (sysdep_routines): Remove strspn variants.
6406 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
6407 * sysdeps/s390/multiarch/ifunc-impl-list.c
6408 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
6409 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
6410 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
6411 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
6412 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
6413 * sysdeps/s390/multiarch/strspn.c: Move to ...
6414 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
6415 * sysdeps/s390/ifunc-strspn.h: New file.
6416
26ea8760
SL
64172018-12-18 Stefan Liebler <stli@linux.ibm.com>
6418
6419 * sysdeps/s390/multiarch/Makefile
6420 (sysdep_routines): Remove strrchr variants.
6421 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
6422 * sysdeps/s390/multiarch/ifunc-impl-list.c
6423 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
6424 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
6425 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
6426 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
6427 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
6428 * sysdeps/s390/multiarch/strrchr.c: Move to ...
6429 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
6430 * sysdeps/s390/ifunc-strrchr.h: New file.
6431
a1361e65
SL
64322018-12-18 Stefan Liebler <stli@linux.ibm.com>
6433
6434 * sysdeps/s390/multiarch/Makefile
6435 (sysdep_routines): Remove strchrnul variants.
6436 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
6437 * sysdeps/s390/multiarch/ifunc-impl-list.c
6438 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
6439 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
6440 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
6441 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
6442 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
6443 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
6444 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
6445 * sysdeps/s390/ifunc-strchrnul.h: New file.
6446
32f12653
SL
64472018-12-18 Stefan Liebler <stli@linux.ibm.com>
6448
6449 * sysdeps/s390/multiarch/Makefile
6450 (sysdep_routines): Remove strchr variants.
6451 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
6452 * sysdeps/s390/multiarch/ifunc-impl-list.c
6453 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
6454 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
6455 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
6456 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
6457 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
6458 * sysdeps/s390/multiarch/strchr.c: Move to ...
6459 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
6460 * sysdeps/s390/ifunc-strchr.h: New file.
6461
316b8842
SL
64622018-12-18 Stefan Liebler <stli@linux.ibm.com>
6463
6464 * sysdeps/s390/multiarch/Makefile
6465 (sysdep_routines): Remove strncmp variants.
6466 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
6467 * sysdeps/s390/multiarch/ifunc-impl-list.c
6468 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
6469 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
6470 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
6471 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
6472 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
6473 * sysdeps/s390/multiarch/strncmp.c: Move to ...
6474 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
6475 * sysdeps/s390/ifunc-strncmp.h: New file.
6476
cdab85fe
SL
64772018-12-18 Stefan Liebler <stli@linux.ibm.com>
6478
6479 * sysdeps/s390/multiarch/Makefile
6480 (sysdep_routines): Remove strcmp variants.
6481 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
6482 * sysdeps/s390/multiarch/ifunc-impl-list.c
6483 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
6484 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
6485 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
6486 * sysdeps/s390/multiarch/strcmp.c: Move to ...
6487 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
6488 * sysdeps/s390/ifunc-strcmp.h: New file.
6489 * sysdeps/s390/s390-64/strcmp.S: Move to ...
6490 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
6491 for 31/64bit and ifunc handling.
6492 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
6493 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
6494 * sysdeps/s390/s390-32/strcmp.S: Likewise.
6495
b9353351
SL
64962018-12-18 Stefan Liebler <stli@linux.ibm.com>
6497
6498 * sysdeps/s390/multiarch/Makefile
6499 (sysdep_routines): Remove strncat variants.
6500 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
6501 * sysdeps/s390/multiarch/ifunc-impl-list.c
6502 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
6503 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
6504 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
6505 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
6506 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
6507 * sysdeps/s390/multiarch/strncat.c: Move to ...
6508 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
6509 * sysdeps/s390/ifunc-strncat.h: New file.
6510
8e5a0afb
SL
65112018-12-18 Stefan Liebler <stli@linux.ibm.com>
6512
6513 * sysdeps/s390/multiarch/Makefile
6514 (sysdep_routines): Remove strcat variants.
6515 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
6516 * sysdeps/s390/multiarch/ifunc-impl-list.c
6517 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
6518 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
6519 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
6520 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
6521 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
6522 * sysdeps/s390/multiarch/strcat.c: Move to ...
6523 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
6524 * sysdeps/s390/ifunc-strcat.h: New file.
6525
25218822
SL
65262018-12-18 Stefan Liebler <stli@linux.ibm.com>
6527
6528 * sysdeps/s390/multiarch/Makefile
6529 (sysdep_routines): Remove stpncpy variants.
6530 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
6531 * sysdeps/s390/multiarch/ifunc-impl-list.c
6532 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
6533 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
6534 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
6535 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
6536 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
6537 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
6538 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
6539 * sysdeps/s390/ifunc-stpncpy.h: New file.
6540
d1bdbf38
SL
65412018-12-18 Stefan Liebler <stli@linux.ibm.com>
6542
6543 * sysdeps/s390/multiarch/Makefile
6544 (sysdep_routines): Remove strncpy variants.
6545 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
6546 * sysdeps/s390/multiarch/ifunc-impl-list.c
6547 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
6548 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
6549 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
6550 * sysdeps/s390/multiarch/strncpy.c: Move to ...
6551 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
6552 * sysdeps/s390/ifunc-strncpy.h: New file.
6553 * sysdeps/s390/s390-64/strncpy.S: Move to ...
6554 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
6555 and adjust ifunc handling.
6556 * sysdeps/s390/s390-32/strncpy.S: Move to ...
6557 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
6558 and adjust ifunc handling.
6559 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
6560 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
6561
97044931
SL
65622018-12-18 Stefan Liebler <stli@linux.ibm.com>
6563
6564 * sysdeps/s390/multiarch/Makefile
6565 (sysdep_routines): Remove stpcpy variants.
6566 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
6567 * sysdeps/s390/multiarch/ifunc-impl-list.c
6568 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
6569 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
6570 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
6571 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
6572 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
6573 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
6574 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
6575 * sysdeps/s390/ifunc-stpcpy.h: New file.
6576
914a4e05
SL
65772018-12-18 Stefan Liebler <stli@linux.ibm.com>
6578
6579 * sysdeps/s390/multiarch/Makefile
6580 (sysdep_routines): Remove strcpy variants.
6581 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
6582 * sysdeps/s390/multiarch/ifunc-impl-list.c
6583 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
6584 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
6585 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
6586 * sysdeps/s390/multiarch/strcpy.c: Move to ...
6587 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
6588 * sysdeps/s390/ifunc-strcpy.h: New file.
6589 * sysdeps/s390/s390-64/strcpy.S: Move to ...
6590 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
6591 for 31/64bit and ifunc handling.
6592 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
6593 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
6594 * sysdeps/s390/s390-32/strcpy.S: Likewise.
6595
de10e44d
SL
65962018-12-18 Stefan Liebler <stli@linux.ibm.com>
6597
6598 * sysdeps/s390/multiarch/Makefile
6599 (sysdep_routines): Remove strnlen variants.
6600 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
6601 * sysdeps/s390/multiarch/ifunc-impl-list.c
6602 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
6603 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
6604 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
6605 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
6606 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
6607 * sysdeps/s390/multiarch/strnlen.c: Move to ...
6608 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
6609 * sysdeps/s390/ifunc-strnlen.h: New file.
6610
ff3ca374
SL
66112018-12-18 Stefan Liebler <stli@linux.ibm.com>
6612
6613 * sysdeps/s390/multiarch/Makefile
6614 (sysdep_routines): Remove strlen variants.
6615 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
6616 * sysdeps/s390/multiarch/ifunc-impl-list.c
6617 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
6618 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
6619 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
6620 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
6621 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
6622 * sysdeps/s390/multiarch/strlen.c: Move to ...
6623 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
6624 * sysdeps/s390/ifunc-strlen.h: New file.
6625
d2c4c403
SL
66262018-12-18 Stefan Liebler <stli@linux.ibm.com>
6627
6628 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
6629 * sysdeps/s390/multiarch/ifunc-impl-list.c
6630 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
6631 * sysdeps/s390/ifunc-memmem.h: New file.
6632 * sysdeps/s390/memmem.c: Likewise.
6633 * sysdeps/s390/memmem-c.c: Likewise.
6634 * sysdeps/s390/memmem-vx.c: Likewise.
6635
8c25dddd
SL
66362018-12-18 Stefan Liebler <stli@linux.ibm.com>
6637
6638 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
6639 * sysdeps/s390/multiarch/ifunc-impl-list.c
6640 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
6641 * sysdeps/s390/ifunc-strstr.h: New file.
6642 * sysdeps/s390/strstr.c: Likewise.
6643 * sysdeps/s390/strstr-c.c: Likewise.
6644 * sysdeps/s390/strstr-vx.c: Likewise.
6645
cdd927d9
SL
66462018-12-18 Stefan Liebler <stli@linux.ibm.com>
6647
6648 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
6649 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
6650 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
6651 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
6652 New defines.
6653 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
6654 * sysdeps/s390/memmove-c.c: New file.
6655 * sysdeps/s390/memmove.c: Likewise.
6656 * sysdeps/s390/multiarch/ifunc-impl-list.c
6657 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
6658
2ee1bc57
SL
66592018-12-18 Stefan Liebler <stli@linux.ibm.com>
6660
6661 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
6662 * sysdeps/s390/configure.ac: Add check for z13 support.
6663 * sysdeps/s390/configure: Regenerated.
6664
d097d976
SL
66652018-12-18 Stefan Liebler <stli@linux.ibm.com>
6666
6667 * sysdeps/s390/memcopy.h: New file.
6668
e099aab0
SL
66692018-12-18 Stefan Liebler <stli@linux.ibm.com>
6670
6671 * sysdeps/s390/s390-32/bcopy.S: Remove.
6672 * sysdeps/s390/s390-64/bcopy.S: Likewise.
6673
18eb862d
SL
66742018-12-18 Stefan Liebler <stli@linux.ibm.com>
6675
6676 * sysdeps/s390/ifunc-memcpy.h: New File.
6677 * sysdeps/s390/memcpy.S: Move to ...
6678 * sysdeps/s390/memcpy-z900.S ... here.
6679 Move implementations from memcpy-s390x.s to here.
6680 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
6681 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6682 Remove memcpy/mempcpy variants.
6683 * sysdeps/s390/Makefile (sysdep_routines):
6684 Add memcpy/mempcpy variants.
6685 * sysdeps/s390/multiarch/ifunc-impl-list.c
6686 (__libc_ifunc_impl_list): Adjust ifunc variants for
6687 memcpy and mempcpy.
6688 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
6689 to ...
6690 * sysdeps/s390/memcpy.c: ... here.
6691 Adjust ifunc variants for memcpy.
6692 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
6693 * sysdeps/s390/mempcpy.c: ... here.
6694 Adjust ifunc variants for mempcpy.
6695 * sysdeps/s390/mempcpy.S: Delete file.
6696
df3eb8de
SL
66972018-12-18 Stefan Liebler <stli@linux.ibm.com>
6698
6699 * sysdeps/s390/s390-64/memcpy.S: Move to ...
6700 * sysdeps/s390/memcpy.S: ... here.
6701 Adjust to be usable for 31/64bit.
6702 * sysdeps/s390/s390-32/memcpy.S: Delete File.
6703 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
6704 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
6705 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6706 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
6707 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
6708 Adjust to be usable for 31/64bit.
6709 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
6710 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
6711 * sysdeps/s390/multiarch/memcpy.c: ... here.
6712 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
6713
b7e024a8
SL
67142018-12-18 Stefan Liebler <stli@linux.ibm.com>
6715
6716 * sysdeps/s390/ifunc-memcmp.h: New File.
6717 * sysdeps/s390/memcmp.S: Move to ...
6718 * sysdeps/s390/memcmp-z900.S ... here.
6719 Move implementations from memcmp-s390x.s to here.
6720 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
6721 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6722 Remove memcmp variants.
6723 * sysdeps/s390/Makefile (sysdep_routines):
6724 Add memcmp variants.
6725 * sysdeps/s390/multiarch/ifunc-impl-list.c
6726 (__libc_ifunc_impl_list): Adjust ifunc variants for
6727 memcmp.
6728 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
6729 to ...
6730 * sysdeps/s390/memcmp.c: ... here.
6731 Adjust ifunc variants for memcmp.
6732
6c6b8c74
SL
67332018-12-18 Stefan Liebler <stli@linux.ibm.com>
6734
6735 * sysdeps/s390/s390-64/memcmp.S: Move to ...
6736 * sysdeps/s390/memcmp.S: ... here.
6737 Adjust to be usable for 31/64bit.
6738 * sysdeps/s390/s390-32/memcmp.S: Delete File.
6739 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
6740 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6741 Remove memcmp.
6742 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6743 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
6744 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
6745 Adjust to be usable for 31/64bit.
6746 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
6747 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
6748 * sysdeps/s390/multiarch/memcmp.c: ... here.
6749 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
6750
07be3928
SL
67512018-12-18 Stefan Liebler <stli@linux.ibm.com>
6752
6753 * sysdeps/s390/s390-32/bzero.S: Delete file.
6754 * sysdeps/s390/s390-64/bzero.S: Likewise.
6755 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
6756 * sysdeps/s390/bzero.c: New file.
6757 * sysdeps/s390/memset-z900.S: Add bzero entry points.
6758 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
6759 * sysdeps/s390/multiarch/ifunc-impl-list.c
6760 (__libc_ifunc_impl_list): Add bzero ifunc variants.
6761
712a254a
SL
67622018-12-18 Stefan Liebler <stli@linux.ibm.com>
6763
6764 * sysdeps/s390/ifunc-memset.h: New File.
6765 * sysdeps/s390/memset.S: Move to ...
6766 * sysdeps/s390/memset-z900.S ... here.
6767 Move implementations from memset-s390x.s to here.
6768 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
6769 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6770 Remove memset variants.
6771 * sysdeps/s390/Makefile (sysdep_routines):
6772 Add memset variants.
6773 * sysdeps/s390/multiarch/ifunc-impl-list.c
6774 (__libc_ifunc_impl_list): Adjust ifunc variants for
6775 memset.
6776 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
6777 to ...
6778 * sysdeps/s390/memset.c: ... here.
6779 Adjust ifunc variants for memset.
6780
5f1743d1
SL
67812018-12-18 Stefan Liebler <stli@linux.ibm.com>
6782
6783 * sysdeps/s390/s390-64/memset.S: Move to ...
6784 * sysdeps/s390/memset.S: ... here.
6785 Adjust to be usable for 31/64bit.
6786 * sysdeps/s390/s390-32/memset.S: Delete File.
6787 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
6788 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6789 Remove memset.
6790 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6791 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
6792 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
6793 Adjust to be usable for 31/64bit.
6794 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
6795 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
6796 * sysdeps/s390/multiarch/memset.c: ... here.
6797 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
6798
e8023f26
SL
67992018-12-18 Stefan Liebler <stli@linux.ibm.com>
6800
6801 * sysdeps/s390/multiarch/ifunc-resolve.h
6802 (s390_libc_ifunc_init, s390_libc_ifunc,
6803 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
6804
b8686c0d
SL
68052018-12-18 Stefan Liebler <stli@linux.ibm.com>
6806
6807 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
6808 * sysdeps/s390/configure.ac: Add check for z10 support.
6809 * sysdeps/s390/configure: Regenerated.
6810
cd815050
L
68112018-12-18 H.J. Lu <hongjiu.lu@intel.com>
6812
6813 * sysdeps/i386/atomic-machine.h: Merged with ...
6814 * sysdeps/x86_64/atomic-machine.h: To ...
6815 * sysdeps/x86/atomic-machine.h: This. New file.
6816
053c52b1
FW
68172018-12-18 Florian Weimer <fweimer@redhat.com>
6818
6819 Rewrite locale/gen-translit.pl in Python.
6820 * locale/Makefile (generated): Add C-translit.h.
6821 (before-compile): Add $(objpfx)C-translit.h.
6822 (C-translit.h): Move to $(objpfx). Create target directory.
6823 Build using Python script.
6824 * locale/gen-translit.py: New file.
6825 * locale/gen-translit.pl: Remove file.
6826 * locale/C-translit.h.in: Change comment character to '#' for
6827 easier parsing without a C preprocessor.
6828 * locale/C-translit.h: Remove generated file.
6829 * manual/install.texi (Tools for Compilation): Do not mention
6830 C-translit.h.
6831 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
6832 Remove locale/C-translit.h.
6833 * scripts/update-copyrights: Likewise.
6834 * INSTALL: Regenerate.
6835
40e6c1ec
FW
68362018-12-18 Florian Weimer <fweimer@redhat.com>
6837
6838 [BZ #23995]
6839 * localedata/locales/bi_VU: Remove executable bit from file.
6840
6b5c8607 68412018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
6e15f3e2
AA
6842
6843 * include/time.h
6844 (__localtime64): Add.
6845 * manual/maint.texi: Document Y2038 symbol handling.
6846 * time/localtime.c
6847 (__localtime64): Add.
bfb79db4 6848 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6e15f3e2 6849
df648905
JM
68502018-12-17 Joseph Myers <joseph@codesourcery.com>
6851
551e81d9
JM
6852 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
6853 Do not clobber r12.
6854
df648905
JM
6855 * scripts/glibcextract.py (compare_macro_consts): Take parameters
6856 to allow extra macros from first or second sources.
6857 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
6858 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6859 (tests-special): Add $(objpfx)tst-mman-consts.out.
6860 ($(objpfx)tst-mman-consts.out): New makefile target.
6861
6bbfc5c0
MH
68622018-12-17 Mao Han <han_mao@c-sky.com>
6863
6864 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
6865 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
6866 without stat64 system call support.
6867 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
6868 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
6869 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6870 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
6871 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
6872 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
6873 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
6874 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
6875 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
6876 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
6877 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
6878
ef202e53
PE
68792018-12-15 Paul Eggert <eggert@cs.ucla.edu>
6880
6881 regex: fix storage-exhaustion error
6882 [BZ #18040]
6883 * posix/regexec.c (get_subexp):
6884 Do not continue if storage is exhausted.
6885
077caf61
AG
68862018-12-15 Assaf Gordon <assafgordon@gmail.com>
6887
6888 regex: fix heap-use-after-free error
6889 [BZ #18040]
6890 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
6891 https://debbugs.gnu.org/32592
6892 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
6893 call extend_buffers which reallocates the re_string_t internal buffer.
6894 Local variable 'buf' was not updated in such case, resulting in
6895 use-after-free.
6896 * posix/regexec.c (get_subexp): Update 'buf' after call to
6897 get_subexp_sub.
6898
0c1719e6
FW
68992018-12-15 Florian Weimer <fweimer@redhat.com>
6900
6901 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
6902 (minimum_stride_size): Use it.
6903 (support_blob_repeat_allocate): Likewise.
6904
033a2c0a
JM
69052018-12-14 Joseph Myers <joseph@codesourcery.com>
6906
6907 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
6908 definition.
6909 (acosh): Likewise.
6910 (atanh): Likewise.
6911
e361dc04
FW
69122018-12-14 Florian Weimer <fweimer@redhat.com>
6913
6914 * manual/process.texi (Process Creation Concepts): Remove
6915 documentation of process (ID) lifetime. List more process
6916 creation functions. Reference Process Identification section.
6917 (Process Identification): Add information about process ID
6918 lifetime. Describe Linux thread/task IDs.
6919 * manual/signal.texi (Signaling Another Process): Mention that the
6920 signal is always sent to the process.
6921
bd51ff5e
GG
69222018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6923
6924 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
6925 and tst-ldbl-efgcvt.
6926 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
6927 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
6928 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
6929 (fcvt_tests, output_error, output_r_error, do_test): Use the
6930 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
6931 select the type of floating-point variables and arguments; to
6932 produce extra tests for double and conversion specifiers for
6933 printf; and to set the names of called functions.
6934 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
6935 in tst-efgcvt-template.c.
6936 * misc/tst-ldbl-efgcvt.c: Likewise.
6937
268bb71e
SL
69382018-12-14 Stefan Liebler <stli@linux.ibm.com>
6939
6940 * nss/Makefile (tst-nss-test3.out): New rule.
6941
db6df070
JM
69422018-12-13 Joseph Myers <joseph@codesourcery.com>
6943
6944 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
6945 clobber sp.
6946
ade8b817
CD
69472018-12-13 fanjinke <fanjinke@hygon.cn>
6948
6949 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
6950 "HygonGenuine".
6951
3d265911
AS
69522018-12-13 Andreas Schwab <schwab@suse.de>
6953
f21e8f8c 6954 [BZ #23861]
3d265911 6955 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
f21e8f8c
AS
6956 (__pthread_rwlock_rdlock_full): Update expected value for
6957 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
6958 * nptl/tst-rwlock-pwn.c: New file.
6959 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3d265911 6960
bf8ae8c0
JM
69612018-12-12 Joseph Myers <joseph@codesourcery.com>
6962
6963 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
6964 definition.
6965
de099757
LS
69662018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6967
6968 * benchtests/scripts/compare_bench.py (do_compare): write to
6969 stderr in casestat is not present.
6970 * benchtests/scripts/compare_bench.py (plot_graphs): write to
6971 stderr in case timings field is not present. Also string showing
6972 the output filename goes into the stderr.
6973
1990185f
LS
69742018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6975
6976 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
6977 and ZeroDivisorError exceptions.
6978 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
6979 argument to loop through user provided statistics.
6980 * benchtests/scripts/compare_bench.py (main): Include the --stats
6981 argument.
6982
587426d4
LS
69832018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6984
6985 * benchtests/scripts/compare_bench.py (compare_runs): Continue
6986 instead of return.
6987
46703efa
FW
69882018-12-12 Florian Weimer <fweimer@redhat.com>
6989
6990 * sysdeps/posix/timespec_get.c: Add missing “any later version”
6991 clause to copyright header.
6992
1d880d4a
TMQMF
69932018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6994
6995 [BZ #23614]
6996 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
6997 registers saved in the stack frame.
6998 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
6999 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
7000
1a502f52
GG
70012018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7002
7003 * include/bits/monetary-ldbl.h: New file.
7004 * include/bits/printf-ldbl.h: Likewise.
7005 * include/bits/stdio-ldbl.h: Likewise.
7006 * include/bits/stdlib-ldbl.h: Likewise.
7007 * include/bits/syslog-ldbl.h: Likewise.
7008 * include/bits/wchar-ldbl.h: Likewise.
7009
df682d1d
GG
70102018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7011
7012 * libio/libio.h: Remove redirection for _IO_vfprintf.
7013
c2c082c1
AS
70142018-12-11 Andreas Schwab <schwab@suse.de>
7015
7016 * Makerules: Remove all references to abilist-pattern.
7017 (update-all-abi): Simplify find expression.
7018
505b5b29
SN
70192018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
7020
7021 [BZ #23961]
7022 * math/auto-libm-test-in: Add new test case.
7023 * math/auto-libm-test-out-pow: Regenerated.
7024 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
7025
304c61a2
DD
70262018-12-10 DJ Delorie <dj@redhat.com>
7027
7028 [BZ #23948]
7029 * support/test-container.c: Move postclean step to before we
7030 change namespaces.
7031
a8110b72
JM
70322018-12-10 Joseph Myers <joseph@codesourcery.com>
7033
cb7be159
JM
7034 * scripts/gen-as-const.py (main): Handle --python option.
7035 * scripts/gen-py-const.awk: Remove.
7036 * Makerules (py-const-script): Use gen-as-const.py.
7037 ($(py-const)): Likewise.
7038 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
7039 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
7040 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
7041 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
7042 ~PTHREAD_MUTEX_NO_ELISION_NP.
7043 * manual/README.pretty-printers: Update reference to
7044 gen-py-const.awk.
7045
a8110b72
JM
7046 * scripts/glibcextract.py: New file.
7047 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
7048 or tempfile. Import glibcexctract.
7049 (compute_c_consts): Remove. Moved to glibcextract.py.
7050 (gen_test): Update reference to compute_c_consts.
7051 (main): Likewise.
7052 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
7053 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
7054 * sysdeps/unix/sysv/linux/Makefile
7055 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
7056 Redirect stderr as well as stdout.
7057
f9ba9eb8
RÁE
70582018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
7059
7060 [BZ #19767]
7061 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
b39d961c
TS
7062 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
7063 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
f9ba9eb8 7064 ALWAYS_USE_VSYSCALL.
b39d961c 7065 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
f9ba9eb8
RÁE
7066 ALWAYS_USE_VSYSCALL.
7067 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
7068 ALWAYS_USE_VSYSCALL.
7069
8d20a2f4
FW
70702018-12-10 Florian Weimer <fweimer@redhat.com>
7071
7072 [BZ #23972]
7073 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
7074 offset instead of count for clarity. Fix typo in comment.
7075 (__old_getdents64): Keep track of previous offset. Use it to call
7076 handle_overflow.
7077 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
7078 that d_off is never zero.
7079
80472e2f
AS
70802018-12-10 Andreas Schwab <schwab@suse.de>
7081
7082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
7083 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
7084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
7085 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
7086 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
7087
0afcb29d
JM
70882018-12-10 Joseph Myers <joseph@codesourcery.com>
7089
7090 * timezone/private.h: Update from tzcode 2018g.
7091 * timezone/tzfile.h: Likewise.
7092 * timezone/tzselect.ksh: Likewise.
7093 * timezone/zdump.c: Likewise.
7094 * timezone/zic.c: Likewise.
7095
b93f4052
PP
70962018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7097
7098 [BZ #23490]
7099 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
7100 (do_test): Adjust buffer size and fix format.
7101
7c9a7c68
DD
71022018-12-07 DJ Delorie <dj@redhat.com>
7103
7104 [BZ #23907]
7105 * malloc/tst-tcfree3.c: New.
7106 * malloc/Makefile: Add it.
7107
37caec3a
L
71082018-12-07 H.J. Lu <hongjiu.lu@intel.com>
7109
7110 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
7111
10446f5d
GG
71122018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7113
7114 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
7115 used as a mask for the mode argument of __vfscanf_internal and
7116 __vfwscanf_internal.
7117 * stdio-common/vfscanf-internal.c
7118 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
7119 (__strtof128_internal): Define to __wcstof128_internal.
7120 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
7121 __strtof128_internal or __wcstof128_internal when the format of
7122 long double is the same as _Float128.
7123
45f33aac
ST
71242018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
7125
7126 * include/unistd.h (__confstr): Add prototype and hidden prototype.
7127 * posix/confstr.c (confstr): Rename to __confstr.
7128 (__confstr): Add hidden def.
7129 (confstr): Add weak alias for __confstr.
7130 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
7131 confstr.
7132
a092ca94
L
71332018-12-07 H.J. Lu <hongjiu.lu@intel.com>
7134
7135 * NEWS: Mention getcpu.
7136 * include/sched.h (__getcpu): New libc_hidden_proto.
7137 * manual/resource.texi: Document getcpu.
7138 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
7139 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
7140 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
7141 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7142 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7143 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7144 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7145 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7146 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7147 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7148 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7149 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7150 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
7151 Likewise.
7152 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7153 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7154 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7156 Likewise.
7157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7158 Likewise.
7159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
7160 Likewise.
7161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
7162 Likewise.
7163 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
7164 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7165 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7166 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7167 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7168 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7169 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7170 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7171 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
7172 * sysdeps/unix/sysv/linux/getcpu.c: New file.
7173 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
7174 Also check getcpu.
7175
7c857b6f
ST
71762018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
7177
7178 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
7179 functions.
7180 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
7181
3a3fb755
FW
71822018-12-07 Florian Weimer <fweimer@redhat.com>
7183
7184 [BZ #17405]
7185 * posix/Makefile (routines): Add spawn_faction_addfchdir.
7186 * posix/Versions (GLIBC_2.29): Export
7187 posix_spawn_file_actions_addfchdir_np.
7188 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
7189 * posix/spawn_faction_destroy.c
7190 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
7191 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
7192 and the field action.fchdir_action.
7193 * posix/tst-spawn-chdir.c (add_chdir): New function.
7194 (do_test): Add do_fchdir loop. Call add_chdir.
7195 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
7196 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
7197 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
7198 posix_spawn_file_actions_addfchdir_np.
7199 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
7200 Likewise.
7201 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
7202 Likewise.
7203 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
7204 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
7205 Likewise.
7206 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
7207 Likewise.
7208 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
7209 Likewise.
7210 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
7211 Likewise.
7212 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
7213 Likewise.
7214 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
7215 Likewise.
7216 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7217 (GLIBC_2.29): Likewise.
7218 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7219 (GLIBC_2.29): Likewise.
7220 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7221 (GLIBC_2.29): Likewise.
7222 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7223 (GLIBC_2.29): Likewise.
7224 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
7225 Likewise.
7226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7227 (GLIBC_2.29): Likewise.
7228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7229 (GLIBC_2.29): Likewise.
7230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7231 (GLIBC_2.29): Likewise.
7232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7233 (GLIBC_2.29): Likewise.
7234 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
7235 Likewise.
7236 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
7237 Likewise.
7238 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
7239 Likewise.
7240 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
7241 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
7242 Likewise.
7243 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
7244 Likewise.
7245 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
7246 Likewise.
7247 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
7248 Likewise.
7249
c37cd439
JM
72502018-12-06 Joseph Myers <joseph@codesourcery.com>
7251
7252 * manual/texinfo.tex: Update to version 2018-09-21.20 with
7253 trailing whitespace removed.
7254 * scripts/config.guess: Update to version 2018-11-28.
7255 * scripts/config.sub: Update to version 2018-11-28.
7256 * scripts/install-sh: Update to version 2018-03-11.20.
7257 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
7258 * scripts/move-if-change: Update to version 2018-03-07 03:47.
7259
899478c2
FW
72602018-12-07 Florian Weimer <fweimer@redhat.com>
7261
7262 [BZ #23927]
7263 CVE-2018-19591
7264 * inet/tst-if_index-long.c: New file.
7265 * inet/Makefile (tests): Add tst-if_index-long.
7266
f255336a
FW
72672018-12-07 Florian Weimer <fweimer@redhat.com>
7268
7269 * support/check.h (support_record_failure_is_failed): Declare.
7270 * support/descriptors.h: New file.
7271 * support/support_descriptors.c: Likewise.
7272 * support/tst-support_descriptors.c: Likewise.
7273 * support/support_record_failure.c
7274 (support_record_failure_is_failed): New function.
7275 * support/Makefile (libsupport-routines): Add support_descriptors.
7276 (tests): Add tst-support_descriptors.
7277
35caceb1
ZW
72782018-12-05 Zack Weinberg <zackw@panix.com>
7279 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7280
7281 * stdio-common/vfprintf-internal.c
7282 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
7283 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
7284 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
7285 and __no_long_double.
7286 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
7287 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
7288 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
7289 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
7290 and __nldbl_*syslog* functions.
7291 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
7292 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
7293 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
7294 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
7295 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
7296 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
7297 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
7298 (__nldbl_vwprintf, __nldbl_wprintf):
7299 Directly call the appropriate __v*printf_internal routine, passing
7300 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
7301 variable names.
7302 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
7303 (__nldbl___printf_chk, __nldbl___snprintf_chk)
7304 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
7305 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
7306 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
7307 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
7308 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
7309 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
7310 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
7311 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
7312 Likewise, and also pass PRINTF_FORTIFY when appropriate.
7313 (__nldbl_syslog, __nldbl_vsyslog):
7314 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
7315 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
7316 appropriate.
7317 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
7318 appropriate.
7319
4e2f43f8
ZW
73202018-12-05 Zack Weinberg <zackw@panix.com>
7321 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7322
7323 [BZ #11319]
7324 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
7325 Moved here from debug/vsprintf_chk.c.
7326 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
7327 and completion logic for the strfile to match exactly what
7328 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
7329 _IO_str_init_static_internal instead of maxlen-1.
7330 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
7331 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
7332 __vsprintf_internal.
7333
7334 * debug/vsprintf_chk.c (__vsprintf_chk)
7335 * debug/sprintf_chk.c (__sprintf_chk):
7336 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
7337 'flags' argument is positive, and slen as maxlen. No need to lock
7338 the FILE and/or construct a temporary FILE. Minimize and normalize
7339 header inclusions and variable names. Do not libc_hidden_def anything.
7340
7341 * debug/asprintf_chk.c (__asprintf_chk)
7342 * debug/dprintf_chk.c (__dprintf_chk)
7343 * debug/fprintf_chk.c (__fprintf_chk)
7344 * debug/fwprintf_chk.c (__fwprintf_chk)
7345 * debug/printf_chk.c (__printf_chk)
7346 * debug/snprintf_chk.c (__snprintf_chk)
7347 * debug/swprintf_chk.c (__swprintf_chk)
7348 * debug/vasprintf_chk.c (__vasprintf_chk)
7349 * debug/vdprintf_chk.c (__vdprintf_chk)
7350 * debug/vfprintf_chk.c (__vfprintf_chk)
7351 * debug/vfwprintf_chk.c (__vfwprintf_chk)
7352 * debug/vprintf_chk.c (__vprintf_chk)
7353 * debug/vsnprintf_chk.c (__vsnprintf_chk)
7354 * debug/vswprintf_chk.c (__vswprintf_chk)
7355 * debug/vwprintf_chk.c (__vwprintf_chk)
7356 * debug/wprintf_chk.c (__wprintf_chk):
7357 Directly call the corresponding vxxprintf_internal function, passing
7358 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
7359 the FILE and/or construct a temporary FILE. Minimize and normalize
7360 header inclusions and variable names. Do not libc_hidden_def anything.
7361
7362 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
7363 __obstack_vprintf_internal.
7364 (__obstack_vprintf_chk): Convert into a wrapper that calls
7365 __obstack_vprintf_internal (these two functions already had the
7366 same code) and move to new file...
7367 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
7368 file.
7369 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
7370 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
7371 * debug/Makefile (routines): Add vobprintf_chk.
7372
7373 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7374 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
7375 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
7376 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
7377 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
7378 (__nldbl___obstack_vfprintf_chk):
7379 Directly call the corresponding vxxprintf_internal function,
7380 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
7381 duplicate comparison of slen with 0 or maxlen from the corresponding
7382 non-__nldbl function.
7383
7384 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
7385 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
7386 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
7387 Remove libc_hidden_proto.
7388
7389 * stdio-common/vfprintf-internal.c
7390 (__vfprintf_internal, __vfwprintf_internal):
7391 Do not check _IO_FLAGS2_FORTIFY.
7392 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
7393 * libio/libioP.h: Update prototype of __vsprintf_internal and add
7394 a comment explaining why it has the maxlen argument.
7395 (_IO_acquire_lock_clear_flags2_fct): Remove.
7396 (_IO_acquire_lock_clear_flags2): Remove.
7397 (_IO_release_lock): Remove conditional statement which will
7398 now never execute.
7399 (_IO_acquire_lock): Remove variable which is now unused.
7400 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
7401 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
7402
7403 * stdio-common/Makefile (tests): Add tst-bz11319 and
7404 tst-bz11319-fortify2.
7405 (CFLAGS-tst-bz11319-fortify2.c): New macro.
7406 * stdio-common/tst-bz11319-fortify2.c: New file.
7407 * stdio-common/tst-bz11319.c: Likewise.
7408
124fc732
ZW
74092018-12-05 Zack Weinberg <zackw@panix.com>
7410 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7411
7412 * misc/syslog.c: Include libioP.h, not iolibio.h.
7413 (__vsyslog_internal): New function with the former body of
7414 __vsyslog_chk; takes mode_flags argument same as
7415 __v*printf_internal. Call __vfprintf_internal directly.
7416
7417 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
7418 Remove libc_hidden_def.
7419 (__syslog, __syslog_chk): Use __vsyslog_internal.
7420 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
7421
7422 * include/sys/syslog.h: Add multiple inclusion guard.
7423 Add prototype for __vsyslog_internal.
7424 Remove declaration and libc_hidden_proto for __vsyslog_chk.
7425
7426 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
7427 Use __vsyslog_internal.
7428
698fb75b
ZW
74292018-12-05 Zack Weinberg <zackw@panix.com>
7430 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7431
7432 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
7433 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
7434 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
7435 New functions.
7436 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
7437 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
7438
7439 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
7440 Include wctype.h here if COMPILE_WPRINTF is defined.
7441 Define __vfprintf_internal or __vfwprintf_internal, depending
7442 on COMPILE_WPRINTF.
7443 Temporarily, on entry to this function, update mode_flags
7444 according to the environmental settings corresponding to
7445 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
7446 Throughout, check mode_flags instead of __ldbl_is_dbl and
7447 _IO_FLAGS2_FORTIFY on the destination FILE.
7448 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
7449 Include vfprintf-internal.c. Don't include wctype.h.
7450 * stdio-common/vfprintf.c: New file. Just define __vfprintf
7451 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
7452 and vfprintf.
7453 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
7454 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
7455 and vfwprintf.
7456 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
7457
7458 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
7459 and add mode_flags argument; use __vfprintf_internal.
7460 (__vdprintf): New function. Alias vdprintf to this.
7461 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
7462 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
7463 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
7464 (__obstack_printf): Use __obstack_printf_internal.
7465 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
7466 public aliases __vsnprintf and vsnprintf.
7467 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
7468 called internally.
7469 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
7470 public aliases _IO_vsprintf and vsprintf.
7471 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
7472 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
7473 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
7474 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
7475 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
7476
7477 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
7478 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
7479 * stdio-common/fprintf.c, stdio-common/fxprintf.c
7480 * stdio-common/printf.c: Use __vfprintf_internal.
7481
7482 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
7483 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
7484 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
7485
7486 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
7487 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
7488 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
7489 __vfwprintf_internal.
7490
7491 * libio/libio.h: Remove libc_hidden_proto and declaration for
7492 _IO_vfprintf.
7493 Remove declaration of _IO_vfwprintf.
7494 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
7495 _IO_vsprintf.
7496 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
7497 _IO_obstack_printf.
7498 * include/stdio.h: Add prototype for __vasprintf.
7499 (__vsnprintf): Remove declaration, because there are no more
7500 internal calls.
7501 * include/wchar.h (__vfwprintf, __vswprintf): Remove
7502 declaration, because there are no more internal calls.
7503
7504 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
7505 __vsnprintf_internal, instead of _IO_vsnprintf.
7506 * argp/argp-help.c (__argp_error, __argp_failure): Use
7507 __vasprintf_internal, instead of _IO_vasprintf.
7508 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
7509 redefine, because there are no more internal calls.
7510
d91798b3
ZW
75112018-12-05 Zack Weinberg <zackw@panix.com>
7512 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7513
7514 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
7515 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
7516 Include libio/strfile.h instead of libioP.h.
7517 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
7518 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
7519 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
7520 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
7521 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
7522 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
7523 necessary. Do not set __no_long_double. Normalize variable names.
7524 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
7525 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
7526 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
7527 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
7528 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
7529 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
7530 Call __vfscanf_internal / __vfwscanf_internal directly, passing
7531 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
7532 Do not set __no_long_double. Normalize variable names.
7533
b87eb3f8
ZW
75342018-12-05 Zack Weinberg <zackw@panix.com>
7535 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7536
7537 * stdio-common/isoc99_scanf.c
7538 * stdio-common/isoc99_fscanf.c
7539 * stdio-common/isoc99_sscanf.c
7540 * stdio-common/isoc99_vscanf.c
7541 * stdio-common/isoc99_vfscanf.c
7542 * stdio-common/isoc99_vsscanf.c
7543 * wcsmbs/isoc99_wscanf.c
7544 * wcsmbs/isoc99_fwscanf.c
7545 * wcsmbs/isoc99_swscanf.c
7546 * wcsmbs/isoc99_vwscanf.c
7547 * wcsmbs/isoc99_vfwscanf.c
7548 * wcsmbs/isoc99_vswscanf.c:
7549 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
7550 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
7551 No need to lock and unlock the FILE passed to that function.
7552
7553 * stdio-common/vfscanf-internal.c
7554 (__vfscanf_internal, __vfwscanf_internal):
7555 Don't look at _IO_FLAGS2_SCANF_STD.
7556 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
7557 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
7558 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
7559
349718d4
ZW
75602018-12-05 Zack Weinberg <zackw@panix.com>
7561 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7562
7563 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
7564 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
7565 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
7566 * libio/strfile.h: Add multiple inclusion guard.
7567 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
7568
7569 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
7570 consistency with the other version of this file.
7571 (ldbl_compat_symbol): New macro.
7572 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
7573 New macro.
7574
7575 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
7576 Define __vfscanf_internal or __vfwscanf_internal, depending on
7577 COMPILE_WSCANF; don't define any other public symbols.
7578 Remove errval and code to set errp.
7579 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
7580 as the mode_flags argument.
7581 (encode_error, conv_error, input_error): Don't set errval.
7582 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
7583 Include vfscanf-internal.c.
7584 * stdio-common/vfscanf.c: New file defining the public entry
7585 point vfscanf, which calls __vfscanf_internal.
7586 * stdio-common/vfwscanf.c: New file defining the public entry
7587 point vfwscanf, which calls __vfwscanf_internal.
7588
7589 * stdio-common/iovfscanf.c: New file.
7590 * stdio-common/iovfwscanf.c: Likewise.
7591
7592 * stdio-common/Makefile (routines): Add vfscanf-internal,
7593 vfwscanf-internal, iovfscanf, iovfwscanf.
7594 * stdio-common/Versions: Mention GLIBC_2.29, so that
7595 it can be used in SHLIB_COMPAT expressions.
7596 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
7597 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
7598 Call __vfscanf_internal, instead of _IO_vfscanf.
7599 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
7600 _IO_vfscanf.
7601 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
7602 _IO_vfwscanf.
7603
7604 * libio/iovsscanf.c: Clean up includes, when possible. Use
7605 _IO_strfile_read or _IO_strfile_readw, when needed. Call
7606 __vfscanf_internal or __vfwscanf_internal directly.
7607 * libio/iovswscanf.c: Likewise.
7608 * libio/swscanf.c: Likewise.
7609 * libio/vscanf.c: Likewise.
7610 * libio/vwscanf.c: Likewise.
7611 * libio/wscanf.c: Likewise.
7612 * stdio-common/isoc99_fscanf.c: Likewise.
7613 * stdio-common/isoc99_scanf.c: Likewise.
7614 * stdio-common/isoc99_sscanf.c: Likewise.
7615 * stdio-common/isoc99_vfscanf.c: Likewise.
7616 * stdio-common/isoc99_vscanf.c: Likewise.
7617 * stdio-common/isoc99_vsscanf.c: Likewise.
7618 * stdio-common/scanf.c: Likewise.
7619 * stdio-common/sscanf.c: Likewise.
7620 * wcsmbs/isoc99_fwscanf.c: Likewise.
7621 * wcsmbs/isoc99_swscanf.c: Likewise.
7622 * wcsmbs/isoc99_vfwscanf.c: Likewise.
7623 * wcsmbs/isoc99_vswscanf.c: Likewise.
7624 * wcsmbs/isoc99_vwscanf.c: Likewise.
7625 * wcsmbs/isoc99_wscanf.c: Likewise.
7626
6b5c8607 76272018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
72b8692d
AA
7628
7629 * include/time.h
7630 (__tz_compute): Replace time_t with __time64_t.
7631 (__tz_convert): Replace time_t* with __time64_t.
7632 (__offtime): Replace time_t* with __time64_t.
7633 * time/gmtime.c
7634 (__gmtime_r): Adjust call to __tz_convert.
7635 (gmtime): Likewise.
7636 * time/localtime.c
7637 (__localtime_r): Likewise.
7638 (localtime): Likewise.
7639 * time/offtime.c: Replace time_t with __time64_t.
7640 * time/tzset.c: Likewise.
7641
bd598da9
JM
76422018-12-04 Joseph Myers <joseph@codesourcery.com>
7643
7644 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
7645 dynamic linker unless [$(run-built-tests) = yes].
7646
b2e93de0
DD
76472018-12-03 DJ Delorie <dj@delorie.com>
7648
7649 * support/test-container.c (check_for_unshare_hints): New.
7650 (main): Call it if unshare fails. Add support for "su" scriptlet
7651 command.
7652
477a02f6
JM
76532018-12-03 Joseph Myers <joseph@codesourcery.com>
7654
7655 * scripts/gen-as-const.py (compute_c_consts): Take an argument
7656 'START' to indicate that start text should be output.
7657 (gen_test): Likewise.
7658 (main): Generate 'START' for first symbol or '--' line, or at end
7659 of input if not previously generated.
7660
6af956e5
RÁE
76612018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
7662
7663 [BZ #19767]
7664 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
7665 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
7666 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
7667 ALWAYS_USE_VSYSCALL.
7668
f5ec0ea9
AZ
76692018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7670
7671 [BZ #23913]
7672 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
7673 new_argv by one.
7674
8cebd4ff
CD
76752018-12-03 Carlos O'Donell <carlos@redhat.com>
7676
7677 [BZ #23923]
7678 * locale/programs/localedef.c: Declare boolean hard_links default true.
7679 (options): Add --no-hard-links option.
7680 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
7681 * locale/programs/localedef.h: Declare prototype for hard_links.
7682 * locale/programs/locfile.c (write_locale_data): Don't use hard
7683 links if hard_links is false.
7684
c22e4c2a
L
76852018-12-03 H.J. Lu <hongjiu.lu@intel.com>
7686
7687 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
7688 cpu_features_basic.
7689 (__cache_sysconf): Likewise.
7690 (init_cacheinfo): Likewise.
7691 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
7692 populate COMMON_CPUID_INDEX_80000007 and
7693 COMMON_CPUID_INDEX_80000008.
7694 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
7695 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
7696 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
7697 (init_cpu_features): Use _Static_assert on
7698 index_arch_Fast_Unaligned_Load.
7699 __get_cpuid_registers and __get_arch_feature. Updated for
7700 cpu_features_basic. Set stepping in cpu_features.
7701 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
7702 (FEATURE_INDEX_2): New.
7703 (FEATURE_INDEX_MAX): Changed to enum.
7704 (COMMON_CPUID_INDEX_D_ECX_1): New.
7705 (COMMON_CPUID_INDEX_80000007): Likewise.
7706 (COMMON_CPUID_INDEX_80000008): Likewise.
7707 (cpuid_registers): Likewise.
7708 (cpu_features_basic): Likewise.
7709 (CPU_FEATURE_USABLE): Likewise.
7710 (bit_arch_XXX_Usable): Likewise.
7711 (cpu_features): Use cpuid_registers and cpu_features_basic.
7712 (bit_arch_XXX): Reweritten.
7713 (bit_cpu_XXX): Likewise.
7714 (index_cpu_XXX): Likewise.
7715 (reg_XXX): Likewise.
7716 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
7717 <support/check.h>.
7718 (CHECK_CPU_FEATURE): New.
7719 (CHECK_CPU_FEATURE_USABLE): Likewise.
7720 (cpu_kinds): Likewise.
7721 (do_test): Print vendor, family, model and stepping. Check
7722 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
7723 (TEST_FUNCTION): Removed.
7724 Include <support/test-driver.c> instead of
7725 "../../test-skeleton.c".
7726 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
7727 Check POPCNT instead of POPCOUNT.
7728 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
7729
7b36d26b
ST
77302018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7731
7732 * scripts/gen-as-const.py (main): Avoid emitting empty line when
7733 there is no element in `consts'.
7734
02cd5c1a
FW
77352018-12-01 Florian Weimer <fweimer@redhat.com>
7736
7737 * support/support_capture_subprocess.c
7738 (support_capture_subprocess): Check that pipe descriptors have
7739 expected values. Close original pipe descriptors in subprocess.
7740
fc493bc9
ST
77412018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
7742
7743 [BZ #23032]
7744 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
7745 attr with __pthread_default_barrierattr.
7746 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
7747 attr with __pthread_default_condattr.
7748 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
7749 attr with __pthread_default_mutexattr.
7750 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
7751 attr with __pthread_default_rwlockattr.
7752
6310e6be
KW
77532018-12-01 Kemi Wang <kemi.wang@intel.com>
7754
7755 * manual/tunables.texi (POSIX Thread Tunables): New node.
7756 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
7757 * nptl/nptl-init.c: Include pthread_mutex_conf.h
7758 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
7759 __pthread_tunables_init.
7760 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
7761 (max_adaptive_count): Define.
7762 * nptl/pthread_mutex_conf.c: New file.
7763 * nptl/pthread_mutex_conf.h: New file.
7764 * sysdeps/generic/adaptive_spin_count.h: New file.
7765 * sysdeps/nptl/dl-tunables.list: New file.
7766 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
7767 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
7768 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
7769 Likewise.
7770
8e67b39e
PP
77712018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
7772
7773 [BZ #20544]
7774 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
7775 * stdlib/on_exit.c (__on_exit): Likewise.
7776 * stdlib/Makefile (tests): Add tst-bz20544.
7777 * stdlib/tst-bz20544.c: New test.
7778
15b8d67e
RÁE
77792018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
7780
7781 [BZ #19767]
7782 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
7783 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
7784 New.
7785
5e63c240
FW
77862018-11-30 Florian Weimer <fweimer@redhat.com>
7787
7788 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
7789 Extend error logging.
7790 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
7791 symbol.
7792
71058602 77932018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14d0e87d 7794
5fb7fc96
AZ
7795 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
7796 __sigismember instead of sigismember.
7797 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
7798 cancel_handler): New definitions.
7799 (do_system): Use posix_spawn instead of fork and execl and remove
7800 reentracy code.
7801 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
7802 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
7803 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
7804 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7805 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7806 * sysdeps/unix/sysv/linux/system.c: Likewise.
7807
14d0e87d
AZ
7808 [BZ #22834]
7809 [BZ #17490]
7810 * NEWS: Add new semantic for atfork with popen and system.
7811 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
7812 fork and execl.
7813
e5d262ef
TMQMF
78142018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7815
7816 [BZ #23690]
7817 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
7818 modification order when accessing reloc_result->addr.
7819 * include/link.h (reloc_result): Add field init.
7820 * nptl/Makefile (tests): Add tst-audit-threads.
7821 (modules-names): Add tst-audit-threads-mod1 and
7822 tst-audit-threads-mod2.
7823 Add rules to build tst-audit-threads.
7824 * nptl/tst-audit-threads-mod1.c: New file.
7825 * nptl/tst-audit-threads-mod2.c: Likewise.
7826 * nptl/tst-audit-threads.c: Likewise.
7827 * nptl/tst-audit-threads.h: Likewise.
7828
7e1d4240
JM
78292018-11-30 Joseph Myers <joseph@codesourcery.com>
7830
7831 * scripts/gen-as-const.py: New file.
7832 * scripts/gen-as-const.awk: Remove.
7833 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
7834 gen-as-const.py.
7835 ($(objpfx)test-as-const-%.c): Likewise.
7836
ce7387cc
L
78372018-11-29 H.J. Lu <hongjiu.lu@intel.com>
7838
7839 * elf/dl-exception.c: Include <_itoa.h>.
7840
c6a5bdc1
ST
78412018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
7842
7843 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
7844 returned by __f_setlk.
7845
a5275ba5
L
78462018-11-29 H.J. Lu <hongjiu.lu@intel.com>
7847 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7848
7849 * elf/Makefile (tests-internal): Add tst-create_format1.
7850 * elf/dl-exception.c (_dl_exception_create_format): Support
7851 %x, %lx and %zx.
7852 * elf/tst-create_format1.c: New file.
7853
3a67e81d
CAC
78542018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
7855
7856 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
7857 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
7858 gnulib.)
7859 * argp/argp-help.c (__argp_failure): Likewise.
7860
4975f0c3
MH
78612018-11-29 Mao Han <han_mao@c-sky.com>
7862
7863 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
7864 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
7865 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
7866 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
7867 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
7868 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
7869 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
7870 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
7871 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
7872 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
7873 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
7874 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
7875 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
7876 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
7877 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
7878 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
7879 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
7880 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
7881 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
7882 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
7883 (R_CKCORE_TLS_TPOFF32): New defines.
7884
250102c8
FW
78852018-11-29 Florian Weimer <fweimer@redhat.com>
7886
7887 * posix/Makefile (before-compile): Remove testcases.h and
7888 ptestcases.h.
7889 (generated): Add testcases.h and ptestcases.h.
7890 (testcases.h, ptestcases.h): Move to $(objpfx).
7891 (runtests.o): Add dependency on testcases.h.
7892 (runptests.o): Add dependency on ptestcases.h.
7893 * posix/testcases.h, posix/ptestcases.h: Remove files.
7894 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
7895 not touch posix/testcases.h and posix/ptestcases.h.
7896
96cd0558
FW
78972018-11-28 Florian Weimer <fweimer@redhat.com>
7898
7899 support: Add signal support to support_capture_subprocess_check.
7900 * support/capture_subprocess.h (support_capture_subprocess_check):
7901 Adjust comment and rename parameter.
7902 * support/support_capture_subprocess_check.c
7903 (print_actual_status): New function.
7904 (support_capture_subprocess_check): Support negative
7905 status_or_signal. Call print_actual_status.
7906 * support/tst-support_capture_subprocess.c (do_test): Call
7907 support_capture_subprocess_check.
7908 * libio/tst-vtables-common.c (termination_status)
7909 (init_termination_status): Remove.
7910 (check_for_termination): Adjust support_capture_subprocess_check
7911 call.
7912 (do_test): Remove call to init_termination_status.
7913
530504e3
JM
79142018-11-28 Joseph Myers <joseph@codesourcery.com>
7915
7916 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
7917 source directory instead of a copy.
7918 (CommandList.create_copy_dir): Remove.
7919
9a0b6970
SL
79202018-11-28 Stefan Liebler <stli@linux.ibm.com>
7921
7922 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7923
47d8d9a2
FW
79242018-11-28 Florian Weimer <fweimer@redhat.com>
7925
7926 * support/support.h (support_quote_string): Do not use str
7927 parameter name.
7928
b473b7d8
JM
79292018-11-27 Joseph Myers <joseph@codesourcery.com>
7930
7931 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
7932 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
7933
c74a91de
FW
79342018-11-27 Florian Weimer <fweimer@redhat.com>
7935
7936 * support/support.h (support_quote_string): Declare.
7937 * support/support_quote_string.c: New file.
7938 * support/tst-support_quote_string.c: Likewise.
7939 * support/Makefile (libsupport-routines): Add
7940 support_quote_string.
7941 (tests): Add tst-support_quote_string.
7942
d527c860
FW
79432018-11-27 Florian Weimer <fweimer@redhat.com>
7944
7945 [BZ #23927]
7946 CVE-2018-19591
7947 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
7948 descriptor leak in case of ENODEV error.
7949
979cfed0
RÁE
79502018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
7951
7952 [BZ #19767]
7953 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
7954 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
7955 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
7956
ce035c6e
CD
79572018-11-26 Carlos O'Donell <carlos@redhat.com>
7958
7959 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
7960 Error for unknown lines.
7961
2bd0bfcc
JM
79622018-11-26 Joseph Myers <joseph@codesourcery.com>
7963
7964 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
7965 Touch additional files.
7966
affec03b
FW
79672018-11-26 Florian Weimer <fweimer@redhat.com>
7968
7969 [BZ #23907]
7970 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
7971 double-frees.
7972
8ae74ead
RÁE
79732018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
7974
7975 [BZ #19767]
7976 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
7977 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
7978 SHARED. Include sysdep.h.
7979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
7980 ALWAYS_USE_VSYSCALL.
7981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
7982 ALWAYS_USE_VSYSCALL.
7983
1e8bdc3a
RÁE
79842018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
7985
7986 [BZ #19767]
7987 * nptl/Makefile (tests-static): Add tst-cond11-static.
7988 (tests): Likewise.
7989 * nptl/tst-cond11-static.c: New File.
7990 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
7991 tst-affinity-static.
7992 (tests): Likewise.
7993 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
7994 instead of SHARED.
7995 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
7996 (USE_VSYSCALL): Likewise.
7997 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
7998 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
7999 instead of SHARED.
8000 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
8001 SHARED.
8002 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
8003 New.
8004
1283c478
JM
80052018-11-23 Joseph Myers <joseph@codesourcery.com>
8006
8007 [BZ #23915]
8008 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8009 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
8010 Undefine.
8011
c089fd80
L
80122018-11-23 H.J. Lu <hongjiu.lu@intel.com>
8013
8014 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
8015 (tst-cet-legacy-1a-ARGS): New.
8016 ($(objpfx)tst-cet-legacy-1a): New target.
8017 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
8018
cc6c89fa
JM
80192018-11-22 Joseph Myers <joseph@codesourcery.com>
8020
95edd05c
JM
8021 * conform/conformtest.py (CompileSubTest.__init__): Set
8022 self.run_early to False.
8023 (ExecuteSubTest.__init__): Likewise.
8024 (HeaderTests.run): Try running all non-optional, non-XFAILed
8025 compilation tests in a single execution of the compiler.
8026
cc6c89fa
JM
8027 * conform/conformtest.py (CompileSubTest): New class.
8028 (ExecuteSubTest): Likewise.
8029 (ElementTest.run): Rename to gen_subtests. Append tests to
8030 self.subtests instead of running them.
8031 (ConstantTest.run): Likewise.
8032 (SymbolTest.run): Likewise.
8033 (TypeTest.run): Likewise.
8034 (TagTest.run): Likewise.
8035 (FunctionTest.run): Likewise.
8036 (VariableTest.run): Likewise.
8037 (MacroFunctionTest.run): Likewise.
8038 (MacroStrTest.run): Likewise.
8039 (HeaderTests.handle_test_line): Generate subtests for tests.
8040 (HeaderTests.run): Run subtests for tests.
8041
a502c529
SN
80422018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8043
8044 * math/Versions (GLIBC_2.29): Add pow.
8045 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
8046 symbol.
8047 * math/w_pow.c: New file.
8048 * sysdeps/i386/fpu/w_pow.c: New file.
8049 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
8050 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
8051 and add necessary aliases.
8052 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
8053 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
8054 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8055 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8056 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8057 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8058 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8059 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8060 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8061 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8062 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8063 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8064 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8065 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8066 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8071 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8072 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8073 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8074 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8075 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8076 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8077 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8078 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
8079 __pow.
8080 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
8081 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
8082 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
8083
718d6542
SN
80842018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8085
8086 * math/Versions (GLIBC_2.29): Add log2.
8087 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
8088 symbol.
8089 * math/w_log2.c: New file.
8090 * sysdeps/i386/fpu/w_log2.c: New file.
8091 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
8092 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
8093 and add necessary aliases.
8094 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
8095 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
8096 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8097 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8098 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8099 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8100 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8101 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8102 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8103 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8104 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8105 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8106 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8107 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8108 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8113 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8114 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8115 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8116 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8117 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8118 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8119 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8120
f29b7c49
SN
81212018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8122
8123 * math/Versions (GLIBC_2.29): Add log.
8124 * math/w_log_compat.c (__log_compat): Change to versioned compat
8125 symbol.
8126 * math/w_log.c: New file.
8127 * sysdeps/i386/fpu/w_log.c: New file.
8128 * sysdeps/ia64/fpu/e_log.S: Update.
8129 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
8130 and add necessary aliases.
8131 * sysdeps/ieee754/dbl-64/w_log.c: New file.
8132 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
8133 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8134 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8135 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8136 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8137 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8138 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8139 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8140 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8141 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8142 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8143 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8144 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8145 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8150 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8151 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8152 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8153 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8154 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8155 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8156 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8157 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
8158 __log.
8159 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
8160 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
8161 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
8162 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
8163
c20a1056
SN
81642018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8165
8166 * math/Versions (GLIBC_2.29): Add exp and exp2.
8167 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
8168 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
8169 * math/w_exp_compat.c (__exp_compat): Likewise.
8170 * math/w_exp.c: New file.
8171 * math/w_exp2.c: New file.
8172 * sysdeps/i386/fpu/w_exp.c: New file.
8173 * sysdeps/i386/fpu/w_exp2.c: New file.
8174 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
8175 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
8176 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
8177 and add necessary aliases.
8178 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
8179 and add necessary aliases.
8180 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
8181 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
8182 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
8183 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
8184 * sysdeps/mach/hurd/i386/libm.abilist: Update.
8185 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
8186 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
8187 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
8188 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
8189 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8190 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
8191 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
8192 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
8193 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
8194 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
8195 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
8196 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
8197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
8198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
8199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
8200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
8201 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
8202 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
8203 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
8204 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
8205 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
8206 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
8207 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
8208 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
8209 (__ieee754_exp): Rename to __exp.
8210 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
8211 (__ieee754_exp): Rename to __exp.
8212 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
8213 (__ieee754_exp): Rename to __exp.
8214 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
8215 __exp.
8216 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
8217
bcdaad21
DD
82182018-11-20 DJ Delorie <dj@redhat.com>
8219
8220 * malloc/malloc.c (tcache_entry): Add key field.
8221 (tcache_put): Set it.
8222 (tcache_get): Likewise.
8223 (_int_free): Check for double free in tcache.
8224 * malloc/tst-tcfree1.c: New.
8225 * malloc/tst-tcfree2.c: New.
8226 * malloc/Makefile: Run the new tests.
8227 * manual/probes.texi: Document memory_tcache_double_free probe.
8228
8229 * dlfcn/dlerror.c (check_free): Prevent double frees.
8230
5770c0ad
WD
82312018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
8232
8233 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
8234
9a62a939
JM
82352018-11-20 Joseph Myers <joseph@codesourcery.com>
8236
8237 * conform/conformtest.py (ElementTest.run): Use unique identifiers
8238 in tests. Use names for format arguments.
8239 (ConstantTest.run): Likewise.
8240 (SymbolTest.run): Likewise.
8241 (TypeTest.run): Likewise.
8242 (TagTest.run): Likewise.
8243 (FunctionTest.run): Likewise.
8244 (VariableTest.run): Likewise.
8245 (MacroFunctionTest.run): Likewise.
8246 (MacroStrTest.run): Likewise.
8247 (HeaderTests.__init__): Set self.num_tests.
8248 (HeaderTests.handle_test_line): Set test.num. Increment
8249 self.num_tests.
8250
b15b1a95
ST
82512018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
8252
8253 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
8254 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
8255 SEEK_SET.
8256
0c7f97ae
MH
82572018-11-19 Mao Han <han_mao@c-sky.com>
8258
8259 * scripts/config.guess: Update to version 2018-08-29.
8260 * scripts/config.sub: Update to version 2018-08-29.
8261
35e3fbc4
FW
82622018-11-19 Florian Weimer <fweimer@redhat.com>
8263
8264 support: Print timestamps in timeout handler.
8265 * support/support_test_main.c (print_timestamp): New function.
8266 (signal_handler): Use it to print the termination time and the
8267 time of the last write to standard output.
8268
c75772e3
ZW
82692018-11-16 Zack Weinberg <zackw@panix.com>
8270 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8271
8272 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
8273 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
8274 argument.
8275 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
8276 and add flags argument. Check flags instead of __ldbl_is_dbl when
8277 deciding whether to set is_long_double.
8278 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
8279 passing zero for flags argument.
8280 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
8281
8282 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
8283 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
8284 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
8285 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
8286 variable names. Remove libc_hidden_def/libc_hidden_proto from
8287 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
8288 longer called from within the library.
8289 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
8290 for __nldbl___vstrfmon_l, declare it explicitly.
8291
8292 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
8293
346ef23f
ST
82942018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
8295
8296 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
8297 macros
8298 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
8299 F_SETLK64, F_SETLKW64, respectively.
8300 * sysdeps/mach/hurd/f_setlk.c: New file.
8301 * sysdeps/mach/hurd/f_setlk.h: New file.
8302 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
8303 f_setlk.
8304 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
8305 (__libc_fcntl): Move non-flock operations to...
8306 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
8307 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
8308
de20b81a
PE
83092018-11-15 Paul Eggert <eggert@cs.ucla.edu>
8310
5d8af156
PE
8311 mktime: DEBUG_MKTIME cleanup
8312 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
8313 And it’s no longer needed now that glibc and Gnulib both have
8314 their own testing mechanisms for mktime.
8315 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
8316
86aece3b
PE
8317 mktime: fix non-EOVERFLOW errno handling
8318 [BZ#23789]
8319 mktime was not properly reporting failures when the underlying
8320 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
8321 them like EOVERFLOW failures, and set errno to EOVERFLOW.
8322 The problem could happen on non-glibc platforms, with Gnulib.
8323 * time/mktime.c (guess_time_tm): Remove, replacing with ...
8324 (tm_diff): ... this simpler function, which does not change errno.
8325 All callers changed to deal with errno themselves.
8326 (ranged_convert, __mktime_internal): Return failure immediately if
8327 the underlying function reports any failure other than EOVERFLOW.
8328 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
8329 gap code fails.
8330
f6b3331b
PE
8331 mktime: fix bug with Y2038 DST transition
8332 [BZ#23789]
8333 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
8334 mishandle a DST transition that jumps over the Y2038 boundary.
8335 No such DST transitions are known so this is only a theoretical
8336 bug, but we might as well do things right.
8337
efbdddc3
PE
8338 mktime: make more room for overflow
8339 [BZ#23789]
8340 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
8341 This is so that we can add tm_diff results to a previous guess,
8342 which will be useful in a later patch.
8343
6c90d759
PE
8344 mktime: simplify offset guess
8345 [BZ#23789]
8346 * time/mktime.c (__mktime_internal): Omit excess precision.
8347
32c12f3f
PE
8348 mktime: new test for mktime failure
8349 [BZ#23789]
8350 Based on a test suggested by Albert Aribaud in:
8351 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
8352 * time/Makefile (tests): Add bug-mktime4.
8353 * time/bug-mktime4.c: New file.
8354
de20b81a
PE
8355 mktime: fix EOVERFLOW bug
8356 [BZ#23789]
8357 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
8358 Include libc-config.h, not config.h, for __set_errno.
8359 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
8360
8c6c3fb0
ST
83612018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
8362
8363 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
8364 __attribute_copy__ to copy attributes from name. Drop static qualifier
8365 to avoid warnings about leaf attribute not having effect on static
8366 functions.
8367
6923f6db
FW
83682018-11-13 Florian Weimer <fweimer@redhat.com>
8369
8370 * malloc/malloc.c (fastbin_push_entry): New function.
8371 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
8372 (REMOVE_FB): Remove macro.
8373 (_int_malloc): Use fastbin_pop_entry and reindent.
8374 (_int_free): Use fastbin_push_entry.
8375 (malloc_consolidate): Use atomic_exchange_acquire.
8376
53f5c659
JM
83772018-11-13 Joseph Myers <joseph@codesourcery.com>
8378
0c096dcf
JM
8379 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
8380 alias attribute, not with strong_alias.
8381
9c4b457e
JM
8382 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
8383 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
8384 with additional parameter thread.
8385 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
8386 in terms of __hidden_ver2.
8387 (hidden_tls_def): New macro.
8388 (libc_hidden_tls_def): Likewise.
8389 (rtld_hidden_tls_def): Likewise.
8390 (libm_hidden_tls_def): Likewise.
8391 (libmvec_hidden_tls_def): Likewise.
8392 (libresolv_hidden_tls_def): Likewise.
8393 (librt_hidden_tls_def): Likewise.
8394 (libdl_hidden_tls_def): Likewise.
8395 (libnss_files_hidden_tls_def): Likewise.
8396 (libnsl_hidden_tls_def): Likewise.
8397 (libnss_nisplus_hidden_tls_def): Likewise.
8398 (libutil_hidden_tls_def): Likewise.
8399 (libutil_hidden_tls_def): Likweise.
8400 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
8401 libc_hidden_tls_def.
8402 (__sim_disabled_exceptions_thread): Likewise.
8403 (__sim_round_mode_thread): Likewise.
8404
53f5c659
JM
8405 * sysdeps/sparc/sparc-ifunc.h [SHARED]
8406 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
8407 copy attributes from name.
8408
092dfde6
JM
84092018-11-12 Joseph Myers <joseph@codesourcery.com>
8410
f578f97b
JM
8411 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
8412 Use __attribute_copy__ to copy attributes from name.
8413
9a7c643a
JM
8414 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
8415 with __hidden_ver1 call.
8416 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
8417 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
8418 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
8419 (__cosf): Do not declare here.
8420 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
8421 (__sincosf): Do not declare here.
8422 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
8423 (__sinf): Do not declare here.
8424
092dfde6
JM
8425 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
8426 (__BIG_ENDIAN): Likewise.
8427 (__BYTE_ORDER): Likewise.
8428 (strong_alias): Likewise.
8429 (_strong_alias): Likewise.
8430
1ecba1fa
FW
84312018-11-12 Florian Weimer <fweimer@redhat.com>
8432
8433 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
8434 function. Move after the definition of in_smallbin_range. Do not
8435 use __builtin_expect for paths that lead to a noreturn function.
8436 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
8437 because it is unclear whether this is in fact an unlikely
8438 condition.
8439 (_int_malloc, _int_free): Adjust.
8440 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
8441 variables.
8442 * malloc/arena.c (heap_trim): Likewise.
8443
434c34bd
ST
84442018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8445
8446 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
8447 it, free it if needed.
8448 (reauthenticate): Test and use ccwdir.
8449 (child_init_port): In non-resetids case, test and use ccwdir.
8450 (child_chdir): New nested function to set ccwdir.
7fa495cd
ST
8451 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
8452 * hurd/hurd/port.h (_hurd_port_move): New function.
8453 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
8454 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
88b26b7e
ST
8455 * hurd/Versions (_hurd_port_move): Export function.
8456 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
8457 symbol.
58bb655a
ST
8458 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
8459 of dtablesize for allocating dtable_cloexec.
434c34bd 8460
1626a1cf
MS
84612018-11-09 Martin Sebor <msebor@redhat.com>
8462
8463 * include/libc-symbols.h (__attribute_copy__): Define macro unless
8464 it's already defined.
8465 (_strong_alias): Use __attribute_copy__.
8466 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
8467 * misc/sys/cdefs.h (__attribute_copy__): New macro.
8468 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
8469 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
8470 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
8471 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
8472 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
8473 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
8474 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
8475 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
8476 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
8477 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
8478 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
8479 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
8480 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
8481 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
8482 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
8483 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
8484 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
8485
968ed530
GG
84862018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8487
8488 * misc/tst-efgcvt.c: Include support/check.h and
8489 support/test-driver.c. Do not include test-skeleton.c.
8490 (error_count): Remove.
8491 (output_error): Replace increments to error_count with calls to
8492 support_record_failure.
8493 (output_r_error): Likewise.
8494 (special): Likewise.
8495 (do_test): Unconditionally return zero.
8496 (TEST_FUNCTION): Remove.
8497
c3ec0972
JM
84982018-11-09 Joseph Myers <joseph@codesourcery.com>
8499
91faaa93
JM
8500 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
8501 not $(@D)/scratch.
8502 ($(linknamespace-header-tests)): Likewise.
8503
c3ec0972
JM
8504 * conform/conformtest.py: New file.
8505 * conform/conformtest.pl: Remove.
8506 * conform/GlibcConform.pm: Likewise.
8507 * conform/glibcconform.py (KEYWORDS_C90): New constant.
8508 (KEYWORDS_C99): Likewise.
8509 (KEYWORDS): Likewise.
8510 * conform/Makefile ($(conformtest-header-tests)): Use
8511 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
8512 option. Use --header instead of --headers.
8513 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
8514 function entries.
8515 * conform/data/spawn.h-data: Likewise.
8516 * conform/data/fcntl.h-data (openat): Add space after function
8517 name.
8518 * conform/data/wchar.h-data (wcscasecmp): Likewise.
8519 (wcscasecmp_l): Likewise.
8520 * conform/data/termios.h-data (c_cc): Add space after element
8521 name.
8522
43257c33
GG
85232018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8524
8525 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
8526 instead of manually comparing and reporting mismatching strings.
8527 * misc/tst-ldbl-error.c (do_one_test): Likewise.
8528 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
8529
e5de3b5b
JM
85302018-11-08 Joseph Myers <joseph@codesourcery.com>
8531
8532 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
8533 __ASSUME_SOCKETCALL.
8534 * sysdeps/unix/sysv/linux/i386/kernel-features.h
8535 (__ASSUME_SOCKETCALL): Remove.
8536 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8537 (__ASSUME_SOCKETCALL): Likewise.
8538 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8539 (__ASSUME_SOCKETCALL): Likewise.
8540 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8541 (__ASSUME_SOCKETCALL): Likewise.
8542 * sysdeps/unix/sysv/linux/s390/kernel-features.h
8543 (__ASSUME_SOCKETCALL): Likewise.
8544 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8545 (__ASSUME_SOCKETCALL): Likewise.
8546 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8547 (__ASSUME_SOCKETCALL): Likewise.
8548
d524fa6c
L
85492018-11-08 H.J. Lu <hongjiu.lu@intel.com>
8550
8551 [BZ #23509]
8552 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
8553 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
8554 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
8555 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
8556 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
8557 lc_unknown.
8558
ac806026
AH
85592018-11-08 Alexandra Hájková <ahajkova@redhat.com>
8560
8561 [BZ #17630]
8562 * resolv/tst-resolv-network.c: Add test for getnetbyname.
8563
596cc360
JM
85642018-11-07 Joseph Myers <joseph@codesourcery.com>
8565
8566 [BZ #23867]
8567 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8568 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
8569 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8570 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
8571
00c86a37
AZ
85722018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8573
8574 * support/support_test_compare_string.c
8575 (support_test_compare_string): Fix printf format.
8576
1df872fd
FW
85772018-11-07 Florian Weimer <fweimer@redhat.com>
8578
8579 Implement TEST_COMPARE_STRING.
8580 * support/check.h (TEST_COMPARE_STRING): Define.
8581 (support_test_compare_string): Declare.
8582 * support/Makefile (libsupport-routines): Add
8583 support_test_compare_string.
8584 (tests): Add tst-test_compare_string.
8585 * support/support_test_compare_string.c: New file.
8586 * support/tst-test_compare_string.c: Likewise.
8587
295132ff
AS
85882018-11-07 Andreas Schwab <schwab@suse.de>
8589
8590 [BZ #23864]
8591 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
8592 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
8593 Undef.
8594
e143ceba
JM
85952018-11-06 Joseph Myers <joseph@codesourcery.com>
8596
8597 [BZ #23862]
8598 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8599 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
8600 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
8601 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
8602 Likewise.
8603
4a938cb2
FW
86042018-11-06 Florian Weimer <fweimer@redhat.com>
8605
8606 [BZ #17405]
8607 * posix/Makefile (routines): Add spawn_faction_addchdir.
8608 (tests): Add tst-spawn-chdir.
8609 * posix/Versions (GLIBC_2.29): Add
8610 posix_spawn_file_actions_addchdir_np.
8611 * posix/spawn_faction_addchdir.c: New file.
8612 * posix/spawn_faction_destroy.c
8613 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
8614 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
8615 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
8616 chdir_action.
8617 * posix/tst-spawn-chdir.c: New file.
8618 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
8619 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
8620 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
8621 posix_spawn_file_actions_addchdir_np.
8622 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
8623 Likewise.
8624 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
8625 Likewise.
8626 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
8627 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
8628 Likewise.
8629 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
8630 Likewise.
8631 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
8632 Likewise.
8633 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
8634 Likewise.
8635 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
8636 Likewise.
8637 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
8638 Likewise.
8639 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8640 (GLIBC_2.29): Likewise.
8641 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8642 (GLIBC_2.29): Likewise.
8643 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8644 (GLIBC_2.29): Likewise.
8645 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8646 (GLIBC_2.29): Likewise.
8647 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
8648 Likewise.
8649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8650 (GLIBC_2.29): Likewise.
8651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8652 (GLIBC_2.29): Likewise.
8653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8654 (GLIBC_2.29): Likewise.
8655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8656 (GLIBC_2.29): Likewise.
8657 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
8658 Likewise.
8659 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
8660 Likewise.
8661 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
8662 Likewise.
8663 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
8664 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
8665 Likewise.
8666 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
8667 Likewise.
8668 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
8669 Likewise.
8670 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
8671 Likewise.
8672
7597b0c7
GG
86732018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8674
8675 * misc/Makefile (tests): Add tst-ldbl-error.
8676 * misc/tst-ldbl-error.c: New file.
8677
9771e6cb
GG
86782018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8679
8680 * misc/Makefile (tests): Add tst-ldbl-warn.
8681 * misc/tst-ldbl-warn.c: New file.
8682
2c03961f
GG
86832018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8684
8685 * argp/Makefile (tests): Add tst-ldbl-argp.
8686 * argp/tst-ldbl-argp.c: New file.
8687
6d6ee046
AS
86882018-11-05 Arjun Shankar <arjun@redhat.com>
8689
8690 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
8691 __gconv_path_elem and call __gconv_get_path unconditionally.
8692
bd3b0fba
AS
86932018-11-05 Andreas Schwab <schwab@suse.de>
8694
8695 [BZ #22927]
8696 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
8697 creating the first helper thread failed.
8698
2e96e980
ST
86992018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
8700
8701 * sysdeps/mach/hurd/msync.c: New file.
8702
6e36266c
FW
87032018-11-02 Florian Weimer <fweimer@redhat.com>
8704
8705 * support/shell-container.c (copy_func): Call
8706 support_copy_file_range instead of copy_file_range to support
8707 cross-device copies.
8708
599f7bee
FW
87092018-11-02 Florian Weimer <fweimer@redhat.com>
8710
8711 * support/test-container.c: Include <libc-pointer-arith.h> for
8712 ALIGN_UP.
8713
ff48ea67
ZL
87142018-11-01 Zong Li <zong@andestech.com>
8715
af1d5782
ZL
8716 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
8717 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
8718 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
8719 (__FP_FRAC_SET_8): Add implementation for RV32 use.
8720
ff48ea67
ZL
8721 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
8722 variable to avoid overlap arguments.
8723
daea71c2
JM
87242018-11-01 Joseph Myers <joseph@codesourcery.com>
8725
eac4405a
JM
8726 * posix/bug-regex22.c (main): Use puts with distinct error
8727 messages for unexpected success of re_compile_pattern, not printf
8728 with NULL argument to %s.
8729
6f30e59f
JM
8730 * stdio-common/bug22.c: Include <libc-diag.h>.
8731 (do_test): Disable -Wformat-overflow= warnings around fprintf
8732 calls outputting more than INT_MAX characters.
8733 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
8734 around printf call with NULL %s argument.
8735
daea71c2
JM
8736 [BZ #23848]
8737 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
8738 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
8739 Undefine.
8740 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8741 (__ASSUME_RECVMSG_SYSCALL): Likewise.
8742 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8743 (__ASSUME_SENDTO_SYSCALL): Likewise.
8744 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8745 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
8746 [!__arch64__].
8747 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8748 (__ASSUME_CONNECT_SYSCALL): Likewise.
8749 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8750 (__ASSUME_RECVFROM_SYSCALL): Likewise.
8751 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
8752 Define.
8753 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
8754 Likewise.
8755 [__LINUX_KERNEL_VERSION >= 0x040400]
8756 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8757 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
8758 Remove.
8759 (listen): Likewise.
8760 (setsockopt): Likewise.
8761
8e3c00db
FN
87622018-11-01 Fredrik Noring <noring@nocrew.org>
8763
8764 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
8765 with the ISA override.
8766
9c3dbdbe
RAE
87672018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
8768
8769 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
8770 #endif.
8771
e3a88b3e
ST
87722018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8773
a67377e7 8774 * manual/errno.texi (EIEIO): Document how translators should
e3a88b3e 8775 translate the error message.
a67377e7
ST
8776 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
8777 printing trailing whitespaces refused by git.
8778 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
8779 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fc783076 8780 * hurd/Makefile (user-interfaces): Add pci.
e3a88b3e 8781
3ca235ed
JM
87822018-10-30 Joseph Myers <joseph@codesourcery.com>
8783
8784 * conform/linknamespace.py: New file.
8785 * conform/linknamespace.pl: Remove file.
8786 * conform/Makefile ($(linknamespace-header-tests)): Use
8787 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
8788 option.
8789
60708030
FW
87902018-10-30 Florian Weimer <fweimer@redhat.com>
8791
8792 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
8793 memory leaks.
8794
a91e9301
FW
87952018-10-30 Florian Weimer <fweimer@redhat.com>
8796
8797 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
8798
07da99aa
FW
87992018-10-30 Florian Weimer <fweimer@redhat.com>
8800
8801 * stdlib/tst-strtod-overflow.c (do_test): Switch to
8802 support_blob_repeat.
8803
f5e7e959
FW
88042018-10-30 Florian Weimer <fweimer@redhat.com>
8805
8806 Avoid spurious test failures in stdlib/test-bz22786.
8807 * support/Makefile (libsupport-routines): Add blob_repeat.
8808 (tests): Add tst-support_blob_repeat.
8809 * support/blob_repeat.h: New file.
8810 * support/blob_repeat.c: Likewise.
8811 * support/tst-support_blob_repeat.c: Likewise.
8812 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
8813 support_blob_repeat_allocate.
8814
2dd12baa
AS
88152018-10-30 Andreas Schwab <schwab@suse.de>
8816
8817 [BZ #23125]
8818 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
8819 Don't use tail call.
8820 * elf/tst-unwind-main.c: New file.
8821 * elf/Makefile (tests): Add tst-unwind-main.
8822 (CFLAGS-tst-unwind-main.c): Define.
8823
6b5c8607 88242018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
fec8bb7c
SAA
8825
8826 [BZ #23791]
8827 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
8828 n_cs_precedes to 0.
8829 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
8830
c6982f7e
JM
88312018-10-29 Joseph Myers <joseph@codesourcery.com>
8832
954cf3c2
JM
8833 * conform/glibcconform.py: Do not import shutil.
8834 (list_exported_functions): Use tempfile.TemporaryDirectory instead
8835 of mkdtemp.
8836
c6982f7e
JM
8837 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
8838 critic_missing for versions before 3.4.
8839 * configure: Regenerated.
8840 * manual/install.texi (Tools for Compilation): Document
8841 requirement for Python to build glibc.
8842 * INSTALL: Regenerated.
8843 * Rules [PYTHON]: Make code unconditional.
8844 * benchtests/Makefile [PYTHON]: Likewise.
8845 * conform/Makefile [PYTHON]: Likewise.
8846 * manual/Makefile [PYTHON]: Likewise.
8847 * math/Makefile [PYTHON]: Likewise.
8848
46a7f24c
ST
88492018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8850
8851 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2d0d1d38 8852 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
b6e7c449 8853 answer to interrupt_operation, return EIEIO instead of EINTR.
5c81be53
ST
8854 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
8855 _hurd_intr_rpc_msg_about_to global point to start of controlled
8856 assembly snippet. Make it check canceled flag.
8857 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
8858 the _hurd_intr_rpc_msg_about_to point.
8859 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
8860 issue, remove cancel flag check.
46a7f24c 8861
e5b8756d
JM
88622018-10-26 Joseph Myers <joseph@codesourcery.com>
8863
8864 * scripts/build-many-glibcs.py: Remove compatibility for missing
8865 os.cpu_count and re.fullmatch.
8866
ba5b14c7
SN
88672018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
8868
8869 [BZ #23822]
8870 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
8871 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
8872 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
8873
fe61f17c
JM
88742018-10-25 Joseph Myers <joseph@codesourcery.com>
8875
8876 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
8877 macro.
8878
7c5e34d7
FW
88792018-10-25 Florian Weimer <fweimer@redhat.com>
8880
8881 [BZ #23562]
8882 [BZ #23821]
8883 XFAIL siginfo_t si_band conform test on sparc64.
8884 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
8885 (__SI_BAND_TYPE): Only override long int default type on sparc64.
8886 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
8887 (conformtest-xfail-conds): Add sparc64-linux.
8888 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
8889 sparc64.
8890 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
8891
5b784e88
JM
88922018-10-25 Joseph Myers <joseph@codesourcery.com>
8893
8894 * elf/elf.h (NT_MIPS_DSP): New macro.
8895 (NT_MIPS_FP_MODE): Likewise.
8896
41432ebe
ZL
88972018-10-25 Zong Li <zong@andestech.com>
8898
8899 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
8900 name by adding the file extension (.so).
8901
d026efea
ST
89022018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
8903
8904 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
8905 (test-xfail-ISO11/threads.h/linknamespace,
8906 test-xfail-ISO11/threads.h/conform): Add.
8907
b71ac2b9
JM
89082018-10-24 Joseph Myers <joseph@codesourcery.com>
8909
8910 * math/gen-libm-test.py: Import os.
8911 (ALL_FLOATS_MANUAL): New constant.
8912 (ALL_FLOATS_SUFFIX): Likewise.
8913 (Ulps.all_functions): New function.
8914 (real_all_ulps): Likewise.
8915 (generate_err_table_sub): Likewise.
8916 (generate_err_table): Likewise.
8917 (main): Handle -s and -m options.
8918 * manual/libm-err-tab.pl: Remove.
8919 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
8920 instead of libm-err-tab.pl.
8921 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
8922 != no].
8923 * manual/install.texi (Tools for Compilation): Document
8924 requirement for Python to build manual.
8925 * INSTALL: Regenerated.
8926
6b5c8607 89272018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
d51f99ce
AA
8928
8929 * bits/time64.h: New file.
8930 * include/time.h: Replace internal_time_t with __time64_t.
8931 * posix/bits/types (__time64_t): Add.
8932 * stdlib/Makefile: Add bits/time64.h to includes.
8933 * time/tzfile.c: Replace internal_time_t with __time64_t.
8934
97d91fcc 89352018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2a973ab7
AZ
8936
8937 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
8938 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
8939 __posix_spawn_file_actions_init, __posix_spawnattr_init,
8940 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
8941 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
8942 prototype.
8943 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
8944 * posix/spawn_faction_addclose.c
8945 (__posix_spawn_file_actions_addclose): Add hidden definition.
8946 * posix/spawn_faction_adddup2.c
8947 (__posix_spawn_file_actions_adddup2): Likewise.
8948 * posix/spawn_faction_destroy.c
8949 (__posix_spawn_file_actions_destroy): Likewise.
8950 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
8951 Likewise.
8952 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
8953 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
8954 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
8955 Likewise.
8956 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
8957 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
8958 Likewise.
8959
2954daf0
AS
89602018-10-24 Andreas Schwab <schwab@suse.de>
8961
8962 [BZ #18093]
8963 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
8964 format cache.
8965 * elf/cache.c (print_cache): Likewise.
8966
6b5c8607 89672018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
a27a4f47
AA
8968
8969 * bits/timesize.h: New file.
8970 * stdlib/Makefile (headers): Add bits/timesize.h.
8971 * sysdeps/unix/sysv/linux/bits/msq-pad.h
8972 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
8973 * sysdeps/unix/sysv/linux/bits/sem-pad.h
8974 (__SEM_PAD_AFTER_TIME): Likewise.
8975 * sysdeps/unix/sysv/linux/bits/shm-pad.h
8976 (__SHM_PAD_AFTER_TIME): Likewise.
8977 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
8978 (__MSQ_PAD_BEFORE_TIME): Likewise.
8979 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
8980 (__SEM_PAD_BEFORE_TIME): Likewise.
8981 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
8982 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
8983 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
b39d961c
TS
8984 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
8985 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
8986 (__MSQ_PAD_BEFORE_TIME): Likewise.
a27a4f47
AA
8987 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
8988 (__SEM_PAD_BEFORE_TIME): Likewise.
8989 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
8990 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
8991 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
8992 (__MSQ_PAD_BEFORE_TIME): Likewise.
8993 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
8994 (__SEM_PAD_BEFORE_TIME): Likewise.
8995 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
8996 (__SHM_PAD_BEFORE_TIME): Likewise.
8997 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
8998 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
8999 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
9000
7cc65773
L
90012018-10-24 H.J. Lu <hongjiu.lu@intel.com>
9002
9003 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
9004 USE_RDTSCP is defined.
9005 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
9006 USE_RDTSCP is defined.
9007
c3d8dc45
AZ
90082018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9009
18ad0de6
AZ
9010 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
9011 defined.
9012
c3d8dc45
AZ
9013 [BZ #23709]
9014 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
9015 independently of other flags.
9016
f1034472
FW
90172018-10-23 Florian Weimer <fweimer@redhat.com>
9018
9019 * time/tst-mktime2.c (N_STRINGS): Remove.
9020 (set_timezone): New function.
9021 (spring_forward_gap): Call it. Use FAIL_EXIT1.
9022 (mktime_test1): Report localtime failure and check errno value.
9023 Use TEST_COMPARE.
9024 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
9025 (do_test): Remove alarm call. Use set_timezone and array_length.
9026
367d7cc2
AS
90272018-10-23 Andreas Schwab <schwab@suse.de>
9028
9029 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
9030 (__start_context): Use END instead of PSEUDO_END.
9031
be8ff03f
JM
90322018-10-22 Joseph Myers <joseph@codesourcery.com>
9033
029ad711
JM
9034 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9035 version to 4.19.
9036
8190520f
JM
9037 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9038 version to 4.19.
9039
be8ff03f
JM
9040 [BZ #23793]
9041 * wcsmbs/c32rtomb.c: New file.
9042 * wcsmbs/mbrtoc32.c: Likewise.
9043 * wcsmbs/tst-c32-state.c: Likewise.
9044 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
9045 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
9046 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
9047 (tests): Add tst-c32-state.
9048 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
9049 $(gen-locales).
9050
2dd8e58c
L
90512018-10-21 H.J. Lu <hongjiu.lu@intel.com>
9052
9053 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
9054 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
9055
d0a74159
JM
90562018-10-19 Joseph Myers <joseph@codesourcery.com>
9057
9058 [BZ #23794]
9059 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
9060 pair and return 0 in that case, and use saved character to
9061 interpret following character.
9062 * wcsmbs/tst-c16-surrogate.c: New file.
9063 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
9064 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
9065 Depend on $(gen-locales)
9066
f997b4be
IYM
90672018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
9068
9069 [BZ #23562]
9070 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
9071 (struct siginfo_t): Use correct type for si_band.
9072
53b2bb87
FW
90732018-10-19 Florian Weimer <fweimer@redhat.com>
9074
9075 [BZ #23689]
9076 * resource/bits/types/struct_rusage.h (struct rusage): Update
9077 comment on struct. Remove extraneous field comment.
9078
0a271c8f
DM
90792018-10-18 David S. Miller <davem@davemloft.net>
9080
94a3a27f
DM
9081 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
9082 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
9083 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
9084 sysdep_routines in subdir elf.
9085 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
9086 version for __vdso_clock_gettime.
9087 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
9088 Define.
9089 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
9090 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
9091
0a271c8f
DM
9092 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
9093
72771e53
L
90942018-10-17 H.J. Lu <hongjiu.lu@intel.com>
9095
9096 * sysdeps/i386/init-arch.h: Removed.
9097 * sysdeps/i386/i586/init-arch.h: Likewise.
9098 * sysdeps/i386/i686/init-arch.h: Likewise.
9099 * sysdeps/i386/i686/hp-timing.h: Likewise.
9100 * sysdeps/x86_64/hp-timing.h: Likewise.
9101 * sysdeps/i386/isa.h: New file.
9102 * sysdeps/i386/i586/isa.h: Likewise.
9103 * sysdeps/i386/i686/isa.h: Likewise.
9104 * sysdeps/x86_64/isa.h: Likewise.
9105 * sysdeps/x86/hp-timing.h: New file.
9106 * sysdeps/x86/init-arch.h: Include <isa.h>.
9107
c2b7ccad
JM
91082018-10-17 Joseph Myers <joseph@codesourcery.com>
9109
9110 * math/libm-test-pow.inc (pow_test_data): Do not allow
9111 divide-by-zero exception for pow(+/- 0, -Inf).
9112
26756e57
ZW
91132018-10-17 Zack Weinberg <zackw@panix.com>
9114
9115 * manual/job.texi (Job Control is Optional): Remove node, as
9116 job control has not been optional in quite some time.
9117 (Job Control): Mention briefly that systems older than
9118 POSIX.1-2001 might not support job control.
9119 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
9120 defined on systems conforming to POSIX.1-2001.
9121
c5288d37
AS
91222018-10-17 Arjun Shankar <arjun@redhat.com>
9123
9124 [BZ #22062]
9125 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
9126 indentation.
9127 * (__gconv_read_conf): Mark function static.
9128 * (once): New static variable.
9129 * (__gconv_load_conf): New function.
9130 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
9131 * iconv/gconv_db.c (once): Remove static variable.
9132 * (__gconv_compare_alias): Use __gconv_load_conf instead of
9133 __gconv_read_conf.
9134 * (__gconv_find_transform): Likewise.
9135 * iconv/tst-iconv-mt.c: New test.
9136 * iconv/Makefile: Add tst-iconv_mt.
9137
8c8d2a8a
JM
91382018-10-17 Joseph Myers <joseph@codesourcery.com>
9139
9140 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729f3402
JM
9141 bits/shm-pad.h.
9142 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
9143 (shmatt_t): Define as __syscall_ulong_t.
9144 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
9145 and [__SHM_PAD_AFTER_TIME].
9146 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
9147 Define shm_segsz and associated padding based on
9148 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
9149 Use __syscall_ulong_t instead of unsigned long int.
9150 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
9151 unsigned long int.
9152 [__USE_MISC] (struct shm_info): Likewise.
9153 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
9154 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
9155 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
9156 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
9157 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
9158 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
9159 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
9160 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
9161 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9162 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9163 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9164
9165 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8c8d2a8a
JM
9166 bits/shmlba.h.
9167 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
9168 (SHMLBA): Remove macro.
9169 (__getpagesize): Remove function declaration.
9170 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
9171 <bits/shmlba.h>.
9172 (SHMLBA): Remove macro.
9173 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
9174 <bits/shmlba.h>.
9175 (SHMLBA): Remove macro.
9176 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
9177 <bits/shmlba.h>.
9178 (SHMLBA): Remove macro.
9179 (__getpagesize): Remove function declaration.
9180 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
9181 <bits/shmlba.h>.
9182 (SHMLBA): Remove macro.
9183 (__getshmlba): Remove function declaration.
9184 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
9185 (SHMLBA): Remove macro.
9186 (__getpagesize): Remove function declaration.
9187 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
9188 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
9189 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9190 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
9191 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
9192 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
9193 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
9194 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
9195 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
9196 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
9197
403b4feb
SL
91982018-10-17 Stefan Liebler <stli@linux.ibm.com>
9199
9200 [BZ #23275]
9201 * nptl/tst-mutex10.c: New File.
9202 * nptl/Makefile (tests): Add tst-mutex10.
9203 (tst-mutex10-ENV): New variable.
9204 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
9205 Ensure that elision path is used if elision is available.
9206 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
9207 Likewise.
9208 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
9209 Likewise.
9210 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
9211 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
9212 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
9213 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
9214 Likewise.
9215 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
9216 (__pthread_mutex_cond_lock_adjust): Likewise.
9217 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
9218 Likewise.
9219 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
9220 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
9221 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9222 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
9223 Add comments.
9224 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
9225 Use atomic_load_relaxed and atomic_store_relaxed.
9226 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
9227 Use atomic_store_relaxed.
9228
ce5a7de6
AS
92292018-10-17 Andreas Schwab <schwab@suse.de>
9230
9231 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
9232 * crypt/badsalttest.c (TIMEOUT): Likewise.
9233 * crypt/sha256c-test.c (TIMEOUT): Likewise.
9234 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
9235 * io/test-lfs.c (TIMEOUT): Likewise.
9236 * libio/tst-atime.c (TIMEOUT): Likewise.
9237 * localedata/tst-leaks.c (TIMEOUT): Likewise.
9238 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
9239 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
9240 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
9241 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
9242 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
9243 * nptl/tst-cond11.c (TIMEOUT): Likewise.
9244 * nptl/tst-cond14.c (TIMEOUT): Likewise.
9245 * nptl/tst-cond15.c (TIMEOUT): Likewise.
9246 * nptl/tst-cond24.c (TIMEOUT): Likewise.
9247 * nptl/tst-cond25.c (TIMEOUT): Likewise.
9248 * nptl/tst-kill2.c (TIMEOUT): Likewise.
9249 * nptl/tst-kill3.c (TIMEOUT): Likewise.
9250 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
9251 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
9252 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
9253 * nptl/tst-once2.c (TIMEOUT): Likewise.
9254 * nptl/tst-once3.c (TIMEOUT): Likewise.
9255 * nptl/tst-once4.c (TIMEOUT): Likewise.
9256 * nptl/tst-robust8.c (TIMEOUT): Likewise.
9257 * nptl/tst-robust9.c (TIMEOUT): Likewise.
9258 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
9259 * nptl/tst-sem14.c (TIMEOUT): Likewise.
9260 * nptl/tst-sem6.c (TIMEOUT): Likewise.
9261 * nptl/tst-signal3.c (TIMEOUT): Likewise.
9262 * nptl/tst-spin4.c (TIMEOUT): Likewise.
9263 * nptl/tst-tls3.c (TIMEOUT): Likewise.
9264 * nptl/tst-tls4.c (TIMEOUT): Likewise.
9265 * posix/tst-chmod.c (TIMEOUT): Likewise.
9266 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
9267 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
9268 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
9269 * posix/tst-regex2.c (TIMEOUT): Likewise.
9270 * posix/tst-waitid.c (TIMEOUT): Likewise.
9271 * rt/tst-aio.c (TIMEOUT): Likewise.
9272 * rt/tst-aio10.c (TIMEOUT): Likewise.
9273 * rt/tst-aio4.c (TIMEOUT): Likewise.
9274 * rt/tst-aio5.c (TIMEOUT): Likewise.
9275 * rt/tst-aio6.c (TIMEOUT): Likewise.
9276 * rt/tst-aio64.c (TIMEOUT): Likewise.
9277 * rt/tst-aio7.c (TIMEOUT): Likewise.
9278 * rt/tst-aio9.c (TIMEOUT): Likewise.
9279 * rt/tst-clock.c (TIMEOUT): Likewise.
9280 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
9281 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
9282 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
9283 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
9284 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
9285 * rt/tst-timer4.c (TIMEOUT): Likewise.
9286 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
9287 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
9288 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
9289 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
9290 * time/tst-ftime.c (TIMEOUT): Likewise.
9291 * timezone/tst-tzset.c (TIMEOUT): Likewise.
9292
6b5c8607 92932018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
75c1aee5
AY
9294
9295 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
9296 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
9297 for thunderX2.
9298
bcdb1bfa
JM
92992018-10-15 Joseph Myers <joseph@codesourcery.com>
9300
9301 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9302 bits/sem-pad.h.
9303 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
9304 instead of <bits/wordsize.h>.
9305 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
9306 and [__SEM_PAD_AFTER_TIME].
9307 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
9308 __syscall_ulong_t instead of unsigned long int.
9309 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
9310 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
9311 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
9312 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
9313 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
9314 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
9315 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
9316 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
9317 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9318 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9319 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9320
f4efbdfb
PE
93212018-10-14 Paul Eggert <eggert@cs.ucla.edu>
9322
620a5d4c
PE
9323 regex: simplify by using intprops.h
9324 [BZ#23744]
9325 * posix/regex_internal.h [_LIBC]: Include intprops.h.
9326 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
9327 intprops.h defines them.
9328
f4efbdfb
PE
9329 regex: __builtin_expect → __glibc_unlikely
9330 [BZ#23744]
9331 This refactoring was prompted by a problem when the regex code is
9332 used as part of Gnulib and when the builder’s compiler does not grok
9333 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
9334 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
9335 Although this refactoring does not fix the problem directly,
9336 we might as well have Gawk use the now-preferred glibc style for when
9337 __builtin_expect is unavailable.
9338 * posix/regex_internal.h (BE): Remove.
9339 All uses replaced by __glibc_unlikely or __glibc_likely.
9340
9f9feb6d
JM
93412018-10-11 Joseph Myers <joseph@codesourcery.com>
9342
9343 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9344 bits/msq-pad.h.
9345 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
9346 instead of <bits/wordsize.h>.
9347 (msgqnum_t): Define as __syscall_ulong_t.
9348 (msglen_t): Likewise.
9349 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
9350 and [__MSQ_PAD_AFTER_TIME].
9351 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
9352 __syscall_ulong_t instead of unsigned long int.
9353 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
9354 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
9355 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
9356 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
9357 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
9358 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
9359 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
9360 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
9361 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9362 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9363 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9364
b9c0f6c1
JM
93652018-10-10 Joseph Myers <joseph@codesourcery.com>
9366
2a4b25fa
JM
9367 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
9368 (struct shmid_ds): Condition padding after time fields on
9369 [__WORDSIZE == 32].
9370 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
9371 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
9372 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9373
19e62f26
JM
9374 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
9375 (struct semid_ds): Condition padding after time fields on
9376 [__WORDSIZE == 32].
9377 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
9378 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
9379 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
9380 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9381
b9c0f6c1
JM
9382 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
9383 (struct msqid_ds): Condition padding after time fields on
9384 [__WORDSIZE == 32].
9385 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
9386 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
9387 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
9388 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9389
97785a61
SN
93902018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
9391
9392 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
9393
ed643089
SN
93942018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
9395
9396 * libio/tst-readline.c (TIMEOUT): Define.
9397
5a580643
PE
93982018-10-08 Paul Eggert <eggert@cs.ucla.edu>
9399
9400 mktime fix for Gnulib + coreutils
9401 [BZ#23745]
9402 This fix affects only Gnulib. Problem discovered when
9403 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
9404 * time/mktime.c:
9405 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
9406 Do not define since it is not used. Defining an unused static
9407 function prompts a warning from GCC when Coreutils is configured
9408 with --enable-gcc-warnings.
9409
c892ae04
LS
94102018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9411
9412 * benchtests/scripts/compare_bench.py (main): set float type on
9413 threshold argument.
9414
a68ec8ea
RL
94152018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
9416
9417 [BZ #23740]
9418 * localedata/locales/kl_GL (mon): Update, the relative case.
9419 (alt_mon): Add, fill with month names in the nominative case.
9420 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
9421 (d_fmt): Set to "%b %d %Y".
9422
a1987621
JM
94232018-10-04 Joseph Myers <joseph@codesourcery.com>
9424
47c49251
JM
9425 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
9426 <bits/mman-linux.h>.
9427 (PROT_READ): Don't define here.
9428 (PROT_WRITE): Likewise.
9429 (PROT_EXEC): Likewise.
9430 (PROT_NONE): Likewise.
9431 (PROT_GROWSDOWN): Likewise.
9432 (PROT_GROWSUP): Likewise.
9433 (MAP_SHARED): Likewise.
9434 (MAP_PRIVATE): Likewise.
9435 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
9436 [__USE_MISC] (MAP_FILE): Likewise.
9437 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
9438 [__USE_MISC] (MAP_ANON): Likewise.
9439 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
9440 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
9441 (MCL_CURRENT): Likewise.
9442 (MCL_FUTURE): Likewise.
9443 (MCL_ONFAULT): Likewise.
9444 [__USE_MISC] (MADV_NORMAL): Likewise.
9445 [__USE_MISC] (MADV_RANDOM): Likewise.
9446 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
9447 [__USE_MISC] (MADV_WILLNEED): Likewise.
9448 [__USE_MISC] (MADV_DONTNEED): Likewise.
9449 [__USE_MISC] (MADV_FREE): Likewise.
9450 [__USE_MISC] (MADV_REMOVE): Likewise.
9451 [__USE_MISC] (MADV_DONTFORK): Likewise.
9452 [__USE_MISC] (MADV_DOFORK): Likewise.
9453 [__USE_MISC] (MADV_HWPOISON): Likewise.
9454 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
9455 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
9456 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
9457 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
9458 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
9459 (__MAP_ANONYMOUS): New macro.
9460 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
9461 <bits/mman-linux.h> inclusion.
9462 (MAP_FIXED): Likewise.
9463 (MS_SYNC): Likewise.
9464 (MS_ASYNC): Likewise.
9465 (MS_INVALIDATE): Likewise.
9466 [__USE_MISC] (MADV_MERGEABLE): Likewise.
9467 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
9468 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
9469 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
9470 [__USE_MISC] (MADV_DONTDUMP): Likewise.
9471 [__USE_MISC] (MADV_DODUMP): Likewise.
9472 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
9473 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
9474
a1987621
JM
9475 [BZ #23735]
9476 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
9477 Define.
9478 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
9479 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
9480 Add test-nldbl-redirect.
9481 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
9482 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
9483 $(objpfx)libnldbl_nonshared.a.
9484
e7624d70
SL
94852018-10-04 Stefan Liebler <stli@linux.ibm.com>
9486
9487 * support/support.h (support_objdir_elf_ldso): New variable.
9488 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
9489 * support/Makefile (CFLAGS-support_paths.c): Add definition
9490 for OBJDIR_ELF_LDSO_PATH.
9491 * support/test-container.c (main): Search for the ld.so
9492 which is also used by the testsuite.
9493
dae3ed95
RL
94942018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
9495
9496 [BZ #20209]
9497 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
9498 should be "sap" rather than "sab".
9499 (day): Fix spelling of Sunday, should be "sapaat" rather than
9500 "sabaat".
9501
f346b5b3
JM
95022018-10-02 Joseph Myers <joseph@codesourcery.com>
9503
9504 * math/libm-test-fma.inc (fma_test_data): Add more tests.
9505
4a06ceea
MJ
95062018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
9507
9508 [BZ #19444]
9509 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
9510 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
9511 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
9512
a06fc4a5
AZ
95132018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9514
9515 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
9516
a1ccc065
L
95172018-10-02 H.J. Lu <hongjiu.lu@intel.com>
9518
9519 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
9520 Add -mrtm.
9521 (CFLAGS-elision-unlock.c): Likewise.
9522 (CFLAGS-elision-timed.c): Likewise.
9523 (CFLAGS-elision-trylock.c): Likewise.
9524 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
9525
0b727ed4
AZ
95262018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9527
9528 [BZ #21037]
9529 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
9530 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
9531 new fd_to_filename interface.
9532 * libio/freopen64.c (freopen64): Likewise.
9533 * libio/tst-memstream.h: New file.
9534 * libio/tst-memstream4.c: Likewise.
9535 * libio/tst-wmemstream4.c: Likewise.
9536 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
9537 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
9538 and remove internal dynamic allocation.
9539
d0e91e8c
JM
95402018-10-01 Joseph Myers <joseph@codesourcery.com>
9541
9542 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
9543 (MREMAP_MAYMOVE): Do not define here.
9544 [__USE_GNU] (MREMAP_FIXED): Likewise.
9545 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
9546 (MREMAP_MAYMOVE): Define here instead.
9547 [__USE_GNU] (MREMAP_FIXED): Likewise.
9548 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
9549 (MREMAP_MAYMOVE): Remove.
9550 [__USE_GNU] (MREMAP_FIXED): Likewise.
9551
c52944e8
JM
95522018-09-28 Joseph Myers <joseph@codesourcery.com>
9553
9554 * math/fromfp.h: Do not include <math_private.h>.
9555 * math/s_cacosh_template.c: Likewise.
9556 * math/s_casin_template.c: Likewise.
9557 * math/s_casinh_template.c: Likewise.
9558 * math/s_ccos_template.c: Likewise.
9559 * math/s_cproj_template.c: Likewise.
9560 * math/s_fdim_template.c: Likewise.
9561 * math/s_fmaxmag_template.c: Likewise.
9562 * math/s_fminmag_template.c: Likewise.
9563 * math/s_iseqsig_template.c: Likewise.
9564 * math/s_ldexp_template.c: Likewise.
9565 * math/s_nextdown_template.c: Likewise.
9566 * math/w_log1p_template.c: Likewise.
9567 * math/w_scalbln_template.c: Likewise.
9568 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
9569 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
9570 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
9571 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
9572 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
9573 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
9574 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
9575 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
9576 * sysdeps/i386/fpu/s_atanl.c: Likewise.
9577 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
9578 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
9579 * sysdeps/i386/fpu/s_fdim.c: Likewise.
9580 * sysdeps/i386/fpu/s_logbl.c: Likewise.
9581 * sysdeps/i386/fpu/s_rintl.c: Likewise.
9582 * sysdeps/i386/fpu/s_significandl.c: Likewise.
9583 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
9584 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
9585 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9586 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9587 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
9588 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9589 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9590 * sysdeps/ieee754/k_standardf.c: Likewise.
9591 * sysdeps/ieee754/k_standardl.c: Likewise.
9592 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9593 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9594 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
9595 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9596 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9597 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9598 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9599 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9600 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9601 * sysdeps/ieee754/s_signgam.c: Likewise.
9602 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9603 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
9604 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
9605 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9606 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9607 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
9608 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9609 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
9610 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9611 * sysdeps/riscv/rvd/s_finite.c: Likewise.
9612 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
9613 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9614 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9615 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9616 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9617 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9618 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9619 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9620 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9621 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9622 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9623 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9624 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9625 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9626 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9627 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9628 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9629 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9630 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9631 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9632 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9633 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9634 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9635 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9636 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9637 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9638 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
9639 <math_private.h>.
9640 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9641
7b1f9406
L
96422018-09-28 H.J. Lu <hongjiu.lu@intel.com>
9643
9644 [BZ #23716]
9645 * sysdeps/i386/dl-cet.c: Removed.
9646 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
9647 prototype.
9648 (_dl_runtime_profile_shstk): Likewise.
9649 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
9650 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
9651
7a16bdbb
AZ
96522018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9653
9654 [BZ #23579]
9655 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
9656 do_test_with_invalid_iov): New tests.
9657 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
9658 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
9659 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
9660 errno is ENOSYS.
9661 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
9662 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
9663 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
9664
9755bc46
JM
96652018-09-27 Joseph Myers <joseph@codesourcery.com>
9666
81dca813
JM
9667 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9668 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
9669 (MATH_REDIRECT_BINARY_ARGS): New macro.
9670 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9671 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
9672 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
9673 header inclusion.
9674 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
9675 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9676 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
9677 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9678 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9679 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9680 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9682 Likewise.
9683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
9684 Likewise.
9685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
9687 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
9688 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
9689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
9690 Likewise.
9691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
9692 Likewise.
9693 * sysdeps/generic/math_private_calls.h
9694 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
9695 Do not declare and define as an inline function.
9696 * math/divtc3.c (__divtc3): Use copysign functions instead of
9697 __copysign variants.
9698 * math/multc3.c (__multc3): Likewise.
9699 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
9700 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
9701 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9702 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9703 Likewise.
9704 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9705 (__ieee754_yn): Likewise.
9706 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9707 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
9708 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9709 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9710 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
9711 (__sin): Likewise.
9712 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
9713 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9714 Likewise.
9715 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9716 Likewise.
9717 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9718 Likewise.
9719 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9720 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9721 Likewise.
9722 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9723 (__ieee754_ynf): Likewise.
9724 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
9725 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9726 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
9727 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9728 Likewise.
9729 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9730 (__ieee754_ynl): Likewise.
9731 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9732 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9733 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9734 Likewise.
9735 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9736 (__ieee754_ynl): Likewise.
9737 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
9738 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9739 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9740 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9741 Likewise.
9742 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9743 (__ieee754_ynl)
9744 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
9745 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9746 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
9747 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9748 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9749
9755bc46
JM
9750 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9751 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
9752 using MATH_REDIRECT.
9753 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
9754 header inclusion.
9755 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
9756 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9757 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9758 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
9759 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9760 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9761 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
9763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
9764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
9765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
9766 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9767 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9768 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9769 (round): Redirect to __round.
9770 (__roundl): Call round instead of __round.
9771 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
9772 Remove macro.
9773 [_ARCH_PWR5X] (__roundf): Likewise.
9774 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
9775 functions instead of __round variants.
9776 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9777 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
9778 Likewise.
9779 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
9780 Likewise.
9781 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
9782 Likewise.
9783 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
9784 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
9785 __lroundl.
9786 (__ieee754_expl): Call roundl instead of __roundl.
9787
f841c97e
AS
97882018-09-27 Andreas Schwab <schwab@suse.de>
9789
9790 [BZ #23717]
9791 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
9792 (do_test): Make st1 static.
9793
6ca8284e
AS
97942018-09-26 Andreas Schwab <schwab@suse.de>
9795
9796 [BZ #23707]
9797 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
9798 * elf/Makefile (tests): Add tst-unwind-ctor.
9799 (modules-names): Add tst-unwind-ctor-lib.
9800 ($(objpfx)tst-unwind-ctor): Depend on
9801 $(objpfx)tst-unwind-ctor-lib.so.
9802
61d8b5fe
JM
98032018-09-26 Joseph Myers <joseph@codesourcery.com>
9804
9805 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
9806 file. Most contents moved from ....
9807 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
9808 and include <bits/mman-map-flags-generic.h>.
9809 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9810 (sysdep_headers): Add bits/mman-map-flags-generic.h.
9811 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
9812 <bits/mman-map-flags-generic.h>.
9813 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
9814 macros defined in <bits/mman-map-flags-generic.h>.
9815 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
9816 <bits/mman-map-flags-generic.h>.
9817 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
9818 defined in <bits/mman-map-flags-generic.h>.
9819
46341286
AS
98202018-09-26 Andreas Schwab <schwab@suse.de>
9821
9822 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
9823 output.
9824
b5c45e83
AZ
98252018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
9826 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9827 Fangrui Song <maskray@google.com>
9828
9829 [BZ #20480]
9830 * config.make.in (have-textrel_ifunc): New define.
9831 * configure.ac: Add check if linker supports textrel relocation with
9832 ifunc.
9833 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
9834 tst-ifunc-textrel.
9835 (CFLAGS-tst-ifunc-textrel.c): New rule.
9836 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
9837 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
9838 * elf/tst-ifunc-textrel.c: New file.
9839
8ea4d2b7
JM
98402018-09-25 Joseph Myers <joseph@codesourcery.com>
9841
d62f9ec0
JM
9842 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
9843 <bits/procfs-prregset.h>.
9844 (prgregset_t): Define using __prgregset_t.
9845 (prfpregset_t): Define using __prfpregset_t.
9846 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9847 (sysdep_headers): Add bits/procfs-prregset.h.
9848 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
9849 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
9850 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
9851 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
9852
d0d8eb43
JM
9853 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
9854 <bits/procfs-id.h> and <bits/procfs-extra.h>.
9855 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
9856 pr_uid and pr_gid.
9857 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9858 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
9859 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
9860 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
9861 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
9862 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
9863 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
9864 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
9865 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
9866 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
9867 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
9868 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
9869 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
9870 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
9871 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
9872 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
9873 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
9874 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
9875 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
9876 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
9877 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
9878 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
9879 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9880 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
9881
8ea4d2b7
JM
9882 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
9883 AArch64 version. Include <bits/procfs.h>.
9884 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9885 (sysdep_headers): Add bits/procfs.h.
9886 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
9887 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
9888 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
9889 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
9890 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
9891 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
9892 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
9893 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
9894 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
9895 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
9896 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
9897 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
9898 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
9899 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
9900 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
9901 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9902 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
9903
c7027166
AZ
99042018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9905
9906 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
9907 Use libsupport.
9908
335a3b0a
AS
99092018-09-25 Arjun Shankar <arjun@redhat.com>
9910
9911 * iconv/gconv_int.h (__gconv_path_elem): Remove.
9912 (__gconv_max_path_elem_len): Likewise.
9913 (__gconv_nmodules): Likewise.
9914 (__gconv_get_path): Likewise.
9915 (path_elem): Move to ...
9916 * iconv/gconv_conf.c: ... here.
9917 (__gconv_get_path): Mark function static.
9918 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
9919 * iconv/gconv_open.c: ... here.
9920
462d348c
AS
99212018-09-24 Andreas Schwab <schwab@suse.de>
9922
9923 * scripts/haveversions.awk: New file.
9924 * Makerules ($(common-objpfx)Versions.def)
9925 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9926 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9927 Move rules ...
9928 * Makeconfig ($(common-objpfx)Versions.def)
9929 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9930 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9931 ... here.
9932 ($(common-objpfx)Versions.mk): New rule. Include it.
9933 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
9934 Emit error if build-obsolete-nsl = yes.
9935 * manual/install.texi (Configuring and compiling): Describe
9936 --enable-obsolete-nsl as unavaiable after version 2.28.
9937 * INSTALL: Regenerate.
9938
f0458cf4
AZ
99392018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9940
9941 * NEWS: Add note about new TLE support on powerpc64le.
9942 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
9943 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
9944 __ununsed1.
9945 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
9946 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
9947 * sysdeps/powerpc/powerpc32/sysdep.h,
9948 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
9949 ABORT_TRANSACTION): Remove macros.
9950 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
9951 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
9952 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
9953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
9954 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9955 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
9956 usage.
9957 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
9958
434d45fd
RL
99592018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
9960
9961 [BZ #10425]
9962 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
9963 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
9964 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
9965 which is the same as in it_IT.
9966 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
9967 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
9968
d90c9b1a
JM
99692018-09-20 Joseph Myers <joseph@codesourcery.com>
9970
7abf97be
JM
9971 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9972 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
9973 using MATH_REDIRECT.
9974 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
9975 header inclusion.
9976 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
9977 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9978 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
9979 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9980 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9981 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
9983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
9984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
9985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
9986 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9987 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9988 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
9989 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
9990 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
9991 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
9992 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
9993 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9994 (ceil): Redirect to __ceil.
9995 (floor): Redirect to __floor.
9996 (trunc): Redirect to __trunc.
9997 (__truncl): Call trunc instead of __trunc.
9998 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
9999 Remove macro.
10000 [_ARCH_PWR5X] (__truncf): Likewise.
10001 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
10002 trunc functions instead of __trunc variants.
10003 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10004 Likewise.
10005 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10006 Likewise.
10007 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10008 Likewise.
10009 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10010 Likewise.
10011
d90c9b1a
JM
10012 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
10013 [__i586__ || __pentium__].
10014 [__i486__]: Handle explicitly.
10015 (HAS_CPUID): Define to 1 if above macros are undefined.
10016 (HAS_I586): Likewise.
10017 (HAS_I686): Likewise.
10018
db9a8ad4
FW
100192018-09-20 Florian Weimer <fweimer@redhat.com>
10020
10021 * misc/tst-gethostid.c: New file.
10022 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
10023 (tst-gethostid): Link with -ldl.
10024
1214ba06
MY
100252018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
10026
10027 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
10028 value from gethostbyname_r.
10029
791b350d
CD
100302018-09-19 Carlos O'Donell <carlos@redhat.com>
10031
10032 * stdlib/tst-setcontext9.c (f1): Rename to...
10033 (f1a): ... this.
10034 (f1b): New function implementing lower half of f1 in alternate stack.
10035
8e6fd2bd
PE
100362018-09-19 Paul Eggert <eggert@cs.ucla.edu>
10037
e1080e7e
PE
10038 Fix mktime localtime offset confusion
10039 [BZ #23603]
10040 * include/time.h (__mktime_internal): The localtime offset is now
10041 of type long int instead of time_t. This is the longstanding type
10042 in glibc, and it is more than enough to represent difference
10043 between localtime and gmtime even if it is 32 bits and time_t is
10044 64. Changing it now will let us avoid an unnecessary change when
10045 time_t is widened to 64 bits on 32-bit platforms.
10046 * time/mktime-internal.h (mktime_offset_t): Now long int.
10047
8e6fd2bd
PE
10048 Merge mktime, timegm from upstream Gnulib
10049 [BZ #23603][BZ #16346]
10050 This fixes some obscure problems with integer overflow.
10051 Although it looks scary, it is almost all a byte-for-byte copy
10052 from Gnulib, and the Gnulib code has been tested reasonably well.
10053 * include/intprops.h: New file, copied from Gnulib.
10054 * include/verify.h, time/mktime-internal.h:
10055 New tiny files, simplified from Gnulib.
10056 * time/mktime.c: Copy from Gnulib. This has the following changes:
10057 Do not include config.h if DEBUG_MKTIME is nonzero.
10058 Include stdbool.h, intprops.h, verify.h.
10059 Include string.h only if needed.
10060 Include stdlib.h on MS-Windows.
10061 Include mktime-internal.h.
10062 (DEBUG_MKTIME): Default to 0, and simplify later uses.
10063 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
10064 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
10065 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
10066 simplify later conditionals; default the others to zero. Use
10067 these conditionals to express only the code needed on the current
10068 platform. In uses of these conditionals, explicitly spell out how
10069 _LIBC affects things, so it’s easier to review from a glibc
10070 viewpoint.
10071 (WRAPV): Remove; no longer needed now that we have
10072 systematic overflow checking.
10073 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
10074 compartmentalize tzset issues. Move system-dependent tzsettish
10075 code here from mktime.
10076 (verify): Remove; now done by verify.h. All uses changed.
10077 (long_int): Use a more-conservative definition, to avoid
10078 integer overflow.
10079 (SHR): Remove, replacing with ...
10080 (shr): New function, which means we needn’t worry about side
10081 effects in args, and conversion analysis is simpler.
10082 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
10083 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
10084 (time_t_avg, time_t_add_ok): Remove.
10085 (mktime_min, mktime_max): New constants.
10086 (leapyear, isdst_differ): Use bool for booleans.
10087 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
10088 Use long_int, not time_t, for mktime differences.
10089 (long_int_avg): New function, replacing time_t_avg.
10090 INT_ADD_WRAPV replaces time_t_add_ok.
10091 (guess_time_tm): 6th arg is now long_int, not time_t const *.
10092 All uses changed.
10093 (convert_time): New function.
10094 (ranged_convert): Use it.
10095 (__mktime_internal): Last arg now points to mktime_offset_t, not
10096 time_t. All uses changed. This is a no-op on glibc, where
10097 mktime_offset_t is always time_t. Use int, not time_t, for UTC
10098 offset guess. Directly check for integer overflow instead of
10099 using a heuristic that works only 99.9...% of the time.
10100 Access *OFFSET only once, to avoid an unlikely race if the
10101 compiler delays a load and if this cascades into a signed integer
10102 overflow.
10103 (mktime): Move tzsettish code to my_tzset, and move
10104 localtime_offset to within mktime so that it doesn’t
10105 need a separate ifdef.
10106 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
10107 instead of localtime.
10108 * time/timegm.c: Copy from Gnulib. This has the following changes:
10109 Include mktime-internal.h.
10110 [!_LIBC]: Include config.h and time.h. Do not include
10111 timegm.h or time_r.h. Make __mktime_internal a macro,
10112 and include mktime-internal.h to get its declaration.
10113 (timegm): Temporary is now mktime_offset_t, not time_t.
10114 This affects only Gnulib.
10115
83a552b0
WD
101162018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
10117
10118 [BZ #23637]
10119 * string/test-strstr.c (pr23637): New function.
10120 (test_main): Add tests with longer needles.
10121 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
10122 * string/strstr.c (AVAILABLE): Likewise.
10123
d7347278
SN
101242018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
10125
10126 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
10127
424c4f60
SN
101282018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
10129
10130 * NEWS: Mention pow improvements.
10131 * math/Makefile (type-double-routines): Add e_pow_log_data.
10132 * sysdeps/generic/math_private.h (__exp1): Remove.
10133 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
10134 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
10135 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
10136 contraction.
10137 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
10138 (exp_inline): Remove.
10139 (__ieee754_exp): Only single double input is handled.
10140 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
10141 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
10142 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
10143 (__pow_log_data): Define.
10144 * sysdeps/ieee754/dbl-64/upow.h: Remove.
10145 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
10146 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
10147 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
10148 contraction.
10149 (CFLAGS-e_pow-fma4.c): Likewise.
10150
e4e4fde5
PE
101512018-09-18 Paul Eggert <eggert@cs.ucla.edu>
10152
dab9c348
PE
10153 Simplify tzfile fstat failure code
10154 [BZ #21716]
10155 * time/tzfile.c (__tzfile_read): Simplify slightly.
10156
e4e4fde5
PE
10157 Fix tzfile low-memory assertion failure
10158 [BZ #21716]
10159 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
10160 when registering time zone abbreviations.
10161
50bc59ca
JM
101622018-09-18 Joseph Myers <joseph@codesourcery.com>
10163
d3a43e49
JM
10164 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
10165 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
10166 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
10167 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
10168 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
10169 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
10170 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
10171 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10172 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10173
50bc59ca
JM
10174 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
10175 __ceil.
10176 (__ceill): Call ceil instead of __ceil.
10177 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
10178 __floor.
10179 (__floorl): Call floor instead of __floor.
10180
89983cb3
JM
101812018-09-17 Joseph Myers <joseph@codesourcery.com>
10182
71223ef9
JM
10183 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10184 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
10185 using MATH_REDIRECT.
10186 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
10187 header inclusion.
10188 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
10189 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10190 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10191 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
10192 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10193 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10194 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10195 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
10196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
10197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
10198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
10199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
10200 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10201 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10202 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
10203 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
10204 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
10205 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
10206 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
10207 Remove macro.
10208 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
10209 functions instead of __ceil variants.
10210 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10211 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
10212 Likewise.
10213 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
10214 Likewise.
10215 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10216 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
10217 Likewise.
10218 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10219 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10220
89983cb3
JM
10221 [BZ #21286]
10222 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
10223 constant.
10224 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
10225 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
10226 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
10227 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
10228 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
10229 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
10230 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
10231 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
10232 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
10233 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
10234 (ILL_BADIADDR): Remove constant.
10235 (TRAP_BRANCH): Likewise.
10236 (TRAP_HWBKPT): Likewise.
10237
e44acb20
JM
102382018-09-14 Joseph Myers <joseph@codesourcery.com>
10239
3f7f1d18
JM
10240 [BZ #23656]
10241 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
10242 Remove [_MIPS_SIM = _ABIN32] conditional case.
10243 (struct elf_prpsinfo): Likewise.
10244
d59f3e5e
JM
10245 [BZ #23649]
10246 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
10247 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
10248 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
10249 Likewise.
10250 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
10251 elf_prpsinfo): Likewise.
10252 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
10253 elf_prpsinfo): Likewise.
10254 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
10255 Likewise.
10256
f29b6f17
JM
10257 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10258 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
10259 using MATH_REDIRECT.
10260 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
10261 header inclusion.
10262 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
10263 * sysdeps/alpha/fpu/s_rint.c: Likewise.
10264 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
10265 * sysdeps/i386/fpu/s_rintl.c: Likewise.
10266 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10267 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10268 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
10269 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10270 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10271 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10272 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
10273 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
10274 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
10275 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
10276 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
10277 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10278 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10279 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
10280 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
10281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
10282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
10283 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
10284 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
10285 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
10286 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
10287 * sysdeps/x86_64/fpu/math_private.h: Remove file.
10288 * math/e_scalb.c (invalid_fn): Use rint functions instead of
10289 __rint variants.
10290 * math/e_scalbf.c (invalid_fn): Likewise.
10291 * math/e_scalbl.c (invalid_fn): Likewise.
10292 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10293 Likewise.
10294 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10295 Likewise.
10296 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
10297 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
10298 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10299 Likewise.
10300 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10301 Likewise.
10302 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10303 Likewise.
10304 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
10305 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
10306
e44acb20
JM
10307 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
10308 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
10309 New macro.
10310 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10311 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
10312 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10313 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
10314 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10315 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
10316 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10317 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
10318 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
10319 && !NO_MATH_REDIRECT] (floor): Likewise.
10320 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
10321 header inclusion.
10322 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
10323 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10324 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10325 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
10326 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10327 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10328 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10329 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
10330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
10331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
10332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
10333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
10334 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10335 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10336 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
10337 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
10338 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
10339 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
10340 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
10341 Remove macro.
10342 [_ARCH_PWR5X] (__floorf): Likewise.
10343 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
10344 inline function.
10345 [__SSE4_1__] (__floorf): Likewise.
10346 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
10347 instead of __floor variants.
10348 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
10349 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
10350 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
10351 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
10352 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
10353 * math/w_tgamma_compat.c (__tgamma): Likewise.
10354 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
10355 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
10356 * math/w_tgammal_compat.c (__tgammal): Likewise.
10357 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
10358 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
10359 Likewise.
10360 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
10361 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
10362 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
10363 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10364 Likewise.
10365 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10366 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
10367 Likewise.
10368 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
10369 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
10370 Likewise.
10371 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10372 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
10373 Likewise.
10374 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10375 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10376 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
10377 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
10378 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
10379 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10380
221e4bab
JM
103812018-09-12 Joseph Myers <joseph@codesourcery.com>
10382
10383 * elf/Makefile (modules-names-tests): New variable.
10384
3e08ff54
SN
103852018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
10386
10387 * NEWS: Mention log2 improvements.
10388 * math/Makefile (type-double-routines): Add e_log2_data.
10389 * sysdeps/i386/fpu/e_log2_data.c: New file.
10390 * sysdeps/ia64/fpu/e_log2_data.c: New file.
10391 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
10392 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
10393 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
10394 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
10395 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
10396
f41b0a43
SN
103972018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
10398
10399 * NEWS: Mention log improvement.
10400 * math/Makefile (type-double-routines): Add e_log_data.
10401 * sysdeps/i386/fpu/e_log_data.c: New file.
10402 * sysdeps/ia64/fpu/e_log_data.c: New file.
10403 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
10404 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
10405 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
10406 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
10407 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
10408 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
10409
5a274db4
L
104102018-09-12 H.J. Lu <hongjiu.lu@intel.com>
10411 Xuepeng Guo <xuepeng.guo@intel.com>
10412
10413 [BZ #23606]
10414 * sysdeps/i386/start.S: Include <sysdep.h>
10415 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
10416 enabled. Add cfi_undefined (eip).
10417
b1176270
JM
104182018-09-11 Joseph Myers <joseph@codesourcery.com>
10419
4e7fbdd7
JM
10420 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
10421 (MOVQ): Likewise.
10422 (EXTRACT_WORDS64): Likewise.
10423 (INSERT_WORDS64): Likewise.
10424 (GET_FLOAT_WORD): Likewise.
10425 (SET_FLOAT_WORD): Likewise.
10426
b1176270
JM
10427 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
10428 argument.
10429 (Config.build_gcc): Use --disable-libsanitizer for first GCC
10430 build, but not for second build if --full-gcc. Use
10431 --enable-languages=all for second build if --full-gcc.
10432 (get_parser): Add --full-gcc option.
10433 (main): Update call to Context.
10434
527f355e
RL
104352018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
10436
10437 [BZ #10797]
10438 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
10439 Single Quotation Mark).
10440 (thousands_sep): Likewise.
10441 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
10442 * localedata/locales/it_IT (thousands_sep): Use ".".
10443 (grouping): Use "3;3".
10444
7244f13d
JM
104452018-09-10 Joseph Myers <joseph@codesourcery.com>
10446
10447 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
10448 x86_64 and i686 configs using --enable-obsolete-rpc
10449 --enable-obsolete-nsl.
10450
38245425
SL
104512018-09-06 Stefan Liebler <stli@linux.ibm.com>
10452
10453 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10454
28669f86
SL
104552018-09-06 Stefan Liebler <stli@linux.ibm.com>
10456
10457 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
10458 Increment size of new_argv by one.
10459
a33650d1
RL
104602018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
10461
10462 [BZ #17426]
10463 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
10464 * localedata/locales/ar_IN (d_fmt): Likewise.
10465 * localedata/locales/bhb_IN (d_fmt): Likewise.
10466 * localedata/locales/bho_IN (d_fmt): Likewise.
10467 * localedata/locales/bn_BD (d_fmt): Likewise.
10468 * localedata/locales/bn_IN (d_fmt): Likewise.
10469 * localedata/locales/doi_IN (d_fmt): Likewise.
10470 * localedata/locales/gu_IN (d_fmt): Likewise.
10471 * localedata/locales/hi_IN (d_fmt): Likewise.
10472 * localedata/locales/hne_IN (d_fmt): Likewise.
10473 * localedata/locales/kn_IN (d_fmt): Likewise.
10474 * localedata/locales/mag_IN (d_fmt): Likewise.
10475 * localedata/locales/mai_IN (d_fmt): Likewise.
10476 * localedata/locales/mjw_IN (d_fmt): Likewise.
10477 * localedata/locales/ml_IN (d_fmt): Likewise.
10478 * localedata/locales/mni_IN (d_fmt): Likewise.
10479 * localedata/locales/mr_IN (d_fmt): Likewise.
10480 * localedata/locales/pa_IN (d_fmt): Likewise.
10481 * localedata/locales/raj_IN (d_fmt): Likewise.
10482 * localedata/locales/sat_IN (d_fmt): Likewise.
10483 * localedata/locales/sd_IN (d_fmt): Likewise.
10484 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
10485 * localedata/locales/ta_IN (d_fmt): Likewise.
10486 * localedata/locales/ta_LK (d_fmt): Likewise.
10487 * localedata/locales/tcy_IN (d_fmt): Likewise.
10488 * localedata/locales/ur_IN (d_fmt): Likewise.
10489
10490 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
10491 * localedata/locales/ks_IN (d_fmt): Likewise.
10492 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
10493
10494 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
10495 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
10496 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
10497 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
10498
d114e6a7
SN
104992018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
10500
10501 * NEWS: Mention exp and exp2 improvements.
10502 * math/Makefile (libm-support): Remove t_exp.
10503 (type-double-routines): Add math_err and e_exp_data.
10504 * sysdeps/aarch64/libm-test-ulps: Update.
10505 * sysdeps/arm/libm-test-ulps: Update.
10506 * sysdeps/i386/fpu/e_exp_data.c: New file.
10507 * sysdeps/i386/fpu/math_err.c: New file.
10508 * sysdeps/i386/fpu/t_exp.c: Remove.
10509 * sysdeps/ia64/fpu/e_exp_data.c: New file.
10510 * sysdeps/ia64/fpu/math_err.c: New file.
10511 * sysdeps/ia64/fpu/t_exp.c: Remove.
10512 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
10513 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
10514 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
10515 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
10516 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
10517 * sysdeps/ieee754/dbl-64/math_config.h: New file.
10518 * sysdeps/ieee754/dbl-64/math_err.c: New file.
10519 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
10520 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
10521 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
10522 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
10523 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
10524 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
10525 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
10526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10527 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10528
b9d8c474
JM
105292018-09-05 Joseph Myers <joseph@codesourcery.com>
10530
b7cdc2ae
JM
10531 * sysdeps/alpha/fpu/math_private.h: Remove.
10532
b9d8c474
JM
10533 * sysdeps/generic/math_private.h
10534 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
10535 Move this inline function ....
10536 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
10537 * include/math.h [!_ISOMAC]: To here....
10538
418d99e6
JM
105392018-09-04 Joseph Myers <joseph@codesourcery.com>
10540
10541 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
10542 code ....
10543 [!FE_HAVE_ROUNDING_MODES]: And this code ....
10544 * include/fenv.h [!_ISOMAC]: ... to here.
10545 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
10546 (feraiseexcept): Likewise.
10547 * math/fromfp.h: Do not include <fenv_private.h>.
10548 * math/s_cexp_template.c: Likewise.
10549 * math/s_csin_template.c: Likewise.
10550 * math/s_csinh_template.c: Likewise.
10551 * math/s_ctan_template.c: Likewise.
10552 * math/s_ctanh_template.c: Likewise.
10553 * math/s_iseqsig_template.c: Likewise.
10554 * math/w_acos_compat.c: Likewise.
10555 * math/w_acosf_compat.c: Likewise.
10556 * math/w_acosl_compat.c: Likewise.
10557 * math/w_asin_compat.c: Likewise.
10558 * math/w_asinf_compat.c: Likewise.
10559 * math/w_asinl_compat.c: Likewise.
10560 * math/w_j0_compat.c: Likewise.
10561 * math/w_j0f_compat.c: Likewise.
10562 * math/w_j0l_compat.c: Likewise.
10563 * math/w_j1_compat.c: Likewise.
10564 * math/w_j1f_compat.c: Likewise.
10565 * math/w_j1l_compat.c: Likewise.
10566 * math/w_jn_compat.c: Likewise.
10567 * math/w_jnf_compat.c: Likewise.
10568 * math/w_log10_compat.c: Likewise.
10569 * math/w_log10f_compat.c: Likewise.
10570 * math/w_log10l_compat.c: Likewise.
10571 * math/w_log2_compat.c: Likewise.
10572 * math/w_log2f_compat.c: Likewise.
10573 * math/w_log2l_compat.c: Likewise.
10574 * math/w_log_compat.c: Likewise.
10575 * math/w_logf_compat.c: Likewise.
10576 * math/w_logl_compat.c: Likewise.
10577 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10578 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10579 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10580 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10581 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10582 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10583 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10584 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10585 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10586 * sysdeps/ieee754/k_standardl.c: Likewise.
10587 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10588 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10589 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10590 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10591 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10592 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10593 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10594 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10595 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10596 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10597 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10598 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10599 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10600 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10601 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10602 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10603 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10604 * math/w_ilogb_template.c: Include <fenv.h> instead of
10605 <fenv_private.h>.
10606 * math/w_llogb_template.c: Likewise.
10607 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10608 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10609
70e2ba33
JM
106102018-09-03 Joseph Myers <joseph@codesourcery.com>
10611
10612 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
10613 * math/fromfp.h: Include <fenv_private.h>.
10614 * math/math-narrow.h: Likewise.
10615 * math/s_cexp_template.c: Likewise.
10616 * math/s_csin_template.c: Likewise.
10617 * math/s_csinh_template.c: Likewise.
10618 * math/s_ctan_template.c: Likewise.
10619 * math/s_ctanh_template.c: Likewise.
10620 * math/s_iseqsig_template.c: Likewise.
10621 * math/w_acos_compat.c: Likewise.
10622 * math/w_acosf_compat.c: Likewise.
10623 * math/w_acosl_compat.c: Likewise.
10624 * math/w_asin_compat.c: Likewise.
10625 * math/w_asinf_compat.c: Likewise.
10626 * math/w_asinl_compat.c: Likewise.
10627 * math/w_ilogb_template.c: Likewise.
10628 * math/w_j0_compat.c: Likewise.
10629 * math/w_j0f_compat.c: Likewise.
10630 * math/w_j0l_compat.c: Likewise.
10631 * math/w_j1_compat.c: Likewise.
10632 * math/w_j1f_compat.c: Likewise.
10633 * math/w_j1l_compat.c: Likewise.
10634 * math/w_jn_compat.c: Likewise.
10635 * math/w_jnf_compat.c: Likewise.
10636 * math/w_llogb_template.c: Likewise.
10637 * math/w_log10_compat.c: Likewise.
10638 * math/w_log10f_compat.c: Likewise.
10639 * math/w_log10l_compat.c: Likewise.
10640 * math/w_log2_compat.c: Likewise.
10641 * math/w_log2f_compat.c: Likewise.
10642 * math/w_log2l_compat.c: Likewise.
10643 * math/w_log_compat.c: Likewise.
10644 * math/w_logf_compat.c: Likewise.
10645 * math/w_logl_compat.c: Likewise.
10646 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
10647 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
10648 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
10649 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
10650 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10651 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10652 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10653 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10654 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10655 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10656 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10657 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10658 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
10659 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
10660 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10661 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10662 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10663 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10664 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10665 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10666 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10667 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10668 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10669 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10670 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10671 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10672 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10673 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
10674 * sysdeps/ieee754/float128/float128_private.h: Likewise.
10675 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10676 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10677 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10678 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
10679 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10680 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10681 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10682 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10683 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10684 * sysdeps/ieee754/k_standardl.c: Likewise.
10685 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10686 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10687 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10688 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10689 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10690 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10691 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10692 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10693 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10694 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10695 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10696 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10697 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10698 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10699 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10700 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10701 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10702 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
10703 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10704 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10705 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10706 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10707 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10708 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10709 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10710 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10711 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10712 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10713 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
10714 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10715 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10716 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10717 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10718 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10719 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10720 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
10721 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10722 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10723 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10724 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10725 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
10726 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10727 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
10728 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10729 * sysdeps/riscv/rvd/s_finite.c: Likewise.
10730 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
10731 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
10732 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
10733 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
10734 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
10735 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
10736 * sysdeps/riscv/rvf/fegetround.c: Likewise.
10737 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
10738 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
10739 * sysdeps/riscv/rvf/fesetround.c: Likewise.
10740 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
10741 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
10742 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
10743 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10744 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
10745 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10746 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
10747 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
10748 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
10749 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
10750 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
10751 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
10752 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
10753 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
10754 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10755 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10756
a6e8926f
PP
107572018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10758
10759 [BZ #20271]
10760 * include/stdio.h (__libc_fatal): Mention newline in comment.
10761 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
10762 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
10763 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10764 * nss/nsswitch.c (__nss_next2): Likewise.
10765 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
10766 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
10767 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
10768 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10769 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
10770 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
10771 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
10772 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
10773 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
10774 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
10775 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
10776 * sysdeps/unix/sysv/linux/netlink_assert_response.c
10777 (__netlink_assert_response): Likewise.
10778
2bbd06bc
JM
107792018-08-31 Joseph Myers <joseph@codesourcery.com>
10780
10781 * conform/glibcconform.py: New file.
10782 * conform/list-header-symbols.py: Likewise.
10783 * conform/list-header-symbols.pl: Remove.
10784 * conform/Makefile (tests-special): Only add linknamespace tests
10785 if [PYTHON].
10786 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
10787
81b9d87b
L
107882018-08-31 H.J. Lu <hongjiu.lu@intel.com>
10789
10790 [BZ #23597]
10791 * support/Makefile (libsupport-routines): Add
10792 support_copy_file_range and xcopy_file_range.
10793 * support/support.h: Include <sys/types.h>.
10794 (support_copy_file_range): New prototype.
10795 * support/support_copy_file_range.c: New file. Copied and
10796 modified from io/copy_file_range-compat.c.
10797 * support/test-container.c (copy_one_file): Call xcopy_file_rang
10798 instead of copy_file_range.
10799 * support/xcopy_file_range.c: New file.
10800 * support/xunistd.h (xcopy_file_range): New prototype.
10801
d330f31a
CD
108022018-08-30 Carlos O'Donell <carlos@redhat.com>
10803
10804 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
10805 xpthread_create and xpthread_join.
10806
2bda273a
FW
108072018-08-30 Florian Weimer <fweimer@redhat.com>
10808
10809 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
10810
3bad2358
SL
108112018-08-30 Stefan Liebler <stli@linux.ibm.com>
10812
10813 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
10814 if malloc fails.
10815
09c12efc
JM
108162018-08-29 Joseph Myers <joseph@codesourcery.com>
10817
10818 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
10819 and minus_oflow as non-finite.
10820
ff6b2450
JM
108212018-08-28 Joseph Myers <joseph@codesourcery.com>
10822
10823 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
10824 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
10825 moved to fenv_private.h except for ...
10826 (TOINT_INTRINSICS): Kept in math_private.h.
10827 (roundtoint): Likewise.
10828 (converttoint): Likewise.
10829 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
10830 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10831 * sysdeps/arm/math_private.h: Remove.
10832 * sysdeps/generic/fenv_private.h: New file. Contents moved from
10833 ....
10834 * sysdeps/generic/math_private.h: ... this file. Include
10835 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
10836 Include <fenv_private.h>. Remove functions and macros moved to
10837 fenv_private.h.
10838 * sysdeps/i386/fpu/math_private.h: Remove.
10839 * sysdeps/mips/math_private.h: Move to ....
10840 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
10841 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
10842 [__mips_hard_float] conditional. Include next <fenv_private.h>.
10843 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
10844 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10845 * sysdeps/powerpc/fpu/math_private.h: Do not include
10846 <fenv_private.h>.
10847 * sysdeps/riscv/rvf/math_private.h: Move to ....
10848 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
10849 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
10850 <fenv_private.h>.
10851 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
10852 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10853 * sysdeps/sparc/fpu/math_private.h: Remove.
10854 * sysdeps/i386/fpu/fenv_private.h: Move to ....
10855 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
10856 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
10857 <fenv_private.h>.
10858 * sysdeps/x86_64/fpu/math_private.h: Do not include
10859 <sysdeps/i386/fpu/fenv_private.h>.
10860
761404b7
FW
108612018-08-28 Florian Weimer <fweimer@redhat.com>
10862
10863 [BZ #23578]
10864 * posix/tst-regcomp-truncated.c: New file.
10865 * posix/Makefile (tests): Add it.
10866 (tst-regcomp-truncated.out): Depend on generated locales.
10867
d6c44c3d
FW
108682018-08-28 Florian Weimer <fweimer@redhat.com>
10869
10870 * support/test-container.c (main): Treat unshare failure with
10871 EPERM as an unsupported test.
10872
745664bd
FW
108732018-08-28 Florian Weimer <fweimer@redhat.com>
10874
10875 [BZ #23520]
10876 nscd: Fix use-after-free in addgetnetgrentX and its callers.
10877 * nscd/netgroupcache.c
10878 (addgetnetgrentX): Add tofreep parameter. Do not free
10879 heap-allocated buffer.
10880 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
10881 (addgetnetgrentX_ignore): New function.
10882 (addgetnetgrent): Call it.
10883 (readdgetnetgrent): Likewise.
10884
c8dd67e7
RS
108852018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10886
10887 * string/memmem.c: Use memcmp for first match.
10888
5abedf97
RL
108892018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
10890
10891 [BZ #17426]
10892 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
10893
86de0499
DD
108942018-08-27 DJ Delorie <dj@redhat.com>
10895
10896 * support/Makefile (others): Don't list programs explicitly as a
10897 dependency of "others".
10898
c3ab2110
JM
108992018-08-27 Joseph Myers <joseph@codesourcery.com>
10900
10901 * sysdeps/generic/math-tests-trap-force.h: New file.
10902 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
10903 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
10904 * sysdeps/powerpc/math-tests.h: Remove file.
10905 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
10906
6b5c8607
TS
109072018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
10908 Torvald Riegel <triegel@redhat.com>
99ea93ca
MK
10909
10910 [BZ #23538]
10911 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
10912 Update r to include the set wake-request flag if waiters are
10913 remaining after spinning.
10914
4061791f
JM
109152018-08-27 Joseph Myers <joseph@codesourcery.com>
10916
10917 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
10918
bc680b33
PE
109192018-08-25 Paul Eggert <eggert@cs.ucla.edu>
10920
761404b7 10921 [BZ #23578]
bc680b33
PE
10922 regex: fix uninitialized memory access
10923 I introduced this bug into gnulib in commit
10924 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
10925 eventually it was merged into glibc. The bug was found by
10926 project-repo <bugs@feusi.co> and reported here:
10927 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
10928 Diagnosis and draft fix reported by Assaf Gordon here:
10929 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
10930 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
10931 * posix/regex_internal.c (build_wcs_upper_buffer):
10932 Fix bug when mbrtowc returns 0.
10933
02458a52
CD
109342018-08-24 Carlos O'Donell <carlos@redhat.com>
10935
10936 * po/be.po: Update translation.
10937
acc2842a
DD
109382018-08-24 DJ Delorie <dj@delorie.com>
10939
10940 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
10941 $(libunwind).
10942
6c3a8a9d
PP
109432018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10944
b39d961c
TS
10945 [BZ #23400]
10946 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
10947 create temporary files in source tree.
6c3a8a9d 10948
895ef79e
JM
109492018-08-24 Joseph Myers <joseph@codesourcery.com>
10950
10951 * sysdeps/generic/math-tests-trap.h: New file.
10952 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
10953 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
10954 * sysdeps/aarch64/math-tests.h: Remove file.
10955 * sysdeps/arm/math-tests.h: Likewise.
10956 * sysdeps/riscv/math-tests.h: Likewise.
10957 * sysdeps/aarch64/math-tests-trap.h: New file.
10958 * sysdeps/arm/math-tests-trap.h: Likewise.
10959 * sysdeps/riscv/math-tests-trap.h: Likewise.
10960
ca3aac57
WD
109612018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
10962
10963 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
10964 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
10965 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
10966 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
10967 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
10968 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
10969 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10970 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
10971 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
10972 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10973 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10974 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10975 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10976 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
10977 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
10978 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
10979 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10980 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10981
60bcac09
JM
109822018-08-23 Joseph Myers <joseph@codesourcery.com>
10983
10984 * sysdeps/generic/math-tests-exceptions.h: New file.
10985 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
10986 (EXCEPTION_TESTS_float): Do not define here.
10987 (EXCEPTION_TESTS_double): Likewise.
10988 (EXCEPTION_TESTS_long_double): Likewise.
10989 (EXCEPTION_TESTS_float128): Likewise.
10990 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
10991 Likewise.
10992 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
10993 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
10994 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
10995 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
10996 * sysdeps/mips/math-tests.h: Likewise.
10997 * sysdeps/nios2/math-tests.h: Likewise.
10998 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10999 (EXCEPTION_TESTS_float): Do not define here.
11000 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
11001 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
11002 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
11003
3bded567
WD
110042018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
11005
11006 * NEWS: Move optimized sinf entry to 2.29.
11007
900fb446
WD
110082018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
11009
11010 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
11011
561b0bec
DD
110122018-08-22 DJ Delorie <dj@redhat.com>
11013
11014 * Makefile (testroot.pristine): New rules to initialize the
11015 test-in-container "testroot".
11016 * Makerules (all-testsuite): Add tests-container.
11017 * Rules (tests-expected): Add tests-container.
11018 (binaries-all-tests): Likewise.
11019 (tests-container): New, run these tests in the testroot container.
11020 * support/Makefile (others): Add *-container, support_paths.c,
11021 xmkdirp, and links-dso-program.
11022 * support/links-dso-program-c.c: New.
11023 * support/links-dso-program.cc: New.
11024 * support/test-container.c: New.
11025 * support/shell-container.c: New.
11026 * support/echo-container.c: New.
11027 * support/true-container.c: New.
11028 * support/xmkdirp.c: New.
11029 * support/xsymlink.c: New.
11030 * support/support_paths.c: New.
11031 * support/support.h: Add support paths prototypes.
11032 * support/xunistd.h: Add xmkdirp () and xsymlink ().
11033
11034 * nss/tst-nss-test3.c: Convert to test-in-container.
11035 * nss/tst-nss-test3.root/: New.
11036
b35d3509
PE
110372018-08-22 Paul Eggert <eggert@cs.ucla.edu>
11038
11039 regex: port Gnulib code to z/OS POSIX environment
11040 Problem reported by Arnold Robbins in:
11041 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
11042 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
11043 Undef.
11044
16a25138
JM
110452018-08-22 Joseph Myers <joseph@codesourcery.com>
11046
debc4c98
JM
11047 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
11048 (ROUNDING_TESTS_double): Remove.
11049 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
11050 (ROUNDING_TESTS_double): Remove.
11051 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
11052 (ROUNDING_TESTS_double): Remove.
11053 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
11054 (ROUNDING_TESTS_float): Remove.
11055 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
11056 (ROUNDING_TESTS_float): Remove.
11057 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
11058 (ROUNDING_TESTS_float): Remove.
11059 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
11060 !TEST_MATHVEC here.
11061 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11062 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11063
16a25138
JM
11064 * sysdeps/generic/math-tests-rounding.h: New file.
11065 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
11066 (ROUNDING_TESTS_float): Do not define here.
11067 (ROUNDING_TESTS_double): Likewise.
11068 (ROUNDING_TESTS_long_double): Likewise.
11069 (ROUNDING_TESTS_float128): Likewise.
11070 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
11071 (ROUNDING_TESTS_double): Undefine before defining.
11072 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
11073 (ROUNDING_TESTS_double): Undefine before defining.
11074 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
11075 (ROUNDING_TESTS_double): Undefine before defining.
11076 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
11077 (ROUNDING_TESTS_float): Undefine before defining.
11078 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
11079 (ROUNDING_TESTS_float): Undefine before defining.
11080 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
11081 (ROUNDING_TESTS_float): Undefine before defining.
11082 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
11083 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
11084 not define here.
11085 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
11086 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
11087 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
11088 * sysdeps/riscv/math-tests.h [!__riscv_flen]
11089 (ROUNDING_TESTS_float): Do not define here.
11090 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
11091 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
11092 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
11093 (ROUNDING_TESTS_float): Likewise.
11094 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
11095 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
11096 * sysdeps/mips/math-tests.h [__mips_soft_float]
11097 (ROUNDING_TESTS_float): Likewise.
11098 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
11099 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
11100 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
11101 (ROUNDING_TESTS_double): Likewise.
11102 (ROUNDING_TESTS_long_double): Likewise.
11103
38b0593e
TK
111042018-08-21 Tobias Klauser <tklauser@distanz.ch>
11105
11106 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
11107 (PF_XDP): New macro.
11108 (AF_XDP): New macro.
11109 (SOL_XDP): New macro.
11110
5cd7dbde
JM
111112018-08-21 Joseph Myers <joseph@codesourcery.com>
11112
11113 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
11114 (TCP_INQ): Likewise.
11115 (TCP_CM_INQ): Likewise.
11116 (TCP_REPAIR_ON): Likewise.
11117 (TCP_REPAIR_OFF): Likewise.
11118 (TCP_REPAIR_OFF_NO_WP): Likewise.
11119 (struct tcp_zerocopy_receive): New type.
11120
aa42b3db
FW
111212018-08-21 Florian Weimer <fweimer@redhat.com>
11122
11123 * support/support.h (support_descriptor_supports_holes): Declare.
11124 * support/Makefile (libsupport-routines): Add
11125 support_descriptor_supports_holes.
11126 * support/support_descriptor_supports_holes.c: New file.
11127 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
11128 and stop testing if holes are not supported.
11129 * io/test-lfs.c (do_prepare): Likewise.
11130 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
11131 Likewise.
11132 * timezone/tst-tzset.c (create_tz_file): Likewise.
11133 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
11134 variable.
11135 (do_prepare): Set it.
11136 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
11137
c7627f41
FW
111382018-08-21 Florian Weimer <fweimer@redhat.com>
11139
11140 [BZ #17248]
11141 * Makeconfig (+cflags): Do not sort (and deduplicate).
11142
ef939d92
FW
111432018-08-21 Florian Weimer <fweimer@redhat.com>
11144
11145 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
11146 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
11147
88ffb39d
FW
111482018-08-20 Florian Weimer <fweimer@redhat.com>
11149
11150 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
11151 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
11152
17419540
JM
111532018-08-20 Joseph Myers <joseph@codesourcery.com>
11154
e6edd40d
JM
11155 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
11156 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
11157 and ssi_arch members.
11158
17419540
JM
11159 * elf/elf.c (NT_VMCOREDD): New macro.
11160 (AT_MINSIGSTKSZ): Likewise.
11161
fa78896b
RS
111622018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11163
11164 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11165 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
11166 s_cosf-ppc64 and s_cosf-power8.
11167 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
11168 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11169 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11170 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
11172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
11173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
11174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
11175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
11176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
11177 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
11178 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
11179
86a6c75a
FW
111802018-08-17 Florian Weimer <fweimer@redhat.com>
11181
11182 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11183
35cfefd9
FW
111842018-08-17 Istvan Kurucsai <pistukem@gmail.com>
11185
11186 * malloc/malloc.c (_int_malloc): Additional binning code checks.
11187
6413fcde
FW
111882018-08-16 Florian Weimer <fweimer@redhat.com>
11189
11190 * configure.ac: Add --with-nonshared-cflags option.
11191 * config.make.in (extra-nonshared-cflags): Set variable.
11192 * Makeconfig (CFLAGS-.oS): Use it.
11193 * manual/install.texi (Configuring and compiling): Document
11194 --with-nonshared-cflags.
11195 * configure: Regenerate.
11196 * INSTALL: Likewise.
11197
93a2584c
FW
111982018-08-16 Florian Weimer <fweimer@redhat.com>
11199
11200 * Makeconfig (ASFLAGS): Always append required assembler flags.
11201
f6f275d2 112022018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
d6db68e6
ME
11203
11204 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
11205 (malloc_consolidate): Likewise.
11206
30a17d8c
PC
112072018-08-16 Pochang Chen <johnchen902@gmail.com>
11208
11209 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
11210
953a5a4a
SP
112112018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
11212
34f86d61
SP
11213 * benchtests/bench-strlen.c (do_test): Allocate buffers before
11214 every strlen call.
11215
953a5a4a
SP
11216 * benchtests/bench-strlen.c: Print performance numbers in json.
11217
7793ad7a
RS
112182018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11219
11220 * sysdeps/powerpc/powerpc64/multiarch/Makefile
11221 (sysdep_routines): Build strcmp-power9 and strncmp-power9
11222 only for little endian.
11223 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11224 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
11225 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
11226 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
11227 Add check for little endian.
11228 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
11229 (__strcmp_power9): Add check for little endian.
11230 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
11231 Add check for little endian.
11232 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
11233 (__strncmp_power9): Add check for little endian.
11234 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
11235 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
11236 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
11237 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
11238 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
11239
436e4d5b
SP
112402018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
11241
11242 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
11243 [!STRLEN](STRLEN): Set to __strlen.
11244 * sysdeps/aarch64/multiarch/strlen.c: New file.
11245 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
11246 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
11247 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
11248 (__libc_ifunc_impl_list): Add strlen.
11249 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
11250 strlen_generic and strlen_asimd.
11251
126c4e3f
WD
112522018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
11253
11254 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
11255 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
11256 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
11257
49acec17
WD
112582018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
11259
11260 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
11261
fdb16de3
FW
112622018-08-14 Florian Weimer <fweimer@redhat.com>
11263
11264 [BZ #23519]
11265 * include/stdio.h (__vfxprintf): Declare.
11266 * stdio-common/fxprintf.c (__vfxprintf): New function.
11267 (__fxprintf): Call it.
11268 * misc/err.c (convert_and_print): Remove function.
11269 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
11270 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
11271 * misc/Makefile (tests): Add tst-warn-wide.
11272 * misc/tst-warn-wide.c: New file.
11273
599cf397
WD
112742018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
11275 Szabolcs Nagy <szabolcs.nagy@arm.com>
11276
11277 * NEWS: Mention sinf, cosf, sincosf.
11278 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
11279 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
11280 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
11281 constants rather than including generic sincosf.h.
11282 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
11283 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
11284 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
11285 (reduced_cos): Remove.
11286 (sinf_poly): New function.
11287 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
11288
e95c6f61
FW
112892018-08-14 Florian Weimer <fweimer@redhat.com>
11290
11291 [BZ #23521]
11292 [BZ #23522]
11293 * nss/nss_files/files-alias.c (get_next_alias): During :include:
11294 processing, bail out if no room, and close the stream before
11295 returning ERANGE.
11296 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
11297 (tst-nss-files-alias-leak): Link with libdl.
11298 (tst-nss-files-alias-leak.out): Depend on nss_files.
11299
11300 * nss/tst-nss-files-alias-leak.c: New file.
11301
2d7acfac
FW
113022018-08-14 Florian Weimer <fweimer@redhat.com>
11303
11304 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
11305 server_user, stat_user.
11306
f3cd0904
JM
113072018-08-13 Joseph Myers <joseph@codesourcery.com>
11308
17b26500
JM
11309 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11310 version to 4.18.
11311 (io_pgetevents): New syscall.
11312 (rseq): Likewise.
11313
3c1622eb
JM
11314 * manual/install.texi (Configuring and compiling): Do not list
11315 tools used for testing pretty printers here.
11316 (Tools for Compilation): List Python, PExpect and GDB here.
11317 Update descriptions of uses of Perl and Python.
11318 * INSTALL: Regenerate.
11319
f3cd0904
JM
11320 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11321 version to 4.18.
11322
b7b52b9d
FW
113232018-08-13 Florian Weimer <fweimer@redhat.com>
11324
11325 * misc/error.c (error): Add missing va_end call.
11326 (error_at_line): Likewise.
11327
01780188
FW
113282018-08-13 Florian Weimer <fweimer@redhat.com>
11329
11330 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
11331
44727aec
SP
113322018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
11333
8cac1f26
SP
11334 * benchtests/scripts/benchout.schema.json (properties): Add
11335 new properties.
11336
44727aec
SP
11337 * benchtests/bench-skeleton.c (main): Add duration and
11338 iterations attributes.
11339
c77bf91b
PE
113402018-08-10 Paul Eggert <eggert@cs.ucla.edu>
11341
11342 regex: Gnulib unibyte RRI uses bytes not chars
11343 Adjust the non-glibc code to agree with what Gawk needs for
11344 rational range interpretation (RRI) for regular expression ranges.
11345 In unibyte locales, Gawk wants ranges to use the underlying byte
11346 rather than the character code point. This change does not affect
11347 glibc proper.
11348 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
11349 In unibyte locales, use the byte value rather than
11350 running it through btowc.
11351
2ce7ba7d
JM
113522018-08-10 Joseph Myers <joseph@codesourcery.com>
11353
11354 * sysdeps/generic/math-tests-snan.h: New file.
11355 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
11356 (SNAN_TESTS_float): Do not define here.
11357 (SNAN_TESTS_double): Likewise.
11358 (SNAN_TESTS_long_double): Likewise.
11359 (SNAN_TESTS_float128): Likewise.
11360 * sysdeps/i386/fpu/math-tests-snan.h: New file.
11361 * sysdeps/i386/fpu/math-tests.h: Remove file.
11362 * sysdeps/ia64/math-tests-snan.h: New file.
11363 * sysdeps/ia64/math-tests.h: Remove file.
11364 * sysdeps/x86/math-tests.h: Likewise.
11365 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
11366
ea5c662c
WD
113672018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
11368 Szabolcs Nagy <szabolcs.nagy@arm.com>
11369
11370 * math/Makefile: Add s_sincosf_data.c.
11371 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
11372 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
11373 (sincosf_poly): Likewise.
11374 (reduce_small): Likewise.
11375 (reduce_large): Likewise.
11376 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
11377 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
11378 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
11379 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
11380
43cfdf8f
SN
113812018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
11382 Szabolcs Nagy <szabolcs.nagy@arm.com>
11383
11384 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
11385 (converttoint): Use lround.
11386 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
11387 document the semantics when TOINT_INTRINSICS is set.
11388 (converttoint): Likewise.
11389 (TOINT_RINT): Remove.
11390 (TOINT_SHIFT): Remove.
11391 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
11392 path.
11393
69065288
FW
113942018-08-10 Florian Weimer <fweimer@redhat.com>
11395
11396 [BZ #23497]
11397 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
11398 function.
11399 (__old_getdents64): Use getdents64. Convert entries without
11400 moving them.
11401 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
11402 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
11403 tst-readdir64-compat.
11404
8f135efc
IL
114052018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11406
11407 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
11408 Fix unwind.
11409
71c01af5
IL
114102018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11411
11412 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
11413 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
11414 code to s390x-mcount.h and #include it.
11415 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
11416 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
11417 (__fentry__): Add.
11418
8d997d22
IL
114192018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11420
11421 * stdlib/Versions: Remove __fentry__.
11422 * sysdeps/i386/Versions: Add __fentry__.
11423 * sysdeps/x86_64/Versions: Add __fentry__.
11424
69e2444a
IL
114252018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11426
11427 * sysdeps/s390/Makefile: Register the new tests.
11428 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
11429 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
11430 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
11431 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
11432 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
11433 * sysdeps/s390/tst-dl-runtime.c: New file.
11434
bde6320f
IL
114352018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11436
11437 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
11438 Do not clobber R0.
11439
5755f5e4
IL
114402018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11441
11442 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
11443 Do not clobber R0.
11444
c8ad8522
IL
114452018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11446
11447 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
11448 Do not clobber R0.
11449
b215eee1
IL
114502018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11451
11452 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11453 Do not clobber R0.
11454
329c6fec
IL
114552018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11456
11457 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
11458 Use symbolic offsets for stack variables.
11459
0fb7afa2
IL
114602018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11461
11462 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
11463 Use symbolic offsets for stack variables.
11464
6954059a
IL
114652018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11466
11467 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
11468 Use symbolic offsets for stack variables.
11469
c7099673
IL
114702018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
11471
11472 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11473 Use symbolic offsets for stack variables.
11474
2813e41e
JM
114752018-08-09 Joseph Myers <joseph@codesourcery.com>
11476
11477 * math/gen-libm-test.py: New file.
11478 * math/gen-libm-test.pl: Remove.
11479 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
11480 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
11481 gen-libm-test.pl.
11482 ($(libm-test-c-noauto-obj)): Likewise.
11483 ($(libm-test-c-auto-obj)): Likewise.
11484 ($(libm-test-c-narrow-obj)): Likewise.
11485 (regen-ulps): Likewise.
11486 * math/README.libm-test: Update references to gen-libm-test.pl.
11487 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
11488 referencing gen-libm-test.pl.
11489 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
11490 * math/libm-test-support.c: Likewise.
11491 * math/libm-test-support.h: Likewise.
11492 * sysdeps/generic/libm-test-ulps: Likewise.
11493
be64b194
SP
114942018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
11495
11496 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
11497 Fix value.
11498
140137fb
JM
114992018-08-08 Joseph Myers <joseph@codesourcery.com>
11500
11501 * math/libm-test-nextdown.inc (do_test): Move comment to ....
11502 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
11503
b5403eca
ST
115042018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
11505
11506 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
11507 symbols.
8ac0f9e6
ST
11508 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
11509 __pthread_setspecific): Add hidden proto.
11510 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
11511 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
b5403eca 11512
014efdd7
SP
115132018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
11514
11515 * benchtests/bench-string.h (buf1_size, buf2_size): New
11516 variables.
11517 (init_sizes): New function.
11518 (test_init): Use it.
11519 (alloc_buf, exit_error): New functions.
11520 (alloc_bufs): Use ALLOC_BUF.
11521 (realloc_bufs): Remove.
11522 * benchtests/bench-memcmp.c (do_test): Adjust.
11523 * benchtests/bench-memset-large.c (do_test): Likewise.
11524 * benchtests/bench-memset-walk.c (do_test): Likewise.
11525 * benchtests/bench-memset.c (do_test): Likewise.
11526 * benchtests/bench-strncmp.c (do_test): Likewise.
11527
92a4cba7
AS
115282018-08-06 Andreas Schwab <schwab@suse.de>
11529
11530 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
11531 of CONST_THREAD_AREA.
11532
fb4c32ae
L
115332018-08-06 H.J. Lu <hongjiu.lu@intel.com>
11534
11535 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
11536 (STATE_SAVE_MASK): Likewise.
11537 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
11538 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
11539 (STATE_SAVE_MASK): Likewise.
11540 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
11541 instead of <cpu-features.h>.
11542
bf418187
DD
115432018-08-03 DJ Delorie <dj@redhat.com>
11544
11545 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
e5721f45 11546 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
bf418187 11547
bb17621a
DD
11548 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
11549
ea705eb5
JM
115502018-08-03 Joseph Myers <joseph@codesourcery.com>
11551
11552 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
11553 after TEST_* calls.
11554 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
11555 * math/libm-test-logb.inc (logb_test_data): Likewise.
11556
284f42bc
WD
115572018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
11558
11559 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
11560 * string/strstr.c (AVAILABLE): Likewise.
11561
430388d5
L
115622018-08-03 H.J. Lu <hongjiu.lu@intel.com>
11563
11564 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
11565 <init-arch.h>.
11566 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
11567 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
11568 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
11569
c5760aa9
CD
115702018-08-03 Carlos O'Donell <carlos@redhat.com>
11571
11572 * po/be.po: Update translation.
11573
6b535b84
CD
11574 * po/be.po: Update translation.
11575
ae67f2e5
L
115762018-08-03 H.J. Lu <hongjiu.lu@intel.com>
11577
11578 * sysdeps/x86/cpu-features-offsets.sym
11579 (rtld_global_ro_offsetof): Removed.
11580 (CPU_FEATURES_SIZE): Likewise.
11581 (CPUID_OFFSET): Likewise.
11582 (CPUID_SIZE): Likewise.
11583 (CPUID_EAX_OFFSET): Likewise.
11584 (CPUID_EBX_OFFSET): Likewise.
11585 (CPUID_ECX_OFFSET): Likewise.
11586 (CPUID_EDX_OFFSET): Likewise.
11587 (FAMILY_OFFSET): Likewise.
11588 (MODEL_OFFSET): Likewise.
11589 (FEATURE_OFFSET): Likewise.
11590 (FEATURE_SIZ): Likewise.
11591 (COMMON_CPUID_INDEX_1): Likewise.
11592 (COMMON_CPUID_INDEX_7): Likewise.
11593 (FEATURE_INDEX_1): Likewise.
11594 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
11595
6b5c8607 115962018-08-02 Carlos O'Donell <carlos@redhat.com>
08a5ee14
CD
11597
11598 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
11599 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
11600 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
11601 (install-locales): Depend on install-locale-archive.
11602 (install-locale-archive): Define.
7b7adbd8 11603 (install-locale-files): Define.
08a5ee14
CD
11604 (build-one-locale): Define macro.
11605 * manual/install.texi (Running make install): Document.
11606 * manual/INSTALL: Regenerate.
11607
525691bd
SP
116082018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
11609
d67d634b
SP
11610 * benchtests/scripts/compare_strings.py: Import traceback.
11611 (parse_file): Pretty-print error.
11612
525691bd
SP
11613 * NEWS: Mention the change.
11614 * elf/dl-tunables.list: Rename tune namespace to cpu.
11615 * sysdeps/powerpc/dl-tunables.list: Likewise.
11616 * sysdeps/x86/dl-tunables.list: Likewise.
11617 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
11618 cpu.name.
11619 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
11620 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
11621 * manual/README.tunables: Likewise.
11622 * manual/tunables.texi: Likewise.
11623 * sysdeps/powerpc/cpu-features.c: Likewise.
11624 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
11625 (init_cpu_features): Likewise.
11626 * sysdeps/x86/cpu-features.c: Likewise.
11627 * sysdeps/x86/cpu-features.h: Likewise.
11628 * sysdeps/x86/cpu-tunables.c: Likewise.
11629 * sysdeps/x86_64/Makefile: Likewise.
11630 * sysdeps/x86/dl-cet.c: Likewise.
11631
506d7fb1
JM
116322018-08-02 Joseph Myers <joseph@codesourcery.com>
11633
11634 [BZ #23479]
11635 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
11636 [__mips_hard_float].
11637 (FE_UNDERFLOW): Likewise.
11638 (FE_OVERFLOW): Likewise.
11639 (FE_DIVBYZERO): Likewise.
11640 (FE_INVALID): Likewise.
11641 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
11642 (FE_TOWARDZERO): Define only if [__mips_hard_float].
11643 (FE_UPWARD): Likewise.
11644 (FE_DOWNWARD): Likewise.
11645 (__FE_UNDEFINED): Define if [!__mips_hard_float]
11646 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
11647 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
11648 [__mips_hard_float].
11649 (FP_ROUNDMODE): Likewise.
11650 (FP_RND_NEAREST): Likewise.
11651 (FP_RND_ZERO): Likewise.
11652 (FP_RND_PINF): Likewise.
11653 (FP_RND_MINF): Likewise.
11654 (FP_EX_INVALID): Likewise.
11655 (FP_EX_OVERFLOW): Likewise.
11656 (FP_EX_UNDERFLOW): Likewise.
11657 (FP_EX_DIVZERO): Likewise.
11658 (FP_EX_INEXACT): Likewise.
11659 (FP_INIT_ROUNDMODE): Likewise.
11660 * sysdeps/mips/nofpu/fesetenv.c: New file.
11661 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
11662
f6dcefbe
JM
116632018-08-01 Joseph Myers <joseph@codesourcery.com>
11664
11665 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
11666 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
11667 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
11668 conditional on [FE_UPWARD].
11669
fa67ba06
PE
116702018-08-01 Paul Eggert <eggert@cs.ucla.edu>
11671
11672 regex: fix memory leak in Gnulib
11673 Problem and fix reported by Assaf Gordon in:
11674 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
11675 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
11676 range_ends members too, as they are defined in 'struct
11677 re_charset_t' even if not _LIBC. This affects only Gnulib.
11678
82c80ac2
L
116792018-08-01 H.J. Lu <hongjiu.lu@intel.com>
11680
11681 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
11682 ...
11683 (get_common_indices): This.
11684 (init_cpu_features): Updated.
11685
c0e7e2c1
JM
116862018-08-01 Joseph Myers <joseph@codesourcery.com>
11687
46f8cf57
JM
11688 * sysdeps/generic/math-tests-snan-payload.h: New file.
11689 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
11690 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
11691 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
11692 * sysdeps/generic/math-tests.h: Include
11693 <math-tests-snan-payload.h>.
11694 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
11695 * sysdeps/hppa/math-tests.h: Remove file.
11696 * sysdeps/mips/math-tests.h [!__mips_nan2008]
11697 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
11698 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
11699 Likewise.
11700
c0e7e2c1
JM
11701 * sysdeps/generic/math-tests-snan-cast.h: New file.
11702 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
11703 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
11704 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
11705 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
11706
74939c83
CD
117072018-08-01 Carlos O'Donel <carlos@redhat.com>
11708
b029723b
CD
11709 * version.h (RELEASE): Set to "development".
11710 (VERSION): Set to "2.28.9000".
11711 * NEWS (2.29): New section.
11712
3c03baca
CD
11713 * version.h (RELEASE): Set to "stable".
11714 (VERSION): Set to "2.28".
11715 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
11716 * NEWS: Add the list of bugs fixed in 2.28.
11717
74939c83
CD
11718 * po/ca.po: Update to latest version.
11719 * po/cs.po: Likewise
11720 * po/da.po: Likewise
11721 * po/el.po: Likewise
11722 * po/eo.po: Likewise
11723 * po/es.po: Likewise
11724 * po/fi.po: Likewise
11725 * po/fr.po: Likewise
11726 * po/gl.po: Likewise
11727 * po/hu.po: Likewise
11728 * po/ia.po: Likewise
11729 * po/id.po: Likewise
11730 * po/it.po: Likewise
11731 * po/ja.po: Likewise
11732 * po/ko.po: Likewise
11733 * po/lt.po: Likewise
11734 * po/nb.po: Likewise
11735 * po/nl.po: Likewise
11736 * po/pt_BR.po: Likewise
11737 * po/ru.po: Likewise
11738 * po/rw.po: Likewise
11739 * po/sk.po: Likewise
11740 * po/sl.po: Likewise
11741 * po/tr.po: Likewise
11742 * po/zh_CN.po: Likewise
11743 * po/zh_TW.po: Likewise
11744
d4b54bdf
ST
117452018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11746
11747 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
11748 initialization...
11749 (init): ... before initializing libpthread.
11750
42fc12ef
ST
11751 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
11752 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
11753 (__mach_setup_tls): ... new function.
11754 (mach_setup_tls): New alias.
11755 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
11756 __mach_setup_thread.
11757 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
11758 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
11759 * mach/Versions [libc] (mach_setup_tls): Add symbol.
11760 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
11761
6cca855e
CD
117622018-07-31 Carlos O'Donell <carlos@redhat.com>
11763
f650932b
CD
11764 * manual/install.texi: Update versions.
11765 * INSTALL: Regenerate.
11766
6cca855e
CD
11767 * manual/contrib.texi (Contributors): Update contributions.
11768
07fdea47
CD
117692018-07-31 Carlos O'Donell <carlos@redhat.com>
11770
11771 * po/be.po: Update translations.
11772
63d5fad4
AZ
117732018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11774
11775 * sysdeps/sh/libm-test-ulps: Update.
11776
1ff712a6
CD
117772018-07-30 Carlos O'Donell <carlos@redhat.com>
11778
11779 * po/bg.po: Update translations.
11780 * po/de.po: Likewise.
11781 * po/hr.po: Likewise.
11782 * po/pt_BR.po: Likewise.
11783 * po/sv.po: Likewise.
11784 * po/vi.po: Likewise.
11785
98864ed0
L
117862018-07-30 H.J. Lu <hongjiu.lu@intel.com>
11787
11788 [BZ #23467]
11789 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
11790 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
11791 (CFLAGS-tst-cet-property-1.o): New.
11792 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
11793 ($(objpfx)tst-cet-property-2): Likewise.
11794 ($(objpfx)tst-cet-property-2.out): Likewise.
11795 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
11796 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
11797 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
11798 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
11799 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
11800
c92a00d8
L
118012018-07-30 H.J. Lu <hongjiu.lu@intel.com>
11802
11803 [BZ #23458]
11804 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
11805
99bc6241
ST
118062018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11807
11808 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
11809 __sbrk): Do not set attribute_hidden.
af86087f 11810 * sysdeps/mach/hurd/not-errno.h: New file.
99bc6241
ST
11811 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
11812 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
11813
bcb1c4af
CD
118142018-07-27 Carlos O'Donell <carlos@redhat.com>
11815
11816 * po/uk.po: Update translations.
11817 * po/cs.po: Likewise.
11818 * po/pl.po: Likewise.
11819
4591b7db
L
118202018-07-27 H.J. Lu <hongjiu.lu@intel.com>
11821
11822 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
11823 parse beyond the note end.
11824
2c6da2f4
AZ
118252018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11826
11827 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
11828 kernel does not support OFD locks.
11829 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
11830
20365a31
ST
118312018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11832
11833 * sysdeps/mach/hurd/Versions (libc): Make __access and
11834 __access_noerrno external so they can override the ld symbols.
11835 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
11836 __writev, __open64, __access_noerrno extern so they can be overrided.
11837 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
11838 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
11839
cb1a43db
CD
118402018-07-26 Carlos O'Donell <carlos@redhat.com>
11841
11842 * po/libc.pot: Regenerate.
11843
74759ae5
JM
118442018-07-26 Joseph Myers <joseph@codesourcery.com>
11845
11846 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
11847
da80612d
L
118482018-07-26 H.J. Lu <hongjiu.lu@intel.com>
11849
11850 [BZ #23459]
11851 * sysdeps/x86/cpu-features.c (get_extended_indices): New
11852 function.
11853 (init_cpu_features): Call get_extended_indices for both Intel
11854 and AMD CPUs.
11855 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
11856 Remove "for AMD" comment.
11857
65d87ade
L
118582018-07-26 H.J. Lu <hongjiu.lu@intel.com>
11859
11860 [BZ # 23456]
11861 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
11862 COMMON_CPUID_INDEX_80000001.
11863
c9dc4d51
SL
118642018-07-26 Stefan Liebler <stli@linux.ibm.com>
11865
11866 * string/tst-xbzero-opt.c (use_test_buffer): New function.
11867 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
11868
cfba5dbb
FW
118692018-07-26 Florian Weimer <fweimer@redhat.com>
11870
11871 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
11872 aliases for symbols not in the implementation namespace.
11873
6b5c8607 118742018-07-25 Carlos O'Donell <carlos@redhat.com>
7cd7d36f
CD
11875
11876 [BZ #23393]
11877 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
11878 lowercase in LATIN script.
11879 * localedata/Makefile (test-input): Add en_US.UTF-8.
11880 * localedata/en_US.UTF-8.in: New file.
11881 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
11882 and restore old tests.
11883 * posix/tst-regexloc.c (do_test): Add back range expression test.
11884
3fb455b3
L
118852018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11886
11887 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
11888
d6499b70
AZ
118892018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11890
11891 * nptl/threads.h: Move to ...
11892 * sysdeps/nptl/threads.h: ... here.
11893 * sysdeps/hurd/stdc-predef.h: New file.
11894
08ac6bed
L
118952018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11896
11897 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
11898 tst-cet-setcontext-1 if CET is enabled.
11899 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
11900 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
11901
9faaf938
AZ
119022018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11903
11904 * include/threads.h: Move to ...
11905 * sysdeps/nptl/threads.h: ... here.
11906 * sysdeps/htl/threads.h: New file.
11907 * conform/Makefile (linknamespace-libs-ISO11): Use
11908 static-thread-library instead of linking libpthread.
11909 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
11910
d6b8f847
FW
119112018-07-25 Florian Weimer <fweimer@redhat.com>
11912
11913 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
11914 nanoseconds into seconds.
11915 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
11916 (do_test): Likewise.
11917 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
11918 (do_test): Likewise. Avoid nanosecond overflow and spurious
11919 timeouts due to system load.
11920 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
11921 (child_wait): Increment it.
11922 (do_test): Wait as long as necessary until all expected threads
11923 have arrived.
11924
25123a1c
L
119252018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
11926 H.J. Lu <hongjiu.lu@intel.com>
11927
11928 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
11929 __ssp.
11930 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
11931 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
11932 (__push___start_context): New.
11933 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
11934 <asm/prctl.h>.
11935 (__getcontext): Record the current shadow stack base. Save the
11936 caller's shadow stack pointer and base.
11937 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
11938 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
11939 (__push___start_context): New prototype.
11940 (__makecontext): Call __push___start_context to allocate a new
11941 shadow stack, push __start_context onto the new stack as well
11942 as the new shadow stack.
11943 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
11944 <asm/prctl.h>.
11945 (__setcontext): Restore the target shadow stack.
11946 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
11947 <asm/prctl.h>.
11948 (__swapcontext): Record the current shadow stack base. Save
11949 the caller's shadow stack pointer and base. Restore the target
11950 shadow stack.
11951 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11952 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
11953 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
11954
375a4844
L
119552018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11956
11957 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
11958 tst-setcontext8 and tst-setcontext9.
11959 * stdlib/tst-setcontext6.c: New file.
11960 * stdlib/tst-setcontext7.c: Likewise.
11961 * stdlib/tst-setcontext8.c: Likewise.
11962 * stdlib/tst-setcontext9.c: Likewise.
11963
bd4f7903
L
119642018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11965
11966 * stdlib/Makefile ((tests): Add tst-setcontext5.
11967 * stdlib/tst-setcontext5.c: New file.
11968
7e28f203
L
119692018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11970
11971 * stdlib/Makefile (tests): Add tst-setcontext4.
11972 * stdlib/tst-setcontext4.c: New file.
11973
8516ad2d
L
119742018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11975
11976 * stdlib/Makefile (tests): Add tst-swapcontext1.
11977 * stdlib/tst-swapcontext1.c: New test.
11978
fddcd003
L
119792018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11980
11981 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
11982 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
11983 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
11984 and tst-cet-legacy-4c.
11985 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
11986 and tst-cet-legacy-mod-4.
11987 (CFLAGS-tst-cet-legacy-2.c): New.
11988 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
11989 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
11990 (CFLAGS-tst-cet-legacy-3.c): Likewise.
11991 (CFLAGS-tst-cet-legacy-4.c): Likewise.
11992 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
11993 ($(objpfx)tst-cet-legacy-1): Likewise.
11994 ($(objpfx)tst-cet-legacy-2): Likewise.
11995 ($(objpfx)tst-cet-legacy-2.out): Likewise.
11996 ($(objpfx)tst-cet-legacy-2a): Likewise.
11997 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
11998 ($(objpfx)tst-cet-legacy-4): Likewise.
11999 ($(objpfx)tst-cet-legacy-4.out): Likewise.
12000 ($(objpfx)tst-cet-legacy-4a): Likewise.
12001 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
12002 (tst-cet-legacy-4a-ENV): Likewise.
12003 ($(objpfx)tst-cet-legacy-4b): Likewise.
12004 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
12005 (tst-cet-legacy-4b-ENV): Likewise.
12006 ($(objpfx)tst-cet-legacy-4c): Likewise.
12007 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
12008 (tst-cet-legacy-4c-ENV): Likewise.
12009 * sysdeps/x86/tst-cet-legacy-1.c: New file.
12010 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
12011 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
12012 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
12013 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
12014 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
12015 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
12016 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
12017 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
12018 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
12019 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
12020
9aa3113a
L
120212018-07-25 H.J. Lu <hongjiu.lu@intel.com>
12022
12023 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
12024 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
12025 with ssp_base.
12026 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
12027 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
12028 with ssp_base.
12029
9c79cec8
AS
120302018-07-25 Andreas Schwab <schwab@suse.de>
12031
12032 [BZ #23442]
12033 * locale/weightwc.h (findidx): Handle the case where usrc is a
12034 prefix of cp but one character too short.
12035
969c3355
AZ
120362018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12037
12038 * NEWS: Add ISO C threads addition.
12039
e0f9c462
FW
120402018-07-24 Florian Weimer <fweimer@redhat.com>
12041
12042 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12043 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
12044 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
12045 4.13.
12046
394df381
L
120472018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12048
12049 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
12050 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
12051 <sys/prctl.h> and <asm/prctl.h>.
12052 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
12053 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
12054 and <asm/prctl.h>.
12055 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
12056 ARCH_CET_LEGACY_BITMAP.
12057 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
12058 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
12059 * sysdeps/x86/libc-start.c: Include <startup.h>.
12060
46545530
FW
120612018-07-24 Florian Weimer <fweimer@redhat.com>
12062
12063 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
12064 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
12065
6b5c8607 120662018-07-24 Rical Jasan <rj@2c3t.io>
9d0a979e 12067 Adhemerval Zanella <adhemerval.zanella@linaro.org>
0a07288b
AZ
12068 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
12069
12070 [BZ #14092]
9d0a979e
RJ
12071 * manual/debug.texi: Update adjacent chapter name.
12072 * manual/probes.texi: Likewise.
12073 * manual/threads.texi (ISO C Threads): New section.
12074 (POSIX Threads): Convert to a section.
12075
120762018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12077 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
12078
12079 [BZ# 14092]
0a07288b
AZ
12080 * nptl/Makefile (tests): Add new test files.
12081 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
12082 * nptl/tst-cnd-basic.c: Likewise.
12083 * nptl/tst-cnd-broadcast.c: Likewise.
12084 * nptl/tst-cnd-timedwait.c: Likewise.
12085 * nptl/tst-mtx-basic.c: Likewise.
12086 * nptl/tst-mtx-recursive.c: Likewise.
12087 * nptl/tst-mtx-timedlock.c: Likewise.
12088 * nptl/tst-mtx-trylock.c: Likewise.
12089 * nptl/tst-thrd-basic.c: Likewise.
12090 * nptl/tst-thrd-detach.c: Likewise.
12091 * nptl/tst-thrd-sleep.c: Likewise.
12092 * nptl/tst-tss-basic.c: Likewise.
12093
ce7528f6
AZ
120942018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12095
c6dd669b
AZ
12096 [BZ #14092]
12097 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
12098 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
12099 symbols.
12100 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12101 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12102 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12103 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12104 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12105 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12106 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12107 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12108 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12109 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12110 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12111 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12113 Likewise.
12114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12115 Likewise.
12116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
12117 Likewise.
12118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12119 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12120 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12121 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12122 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12123 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12124 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12125 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12126 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12127 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
12128 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
12129 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
12130 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
12131 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
12132 Likewise.
12133 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
12134 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
12135 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
12136 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
12137 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
12138 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
12139 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
12140 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
12141 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
12142 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
12143 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
12144 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
12145 ikewise.
12146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
12147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12148 Likewise.
12149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12150 Likewise.
12151 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
12152 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
12153 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
12154 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
12155 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
12156 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
12157 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
12158 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
12159
78d40132
AZ
12160 [BZ #14092]
12161 * conform/data/threads.h-data (thread_local): New macro.
12162 (TSS_DTOR_ITERATIONS): Likewise.
12163 (tss_t): New type.
12164 (tss_dtor_t): Likewise.
12165 (tss_create): New function.
12166 (tss_get): Likewise.
12167 (tss_set): Likewise.
12168 (tss_delete): Likewise.
12169 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
12170 tss_get, and tss_set objects.
12171 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
12172 * nptl/tss_create.c: New file.
12173 * nptl/tss_delete.c: Likewise.
12174 * nptl/tss_get.c: Likewise.
12175 * nptl/tss_set.c: Likewise.
12176 * sysdeps/nptl/threads.h (thread_local): New define.
12177 (TSS_DTOR_ITERATIONS): Likewise.
12178 (tss_t): New typedef.
12179 (tss_dtor_t): Likewise.
12180 (tss_create): New prototype.
12181 (tss_get): Likewise.
12182 (tss_set): Likewise.
12183 (tss_delete): Likewise.
12184
918311a3
AZ
12185 [BZ #14092]
12186 * conform/data/threads.h-data (cnd_t): New type.
12187 (cnd_init): New function.
12188 (cnd_signal): Likewise.
12189 (cnd_broadcast): Likewise.
12190 (cnd_wait): Likewise.
12191 (cnd_timedwait): Likewise.
12192 (cnd_destroy): Likewise.
12193 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
12194 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
12195 object.
12196 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
12197 * nptl/cnd_broadcast.c: New file.
12198 * nptl/cnd_destroy.c: Likewise.
12199 * nptl/cnd_init.c: Likewise.
12200 * nptl/cnd_signal.c: Likewise.
12201 * nptl/cnd_timedwait.c: Likewise.
12202 * nptl/cnd_wait.c: Likewise.
12203 * sysdeps/nptl/threads.h (cnd_t): New type.
12204 (cnd_init): New prototype.
12205 (cnd_signa): Likewise.
12206 (cnd_broadcast): Likewise.
12207 (cnd_wait): Likewise.
12208 (cnd_timedwait): Likewise.
12209 (cnd_destroy): Likewise.
12210
3c20a679
AZ
12211 [BZ #14092]
12212 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
12213 (once_flag): New type.
12214 (call_once): New function.
12215 * nptl/Makefile (libpthread-routines): Add call_once object.
12216 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
12217 * nptl/call_once.c: New file.
12218 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
12219 (once_flag): New type.
12220 (call_once): New prototype.
12221
18d59c1b
AZ
12222 [BZ #14092]
12223 * conform/data/threads.h-data (mtx_plain): New constant.
12224 (mtx_recursive): Likewise.
12225 (mtx_timed): Likewise.
12226 (mtx_t): New type.
12227 (mtx_init): New function.
12228 (mtx_lock): Likewise.
12229 (mtx_timedlock): Likewise.
12230 (mtx_trylock): Likewise.
12231 (mtx_unlock): Likewise.
12232 (mtx_destroy): Likewise.
12233 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
12234 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
12235 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
12236 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
12237 * nptl/mtx_destroy.c: New file.
12238 * nptl/mtx_init.c: Likewise.
12239 * nptl/mtx_lock.c: Likewise.
12240 * nptl/mtx_timedlock.c: Likewise.
12241 * nptl/mtx_trylock.c: Likewise.
12242 * nptl/mtx_unlock.c: Likewise.
12243 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
12244 (mtx_recursive): Likewise.
12245 (mtx_timed): Likewise.
12246 (mtx_t): New type.
12247 (mtx_init): New prototype.
12248 (mtx_lock): Likewise.
12249 (mtx_timedlock): Likewise.
12250 (mtx_trylock): Likewise.
12251 (mtx_unlock): Likewise.
12252 (mtx_destroy): Likewise.
12253
ce7528f6
AZ
12254 [BZ #14092]
12255 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
12256 (linknamespace-libs-ISO11): Add libpthread.a.
12257 * conform/data/threads.h-data: New file: add C11 thrd_* types and
12258 functions.
12259 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
12260 * nptl/Makefile (headers): Add threads.h.
12261 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
12262 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
12263 thrd_yield.
12264 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
12265 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
12266 thrd_join, thrd_sleep, and thrd_yield symbols.
12267 * nptl/descr.h (struct pthread): Add c11 field.
12268 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
12269 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
12270 routine with expected function prototype.
12271 (__pthread_create_2_1): Add C11 threads check based on attribute
12272 value.
12273 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
12274 * nptl/thrd_create.c: New file.
12275 * nptl/thrd_current.c: Likewise.
12276 * nptl/thrd_detach.c: Likewise.
12277 * nptl/thrd_equal.c: Likewise.
12278 * nptl/thrd_exit.c: Likewise.
12279 * nptl/thrd_join.c: Likewise.
12280 * nptl/thrd_priv.h: Likewise.
12281 * nptl/thrd_sleep.c: Likewise.
12282 * nptl/thrd_yield.c: Likewise.
12283 * include/threads.h: Likewise.
12284
e27f41ba
L
122852018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12286
12287 * bits/indirect-return.h: New file.
12288 * misc/sys/cdefs.h (__glibc_has_attribute): New.
12289 * sysdeps/x86/bits/indirect-return.h: Likewise.
12290 * stdlib/Makefile (headers): Add bits/indirect-return.h.
12291 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
12292 (swapcontext): Add __INDIRECT_RETURN.
12293 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
12294 (prepare_test_buffer): Use it.
12295
21526a50
AS
122962018-07-24 Andreas Schwab <schwab@suse.de>
12297
12298 [BZ #23448]
12299 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
12300 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
12301
3650e1d9
L
123022018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12303
12304 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
12305 Redefine if shadow stack is enabled.
12306 (SYSCALL_ERROR_LABEL): Likewise.
12307 (__vfork): Pop shadow stack and jump back to to caller directly
12308 when shadow stack is in use.
12309 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
12310 Redefine if shadow stack is enabled.
12311 (SYSCALL_ERROR_LABEL): Likewise.
12312 (__vfork): Pop shadow stack and jump back to to caller directly
12313 when shadow stack is in use.
12314
ca027e0f
L
123152018-07-24 H.J. Lu <hongjiu.lu@intel.com>
12316
12317 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
12318 enabled.
12319 (foo): Likewise.
12320 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
12321 (foo): Likewise.
12322
b99f1c95
JM
123232018-07-20 Joseph Myers <joseph@codesourcery.com>
12324
12325 * scripts/build-many-glibcs.py (Context.checkout): Default
12326 binutils version to 2.31 branch.
12327
c8fabb84
ZL
123282018-07-20 Zong Li <zong@andestech.com>
12329
12330 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
12331 URL of gcc's tarball.
12332
786658a0
FW
123332018-07-20 Florian Weimer <fweimer@redhat.com>
12334
12335 [BZ #23396]
12336 * posix/regcomp.c (build_equiv_class): When comparing weights, do
12337 not compare an extra byte after the end of the weights.
12338
46f2474e
ST
123392018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
12340
12341 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
12342 to 1.
8ba1520e
ST
12343 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
12344 hidden prototypes.
12345 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
12346 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
2d5c41de
ST
12347 * scripts/check-execstack.awk: Consider `xfail' variable containing a
12348 list of libraries whose stack executability is expected.
12349 * elf/Makefile ($(objpfx)check-execstack.out): Pass
12350 $(check-execstack-xfail) to check-execstack.awk through `xfail'
12351 variable.
12352 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
12353 libc.so libpthread.so.
46f2474e 12354
60088242
TS
123552018-07-20 Thomas Schwinge <tschwinge@gnu.org>
12356
12357 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
12358 SOCK_NONBLOCK.
75d5e4a0
TS
12359 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
12360 and SOCK_NONBLOCK.
de195be0
TS
12361 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
12362 implement __pipe2.
12363 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
60088242 12364
1cf4ae7f
LS
123652018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12366
12367 * benchtests/scripts/compare_bench.py (__main__): use the argparse
12368 library to improve command line parsing.
12369 (__main__): make schema file as optional parameter (--schema),
12370 defaulting to benchtests/scripts/benchout.schema.json.
12371 (main): move out of the parsing stuff to __main_  and leave it
12372 only as caller of main comparison functions.
12373
e84bd851
L
123742018-07-19 H.J. Lu <hongjiu.lu@intel.com>
12375
12376 * NEWS: Add a note for Intel CET status.
12377 * manual/install.texi: Likewise.
12378 * INSTALL: Regenerated.
12379
df467d22
QP
123802018-07-18 Quentin PAGÈS <provaires@quentino.fr>
12381
12382 [BZ #23140]
12383 * localedata/locales/oc_FR (mon): Rename to...
12384 (alt_mon): This, then update October (typo fix).
12385 (mon): New content (genitive case, month names preceded by
12386 "de" or "d’").
12387
12388 [BZ #23422]
12389 * localedata/locales/oc_FR (abday): Update all items.
12390 (day): Update Wednesday and Saturday (typo fixes).
12391 (abmon): Update all items, except May.
12392 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
12393 (LC_IDENTIFICATION): Bump the revision number and date.
12394 Keep the "category" entries in alphabetic order.
12395 (LC_ADDRESS): Remove no longer needed comment.
12396 (LC_COLLATE): Use “copy "ca_ES"”.
12397 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
12398 "name_mrs".
12399
5c112f1b
JM
124002018-07-18 Joseph Myers <joseph@codesourcery.com>
12401
12402 * grp/tst_fgetgrent.c: Include <unistd.h>.
12403 (main): Use mkstemp instead of tmpnam.
12404 * io/test-utime.c (main): Likewise.
12405 * posix/annexc.c (macrofile): Change to modifiable array.
12406 (main): Remove macrofile here.
12407 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
12408 macrofile here.
12409 (check_header): Do not remove macrofile here.
12410 * posix/bug-getopt1.c: Include <stdlib.h>.
12411 (do_test): Use mkstemp instead of tmpnam.
12412 * posix/bug-getopt2.c: Include <stdlib.h>.
12413 (do_test): Use mkstemp instead of tmpnam.
12414 * posix/bug-getopt3.c: Include <stdlib.h>.
12415 (do_test): Use mkstemp instead of tmpnam.
12416 * posix/bug-getopt4.c: Include <stdlib.h>.
12417 (do_test): Use mkstemp instead of tmpnam.
12418 * posix/bug-getopt5.c: Include <stdlib.h>.
12419 (do_test): Use mkstemp instead of tmpnam.
12420 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
12421 (main): Use mkstemp instead of tmpnam.
12422 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
12423 (main): Use mkstemp instead of tmpnam.
12424 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
12425 (main): use mkstemp instead of tmpnam.
12426 * stdlib/isomac.c (macrofile): Change to modifiable array.
12427 (main): Remove macrofile here.
12428 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
12429 macrofile here.
12430 (check_header): Do not remove macrofile here.
12431
6d90776d
L
124322018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12433
12434 * manual/tunables.texi: Document glibc.tune.x86_ibt and
12435 glibc.tune.x86_shstk.
12436
e6c69509
L
124372018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12438
12439 * NEWS: Mention --enable-cet.
12440 * manual/install.texi: Document --enable-cet.
12441 * INSTALL: Regenerated.
12442
e2d40a88
L
124432018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12444
12445 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
12446 Add _CET_NOTRACK before indirect jump to jump table.
12447
77a8ae09
L
124482018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12449
12450 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
12451 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12452 to jump table.
12453
90d15dc5
L
124542018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12455
12456 * sysdeps/i386/i686/multiarch/strcat-sse2.S
12457 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12458 to jump table.
12459
f1574581
L
124602018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12461
12462 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
12463 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12464 to jump table.
12465
7fb61336
L
124662018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12467
12468 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
12469 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12470 to jump table.
12471
0a899af0
L
124722018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12473
12474 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
12475 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12476 to jump table.
12477 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
12478
177824e2
L
124792018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12480
12481 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
12482 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12483 to jump table.
12484
00e7b76a
L
124852018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12486
12487 * sysdeps/i386/i686/multiarch/memset-sse2.S
12488 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12489 to jump table.
12490
7e119cd5
L
124912018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12492
12493 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
12494 indirect jump to jump table.
12495
03aaf49b
L
124962018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12497
12498 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
12499 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12500 to jump table.
12501 (MEMCPY): Likewise.
12502
811e9e52
L
125032018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12504
12505 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
12506 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12507 to jump table.
12508 (MEMCPY): Likewise.
12509
8817df42
L
125102018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12511
12512 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
12513 _CET_NOTRACK before indirect jump to jump table.
12514
921595d1
L
125152018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12516
12517 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
12518 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12519 to jump table.
12520
4ef60d95
L
125212018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12522
12523 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
12524 indirect jump to jump table.
12525
61c4aad7
VT
125262018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
12527
12528 [BZ #22241]
12529 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
12530 (LOCALES): Likewise.
12531 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
12532 * localedata/locales/sah_RU: New file.
12533 * localedata/sah_RU.UTF-8.in: New file.
12534
be9ccd27
L
125352018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12536
12537 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
12538 "sysdep.h".
12539 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
12540 _CET_ENDBR to indirect jump targets and adjust jump destination
12541 for _CET_ENDBR.
12542 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
12543 "sysdep.h".
12544 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
12545 _CET_ENDBR to indirect jump targets and adjust jump destination
12546 for _CET_ENDBR.
12547 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
12548 "sysdep.h".
12549 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
12550 _CET_ENDBR to indirect jump targets and adjust jump destination
12551 for _CET_ENDBR.
12552
5efc6777
L
125532018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12554
12555 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
12556 _CET_ENDBR.
12557
562837c0
L
125582018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12559
12560 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
12561 _CET_ENDBR.
12562 (_dl_tlsdesc_undefweak): Likewise.
12563 (_dl_tlsdesc_dynamic): Likewise.
12564 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
12565 (_dl_tlsdesc_resolve_rel): Likewise.
12566 (_dl_tlsdesc_resolve_rela): Likewise.
12567 (_dl_tlsdesc_resolve_hold): Likewise.
12568 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
12569 (_dl_tlsdesc_undefweak): Likewise.
12570 (_dl_tlsdesc_dynamic): Likewise.
12571 (_dl_tlsdesc_resolve_rela): Likewise.
12572 (_dl_tlsdesc_resolve_hold): Likewise.
12573
124bcde6
L
125742018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12575
12576 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
12577 (_fini): Likewise.
12578 * sysdeps/x86_64/crti.S (_init): Likewise.
12579 (_fini): Likewise.
12580
9145f033
RL
125812018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
12582
12583 [BZ #23140]
12584 * localedata/locales/os_RU (mon): Rename to...
12585 (alt_mon): This.
12586 (mon): Import from CLDR (genitive case).
12587
ba2ea23d
L
125882018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12589
12590 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
12591 cet-tunables.h> when CET is enabled.
12592
f753fa7d
L
125932018-07-16 H.J. Lu <hongjiu.lu@intel.com>
12594
6b5c8607 12595 [BZ #21598]
f753fa7d
L
12596 * configure.ac: Add --enable-cet.
12597 * configure: Regenerated.
12598 * elf/Makefille (all-built-dso): Add a comment.
12599 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
12600 Include <dl-prop.h>.
12601 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
12602 segment.
12603 * elf/dl-open.c: Include <dl-prop.h>.
12604 (dl_open_worker): Call _dl_open_check.
12605 * elf/rtld.c: Include <dl-prop.h>.
12606 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
12607 _rtld_main_check.
12608 * sysdeps/generic/dl-prop.h: New file.
12609 * sysdeps/i386/dl-cet.c: Likewise.
12610 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
12611 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
12612 * sysdeps/x86/cet-tunables.h: Likewise.
12613 * sysdeps/x86/check-cet.awk: Likewise.
12614 * sysdeps/x86/configure: Likewise.
12615 * sysdeps/x86/configure.ac: Likewise.
12616 * sysdeps/x86/dl-cet.c: Likewise.
12617 * sysdeps/x86/dl-procruntime.c: Likewise.
12618 * sysdeps/x86/dl-prop.h: Likewise.
12619 * sysdeps/x86/libc-start.h: Likewise.
12620 * sysdeps/x86/link_map.h: Likewise.
12621 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
12622 _CET_ENDBR.
12623 (_dl_runtime_profile): Likewise.
12624 (_dl_runtime_resolve_shstk): New.
12625 (_dl_runtime_profile_shstk): Likewise.
12626 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
12627 if CET is enabled.
12628 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
12629 (CFLAGS-.os): Likewise.
12630 (CFLAGS-.op): Likewise.
12631 (CFLAGS-.oS): Likewise.
12632 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
12633 is enabled.
12634 (tests-special): Add $(objpfx)check-cet.out.
12635 (cet-built-dso): New.
12636 (+$(cet-built-dso:=.note)): Likewise.
12637 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
12638 ($(objpfx)check-cet.out): New.
12639 (generated): Add check-cet.out.
12640 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
12641 <cet-tunables.h>.
12642 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
12643 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
12644 (init_cpu_features): Call get_cet_status to check CET status
12645 and update dl_x86_feature_1 with CET status. Call
12646 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
12647 (set_x86_shstk). Disable and lock CET in libc.a.
12648 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
12649 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
12650 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
12651 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
12652 (_CET_ENDBR): Define if not defined.
12653 (ENTRY): Add _CET_ENDBR.
12654 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
12655 x86_shstk.
12656 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
12657 _CET_ENDBR.
12658 (_dl_runtime_profile): Likewise.
12659
52b2a80f
RA
126602018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
12661
12662 [BZ #21895]
12663 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
12664 restore r2 on longjmp.
12665 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
12666 test list.
12667 Added rules to build test tst-setjmp-bug21895-static.
12668 Added module setjmp-bug21895 and rules to build a shared object from it.
12669 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
12670 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
12671
3ae725df
WD
126722018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
12673
12674 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
12675 * benchtests/bench-strstr.c: Likewise.
12676 * string/memmem.c (FASTSEARCH): Define.
12677 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
12678 Add support for FASTSEARCH.
12679 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
12680 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
12681 (FASTSEARCH): Define.
12682 * string/test-strcasestr.c: Rename __strnlen to strnlen.
12683 * string/test-strstr.c: Likewise.
12684
31e422ca
L
126852018-07-15 H.J. Lu <hongjiu.lu@intel.com>
12686
12687 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
12688 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
12689
faaee1f0
L
126902018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
12691 H.J. Lu <hongjiu.lu@intel.com>
12692
12693 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
12694 (__longjmp): Restore shadow stack pointer if shadow stack is
12695 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
12696 isn't defined for __longjmp_cancel.
12697 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
12698 (_setjmp): Save shadow stack pointer if shadow stack is enabled
12699 and SHADOW_STACK_POINTER_OFFSET is defined.
12700 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
12701 (setjmp): Save shadow stack pointer if shadow stack is enabled
12702 and SHADOW_STACK_POINTER_OFFSET is defined.
12703 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
12704 (__sigsetjmp): Save shadow stack pointer if shadow stack is
12705 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12706 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
12707 <jmp_buf-ssp.h>.
12708 (____longjmp_chk): Restore shadow stack pointer if shadow stack
12709 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12710 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
12711 Remove jmp_buf-ssp.sym.
12712 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12713 <jmp_buf-ssp.h>.
12714 (____longjmp_chk): Restore shadow stack pointer if shadow stack
12715 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12716 * sysdeps/x86/Makefile (gen-as-const-headers): Add
12717 jmp_buf-ssp.sym.
12718 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
12719 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
12720 (__longjmp): Restore shadow stack pointer if shadow stack is
12721 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
12722 isn't defined for __longjmp_cancel.
12723 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
12724 (__sigsetjmp): Save shadow stack pointer if shadow stack is
12725 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12726
ebff9c5c
L
127272018-07-14 H.J. Lu <hongjiu.lu@intel.com>
12728
12729 [BZ #22563]
12730 * nptl/pthread_create.c: Include <tls-setup.h>.
12731 (__pthread_create_2_1): Call tls_setup_tcbhead.
12732 * sysdeps/generic/tls-setup.h: New file.
12733 * sysdeps/x86/nptl/tls-setup.h: Likewise.
12734 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
12735 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
12736 Likewise.
12737 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
12738 to feature_1.
12739 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
12740 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
12741 (X86_FEATURE_1_SHSTK): Likewise.
12742 (CET_ENABLED): Likewise.
12743 (IBT_ENABLED): Likewise.
12744 (SHSTK_ENABLED): Likewise.
12745
0a83bad2
RL
127462018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
12747
12748 [BZ #23208]
12749 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
12750 (LOCALES): Likewise.
12751 * localedata/dsb_DE.UTF-8.in: New file.
12752 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
12753
046bfed9
FW
127542018-07-12 Florian Weimer <fweimer@redhat.com>
12755
12756 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
12757 __mprotect, not mprotect.
12758
93304f5f
FW
127592018-07-11 Florian Weimer <fweimer@redhat.com>
12760
12761 * io/Makefile (headers): Add bits/statx.h.
12762
4beefeeb
MF
127632018-07-10 Mike FABIAN <mfabian@redhat.com>
12764
12765 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
12766 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
12767 and headers.
12768 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
12769 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
12770 for utf8_gen.py
12771
fd70af45
FW
127722018-07-10 Florian Weimer <fweimer@redhat.com>
12773
12774 * io/Makefile (routines): Add statx.
12775 (tests-internal): Add tst-statx.
12776 * io/Versions (GLIBC_2.28): Export statx.
12777 * io/bits/statx.h: New file.
12778 * io/sys/stat.h [__USE_GNU]: Include it.
12779 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
12780 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
12781 Define.
12782 * io/statx.c: New file.
12783 * io/statx_generic.: Likewise.
12784 * io/tst-statx.: Likewise.
12785 * include/bits/statx.h: Likewise.
12786 * sysdeps/unix/sysv/linux/kernel-features.h
12787 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
12788 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12789 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
12790 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
12791 Undefine.
12792 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12793 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
12794 * sysdeps/unix/sysv/linux/statx.c: New file.
12795 * manual/filesys.texi: Note that statx is undocumented.
12796 * sysdeps/**/libc*.abilist: Update.
12797
b444e8f7
AZ
127982018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12799
12800 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
12801 a kernel issue which lead to test failure in some cases.
12802
7b2f4ced
FW
128032018-07-10 Florian Weimer <fweimer@redhat.com>
12804
12805 [BZ #23036]
12806 * posix/regexec.c (check_node_accept_bytes): When comparing
12807 weights, do not compare an extra byte after the end of the
12808 weights.
12809
4fa34da6
FW
128102018-07-10 Florian Weimer <fweimer@redhat.com>
12811
12812 * libio/readline.c: Fix copyright year.
12813 * libio/tst-readline.c Likewise.
12814 * nss/tst-nss-files-hosts-getent.c: Likewise.
12815
916124ed
FW
128162018-07-06 Florian Weimer <fweimer@redhat.com>
12817
12818 [BZ #18991]
12819 * nss/nss_files/files-XXX.c (internal_getent): Use
12820 __libc_readline_unlocked. Seek back to the start of the line if
12821 parsing failes with ERANGE.
12822 (get_contents_ret, get_contents): Remove.
12823 * nss/tst-nss-files-hosts-getent.c: New file.
12824 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
12825 (tst-nss-files-hosts-getent): Link with -ldl.
12826
3f5e3f5d
FW
128272018-07-06 Florian Weimer <fweimer@redhat.com>
12828
12829 * include/stdio.h (__libc_readline_unlocked): Declare.
12830 (__ftello64, __fseeko64): Declare aliases.
12831 * libio/readline.c: New file.
12832 * libio/tst-readline.c: Likewise.
12833 (routines): Add readline.
12834 (tests-internal): Add tst-readlime.
12835 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
12836 __libc_readline_unlocked.
12837 * libio/fseeko.c (__fseeko): Rename from fseeko.
12838 (fseeko): Add alias.
12839 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
12840 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
12841 (fseeko64): Add alias.
12842 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
12843 * libio/ftello64.c (__ftello64): Rename from ftello64.
12844 (ftello64): Add alias.
12845
397c54c1
SN
128462018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
12847
12848 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
12849 HWCAP_ATOMICS.
12850
d0cd7980
SN
128512018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
12852
12853 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
12854 Use dl_hwcap without masking.
12855 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
12856 Remove HWCAP_CPUID.
12857
ddb3c626
FW
128582018-07-06 Florian Weimer <fweimer@redhat.com>
12859
12860 * conform/conformtest.pl (checknamespace): Escape literal braces
12861 in regular expressions.
12862
bce5911b
AP
128632018-07-06 Amit Pawar <amit.pawar@amd.com>
12864
12865 * sysdeps/x86/cpu-features.c (get_common_indeces):
12866 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
12867 * sysdeps/x86/cpu-features.c (init_cpu_features):
12868 AVX_Fast_Unaligned_Load is disabled for Excavator core.
12869
3a885c1f
FW
128702018-07-05 Florian Weimer <fweimer@redhat.com>
12871
12872 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
12873 protector.
12874 (CFLAGS-elf-init.oS): Likewise.
12875
38cade0c
FW
128762018-07-05 Florian Weimer <fweimer@redhat.com>
12877 Carlos O'Donell <carlos@redhat.com>
12878
12879 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
12880 $(no-stack-protector). stack_chk_fail_local.c can be compiled
12881 with stack protector enabled because there is no risk of infinite
12882 recursion.
12883
9449a295
MR
128842018-07-05 Maciej W. Rozycki <macro@mips.com>
12885
12886 [BZ #19818]
12887 [BZ #23307]
12888 * libc-abis (ABSOLUTE): New ABI.
12889 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
12890 * NEWS: Mention the new ABI.
12891
d6da5cb6
FW
128922018-07-05 Florian Weimer <fweimer@redhat.com>
12893
12894 [BZ # 17662]
12895 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
12896 (RENAME_WHITEOUT): Define.
12897 [__USE_GNU] (renameat2): Declare.
12898 * stdio-common/Makefile (routines): Add renameat2.
12899 (tests): Add tst-renameat2.
12900 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
12901 * stdio-common/renameat2.c: New file.
12902 * stdio-common/tst-renameat2.c: Likewise.
12903 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
12904 * manual/filesys.texi (Temporary Files): Note that renameat2 is
12905 undocumented.
12906 * sysdeps/unix/sysv/linux/kernel-features.h
12907 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
12908 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12909 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12910 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12911 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12912 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12913 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
12914 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12915 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
12916 * include/stdio.h (__renameat): Add alias for renameat.
12917 * stdio-common/renameat.c (__renameat): Rename from renameat.
12918 Add hidden definition and alias.
12919 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12920 * sysdeps/mach/hurd/renameat.c: Likewise.
12921 * sysdeps/**/libc*.abilist: Add renameat2.
12922
1002d708
AZ
129232018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12924
12925 * posix/bug-regex33.c: Fix build after regex sync.
12926
34fdb893
CD
129272018-07-04 Carlos O'Donell <carlos@redhat.com>
12928
12929 [BZ #23164]
12930 * localedata/tst-langinfo-setlocale.c: New file.
12931 * localedata/tst-langinfo-setlocale-static.c: New file.
12932 * localedata/tst-langinfo-newlocale.c: New file.
12933 * localedata/tst-langinfo-newlocale-static.c: New file.
12934 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
12935 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
12936 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
12937 (tests-static): Remove tst-langinfo-static. Add
12938 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
12939 (tests-special): Remove $(objpfx)tst-langinfo.out,
12940 $(objpfx)tst-langinfo-static.out. Add
12941 $(objpfx)tst-langinfo-setlocale.out,
12942 $(objpfx)tst-langinfo-newlocale.out,
12943 $(objpfx)tst-langinfo-setlocale-static.out,
12944 $(objpfx)tst-langinfo-newlocale-static.out.
12945 ($(objpfx)tst-langinfo.out): Remove.
12946 ($(objpfx)tst-langinfo-static.out): Remove.
12947 ($(objpfx)tst-langinfo-newlocale.out): New target.
12948 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
12949 (test-xfail-tst-langinfo-newlocale-static): Add.
12950 ($(objpfx)tst-langinfo-setlocale.out): New target.
12951 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
12952 * localedata/tst-langinfo.c: Call test_locale.
12953 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
12954 data.
12955
f2873d2d
FW
129562018-07-04 Florian Weimer <fweimer@redhat.com>
12957
12958 testrun.sh: Implement --tool=strace, --tool=valgrind
12959 * Makefile (testrun-script): Define variable.
12960 (testrun.sh): Use variable.
12961 * manual/install.texi (Tools for Compilation): make 4.0 or later
12962 is required.
12963 * configure.ac: Check for make 4.0 or later.
12964 * INSTALL: Regenerate.
12965 * configure: Likewise.
12966
eb04c213
AZ
129672018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12968
12969 [BZ #23233]
12970 [BZ #21163]
12971 [BZ #18986]
12972 [BZ #13762]
12973 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
12974 * posix/PCRE.tests: Remove invalid test.
12975 * posix/bug-regex28.c: Fix expected values for used syntax.
12976 * posix/bug-regex37.c: New file.
12977 * posix/bug-regex38.c: Likewise.
12978 * posix/regcomp.c: Sync with gnulib.
12979 * posix/regex.c: Likewise.
12980 * posix/regex.h: Likewise.
12981 * posix/regex_internal.c: Likewise.
12982 * posix/regex_internal.h: Likewise.
12983 * posix/regexec.c: Likewise.
12984
b11643c2
MF
129852018-06-26 Mike FABIAN <mfabian@redhat.com>
12986
12987 [BZ #23308]
12988 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
12989 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
12990 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
12991 * localedata/unicode-gen/PropList.txt: likewise.
12992 * localedata/unicode-gen/UnicodeData.txt: likewise.
12993 * localedata/charmaps/UTF-8: Regenerate.
12994 * localedata/locales/i18n_ctype: likewise.
12995 * localedata/locales/tr_TR: likewise.
12996 * localedata/locales/translit_circle: likewise.
12997 * localedata/locales/translit_cjk_compat: likewise.
12998 * localedata/locales/translit_combining: likewise.
12999 * localedata/locales/translit_compat: likewise.
13000 * localedata/locales/translit_font: likewise.
13001 * localedata/locales/translit_fraction: likewise.
13002
5a357506
FW
130032018-07-03 Florian Weimer <fweimer@redhat.com>
13004
13005 [BZ #23363]
13006 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
13007 * stdio-common/tst-printf.sh: Adjust expected output.
13008 * LICENSES: Update.
13009
7279af00
AZ
130102018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13011
13012 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
13013 symbol.
13014
b7b88cea
GG
130152018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13016
13017 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
13018 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
13019 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
13020 * stdio-common/tst-printfsz-islongdouble.c: New file.
13021 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
13022 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
13023 [subdir == stdio-common] (routines): Add ieee128-printf_size.
13024 [subdir == stdio-common] (tests-internal): Add
13025 test-printf-size-ieee128, and test-printf-size-ibm128.
13026 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
13027 (CFLAGS-test-printf-size-ibm128.c): New variables.
13028 [subdir == stdio-common] (tests-special): Add
13029 $(objpfx)test-printf-size-ieee128.out and
13030 $(objpfx)test-printf-size-ibm128.out.
13031 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
13032 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
13033 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
13034 __printf_sizeieee128.
13035 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
13036 New file.
13037 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
13038 Likewise.
13039 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
13040 Likewise.
13041
2b445206
SN
130422018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
13043
13044 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
13045 (exp2f_inline): Likewise.
13046 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
13047 (__math_uflowf): Likewise.
13048 (__math_may_uflowf): Likewise.
13049 (__math_divzerof): Likewise.
13050 (__math_invalidf): Likewise.
13051 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
13052 (__math_oflowf): Likewise.
13053 (__math_uflowf): Likewise.
13054 (__math_may_uflowf): Likewise.
13055 (__math_divzerof): Likewise.
13056 (__math_invalidf): Likewise.
13057
2827ab99
CD
130582018-06-29 DJ Delorie <dj@redhat.com>
13059 Carlos O'Donell <carlos@redhat.com>
13060
13061 [BZ #23329]
13062 * include/libc-symbols.h: Comment the freeres framework.
13063 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
13064 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
13065 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
13066 * dlfcn/dlerror.c: Include libc-symbols.h
13067 (__dlerror_main_freeres): New function.
13068 * dlfcn/dlfreeres.c: New file.
13069 * dlfcn/sdlfreeres.c: New file.
13070 * include/dlfcn.h: Declare __dlerror_main_freeres.
13071 * malloc/set-freeres.c: Declare __libdl_freeres, and
13072 __libpthread_freeres.
13073 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
13074 the releavant libraries are loaded.
13075 * malloc/thread-freeres.c: Add comments.
13076 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
13077 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
13078 * nptl/allocatestack.c (__nptl_free_stacks): New function.
13079 (__free_stacks): Rename to...
13080 (free_stacks): ...this. Mark static.
13081 (queue_stack): Call free_stacks.
13082 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
13083 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
13084 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
13085 ptr_freeres element from struct.
13086 (pthread_functions): Remove .ptr_freeres from struct initializer.
13087 [SHARED] (nptl_freeres): Remove.
13088 * nptl/nptlfreeres.c: New file.
13089 * nptl/pthreadP.h
13090 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
13091 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
13092 attribute_hidden.
13093 (__free_stacks): Rename to...
13094 (__nptl_stacks_freeres): ...this.
13095 (__shm_directory_freeres): Declare.
13096 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
13097 (__nptl_unwind_freeres): ...this.
13098 * resolv/res-close.c: Add comment.
13099 * resolv/resolv_conf.c: Include libc-symbols.h.
13100 * string/strerror_l.c: Include libc-symbols.h.
13101 * sunrpc/rpc_thread.c: Include libc-symbols.h.
13102 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
13103 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
13104 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
13105
37d3d244
RS
131062018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13107
13108 * stdlib/tst-strfmon_l.c: Add tests for long double.
13109
a1e0c5fa
MW
131102018-06-29 Michael Wolf <milupo@sorbzilla.de>
13111
13112 [BZ #23208]
13113 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
13114 * localedata/locales/dsb_DE: New file.
13115
2e0c5de6
RL
131162018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13117
13118 [BZ #23140]
13119 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
13120 genitive case).
13121 (alt_mon): New entry, import from CLDR (nominative case).
13122
cdb52c71
SL
131232018-06-29 Sylvain Lesage <severo@rednegra.net>
13124
13125 [BZ #22996]
13126 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
13127
ce76a5cb
SP
131282018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
13129
0aec4c1d
SP
13130 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
13131 Use vector registers.
13132
ce76a5cb
SP
13133 * sysdeps/aarch64/multiarch/memmove_falkor.S
13134 (__memcpy_falkor): Use vector registers.
13135
7e8989d0
MS
131362018-06-29 Martin Sebor <msebor@redhat.com>
13137
13138 * manual/stdio.texi (Customizing Printf): Mention interaction
13139 with GCC built-ins.
13140
bac15a72
MR
131412018-06-29 Maciej W. Rozycki <macro@mips.com>
13142
13143 [BZ #23307]
13144 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
13145 `st_value' is 0 if `st_shndx' is SHN_ABS.
13146 * elf/tst-absolute-zero.c: New file.
13147 * elf/tst-absolute-zero-lib.c: New file.
13148 * elf/tst-absolute-zero-lib.lds: New file.
13149 * elf/Makefile (tests): Add `tst-absolute-zero'.
13150 (modules-names): Add `tst-absolute-zero-lib'.
13151 (LDLIBS-tst-absolute-zero-lib.so): New variable.
13152 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
13153 ($(objpfx)tst-absolute-zero: New dependency.
13154
e69d994a
ZW
131552018-06-29 Zack Weinberg <zackw@panix.com>
13156
13157 * configure.ac: New command-line option --disable-crypt.
13158 Force --disable-nss-crypt when --disable-crypt is given, with a
13159 warning if it was explicitly enabled.
13160 * configure: Regenerate.
13161 * config.make.in: New boolean substitution variable $(build-crypt).
13162 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
13163 when $(build-crypt).
13164 * manual/install.texi: Document --disable-crypt.
13165 * INSTALL: Regenerate.
13166
13167 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
13168 which is never set.
13169 * conform/Makefile: Only include libcrypt.a in
13170 linknamespace-libs-xsi and linknamespace-libs-XPG4
13171 when $(build-crypt).
13172 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
13173 USE_CRYPT to 1 when $(build-crypt).
13174 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
13175 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
13176 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
13177
841785ba
ZW
131782018-06-29 Zack Weinberg <zackw@panix.com>
13179
13180 * crypt/crypt.h, posix/unistd.h: Update comments and
13181 prototypes for crypt and crypt_r.
13182
13183 * manual/crypt.texi (Cryptographic Functions): New initial
13184 exposition.
13185 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
13186 (Unpredictable Bytes): Improve initial exposition. Clarify error
13187 behavior of getentropy and getrandom.
13188 * manual/examples/genpass.c: Generate a salt using getentropy
13189 instead of the current time. Use hash $5$ (SHA-2-256).
13190 * manual/examples/testpass.c: Demonstrate validation against
13191 hashes generated with three different one-way functions.
13192
13193 * manual/intro.texi: crypt.texi does not need an overview
13194 anymore.
13195
13196 * manual/nss.texi, manual/memory.texi, manual/socket.texi
13197 * manual/terminal.texi: Consistently refer to "passphrases"
13198 * instead of "passwords", and to the "user database" instead
13199 * of the "password database".
13200 * manual/users.texi: Similarly. Add notes about how actual
13201 passphrase hashes are now stored in the shadow database.
13202 Remove 20-year-old junk todo note.
13203
6ab902e4
ZW
132042018-06-29 Zack Weinberg <zackw@panix.com>
13205
13206 * manual/crypt.texi: Use a normal top-level @node declaration.
13207 Move most of the introductory text to the 'crypt' section.
13208 Move the example programs below the @deftypefun for 'crypt_r'.
13209 Move the 'getpass' section...
13210 * manual/terminal.texi: ...here.
13211
b10a0acc
ZW
132122018-06-29 Zack Weinberg <zackw@panix.com>
13213 Florian Weimer <fweimer@redhat.com>
13214
13215 * posix/unistd.h: Do not declare encrypt.
13216 (_XOPEN_CRYPT): Remove macro definition.
13217 (crypt): Declare only for _USE_MISC.
13218 * stdlib/stdlib.h: Do not declare setkey.
13219 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
13220 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
13221
13222 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
13223 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
13224 into compat symbols. Don't define initial_perm if it's not
13225 going to be used.
13226 * crypt/cert.c: Link explicitly with the expected versions for
13227 setkey and encrypt. If they are not available at all, mark
13228 the test as unsupported.
13229
13230 * sunrpc/des_crypt.c: Unconditionally block linkage with
13231 cbc_crypt and ecb_crypt for new binaries.
13232 * sunrpc/des_soft.c: Unconditionally block linkage with
13233 des_setparity for new binaries.
13234
13235 * manual/crypt.texi: Remove the entire "DES Encryption"
13236 section. Also remove the paragraph talking about FIPS 140-2
13237 from the introduction.
13238 * manual/string.texi (strfry, memfrob): Revise. Recommend use
13239 of libgcrypt for "real" encryption, not DES.
13240 * manual/conf.texi (Constants for Sysconf): Mention that
13241 _XOPEN_CRYPT is no longer impelemented.
13242
13243 * conform/data/unistd.h-data: Remove crypt function declaration.
13244
524d796d
FW
132452018-06-29 Florian Weimer <fweimer@redhat.com>
13246
13247 [BZ #23351]
13248 * malloc/hooks.c: Update comments on restoring of dumped heaps.
13249 (disallow_malloc_check): Remove variable.
13250 (__malloc_check_init): Adjust.
13251 (malloc_set_state): Update comment.
13252 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
13253 declarations.
13254
339124ab
RL
132552018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13256
13257 [BZ #23140]
13258 * localedata/locales/ast_ES (mon): Rename to...
13259 (alt_mon): This.
13260 (mon): Import from CLDR (genitive case).
13261
c1f86a33
DA
132622018-06-29 Daniel Alvarez <dalvarez@redhat.com>
13263 Jakub Sitnicki <jkbs@redhat.com>
13264
13265 [BZ #21812]
13266 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
13267 on NLM_F_DUMP_INTR.
13268
0b11b649
SN
132692018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
13270
13271 * manual/llio.texi: Remove spurious space.
13272
c1c2848b
FW
132732018-06-28 Florian Weimer <fweimer@redhat.com>
13274
13275 [BZ #23349]
13276 * time/bits/types/struct_timespec.h: Change header inclusion guard to
13277 _STRUCT_TIMESPEC.
13278
86a0f561
RS
132792018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13280
13281 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
6b5c8607 13282 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
86a0f561
RS
13283 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
13284 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
13285 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
13286 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
13287 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
13288
780684eb
MR
132892018-06-27 Maciej W. Rozycki <macro@mips.com>
13290
13291 [BZ #23266]
13292 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
13293 Copy and null-terminate entries that are not terminated, in
13294 addition to empty ones.
13295
c49e1822
FW
132962018-06-27 Florian Weimer <fweimer@redhat.com>
13297
13298 [BZ #18023]
b39d961c
TS
13299 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
13300 (extend_alloca_account): Remove.
c49e1822
FW
13301 * manual/stdio.texi (Variable Arguments Output): Update comment.
13302
a833e627
JM
133032018-06-27 Joseph Myers <joseph@codesourcery.com>
13304
13305 * nptl/sockperf.c: Remove file.
13306
92d6aa85
FW
133072018-06-27 Florian Weimer <fweimer@redhat.com>
13308
13309 [BZ #18023]
13310 * elf/dl-deps.c (_dl_map_object_deps): Use struct
13311 scratch_buffer instead of extend_alloca.
13312
890c2ced
FW
133132018-06-27 Florian Weimer <fweimer@redhat.com>
13314
13315 [BZ #18023]
13316 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
13317 scratch_buffer instead of extend_alloca. Update comments.
13318
4272059d
FW
133192018-06-27 Florian Weimer <fweimer@redhat.com>
13320
13321 [BZ #18023]
13322 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
13323 instead of extend_alloca.
13324
27f10a09
JM
133252018-06-26 Joseph Myers <joseph@codesourcery.com>
13326
13327 [BZ #13888]
13328 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
13329 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
13330 /tmp.
13331 * scripts/test-installation.pl: Put temporary files in build
13332 directory, not /tmp.
13333 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
13334 (CFLAGS-bug4.c): Likewise.
13335 (CFLAGS-bug5.c): Likewise.
13336 (CFLAGS-test-fseek.c): Likewise.
13337 (CFLAGS-test-popen.c): Likewise.
13338 (CFLAGS-test_rdwr.c): Likewise.
13339 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
13340 /tmp.
13341 * stdio-common/bug4.c (main): Likewise.
13342 * stdio-common/bug5.c (main): Likewise.
13343 * stdio-common/test-fseek.c (TESTFILE): Likewise.
13344 * stdio-common/test-popen.c (do_test): Likewise.
13345 * stdio-common/test_rdwr.c (main): Likewise.
13346
05598a09
PF
133472018-06-26 Patsy Franklin <pfrankli@redhat.com>
13348
13349 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
13350 (sem_open): Set sem.newsem.pad to zero for valgrind.
13351
06ab719d
AZ
133522018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13353
13354 [BZ #20251]
13355 * NEWS: Mention fcntl64 addition.
13356 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
13357 * login/utmp_file.c: Likewise.
13358 * sysdeps/posix/fdopendir.c: Likewise.
13359 * sysdeps/posix/opendir.c: Likewise.
13360 * sysdeps/unix/pt-fcntl.c: Likewise.
13361 * include/fcntl.h (__libc_fcntl64, __fcntl64,
13362 __fcntl64_nocancel_adjusted): New prototype.
13363 (__fcntl_nocancel_adjusted): Remove prototype.
13364 * io/Makefile (routines): Add fcntl64.
13365 (CFLAGS-fcntl64.c): New rule.
13366 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
13367 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
13368 * io/fcntl.h (fcntl64): Add prototype and redirect if
13369 __USE_FILE_OFFSET64 is defined.
13370 * io/fcntl64.c: New file.
13371 * manual/llio.text: Add a note for which commands fcntl acts a
13372 cancellation point.
13373 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
13374 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
13375 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
13376 New symbols.
13377 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
13378 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
13379 non-LFS case.
13380 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
13381 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
13382 to __fcntl64_nocancel.
13383 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
13384 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
13385 to __fcntl64_nocancel.
13386 * sysdeps/generic/not-cancel.h: Likewise.
13387 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
13388 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
13389 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
13390 (fcntl64): New symbol.
13391 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13392 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13393 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13396 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13397 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13398 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13399 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13400 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13401 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
13402 fcntl64): Likewise.
13403 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13404 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
13405 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13406 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13407 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13408 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13409 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13410 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13411 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13413 Likewise.
13414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13415 Likewise.
13416 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13417 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13418 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13419
124e0258
FW
134202018-06-26 Florian Weimer <fweimer@redhat.com>
13421
13422 Run thread shutdown functions in an explicit order.
13423 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
13424 definition.
13425 (__libc_thread_freeres): Call thread shutdown functions
13426 explicitly.
13427 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
13428 * include/string.h (__strerror_thread_freeres): Declare.
13429 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
13430 arena_thread_freeres. No longer static. Remove thread shutdown
13431 hook registration.
13432 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
13433 Declare.
13434 * resolv/res-close.c (__res_thread_freeres): Renamed from
13435 res_thread_freeres. No longer static. Remove thread shutdown
13436 hook registration.
13437 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
13438 * resolv/resolv_conf.c (freeres): Remove incorrect section
13439 attribute and use libc_freeres_fn.
13440 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
13441 strerror_thread_freeres. No longer static. Remove thread
13442 shutdown hook registration.
13443 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
13444 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
13445 shutdown hook registration.
13446 * Makerules (shlib.lds): Do not provide section boundary symbols
13447 for __libc_thread_subfreeres.
13448 * manual/memory.texi (Basic Allocation): Update comment.
13449
935d920e
FW
134502018-06-26 Florian Weimer <fweimer@redhat.com>
13451
13452 Remove always-defined _RPC_THREAD_SAFE_ macro.
13453 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
13454 Do not define _RPC_THREAD_SAFE_.
13455 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
13456 conditional.
13457 * sunrpc/clnt_perr.c: Likewise.
13458 * sunrpc/clnt_raw.c: Likewise.
13459 * sunrpc/clnt_simp.c: Likewise.
13460 * sunrpc/key_call.c: Likewise.
13461 * sunrpc/rpc_common.c: Likewise.
13462 * sunrpc/rpc_main.c: Likewise.
13463 * sunrpc/rpc_thread.c: Likewise.
13464 * sunrpc/svc.c: Likewise.
13465 * sunrpc/svc_raw.c: Likewise.
13466 * sunrpc/svc_simple.c: Likewise.
13467 * sumrpc/svcauth_des.c: Likewise.
13468
29055464
FW
134692018-06-26 Florian Weimer <fweimer@redhat.com>
13470
13471 * libio/Makefile (tests-internal): Add tst-vtables,
13472 tst-vtables-interposed.
13473 * libio/tst-vtables.c: New file.
13474 * libio/tst-vtables-common.c: Likewise.
13475 * libio/tst-vtables-interposed.c: Likewise.
13476
5c0202af
FW
134772018-06-26 Florian Weimer <fweimer@redhat.com>
13478
13479 * support/support_test_main.c (support_test_main): Only call
13480 setvbuf if not disables.
13481 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
13482 * support/test-driver.h (struct test_config): Add no_setvbuf member.
13483
c402355d
FW
134842018-06-26 Florian Weimer <fweimer@redhat.com>
13485
13486 [BZ #23313]
13487 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
13488
43b1048a
FW
134892018-06-25 Florian Weimer <fweimer@redhat.com>
13490
13491 [BZ #18023]
13492 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13493 Use struct scratch_buffer instead of extend_alloca.
13494
1599ed4e
FW
134952018-06-25 Florian Weimer <fweimer@redhat.com>
13496
13497 [BZ #18023]
13498 * nss/getent.c (initgroups_keys): Use dynarray instead of
13499 extend_alloca.
13500
a26fe163
FW
135012018-06-25 Florian Weimer <fweimer@redhat.com>
13502
13503 [BZ #18023]
13504 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
13505 Use struct scratch_buffer instead of extend_alloca.
13506
90d9d9ce
FW
135072018-06-25 Florian Weimer <fweimer@redhat.com>
13508
13509 [BZ #18023]
13510 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
13511 back to malloc directly, without stack allocations.
13512
6b7b2aba
FW
135132018-06-25 Florian Weimer <fweimer@redhat.com>
13514
13515 [BZ #18023]
13516 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
13517 of extend_alloca.
13518
2f9f0d18
FW
135192018-06-25 Florian Weimer <fweimer@redhat.com>
13520
13521 [BZ #18023]
13522 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
13523 of extend_alloca.
13524 * nscd/hstcache.c (addhstbyX): Likewise.
13525 * nscd/pwdcache.c (addpwbyX): Likewise.
13526 * nscd/servicescache.c (addservbyX): Likewise.
13527
318bad78
FW
135282018-06-25 Florian Weimer <fweimer@redhat.com>
13529
13530 [BZ #18023]
13531 * nscd/connections.c (read_cmdline): New function.
13532 (restart): Use it. Update comment.
13533
189699ab
RL
135342018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
13535
13536 [BZ #23140]
13537 * localedata/locales/csb_PL (mon): Rename to...
13538 (alt_mon): This.
13539 (abmon): Rename to...
13540 (ab_alt_mon): This.
13541 (mon): Add with proper genitive forms, copy from Wikipedia.
13542 (abmon): Likewise.
13543
0ea3f13c
RL
135442018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
13545
13546 [BZ #19485]
13547 * localedata/locales/csb_PL (mon): Fix typos:
13548 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
13549 (yesstr): Add, value is "jo".
13550 (nostr): Add, value is "nié".
13551
d93f4ff1
TMQMF
135522018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13553
13554 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
13555 all log1p and significand functions on m680x0.
13556 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
13557 of s_significand.c..
13558 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
13559 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
13560 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
13561 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
13562 s_log1p.c and include it..
13563
f6299d2a
VC
135642018-06-21 Vincent Chen <vincentc@andestech.com>
13565
13566 * elf/elf.h (R_NDS32_NONE): New define.
13567 (R_NDS32_32_RELA): Likewise.
13568 (R_NDS32_COPY): Likewise.
13569 (R_NDS32_GLOB_DAT): Likewise.
13570 (R_NDS32_JUMP_SLOT): Likewise.
13571 (R_NDS32_RELATIVE): Likewise.
13572 (R_NDS32_TLS_TPOFF): Likewise.
13573 (R_NDS32_TLS_DESC): Likewise.
13574
61ab61c2
MW
135752018-06-21 Mark Wielaard <mark@klomp.org>
13576
13577 * elf/elf.h (R_BPF_MAP_FD): Removed.
13578 (R_BPF_64_64, R_BPF_64_32): New.
13579
f496b28e
FW
135802018-06-21 Florian Weimer <fweimer@redhat.com>
13581
13582 [BZ #23253]
13583 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
13584 Renamed from libc_feholdsetround_ctx.
13585 (default_libc_feresetround_ctx): Renamed from
13586 libc_feresetround_ctx.
13587 (default_libc_feholdsetround_noex_ctx): Renamed from
13588 libc_feholdsetround_noex_ctx.
13589 (default_libc_feresetround_noex_ctx): Renamed from
13590 libc_feresetround_noex_ctx.
13591 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
13592 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
13593 forwardning to the old implementations under the new names.
13594 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
13595 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
13596 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
13597 (libc_feresetround_ctx): Forward to default implements for i386
13598 and MATH_SET_BOTH_ROUNDING_MODES.
13599 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
13600 Add -DMATH_SET_BOTH_ROUNDING_MODES.
13601
1760daad
JM
136022018-06-20 Joseph Myers <joseph@codesourcery.com>
13603
99c7adf9
JM
13604 * string/tst-cmp.c: Include <libc-diag.h>.
13605 (strncmp_max): Disable -Wstringop-overflow= around call to
13606 strncmp.
13607 (strncasecmp_max): Disable -Wstringop-overflow= around call to
13608 strncasecmp.
13609
1760daad
JM
13610 * string/bug-strpbrk1.c: Include <libc-diag.h>.
13611 (main): Disable -Wunused-value around call to strpbrk.
13612 * string/bug-strspn1.c: Include <libc-diag.h>.
13613 (main): Disable -Wunused-value around call to strspn.
13614
209ae17c
TMQMF
136152018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13616 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13617
13618 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
13619 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
13620
badba23c
TMQMF
136212018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13622
5e79e029
TMQMF
13623 * math/Makefile (libm-calls): Move s_significandF to...
13624 (gen-libm-calls): ... here.
13625 * math/s_significand_template.c: New file.
13626 * math/s_significand.c: Removed.
13627 * math/s_significandf.c: Removed.
13628 * math/s_significandl.c: Removed.
13629 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
13630 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
13631
badba23c
TMQMF
13632 * math/e_exp2_template.c (declare_mgen_finite_alias,
13633 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
13634 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
13635 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
13636
2d1c89a5
FW
136372018-06-20 Florian Weimer <fweimer@redhat.com>
13638
13639 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
13640
646c2833
JM
136412018-06-19 Joseph Myers <joseph@codesourcery.com>
13642
13643 [BZ #23280]
13644 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
13645 floating-point number to strtod functions rather than possibly
13646 negating result of those functions.
13647 * stdio-common/tst-scanf-round.c: New file.
13648 * stdio-common/Makefile (tests): Add tst-scanf-round.
13649 ($(objpfx)tst-scanf-round): Depend on $(libm).
13650
c77e4dc0
ST
136512018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13652
13653 * sysdeps/mach/hurd/localplt.data: Move to...
13654 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
13655 R_386_GLOB_DAT like on Linux i386.
13656
91b2f3e5
JM
136572018-06-18 Joseph Myers <joseph@codesourcery.com>
13658
f2857da7
JM
13659 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
13660 (SHM_STAT_ANY): New macro.
13661 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
13662 (SHM_STAT_ANY): Likewise.
13663 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
13664 (SHM_STAT_ANY): Likewise.
13665 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
13666 (SHM_STAT_ANY): Likewise.
13667 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
13668 (SHM_STAT_ANY): Likewise.
13669 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
13670 (SHM_STAT_ANY): Likewise.
13671 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
13672 (SHM_STAT_ANY): Likewise.
13673 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
13674 (SHM_STAT_ANY): Likewise.
13675 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
13676 (SHM_STAT_ANY): Likewise.
13677 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
13678 (SHM_STAT_ANY): Likewise.
13679 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
13680 (SHM_STAT_ANY): Likewise.
13681 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
13682 (SHM_STAT_ANY): Likewise.
13683
176c7fee
JM
13684 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
13685 (SEM_STAT_ANY): New macro.
13686 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
13687 (SEM_STAT_ANY): Likewise.
13688 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
13689 (SEM_STAT_ANY): Likewise.
13690 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
13691 (SEM_STAT_ANY): Likewise.
13692 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
13693 (SEM_STAT_ANY): Likewise.
13694 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
13695 (SEM_STAT_ANY): Likewise.
13696 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
13697 (SEM_STAT_ANY): Likewise.
13698 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
13699 (SEM_STAT_ANY): Likewise.
13700 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
13701 (SEM_STAT_ANY): Likewise.
13702 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
13703 (SEM_STAT_ANY): Likewise.
13704
86bf0019
JM
13705 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
13706 (MSG_STAT_ANY): New macro.
13707 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
13708 (MSG_STAT_ANY): Likewise.
13709 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
13710 (MSG_STAT_ANY): Likewise.
13711 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
13712 (MSG_STAT_ANY): Likewise.
13713 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
13714 (MSG_STAT_ANY): Likewise.
13715 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
13716 (MSG_STAT_ANY): Likewise.
13717 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
13718 (MSG_STAT_ANY): Likewise.
13719 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
13720 (MSG_STAT_ANY): Likewise.
13721 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
13722 (MSG_STAT_ANY): Likewise.
13723 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
13724 (MSG_STAT_ANY): Likewise.
13725
91b2f3e5
JM
13726 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13727 (MAP_TYPE): Change value to 0x2b.
13728
3fe8fc79
FW
137292018-06-18 Florian Weimer <fweimer@redhat.com>
13730
13731 [BZ #15722]
13732 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
13733 socket with SOCK_CLOEXEC.
13734
809dc95d
JM
137352018-06-18 Joseph Myers <joseph@codesourcery.com>
13736
13737 [BZ #23303]
13738 * sysdeps/powerpc/powerpc64/le/Makefile
13739 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
13740 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
13741 (gnulib-tests): Also add $(f128-loader-link) for
13742 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
13743
298a8b59
ST
137442018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
13745
13746 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
13747 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
13748 of sendfile.
13749 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
13750 (sendfile64): New strong alias.
faf7bbc2
ST
13751 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
13752 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
13753 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
f96a85e0
ST
13754 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
13755 attribute.
13756 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
13757 ___pthread_get_cleanup_stack.
932d05f0 13758 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
c1b7586c
ST
13759 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
13760 * mach/shortcut.awk: Make syscall stubs include
13761 <mach-shortcuts-hidden.h> and add hidden definition.
13762 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7a646a93
ST
13763 (__mach_msg): Add hidden prototype.
13764 * mach/msg.c: Include <mach.h>.
13765 (__mach_msg): Add hidden definition.
b0344cf5
ST
13766 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
13767 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
13768 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
13769 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8c9d5342
ST
13770 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
13771 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
4d0ac037
ST
13772 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
13773 prototype and definition.
13774 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
13775 hidden target for _hurd_self_sigstate.
298a8b59 13776
b12c1e79
JM
137772018-06-15 Joseph Myers <joseph@codesourcery.com>
13778
13779 [BZ #23007]
13780 * stdlib/tst-strtod-nan-sign-main.c: New file.
13781 * stdlib/tst-strtod-nan-sign.c: Likewise.
13782 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
13783 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
13784 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
13785 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
13786 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
13787
b0debe14
HB
137882018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
13789
13790 [BZ #23007]
13791 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
13792 appropriate sign.
13793
14beef75
FW
137942018-06-14 Florian Weimer <fweimer@redhat.com>
13795
13796 [BZ #23290]
13797 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
13798 that the result stays within the ISO-8859-1 range.
13799 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
13800 characters are defined in IBM273.
13801
c596630b
ST
138022018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
13803
13804 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
13805 __mach_task_self): Remove attribute_hidden.
13806
35ebb6b0
JM
138072018-06-14 Joseph Myers <joseph@codesourcery.com>
13808
13809 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
13810 ignore -Wrestrict for one test.
13811
3c7b9f1f
SE
138122018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
13813 Szabolcs Nagy <szabolcs.nagy@arm.com>
13814
13815 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
13816
c59ee916
FW
138172018-06-14 Florian Weimer <fweimer@redhat.com>
13818
13819 * scripts/update-abilist.sh: Accept empty list of files to patch.
13820
43b5ff50
ST
138212018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
13822
13823 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
13824 test-xfail-check-abi-libmachuser): Add.
c8c910ed
ST
13825 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
13826 __libc_read and __libc_write to __read and __write.
c8c6e6d6 13827 * sysdeps/hurd/include/hurd/port.h: New file.
126b3ec3
ST
13828 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
13829 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
13830 __thread_switch, __evc_wait): Move declarations to...
13831 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
13832 attribute_hidden.
06d1a826
ST
13833 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
13834 use PLT to call _hurd_self_sigstate.
43b5ff50 13835
fcd6b5ac
JM
138362018-06-13 Joseph Myers <joseph@codesourcery.com>
13837
13838 [BZ #23279]
13839 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
13840 MAX_EXP as overflowing.
13841 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
13842 overflow flag.
13843 (round_str): Output also whether result overflows in each rounding
13844 mode.
13845 * stdlib/tst-strtod-round-data: Add more tests.
13846 * stdlib/tst-strtod-round-data.h: Regenerated.
13847 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
13848 (TEST): Handle extra arguments for overflow flags.
13849 (struct test_overflow): New type.
13850 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
13851 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
13852 (test_in_one_mode): Take argument with overflow information.
13853 (do_test): Update calls to test_in_one_mode.
13854
35df5a77
CD
138552018-06-12 Carlos O'Donell <carlos@redhat.com>
13856
a745c837
CD
13857 * elf/dl-load (_dl_dst_substitute): Correct comment.
13858 (_dl_dst_count): Likewise.
13859
35df5a77
CD
13860 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
13861 lll_futex_timed_wait.
13862
48b12ed5
JM
138632018-06-12 Joseph Myers <joseph@codesourcery.com>
13864
13865 [BZ #23277]
13866 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
13867 attribute.
13868 * math/test-nan-const.c: New file.
13869 * math/Makefile (tests): Add test-nan-const.
13870 (CFLAGS-test-nan-const.c): New variable.
13871
cb8f6aff
L
138722018-06-12 H.J. Lu <hongjiu.lu@intel.com>
13873
13874 * benchtests/scripts/compare_strings.py (process_results): Add
13875 funcs argument. Compare only functions which are selected.
13876 (main): Check if base function is among selected functions.
13877 Pass selected functions to process_results.
13878 (__main__): Add -f/--functions argument.
13879
fc2ba803
HZ
138802018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
13881 Hongbo Zhang <hongbo.zhang@linaro.org>
13882
13883 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
13884 __memcpy_falkor for phecda core.
13885 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
13886 __memmove_falkor for phecda core.
13887 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
13888 __memset_falkor for phecda core.
13889 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
13890 for phecda core.
13891 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
13892 macro to identify phecda core.
13893
5aad5f61
CD
138942018-06-12 Carlos O'Donell <carlos@redhat.com>
13895 Andreas Schwab <schwab@suse.de>
13896 Dmitry V. Levin <ldv@altlinux.org>
6b5c8607 13897 Florian Weimer <fweimer@redhat.com>
5aad5f61
CD
13898
13899 [BZ #23102]
13900 [BZ #21942]
13901 [BZ #18018]
13902 [BZ #23259]
13903 CVE-2011-0536
13904 * elf/dl-dst.h: Remove DL_DST_COUNT.
13905 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
13906 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
13907 (is_dst): Comment. Support ELF gABI.
13908 (_dl_dst_count): Comment. Simplify and count DSTs.
13909 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
13910 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
13911 locals.
13912
329ea513
ZW
139132018-06-12 Zack Weinberg <zackw@panix.com>
13914
13915 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
13916 * sysdeps/unix/sysv/linux/dl-sysdep.c
13917 Include not-cancel.h. Use __close_nocancel instead of __close,
13918 __open64_nocancel instead of __open, __read_nocancel instead of
13919 __libc_read, and __write_nocancel instead of __libc_write.
13920
13921 * csu/check_fds.c (check_one_fd)
13922 * sysdeps/posix/fdopendir.c (__fdopendir)
13923 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
b39d961c 13924 instead of __fcntl and/or __libc_fcntl.
329ea513
ZW
13925
13926 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
13927 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
b39d961c 13928 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
329ea513
ZW
13929 Use __open64_nocancel instead of __open_nocancel.
13930
13931 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
13932 hidden_proto declarations to the end and issue them if either
13933 IS_IN(libc) or IS_IN(rtld).
13934 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
13935 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
13936 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
13937 read_nocancel, waitpid_nocancel, write_nocancel.
13938
b39d961c
TS
13939 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
13940 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
13941 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
329ea513 13942
b39d961c
TS
13943 * nptl/pt-fcntl.c: New file.
13944 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
13945 (libpthread-routines): Add pt-fcntl.
13946 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
13947 (__libc_fcntl): Remove attribute_hidden.
329ea513
ZW
13948 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
13949 __fcntl_nocancel_adjusted, not fcntl_common.
b39d961c 13950 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
329ea513
ZW
13951 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
13952 to fcntl_nocancel.c.
13953 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
13954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
13955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13956 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
13957
13958 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
13959 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
13960 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
13961 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
13962 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
13963 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
13964 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
13965 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
13966 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
13967 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
13968 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
13969 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
13970 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
13971 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
13972 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
13973 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
13974 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
13975 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
13976 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
13977 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
13978
b39d961c
TS
13979 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
13980 libpthread-routines.
13981 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
13982 defines nothing.
329ea513 13983
b39d961c
TS
13984 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
13985 __libc_read, and __write instead of __libc_write. Define
13986 __open64 in addition to __open.
329ea513 13987
0221ce2a
L
139882018-06-12 H.J. Lu <hongjiu.lu@intel.com>
13989
13990 [BZ #23250]
13991 [BZ #10686]
13992 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
13993 to _private_tm[3] and add __glibc_reserved2.
13994 Add _Static_assert of offset of __private_ss == 0x30.
13995 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
13996 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
13997
e826574c
FW
139982018-06-12 Florian Weimer <fweimer@redhat.com>
13999
14000 x86: Make strncmp usable from rtld.
14001 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
14002 __strncmp_ia32 if in libc (and not in rtld).
14003 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
14004 strncmp if not in libc (and not to __strncmp_sse2).
14005
c4ad5782
RL
140062018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
14007
14008 [BZ #23140]
14009 * localedata/locales/gd_GB (mon): Rename to...
14010 (alt_mon): This.
14011 (mon): Import from CLDR (genitive case).
14012 * localedata/locales/hsb_DE (mon): Rename to...
14013 (alt_mon): This.
14014 (mon): Import from CLDR (genitive case).
14015 * localedata/locales/wa_BE (mon): Rename to...
14016 (alt_mon): This.
14017 (mon): Add, fill with the proper genitive forms, but CLDR data
14018 is incomplete; completed according to the comments in this file.
14019 (d_t_fmt): Do not use "di" before the month name, no longer needed.
14020
14021 * localedata/locales/wa_BE (country_name): Reword
14022 "Beljike" -> "Beldjike".
14023
ca121b11
JM
140242018-06-11 Joseph Myers <joseph@codesourcery.com>
14025
14026 [BZ #23272]
14027 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
14028 cases of non-finite arguments.
14029 * math/libm-test-fma.inc (fma_test_data): Add more tests.
14030
2b69fecb
JDA
140312018-06-10 John David Anglin <danglin@gcc.gnu.org>
14032
14033 [BZ #23174]
14034 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
14035
283d9851
AZ
140362018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14037
14038 [BZ #23264]
14039 * include/unistd.h (__execvpex): New prototype.
14040 * posix/Makefile (tests): Add tst-spawn4.
14041 (tests-internal): Add tst-spawn4-compat.
14042 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
14043 * posix/tst-spawn4-compat.c: New file.
14044 * posix/tst-spawn4.c: Likewise.
14045 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
14046 binaries as shell scripts.
14047 * sysdeps/posix/spawni.c (__spawni): Likewise.
14048
67c05796
L
140492018-06-08 H.J. Lu <hongjiu.lu@intel.com>
14050
14051 [BZ #23145]
14052 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
14053 ($(all-built-dso:=.dynsym): New target.
14054 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
14055 ($(objpfx)check-initfini.out): New target.
14056 (generated): Add check-initfini.out.
14057 * scripts/check-initfini.awk: New file.
14058 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
14059 (_fini): Likewise.
14060 * sysdeps/alpha/crti.S (_init): Mark as hidden.
14061 (_fini): Likewise.
14062 * sysdeps/arm/crti.S (_init): Mark as hidden.
14063 (_fini): Likewise.
14064 * sysdeps/hppa/crti.S (_init): Mark as hidden.
14065 (_fini): Likewise.
14066 * sysdeps/i386/crti.S (_init): Mark as hidden.
14067 (_fini): Likewise.
14068 * sysdeps/ia64/crti.S (_init): Mark as hidden.
14069 (_fini): Likewise.
14070 * sysdeps/m68k/crti.S (_init): Mark as hidden.
14071 (_fini): Likewise.
14072 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
14073 (_fini): Likewise.
14074 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
14075 (_fini): Likewise.
14076 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
14077 (_fini): Likewise.
14078 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
14079 (_fini): Likewise.
14080 * sysdeps/nios2/crti.S (_init): Mark as hidden.
14081 (_fini): Likewise.
14082 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
14083 (_fini): Likewise.
14084 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
14085 (_fini): Likewise.
14086 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
14087 (_fini): Likewise.
14088 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
14089 (_fini): Likewise.
14090 * sysdeps/sh/crti.S (_init): Mark as hidden.
14091 (_fini): Likewise.
14092 * sysdeps/sparc/crti.S (_init): Mark as hidden.
14093 (_fini): Likewise.
14094 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
14095 (_fini): Likewise.
14096
1c09524e
TMQMF
140972018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14098
14099 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
14100 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
14101 and TF redirection to KFtype and KF only when the default
14102 long double type is not the IEEE 128-bit floating point type.
14103
0e0577c9
JM
141042018-06-05 Joseph Myers <joseph@codesourcery.com>
14105
0c1c33b2
JM
14106 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
14107 macro.
14108 (HWCAP_USCAT): Likewise.
14109 (HWCAP_ILRCPC): Likewise.
14110 (HWCAP_FLAGM): Likewise.
14111 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
14112 Increase to 28.
14113 (_dl_aarch64_cap_flags): Add new flag names.
14114
bef1cbf4
JM
14115 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
14116 (MAP_FIXED_NOREPLACE): New macro.
14117 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
14118 (MAP_FIXED_NOREPLACE): Likewise.
14119 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
14120 (MAP_FIXED_NOREPLACE): Likewise.
14121 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
14122 (MAP_FIXED_NOREPLACE): Likewise.
14123 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
14124 (MAP_FIXED_NOREPLACE): Likewise.
14125 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
14126 (MAP_FIXED_NOREPLACE): Likewise.
14127 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
14128 (MAP_FIXED_NOREPLACE): Likewise.
14129 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
14130 (MAP_FIXED_NOREPLACE): Likewise.
14131 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
14132 (MAP_FIXED_NOREPLACE): Likewise.
14133 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
14134 (MAP_FIXED_NOREPLACE): Likewise.
14135 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
14136 (MAP_FIXED_NOREPLACE): Likewise.
14137 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
14138 (MAP_FIXED_NOREPLACE): Likewise.
14139 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
14140 (MAP_FIXED_NOREPLACE): Likewise.
14141 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
14142 (MAP_FIXED_NOREPLACE): Likewise.
14143 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
14144 (MAP_FIXED_NOREPLACE): Likewise.
14145
0e0577c9
JM
14146 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14147 version to 4.17.
14148
ab3a0da0
JM
141492018-06-04 Joseph Myers <joseph@codesourcery.com>
14150
14151 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14152 version to 4.17
14153
d2d9dfb6
ST
141542018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14155
14156 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
14157 int.
14158 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
14159
a650b05e
LS
141602018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14161
14162 * benchtests/scripts/compare_string.py: (process_results) Catch
14163 exception in non-existent base_func and catch exception in
14164 non-existent attribute.
14165 (parse_file) Catch exception if input file does not exist.
14166
195abbf4
LS
141672018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14168
14169 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
14170 options to avoid diff calculation and omit header, respectively.
14171 (main): process --no-diff and --no-header
14172
14570163
LS
141732018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14174 H.J. Lu <hongjiu.lu@intel.com>
14175
14176 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14177 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
14178 wcsncmp-sse2.
14179 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14180 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
14181 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
14182 and __wcsncmp_sse2.
14183 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
14184 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
14185 AVX unaligned load is fast and vzeroupper is preferred.
14186 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
14187 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
14188 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
14189 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
14190 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
14191 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
14192 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
14193 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
14194 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
14195 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
14196 is undefined.
14197
e02c026f
FW
141982018-06-01 Florian Weimer <fweimer@redhat.com>
14199
14200 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
14201 configuring with --disable-multi-arch, building with
14202 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
14203 Haswell-era CPU.
14204
d8c19275
FW
142052018-06-01 Florian Weimer <fweimer@redhat.com>
14206
14207 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
14208 results from building with “-march=x86-64 -mtune=generic
14209 -mfpmath=sse” and running on a Haswell-era CPU.
14210
0d2163eb
JM
142112018-06-01 Joseph Myers <joseph@codesourcery.com>
14212
14213 [BZ #18473]
14214 * soft-fp/sqrttf2.c: Remove file.
14215 * soft-fp/sqrtdf2.c: Move to ....
14216 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
14217 <shlib-compat.h>.
14218 (__sqrtdf2): Make conditional on
14219 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
14220 symbol.
14221 * soft-fp/sqrtsf2.c: Move to ....
14222 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
14223 <shlib-compat.h>.
14224 (__sqrtsf2): Make conditional on
14225 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
14226 symbol.
14227 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
14228 (gcc-double-routines): Remove sqrtdf2.
14229 (gcc-quad-routines): Remove sqrttf2.
14230 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
14231 Do not filter out sqrtsf2 and sqrtdf2.
14232 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14233 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
14234
10450210
FW
142352018-06-01 Florian Weimer <fweimer@redhat.com>
14236
14237 * sysdeps/generic/libcidn.abilist: Remove file.
14238
4e8a6346
FW
142392018-06-01 Florian Weimer <fweimer@redhat.com>
14240
14241 [BZ #23236]
14242 * libio/strfile.h (struct _IO_str_fields): Rename members to
14243 discourage their use and add comment.
14244 (_IO_STR_DYNAMIC): Remove unused macro.
14245 * libio/strops.c (_IO_str_init_static_internal): Do not use
14246 callback pointers. Call malloc and free.
14247 (_IO_str_overflow): Do not use callback pointers. Call malloc
14248 and free.
14249 (enlarge_userbuf): Likewise.
14250 (_IO_str_finish): Call free.
14251 * libio/wstrops.c (_IO_wstr_init_static): Initialize
14252 _allocate_buffer_unused.
14253 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
14254 and free.
14255 (enlarge_userbuf): Likewise.
14256 (_IO_wstr_finish): Call free.
14257 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
14258 _allocate_buffer_unused, _free_buffer_unused.
14259 * libio/memstream.c (__open_memstream): Likewise.
14260 * libio/vasprintf.c (_IO_vasprintf): Likewise.
14261 * libio/wmemstream.c (open_wmemstream): Likewise.
14262
50d004c9
PP
142632018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
14264
14265 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
14266 AMD Ryzen 7 1800X.
14267
2c93fce7
RS
142682018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14269
14270 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
14271 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
14272 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
14273 New file.
14274 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
14275 Likewise.
14276 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
14277
0ce2fa69
FW
142782018-05-29 Florian Weimer <fweimer@redhat.com>
14279
14280 * support/Makefile (libsupport-routines): Add
14281 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
14282 xpthread_barrierattr_setpshared.
14283 * support/xpthread_barrierattr_destroy.c: New file.
14284 * support/xpthread_barrierattr_init.c: Likewise.
14285 * support/xpthread_barrierattr_setpshared.c: Likewise.
14286
7f7b5d8d
L
142872018-05-29 H.J. Lu <hongjiu.lu@intel.com>
14288
14289 [BZ #23206]
14290 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
14291 _r_debug and update DT_DEBUG for debugger.
14292
e4890300
FW
142932018-05-29 Florian Weimer <fweimer@redhat.com>
14294
14295 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
14296 (tst-strtod5i.out): Likewise.
14297
2c753f3e
JM
142982018-05-25 Joseph Myers <joseph@codesourcery.com>
14299
b5453d9f
JM
14300 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
14301 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
14302 (sparc64-quad-routines): New variable. Moved from ....
14303 [$(subdir) = soft-fp] (sysdep_routines): Add
14304 $(sparc64-quad-routines). Moved from ....
14305 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
14306 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
14307 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
14308 moved from ....
14309 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
14310 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
14311 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
14312 * sysdeps/sparc/sparc64/qp_add.c: ... here.
14313 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
14314 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
14315 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
14316 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
14317 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
14318 * sysdeps/sparc/sparc64/qp_div.c: ... here.
14319 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
14320 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
14321 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
14322 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
14323 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
14324 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
14325 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
14326 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
14327 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
14328 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
14329 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
14330 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
14331 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
14332 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
14333 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
14334 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
14335 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
14336 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
14337 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
14338 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
14339 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
14340 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
14341 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
14342 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
14343 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
14344 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
14345 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
14346 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
14347 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
14348 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
14349 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
14350 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
14351 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
14352 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
14353 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
14354 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
14355 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
14356 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
14357 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
14358 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
14359 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
14360 * sysdeps/sparc/sparc64/qp_util.c: ... here.
14361 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
14362 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
14363 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
14364 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
14365 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
14366 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
14367
2c753f3e
JM
14368 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
14369 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
14370 (sparc32-quad-routines): New variable. Moved from ....
14371 [$(subdir) = soft-fp] (sysdep_routines): Add
14372 $(sparc32-quad-routines). Moved from ....
14373 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
14374 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
14375 moved from ....
14376 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
14377 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
14378 * sysdeps/sparc/sparc32/q_add.c: ... here.
14379 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
14380 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
14381 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
14382 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
14383 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
14384 * sysdeps/sparc/sparc32/q_div.c: ... here.
14385 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
14386 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
14387 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
14388 * sysdeps/sparc/sparc32/q_feq.c: ... here.
14389 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
14390 * sysdeps/sparc/sparc32/q_fge.c: ... here.
14391 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
14392 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
14393 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
14394 * sysdeps/sparc/sparc32/q_fle.c: ... here.
14395 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
14396 * sysdeps/sparc/sparc32/q_flt.c: ... here.
14397 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
14398 * sysdeps/sparc/sparc32/q_fne.c: ... here.
14399 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
14400 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
14401 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
14402 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
14403 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
14404 * sysdeps/sparc/sparc32/q_mul.c: ... here.
14405 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
14406 * sysdeps/sparc/sparc32/q_neg.c: ... here.
14407 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
14408 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
14409 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
14410 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
14411 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
14412 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
14413 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
14414 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
14415 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
14416 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
14417 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
14418 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
14419 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
14420 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
14421 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
14422 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
14423 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
14424 * sysdeps/sparc/sparc32/q_sub.c: ... here.
14425 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
14426 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
14427 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
14428 * sysdeps/sparc/sparc32/q_util.c: ... here.
14429 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
14430 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
14431 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
14432 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
14433
c1dc1e1b
TMQMF
144342018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14435 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14436
14437 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
14438 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
14439 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
14440 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
14441
14186e8d
JM
144422018-05-24 Joseph Myers <joseph@codesourcery.com>
14443
14444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
14445 powerpc/soft-fp.
14446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14447 Likewise.
14448 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
14449 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
14450
fb0e10b8
GG
144512018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14452
14453 [BZ #23171]
14454 * math/math.h [C++] (iseqsig): Fix parameter type for the long
14455 double version.
14456
1dfeb17e
JM
144572018-05-23 Joseph Myers <joseph@codesourcery.com>
14458
14459 * sysdeps/sh/Implies: Remove sh/soft-fp.
14460 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
14461 * sysdeps/sh/sfp-machine.h: ... here.
14462
727b38df
L
144632018-05-23 H.J. Lu <hongjiu.lu@intel.com>
14464
14465 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14466 (__mempcpy_erms): Skip zero length.
14467 (__memmove_erms): Likewise.
14468 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14469 (__memset_erms): Likewise.
14470
2834fb46
JM
144712018-05-23 Joseph Myers <joseph@codesourcery.com>
14472
14473 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
14474 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
14475 Add functions moved from ....
14476 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
14477 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
14478 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
14479 from ....
14480 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
14481 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
14482 * sysdeps/alpha/e_sqrtl.c: ... here.
14483 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
14484 * sysdeps/alpha/local-soft-fp.h: ... here.
14485 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
14486 * sysdeps/alpha/ots_add.c: ... here.
14487 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
14488 * sysdeps/alpha/ots_cmp.c: ... here.
14489 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
14490 * sysdeps/alpha/ots_cmpe.c: ... here.
14491 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
14492 * sysdeps/alpha/ots_cvtqux.c: ... here.
14493 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
14494 * sysdeps/alpha/ots_cvtqx.c: ... here.
14495 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
14496 * sysdeps/alpha/ots_cvttx.c: ... here.
14497 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
14498 * sysdeps/alpha/ots_cvtxq.c: ... here.
14499 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
14500 * sysdeps/alpha/ots_cvtxt.c: ... here.
14501 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
14502 * sysdeps/alpha/ots_div.c: ... here.
14503 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
14504 * sysdeps/alpha/ots_mul.c: ... here.
14505 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
14506 * sysdeps/alpha/ots_nintxq.c: ... here.
14507 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
14508 * sysdeps/alpha/ots_sub.c: ... here.
14509 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
14510 * sysdeps/alpha/sfp-machine.h: ... here.
14511
7f9f1ecb
FW
145122018-05-23 Florian Weimer <fweimer@redhat.com>
14513
14514 [BZ #19728]
14515 [BZ #19729]
14516 [BZ #22247]
14517 CVE-2016-6261
14518 CVE-2016-6263
14519 CVE-2017-14062
14520 Switch to extern IDNA implementation (libidn2).
14521 * libidn: Remove subdirectory.
14522 * LICENSES: Do not mention licensing conditions for the removed
14523 libidn code.
14524 * config.h.in (HAVE_LIBIDN): Remove.
14525 * include/dlfcn.h (__libc_dlopen): Update comment.
14526 * include/idna.h: Remove file.
14527 * inet/Makefile (routines): Add idna.
14528 (tests-static, tests-internal): Add tst-idna_name_classify.
14529 (LOCALES): Generate locales for tests.
14530 (tst-idna_name_classify.out): Depend on generated locales.
14531 * inet/idna_name_classify.c: New file.
14532 * inet/tst-idna_name_classify.c: Likewise.
14533 * inet/net-internal.h (__idna_to_dns_encoding)
14534 (__idna_from_dns_encoding): Declare.
14535 * inet/net-internal.h (enum idna_name_classification): Define.
14536 (__idna_name_classify): Declare.
14537 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
14538 __idna_from_dns_encoding.
14539 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
14540 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
14541 name as a fallback in case of encoding errors.
14542 (getnameinfo): Use DEPRECATED_NI_IDN.
14543 * inet/idna.c: New file.
14544 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
14545 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
14546 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
14547 (modules-names): Add tst-no-libidn2.
14548 (extra-test-objs): Add tst-no-libidn2.os.
14549 (LDFLAGS-tst-no-libidn2.so): Set soname.
14550 (LOCALES): Set, and generate locales.
14551 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
14552 (tst-resolv-ai_idn-latin1): Likewise.
14553 (tst-resolv-ai_idn-nolibidn2): Likewise.
14554 (tst-resolv-ai_idn.out): Depend on locales.
14555 (tst-resolv-ai_idn-latin1.out): Depend on locales.
14556 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
14557 tst-no-libidn2.so.
14558 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
14559 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
14560 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
14561 * resolv/tst-resolv-ai_idn.c: New file.
14562 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
14563 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
14564 * resolv/tst-no-libidn2.c: Likewise.
14565 * support/support_format_addrinfo.c (format_ai_flags): Do not
14566 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
14567 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
14568 (gaih_inet): Call __idna_to_dns_encoding and
14569 __idna_from_dns_encoding, and use the original (punycode) name if
14570 __idna_from_dns_encoding fails due to an encoding error.
14571 (getaddrinfo): Use DEPRECATED_AI_IDN.
14572 * sysdeps/unix/inet/Subdirs (libidn): Remove.
14573 * sysdeps/unix/inet/configure: Remove file.
14574 * sysdeps/unix/inet/configure.ac: Likewise.
14575
5f7b841d
FW
145762018-05-23 Florian Weimer <fweimer@redhat.com>
14577
14578 Implement allocate_once.
14579 * include/allocate_once.h: New file.
14580 * misc/allocate_once.c: Likewise.
14581 * misc/tst-allocate_once.c: Likewise.
14582 * misc/Makefile (routines): Add allocate_once.
14583 (tests-internal): Add tst-allocate_once.
14584 (generated): Add tst-allocate_once.mtrace,
14585 tst-allocate_once-mem.out.
14586 (tests-special): Add tst-allocate_once-mem.out.
14587 (tst-allocate_once-ENV): Set MALLOC_TRACE.
14588 (tst-allocate_once-mem.out): Call mtrace.
14589 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
14590
ed983107
L
145912018-05-23 H.J. Lu <hongjiu.lu@intel.com>
14592
14593 [BZ #23196]
14594 * string/test-memcpy.c (do_test1): New function.
14595 (test_main): Call it.
14596
9aaaab7c
AS
145972018-05-23 Andreas Schwab <schwab@suse.de>
14598
14599 [BZ #23196]
14600 CVE-2018-11237
14601 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
14602 (L(preloop_large)): Save initial destination pointer in %r11 and
14603 use it instead of %rax after the loop.
14604 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
14605
5c5c0dd7
JM
146062018-05-22 Joseph Myers <joseph@codesourcery.com>
14607
8f145c77
JM
14608 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
14609 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
14610 -I../soft-fp. Moved from ....
14611 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
14612 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
14613 * sysdeps/aarch64/e_sqrtl.c: ... here.
14614 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
14615 * sysdeps/aarch64/sfp-machine.h: ... here.
14616
3d6302a5
JM
14617 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
14618 -Wmaybe-uninitialized around access to fq[0].
14619 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14620 Likewise.
14621
5c5c0dd7
JM
14622 [BZ #18471]
14623 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
14624 aliases for non-libc case of versioned symbols.
14625 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
14626 (llseek): Define as compat symbol if
14627 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
14628 with link warning.
14629 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
14630 Make into a compat symbol, disabled for minimum symbol version
14631 GLIBC_2.28 and later.
14632 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
14633
ed0d6988
FW
146342018-05-22 Florian Weimer <fweimer@redhat.com>
14635
14636 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
14637 not add -mpreferred-stack-boundary=4.
14638 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
14639 (stack-align-test-flags): Likewise.
14640 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
14641 Likewise.
14642 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
14643 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
14644 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
14645 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
14646 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
14647 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
14648 (CFLAGS-tst-align2.c): Likewise.
14649
e28e9b1e
L
146502018-05-21 H.J. Lu <hongjiu.lu@intel.com>
14651
14652 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
14653 (index_arch_Prefer_FSRM): Likewise.
14654 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
14655 Also check Prefer_FSRM.
14656 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
14657 Also return OPTIMIZE (erms) for Prefer_FSRM.
14658
1af30adc
L
146592018-05-21 H.J. Lu <hongjiu.lu@intel.com>
14660
14661 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
14662 (index_cpu_FSRM): Likewise.
14663 (reg_FSRM): Likewise.
14664
78274dc8
JM
146652018-05-18 Joseph Myers <joseph@codesourcery.com>
14666
7c67e6e8
JM
14667 * math/gen-tgmath-tests.py: Import sys.
14668 (Tests.__init__): Initialize macros_seen.
14669 (Tests.add_tests): Add macro to macros_seen. Only generate tests
14670 if requested to do so for this macro.
14671 (Tests.add_all_tests): Take argument for macro for which to
14672 generate tests.
14673 (Tests.check_macro_list): New function.
14674 (main): Handle check-list argument and argument specifying macro
14675 for which to generate tests.
14676 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
14677 [PYTHON] (tgmath3-macro-tests): Likewise.
14678 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
14679 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
14680 not test-tgmath3.c.
14681 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
14682 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
14683 to CFLAGS.
14684 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
14685 [PYTHON] ($(foreach
14686 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
14687 rule.
14688 [PYTHON] (tests-special): Add
14689 $(objpfx)test-tgmath3-macro-list.out.
14690 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
14691
ebc129fd
JM
14692 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
14693 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
14694 later.
14695
78274dc8
JM
14696 [BZ #22639]
14697 * time/tzset.c (SECSPERDAY): Cast to time_t.
14698 * time/tst-y2039.c: New file.
14699 * time/Makefile (tests): Add tst-y2039.
14700
6f7fdeeb
LS
147012018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14702
14703 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14704 (PREFETCH_ONE_SET): Remove duplicate line.
14705
e363a91c
FW
147062018-05-17 Florian Weimer <fweimer@redhat.com>
14707
14708 * sysdeps/generic/math-type-macros-double.h: Include
14709 <math-nan-payload-double.h> after <libm-alias-double.h>.
14710 * sysdeps/generic/math-type-macros-float.h: Include
14711 <math-nan-payload-float.h> after <libm-alias-float.h>.
14712 * sysdeps/generic/math-type-macros-float128.h: Include
14713 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
14714 * sysdeps/generic/math-type-macros-ldouble.h: Include
14715 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
14716
dae6c43c
AS
147172018-05-17 Andreas Schwab <schwab@suse.de>
14718
14719 * resolv/res_send.c (__res_context_send): Don't set errno when
14720 returing error after malloc failure.
14721
0068c085
L
147222018-05-17 H.J. Lu <hongjiu.lu@intel.com>
14723
14724 * nptl/allocatestack.c (allocate_stack): Remove the
14725 !__ASSUME_PRIVATE_FUTEX paths.
14726 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
14727 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14728 Likewise.
14729 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
14730 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14731 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14732 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14733 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
14734 !__ASSUME_PRIVATE_FUTEX path.
14735 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
14736 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
14737 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
14738 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
14739 !__ASSUME_PRIVATE_FUTEX macros.
14740 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
14741 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
14742 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
14743 * sysdeps/unix/sysv/linux/kernel-features.h
14744 (__ASSUME_PRIVATE_FUTEX): Removed.
14745
632a6cbe
JM
147462018-05-17 Joseph Myers <joseph@codesourcery.com>
14747
14748 * math/Makefile (libm-narrow-fns): Add div.
14749 (libm-test-funcs-narrow): Likewise.
14750 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
14751 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
14752 * math/gen-auto-libm-tests.c (test_functions): Add div.
14753 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
14754 (NARROW_DIV_ROUND_TO_ODD): Likewise.
14755 (NARROW_DIV_TRIVIAL): Likewise.
14756 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
14757 macro.
14758 (__ddivl): Likewise.
14759 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
14760 ddiv.
14761 (CFLAGS-nldbl-ddiv.c): New variable.
14762 (CFLAGS-nldbl-fdiv.c): Likewise.
14763 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14764 __nldbl_ddivl.
14765 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
14766 prototype.
14767 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
14768 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
14769 * math/auto-libm-test-in: Add tests of div.
14770 * math/auto-libm-test-out-narrow-div: New generated file.
14771 * math/libm-test-narrow-div.inc: New file.
14772 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
14773 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
14774 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
14775 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
14776 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
14777 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
14778 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
14779 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
14780 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
14781 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
14782 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
14783 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
14784 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
14785 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
14786 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
14787 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
14788 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
14789 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
14790 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14791 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14792 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14793 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14794 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14795 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14796 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14797 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14798 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14799 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14800 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14801 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14802 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14803 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14808 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14809 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14810 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14811 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14812 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14813 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14814 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14815 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14816
8c78faa9
AZ
148172018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14818
14819 [BZ #23178]
14820 * nscd/nscd-client.h (sendfileall): Remove prototype.
14821 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
14822 (handle_request): Use writeall instead of sendfileall.
14823 * nscd/aicache.c (addhstaiX): Likewise.
14824 * nscd/grpcache.c (cache_addgr): Likewise.
14825 * nscd/hstcache.c (cache_addhst): Likewise.
14826 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14827 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
14828 * nscd/pwdcache.c (cache_addpw): Likewise.
14829 * nscd/servicescache.c (cache_addserv): Likewise.
14830 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
14831 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
14832 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
14833 Remove define.
14834
04958880
L
148352018-05-16 H.J. Lu <hongjiu.lu@intel.com>
14836
14837 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
14838 Include <string/strncat.c>.
14839 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
14840 alias.
14841 (__GI___strncat): New hidden alias.
14842
c9992d13
JM
148432018-05-16 Joseph Myers <joseph@codesourcery.com>
14844
14845 * sysdeps/mips/mips32/libm-test-ulps: Update.
14846 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14847
2afece36
FW
148482018-05-16 Florian Weimer <fweimer@redhat.com>
14849
14850 * support/Makefile (libsupport-routines): Add support_quote_blob,
14851 support_test_compare_blob.
14852 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
14853 * support/check.h (TEST_COMPARE_BLOB): Define.
14854 (support_test_compare_blob): Declare.
14855 * support/support.h (support_quote_blob): Declare.
14856 * support/support_quote_blob.c: New file.
14857 * support/support_test_compare_blob.c: Likewise.
14858 * support/tst-support_quote_blob.c: Likewise.
14859 * support/tst-test_compare_blob.c: Likewise.
14860
9761bf4d
FW
148612018-05-16 Florian Weimer <fweimer@redhat.com>
14862
14863 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
14864 of <strtod_nan_double.h>.
14865 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
14866 instead of SET_MANTISSA.
14867 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
14868 of include <strtod_nan_float.h>.
14869 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
14870 instead of <strtod_nan_ldouble.h>.
14871 * stdlib/strtod_nan_double.h: Move to ...
14872 * sysdeps/generic/math-nan-payload-double.h: ... here.
14873 (FLOAT): Remove definition.
14874 (SET_MANTISSA): Rename to ...
14875 (SET_NAN_PAYLOAD): ... this.
14876 * stdlib/strtod_nan_float.h: Move to ...
14877 * sysdeps/generic/math-nan-payload-float.h: ... here.
14878 (FLOAT): Remove definition.
14879 (SET_MANTISSA): Rename to ...
14880 (SET_NAN_PAYLOAD): ... this.
14881 * sysdeps/generic/math-type-macros-double.h: Include
14882 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
14883 instead of <math-svid-compat.h>.
14884 * sysdeps/generic/math-type-macros-float.h: Include
14885 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
14886 instead of <math-svid-compat.h>.
14887 * sysdeps/generic/math-type-macros-float128.h: Include
14888 <math-nan-payload-float128.h>.
14889 * sysdeps/generic/math-type-macros-ldouble.h: Include
14890 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
14891 instead of <math-svid-compat.h>.
14892 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
14893 check for definition.
14894 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
14895 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
14896 Include <ieee754_float128.h>.
14897 (FLOAT): Remove definition.
14898 (SET_MANTISSA): Rename to ...
14899 (SET_NAN_PAYLOAD): ... this.
14900 * sysdeps/ieee754/float128/strtof128_nan.c: Include
14901 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
14902 Do not include <float128_private.h>.
14903 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
14904 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
14905 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
14906 (FLOAT): Remove definition.
14907 (SET_MANTISSA): Rename to ...
14908 (SET_NAN_PAYLOAD): ... this.
14909 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
14910 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
14911 (FLOAT): Remove definition.
14912 (SET_MANTISSA): Rename to ...
14913 (SET_NAN_PAYLOAD): ... this.
14914 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
14915 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
14916 (FLOAT): Remove definition.
14917 (SET_MANTISSA): Rename to ...
14918 (SET_NAN_PAYLOAD): ... this.
14919 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
14920 of "../stdlib/strtod_nan_double.h".
14921 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
14922 of "../stdlib/strtod_nan_float.h".
14923 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
14924 instead of "../stdlib/strtod_nan_ldouble.h".
14925 * manual/arith.texi (Parsing of Floats): Adjust comment.
14926
69a01461
JM
149272018-05-16 Joseph Myers <joseph@codesourcery.com>
14928
14929 * math/Makefile (libm-narrow-fns): Add mul.
14930 (libm-test-funcs-narrow): Likewise.
14931 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
14932 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
14933 * math/gen-auto-libm-tests.c (test_functions): Add mul.
14934 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
14935 (NARROW_MUL_ROUND_TO_ODD): Likewise.
14936 (NARROW_MUL_TRIVIAL): Likewise.
14937 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
14938 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
14939 macro.
14940 (__dmull): Likewise.
14941 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
14942 dmul.
14943 (CFLAGS-nldbl-dmul.c): New variable.
14944 (CFLAGS-nldbl-fmul.c): Likewise.
14945 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14946 __nldbl_dmull.
14947 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
14948 prototype.
14949 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
14950 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
14951 * math/auto-libm-test-in: Add tests of mul.
14952 * math/auto-libm-test-out-narrow-mul: New generated file.
14953 * math/libm-test-narrow-mul.inc: New file.
14954 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
14955 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
14956 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
14957 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
14958 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
14959 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
14960 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
14961 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
14962 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
14963 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
14964 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
14965 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
14966 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
14967 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
14968 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
14969 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
14970 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
14971 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
14972 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14973 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14974 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14975 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14976 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14977 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14978 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14979 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14980 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14981 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14982 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14983 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14984 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14985 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14990 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14991 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14992 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14993 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14994 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14995 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14996 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14997 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14998
a15529fd
L
149992018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15000
15001 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
15002 with *%eax in call.
15003
98ee36c7
L
150042018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15005
15006 * sysdeps/i386/ldsodefs.h: Removed.
15007 * sysdeps/x86_64/ldsodefs.h: Moved to ...
15008 * sysdeps/x86/ldsodefs.h: This.
15009 (La_i86_regs): New.
15010 (La_i86_retval): Likewise.
15011 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
15012 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
15013
e322ec32
L
150142018-05-14 H.J. Lu <hongjiu.lu@intel.com>
15015
15016 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
15017 unnecessary testl.
15018
0937e209
AM
150192018-05-13 Alan Modra <amodra@gmail.com>
15020
15021 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
15022 R_PARISC_TLS_DTPOFF32 reloc addend.
15023
5db7d705
TMQMF
150242018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15025
15026 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
15027 * math/math.h: Restrict the prototype definition for the functions
15028 issignaling(_Float128) and iszero(_Float128); and template
15029 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
15030 __HAVE_FLOAT128_UNLIKE_LDBL.
15031 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
15032 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
15033 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
15034 __f128() constants; define the type _Float128 as long double;
15035 and reuse long double in __CFLOAT128.
15036
b4d5b8b0
JM
150372018-05-11 Joseph Myers <joseph@codesourcery.com>
15038
15039 * sysdeps/generic/math_private.h: Do not include
15040 <math-barriers.h>.
15041 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
15042 <math_private.h>.
15043 * math/fromfp.h: Include <math-barriers.h>.
15044 * math/math-narrow.h: Likewise.
15045 * math/s_nextafter.c: Likewise.
15046 * math/s_nexttowardf.c: Likewise.
15047 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
15048 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
15049 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
15050 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
15051 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15052 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15053 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15054 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15055 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15056 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15057 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15058 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15059 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15060 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15061 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
15062 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15063 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15064 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15065 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
15066 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15067 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15068 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15069 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15070 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15071 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15072 * sysdeps/ieee754/k_standardl.c: Likewise.
15073 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15074 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15075 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15076 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
15077 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15078 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15079 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15080 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15081 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15082 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
15083 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15084 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15085 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15086 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15087 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15088 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15089 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
15090 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
15091 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15092 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15093 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
15094 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
15095
fc79706a
FW
150962018-05-11 Florian Weimer <fweimer@redhat.com>
15097
15098 Use 64-bit epoch values in the time zone file parser.
15099 * include/time.h (internal_time_t): Define.
15100 (__tzfile_compute): Use it.
15101 * time/tzfile.c (struct leap): Use internal_time_t for epoch
15102 member.
15103 (transitions): Switch to internal_time_t.
15104 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
15105 types.
15106 (__tzfile_compute): Use internal_time_t for timer argument. Check
15107 for truncation before calling __offtime.
15108
89aacb51
FW
151092018-05-11 Florian Weimer <fweimer@redhat.com>
15110
15111 [BZ #23166]
15112 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
15113 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
15114 Likewise.
15115 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
15116 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
15117 export without --enable-obsolete-rpc.
15118 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
15119 symbol. This should not have been exported, ever.
15120
bb066cb8
RL
151212018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
15122
15123 [BZ #23152]
15124 * localedata/locales/gd_GB (abmon): Fix typo in May:
15125 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
15126
70c97f84
SP
151272018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
15128
db725a45
SP
15129 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
15130 Use multiple registers to copy data in loop tail.
15131
70c97f84
SP
15132 * sysdeps/aarch64/multiarch/memmove_falkor.S
15133 (__memmove_falkor): Use multiple registers to move data in
15134 loop tail.
15135
8f5b00d3
JM
151362018-05-10 Joseph Myers <joseph@codesourcery.com>
15137
15138 * math/math-underflow.h: New file.
15139 * sysdeps/generic/math_private.h: Do not include <float.h>.
15140 (fabs_tg): Remove macro. Moved to math-underflow.h.
15141 (min_of_type_f): Likewise.
15142 (min_of_type_): Likewise.
15143 (min_of_type_l): Likewise.
15144 (min_of_type_f128): Likewise.
15145 (min_of_type): Likewise.
15146 (math_check_force_underflow): Likewise.
15147 (math_check_force_underflow_nonneg): Likewise.
15148 (math_check_force_underflow_complex): Likewise.
15149 * math/e_exp2_template.c: Include <math-underflow.h>.
15150 * math/k_casinh_template.c: Likewise.
15151 * math/s_catan_template.c: Likewise.
15152 * math/s_catanh_template.c: Likewise.
15153 * math/s_ccosh_template.c: Likewise.
15154 * math/s_cexp_template.c: Likewise.
15155 * math/s_clog10_template.c: Likewise.
15156 * math/s_clog_template.c: Likewise.
15157 * math/s_csin_template.c: Likewise.
15158 * math/s_csinh_template.c: Likewise.
15159 * math/s_csqrt_template.c: Likewise.
15160 * math/s_ctan_template.c: Likewise.
15161 * math/s_ctanh_template.c: Likewise.
15162 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15163 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15164 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15165 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15166 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15167 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15168 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15169 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15170 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15171 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15172 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15173 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15174 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15175 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15176 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15177 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15178 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15179 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15180 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15181 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15182 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15183 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15184 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15185 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15186 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15187 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15188 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15189 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15190 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15191 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15192 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15193 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15194 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15195 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15196 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15197 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15198 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15199 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15200 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15201 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15202 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15203 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15204 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15205 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15206 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15207 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15208 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15209 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15210 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15211 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15212 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15213 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15214 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15215 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
15216 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15217 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15218 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15219 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15220 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15221 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15222 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15223 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
15224 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15225 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
15226 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15227 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15228 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15229 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15230 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15231 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15232 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15233 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15234 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
15235 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
15236 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15237 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15238 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15239 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15240 * sysdeps/x86/fpu/powl_helper.c: Likewise.
15241 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
15242 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
15243 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
15244 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
15245 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
15246
9ed2e15f
JM
152472018-05-09 Joseph Myers <joseph@codesourcery.com>
15248
15249 * sysdeps/generic/math-barriers.h: New file.
15250 * sysdeps/generic/math_private.h [!math_opt_barrier]
15251 (math_opt_barrier): Move to math-barriers.h.
15252 [!math_opt_barrier] (math_force_eval): Likewise.
15253 * sysdeps/aarch64/fpu/math-barriers.h: New file.
15254 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
15255 math-barriers.h.
15256 (math_force_eval): Likewise.
15257 * sysdeps/alpha/fpu/math-barriers.h: New file.
15258 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
15259 math-barriers.h.
15260 (math_force_eval): Likewise.
15261 * sysdeps/x86/fpu/math-barriers.h: New file.
15262 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
15263 math-barriers.h.
15264 (math_force_eval): Likewise.
15265 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
15266 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
15267 multiple-include guard for rename.
15268 * sysdeps/powerpc/fpu/math-barriers.h: New file.
15269 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
15270 math-barriers.h.
15271 (math_force_eval): Likewise.
15272
5460617d
PP
152732018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
15274
15275 [BZ #22786]
43d4f3d5 15276 CVE-2018-11236
5460617d
PP
15277 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
15278 computation.
15279 * stdlib/Makefile (test-bz22786): New test.
15280 * stdlib/test-bz22786.c: New test.
15281
aaee3cd8
JM
152822018-05-09 Joseph Myers <joseph@codesourcery.com>
15283
15284 * include/math-narrow-eval.h: New file. Contents moved from ....
15285 * sysdeps/generic/math_private.h: ... here.
15286 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
15287 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
15288 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
15289 * stdlib/strtod_l.c: Likewise.
15290 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
15291 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
15292 * sysdeps/i386/fpu/s_fdim.c: Likewise.
15293 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15294 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15295 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15296 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15297 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15298 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15299 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15300 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15301 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
15302 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15303 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15304 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15305 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15306 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15307 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15308 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15309 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15310 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15311 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15312 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15313 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15314 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
15315 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15316 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
15317 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
15318 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15319
0555c477
AS
153202018-05-08 Andreas Schwab <schwab@suse.de>
15321
15322 * sysdeps/nptl/internaltypes.h: Fix comment.
15323
50d7d351
L
153242018-05-07 H.J. Lu <hongjiu.lu@intel.com>
15325
15326 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15327 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
15328 hidden.
15329
543477f7
SP
153302018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
15331
15332 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
15333 of I into loop header.
15334 * benchtests/bench-memmove-walk.c
15335 (test_main): Likewise.
15336
153372018-05-07 Alexandre Oliva <oliva@gnu.org>
ffa81c22
AO
15338
15339 Revert:
15340 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
15341 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
15342
0065aaaa
PP
153432018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15344
15345 [BZ #20419]
15346 * elf/dl-load.c (open_verify): Fix stack overflow.
15347 * elf/Makefile (tst-big-note): New test.
15348 * elf/tst-big-note-lib.S: New.
15349 * elf/tst-big-note.c: New.
15350
b289cd9d
JM
153512018-05-04 Joseph Myers <joseph@codesourcery.com>
15352
15353 * scripts/abilist.awk: Ignore absolute symbols.
15354 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
15355 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
15356 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
15357 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
15358 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
15359 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
15360 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15361 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
15362 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
15363 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
15364 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
15365 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
15366 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
15367 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
15368 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
15369 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
15370 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
15371 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
15372 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15373 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
15374 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
15375 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
15376 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
15377 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
15378 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
15379 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
15380 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
15381 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
15382 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15383 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
15384 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
15385 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15386 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
15387 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
15388 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
15389 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
15390 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
15391 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
15392 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
15393 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
15394 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
15395 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15396 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
15397 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
15398 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15399 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
15400 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
15401 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
15402 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
15403 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
15404 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
15405 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
15406 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
15407 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
15408 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15409 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
15410 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
15411 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15412 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
15413 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
15414 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
15415 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
15416 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
15417 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
15418 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
15419 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
15420 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
15421 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15422 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
15423 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
15424 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15425 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
15426 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
15427 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
15428 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
15429 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
15430 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
15431 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
15432 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
15433 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
15434 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15435 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
15436 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
15437 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15438 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
15439 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
15440 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
15441 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
15442 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
15443 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
15444 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
15445 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15446 Likewise.
15447 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
15448 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15449 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
15450 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
15451 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15452 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
15453 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
15454 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
15455 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
15456 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
15457 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
15458 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
15459 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15460 Likewise.
15461 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
15462 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15463 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
15464 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
15465 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15466 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
15467 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
15468 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
15469 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
15470 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
15471 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
15472 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
15473 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
15474 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
15475 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15476 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
15477 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
15478 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15479 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
15480 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
15481 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
15482 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
15483 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
15484 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
15485 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15486 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
15487 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
15488 Likewise.
15489 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
15490 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
15491 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
15492 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
15493 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15494 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
15495 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
15496 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
15497 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
15498 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
15499 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
15500 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
15501 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
15502 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
15503 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
15504 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
15505 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
15506 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
15507 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15508 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
15509 Likewise.
15510 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
15511 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
15512 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
15513 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15514 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
15515 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
15516 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
15517 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
15518 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
15519 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
15520 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15521 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
15522 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
15523 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15524 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
15525 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
15526 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
15527 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
15528 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15529 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
15530 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
15531 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15532 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
15533 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
15534 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
15535 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
15536 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
15537 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
15538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
15539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
15541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
15542 Likewise.
15543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
15544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
15545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
15546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
15547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
15548 Likewise.
15549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
15550 Likewise.
15551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
15552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
15553 Likewise.
15554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
15555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15556 Likewise.
15557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15558 Likewise.
15559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
15560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
15561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
15562 Likewise.
15563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
15564 Likewise.
15565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
15566 Likewise.
15567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
15568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15571 Likewise.
15572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
15573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
15574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
15575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
15578 Likewise.
15579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
15580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15581 Likewise.
15582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15583 Likewise.
15584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
15585 Likewise.
15586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
15587 Likewise.
15588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
15589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
15590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
15591 Likewise.
15592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
15593 Likewise.
15594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
15595 Likewise.
15596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
15597 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
15598 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
15599 Likewise.
15600 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
15601 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15602 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
15603 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
15604 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15605 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
15606 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
15607 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
15608 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
15609 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
15610 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
15611 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
15612 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
15613 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
15614 Likewise.
15615 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15616 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
15617 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
15618 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15619 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
15620 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
15621 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
15622 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
15623 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
15624 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
15625 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
15626 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
15627 Likewise.
15628 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15629 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
15630 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
15631 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15632 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
15633 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
15634 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
15635 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
15636 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
15637 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
15638 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
15639 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
15640 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
15641 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15642 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
15643 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
15644 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15645 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
15646 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
15647 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
15648 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
15649 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
15650 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
15651 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
15652 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
15653 Likewise.
15654 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
15655 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15656 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
15657 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
15658 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15659 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
15660 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
15661 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
15662 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
15663 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
15664 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
15665 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
15666 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
15667 Likewise.
15668 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
15669 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15670 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
15671 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
15672 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15673 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
15674 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
15675 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
15676 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
15677 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
15678 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
15679 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
15680 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
15681 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
15682 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15683 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
15684 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
15685 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15686 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
15687 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
15688 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
15689 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
15690 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
15691 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
15692 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
15693 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
15694 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
15695 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
15696 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15697 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
15698 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
15699 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15700 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
15701 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
15702 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
15703 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
15704 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
15705 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
15706
16609018
SL
157072018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
15708
15709 [BZ #23137]
15710 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
15711 Use atomic_load_acquire to load __tid.
15712
556f5c46
L
157132018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15714
15715 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
15716 Restore the pointer into %rdx, after syscall and use %rdx,
15717 instead of %rsi, to restore context.
15718
8b8f32b2
L
157192018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15720
15721 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
15722 Pop the pointer into %rdx after syscall and use %rdx, instead
15723 of %rsi, to restore context.
15724
d6cc1829
L
157252018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15726
15727 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
15728 handlers after setjmp.
15729 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
15730 defined.
15731 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
15732 <libc-pointer-arith.h>.
15733 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
15734 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
15735 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
15736 _JUMP_BUF_SIGSET_BITS_PER_WORD.
15737 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
15738 * sysdeps/x86/__longjmp_cancel.S: New file.
15739 * sysdeps/x86/longjmp.c: Likewise.
15740 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
15741
cf2478d5
AZ
157422018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15743
15744 * NEWS: Add ustat.h deprecation entry.
15745 * bits/ustat.h: Remove file.
15746 * misc/sys/ustat.h: Likewise.
15747 * misc/ustat.h: Likewise.
15748 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
15749 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
15750 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
15751 compatibility mode.
15752 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
15753 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
15754 generic Linux implementation.
15755
dc115e1c
TMQMF
157562018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15757
15758 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
15759 * math/w_expl_compat.c: Likewise.
15760 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
15761
6b5c8607 157622018-04-30 Raymond Nicholson <rain1@airmail.cc>
340d9652
RN
15763
15764 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
15765
c57bf7c1
AZ
157662018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15767
15768 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
15769 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
15770 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
15771 Remove.
15772 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
15773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15774 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15775 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
15776 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
15777 and SYSCALL_LL64.
15778
06135c33
TMQMF
157792018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15780
33927914
TMQMF
15781 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
15782
06135c33
TMQMF
15783 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
15784 * math/w_asin_template.c: Likewise.
15785 * math/w_atanh_template.c: Likewise.
15786
3a33b069
GG
157872018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15788
15789 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
15790 to powerpc/powerpc64/be for big-endian.
15791 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
15792 little-endian.
15793
15794 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
15795 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
15796 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
15797 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
15798 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15799 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
15800 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
15801 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
15802 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
15803 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15804 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
15805 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
15806 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
15807 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
15808 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
15809 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
15810 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
15811 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
15812 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
15813 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
15814 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
15815 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15816 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
15817 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
15818 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
15819 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15820 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
15821 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
15822 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
15823 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
15824 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
15825 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
15826
15827 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
15828 adjusted to imply powerpc64 and older processors on powerpc64/be.
15829 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
15830 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
15831 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
15832 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
15833 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
15834 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
15835 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
15836 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
15837 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
15838 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
15839 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
15840 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
15841 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
15842 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
15843 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
15844 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
15845 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
15846 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
15847 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
15848 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
15849 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
15850 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
15851 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
15852 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
15853 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
15854 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
15855 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
15856 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
15857 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
15858 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
15859 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
15860
15861 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
15862 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
15863 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
15864 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
15865
15866 * sysdeps/powerpc/powerpc64/be/Implies: New file.
15867 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
15868 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
15869 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
15870
15871 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
15872 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
15873 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
15874 * sysdeps/powerpc/powerpc64le/configure: Likewise.
15875 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
15876 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
15877 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
15878 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
15879 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
15880 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
15881 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
15882
15883 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
15884 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
15885 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
15886 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
15887 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
15888 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
15889 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
15890 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
15891 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
15892 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
15893 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
15894
15895 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
15896 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
15897 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
15898 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
15899 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
15900 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
15901 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
15902 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
15903 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
15904 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
15905 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
15906 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
15907
15908 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
15909 and adjusted to imply olders processors.
15910 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
15911 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
15912 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
15913 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
15914 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
15915 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
15916 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
15917 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
15918 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
15919 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
15920 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
15921
15922 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
15923 powerpc64/le.
15924 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
15925 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
15926
15927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
15928 powerpc64le.
15929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
15930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
15931
15932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
15933 powerpc64/be.
15934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
15936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
15937
15938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
15939 powerpc64 and adjusted.
15940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
15941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
15942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
15943 Likewise.
15944
a3fb6b6b
JM
159452018-04-27 Joseph Myers <joseph@codesourcery.com>
15946
15947 * sysdeps/tile: Remove.
15948 * sysdeps/unix/sysv/linux/tile: Likewise.
15949 * README (tilegx-*-linux-gnu): Remove from list of supported
15950 configurations.
15951 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
15952 contribution of support for generic Linux kernel syscall
15953 interface.
15954 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
15955 tilegx configurations.
15956 (Config.install_linux_headers): Do not handle tile.
15957 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
15958 in comment.
15959 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
15960 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
15961 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
15962 conditional undefine and redefine.
15963 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
15964 in comment.
15965 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
15966 conditional undefine and redefine.
15967
7a6f7478
AJ
159682018-04-26 Aurelien Jarno <aurelien@aurel32.net>
15969
15970 * signal/tst-sigaction.c: New file to test BZ #23069.
15971 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
15972
81b49e96
TMQMF
159732018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15974
15975 [BZ #22766]
15976 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
15977 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
15978 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
15979 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
15980
7d80f48e
AZ
159812018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15982
15983 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
15984 _DIRENT_MATCHES_DIRENT64 is not defined.
15985 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
15986 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
15987 is defined.
15988 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
15989 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
15990
42a2bf58
JM
159912018-04-25 Joseph Myers <joseph@codesourcery.com>
15992
15993 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
15994 version to GCC 8 branch.
15995
9320ca88
JM
159962018-04-24 Joseph Myers <joseph@codesourcery.com>
15997
5e14bb97
JM
15998 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
15999 (check_no_hidden): Use type of original function when declaring
16000 alias.
16001
9320ca88
JM
16002 * sysdeps/unix/sysv/linux/sys/ptrace.h
16003 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
16004 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
16005 (struct __ptrace_seccomp_metadata): New type.
16006 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
16007 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16008 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
16009 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16010 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
16011 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16012 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
16013 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16014 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
16015 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16016 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
16017 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16018 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
16019 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16020 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
16021 (PTRACE_SECCOMP_GET_METADATA): Likewise.
16022
af7e376b
AZ
160232018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16024
16025 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
16026 defined.
16027 * dirent/versionsort.c (versionsort): Likewise.
16028 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
16029 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
16030 * dirent/versionsort64.c (versionsort64): Likewise.
16031 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
16032 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
16033 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
16034 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
16035 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
16036 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
16037 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
16038 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
16039 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
16040 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
16041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
16042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
16043 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
16044 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
16045
da5e0361
JM
160462018-04-23 Joseph Myers <joseph@codesourcery.com>
16047
16048 * elf/elf.h (NT_PPC_PKEY): New macro.
16049
6b5c8607 160502018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
ea76691a
DSN
16051
16052 [BZ #23094]
16053 * localedata/locales/hr_HR: fix thousands_sep and
16054 mon_thousands_sep
16055
573963e3
JM
160562018-04-20 Joseph Myers <joseph@codesourcery.com>
16057
16058 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
16059 (XTABS): Define to TAB3.
16060
c0123b3b
AZ
160612018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16062
0900a849
AZ
16063 * sysdeps/hppa/fpu/libm-test-ulps: Update.
16064
c0123b3b
AZ
16065 * dirent/scandir-tail-common.c: New file.
16066 * dirent/scandir-tail.c: Use scandir-tail-common.c.
16067 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
16068 * dirent/scandir.c: Use scandir-tail-common.c.
16069 * dirent/scandirat.c: Likewise.
16070 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
16071 * dirent/scandir64.c (scandir64): Always build and alias to scandir
16072 if _DIRENT_MATCHES_DIRENT64 is defined.
16073 * dirent/scandirat64.c (scandirat64): Likewise.
16074 * include/dirent.h (__scandir_tail): Only define iff
16075 _DIRENT_MATCHES_DIRENT64 is not defined.
16076 (__scandir64_tail): Define regardless.
16077 (__scandirat, scandirat64): Remove libc_hidden_proto.
16078 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
16079 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
16080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
16081 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
16082 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16083 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
16084 * sysdeps/unix/sysv/linux/scandir64.c: New file.
16085
458b94f6
JM
160862018-04-20 Joseph Myers <joseph@codesourcery.com>
16087
16088 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
16089 New macro.
16090 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
16091 Increase to 24.
16092 (_dl_aarch64_cap_flags): Add asimdfhm.
16093
9f0437e8
CLT
160942018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
16095
16096 * sysdeps/nios2/libm-test-ulps: Update.
16097
298d0e31
AZ
160982018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16099
50511ca4
AZ
16100 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
16101 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
16102
298d0e31
AZ
16103 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
16104 requirements.
6b5c8607 16105 (_DIRENT_MATCHES_DIRENT64): Undef
298d0e31
AZ
16106 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
16107 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
16108 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
16109 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
16110 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
16111 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
16112 use getdents64 syscalls as base.
16113 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
16114 symbol if required.
16115 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
16116 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
16117 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
16118 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
16119 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
16120 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
16121 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
16122 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
16123 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16124 (__get_clockfreq_via_proc_openprom): Use __getdents64.
16125 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
16126
0085be14
SL
161272018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
16128
16129 * scripts/test_printers_common.py (init_test): Disable lock elision.
16130
da796524
SL
161312018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
16132
16133 * math/test-tgmath.c (count_double, count_float,
16134 count_ldouble, count_cdouble, count_cfloat,
16135 count_cldouble): Use volatile int.
16136
0dd25301
ST
161372018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
16138
16139 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
16140 (conformtest-xfail-conds): Add i386-gnu.
cbc256b1 16141 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
0dd25301
ST
16142 i386-gnu.
16143 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
16144 ipc_perm.cuid, ipc_perm.cgid): Likewise.
16145 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
16146 msqid_ds.msg_lrpid): Likewise.
16147 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
16148 Likewise.
16149 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
16150 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9d9f8f03
ST
16151 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
16152 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
16153 unsigned int.
16154 (struct statvfs64): Likewise.
f55a4fde
ST
16155 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
16156 Likewise.
77b93390
ST
16157 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
16158 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
16159 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
16160 instead of wait_queue.
16161 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
16162 instead of vm_area_struct.
5cd2931a
ST
16163 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
16164 struct sched_param definition to it.
e60c3f2b
ST
16165 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16166 * bits/types/struct_sched_param.h: New file.
16167 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
16168 <bits/types/struct_sched_param.h> instead of <sched.h>.
16169 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5cd2931a
ST
16170 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
16171 generic version but include <bits/pthreadtypes.h> to make struct
16172 sigevent's sigev_notify_attributes field a pthread_attr_t*.
ed370924
ST
16173 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
16174 non-compliant.
a564872d
ST
16175 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
16176 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
16177 [__USE_XOPEN] (OFDEL): New macro.
16178 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
a279b8ed 16179 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5dbfe13b
ST
16180 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
16181 prototypes.
16182 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
16183 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
81b032c8
ST
16184 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
16185 non-compliant.
16186 * sysdeps/i386/sys/ucontext.h: Likewise.
16187 * sysdeps/m68k/sys/ucontext.h: Likewise.
16188 * sysdeps/mips/sys/ucontext.h: Likewise.
16189 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
f00b62ec
ST
16190 * sysdeps/mach/hurd/i386/Makefile
16191 (test-xfail-POSIX/fcntl.h/conform): Add.
16192 (test-xfail-POSIX/signal.h/conform): Add.
16193 (test-xfail-POSIX/semaphore.h/conform): Add.
16194 (test-xfail-POSIX/regex.h/conform): Add.
16195 (test-xfail-POSIX/aio.h/conform): Add.
16196 (test-xfail-POSIX/mqueue.h/conform): Add.
16197 (test-xfail-POSIX/sys/types.h/conform): Add.
16198 (test-xfail-UNIX98/fcntl.h/conform): Add.
16199 (test-xfail-UNIX98/netdb.h/conform): Add.
16200 (test-xfail-UNIX98/signal.h/conform): Add.
16201 (test-xfail-UNIX98/semaphore.h/conform): Add.
16202 (test-xfail-UNIX98/regex.h/conform): Add.
16203 (test-xfail-UNIX98/aio.h/conform): Add.
16204 (test-xfail-UNIX98/ftw.h/conform): Add.
16205 (test-xfail-UNIX98/mqueue.h/conform): Add.
16206 (test-xfail-UNIX98/netinet/in.h/conform): Add.
16207 (test-xfail-UNIX98/sys/wait.h/conform): Add.
16208 (test-xfail-UNIX98/sys/sem.h/conform): Add.
16209 (test-xfail-UNIX98/sys/uio.h/conform): Add.
16210 (test-xfail-UNIX98/sys/socket.h/conform): Add.
16211 (test-xfail-UNIX98/sys/types.h/conform): Add.
16212 (test-xfail-UNIX98/stdlib.h/conform): Add.
16213 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
16214 (test-xfail-POSIX2008/fcntl.h/conform): Add.
16215 (test-xfail-POSIX2008/netdb.h/conform): Add.
16216 (test-xfail-POSIX2008/signal.h/conform): Add.
16217 (test-xfail-POSIX2008/semaphore.h/conform): Add.
16218 (test-xfail-POSIX2008/regex.h/conform): Add.
16219 (test-xfail-POSIX2008/aio.h/conform): Add.
16220 (test-xfail-POSIX2008/mqueue.h/conform): Add.
16221 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
16222 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
16223 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
16224 (test-xfail-POSIX2008/sys/types.h/conform): Add.
16225 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
16226 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
16227 (test-xfail-XOPEN2K/netdb.h/conform): Add.
16228 (test-xfail-XOPEN2K/signal.h/conform): Add.
16229 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
16230 (test-xfail-XOPEN2K/regex.h/conform): Add.
16231 (test-xfail-XOPEN2K/aio.h/conform): Add.
16232 (test-xfail-XOPEN2K/ftw.h/conform): Add.
16233 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
16234 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
16235 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
16236 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
16237 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
16238 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
16239 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
16240 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
16241 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
16242 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
16243 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
16244 (test-xfail-XOPEN2K8/signal.h/conform): Add.
16245 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
16246 (test-xfail-XOPEN2K8/regex.h/conform): Add.
16247 (test-xfail-XOPEN2K8/aio.h/conform): Add.
16248 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
16249 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
16250 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
16251 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
16252 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
16253 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
16254 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
16255 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
16256 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
16257 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
cbc256b1
ST
16258 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
16259 i386-gnu.
16260 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
16261 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
0dd25301 16262
d6397de3
JM
162632018-04-18 Joseph Myers <joseph@codesourcery.com>
16264
16265 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
16266 --enable-obsolete for powerpc-linux-gnuspe.
16267
8323a902
ST
162682018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16269
3dc0814c 16270 * conform/data/sys/un.h-data: Allow sun_ prefix.
c5896a45 16271 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
d4379e02 16272 prototypes.
c5896a45
ST
16273 * sysdeps/mach/include/mach.h: Likewise.
16274 * sysdeps/mach/include/mach/mig_support.h: Likewise.
16275 * sysdeps/mach/include/mach_error.h: Likewise.
8323a902 16276
743b9c2a
AZ
162772018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16278
16279 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
16280 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
16281 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
16282 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
16283
326e74e7
AS
162842018-04-16 Andreas Schwab <schwab@suse.de>
16285
16286 [BZ #19527]
16287 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
16288
6b5c8607 162892018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
a14d8acd
PM
16290
16291 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
16292 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
16293
a700e7cb
DD
162942018-04-12 DJ Delorie <dj@redhat.com>
16295
16296 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16297 version to 4.16.
16298
d8abfab7
SL
162992018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
16300
16301 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
16302 (struct kernel_sigaction): Use the same definition on 31bit as is used
16303 on 64bit.
16304
583a27d5
FW
163052018-04-09 Florian Weimer <fweimer@redhat.com>
16306
16307 [BZ #23037]
16308 * resolv/res_send.c (send_dg): Use designated initializers instead
16309 of assignment to zero-initialize other fields of struct mmsghdr.
16310
243f59e5
AZ
163112018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16312
942de61a
AZ
16313 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
16314 __READDIR_ALIAS): Undefine after usage.
16315 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
16316 __READDIR_R_ALIAS): Likewise.
16317 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
16318 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
16319 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
16320 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
16321 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
16322 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
16323 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16324 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16325 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
16326 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
16327 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
16328 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
16329 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16330 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
16331 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
16332 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
16333 * sysdeps/unix/sysv/linux/readdir.c: New file.
16334 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
16335 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
16336 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
16337
243f59e5
AZ
16338 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
16339
690c3475
AS
163402018-04-06 Andreas Schwab <schwab@linux-m68k.org>
16341
16342 * manual/charset.texi (Converting a Character): Fix typo.
16343
6b5c8607 163442018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
b4a5d26d 16345
bbc2062a
AZ
16346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16347
fa7c6199
AZ
16348 * sysdeps/arm/libm-test-ulps: Update.
16349
b4a5d26d
AZ
16350 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
16351 as base implementation.
16352 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16353 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16354 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16355 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16356 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16357 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
16358 remove unrequired definitions and update comments.
16359 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
16360 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
16361 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
16362 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
16363 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
16364 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
16365 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
16366 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
16367 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
16368 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
16369 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
16370 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16371 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
16372 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
16373 and RESET_SA_RESTORER hooks.
16374
db9e55ff
SL
163752018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
16376
16377 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16378
cf138b0c
FW
163792018-04-05 Florian Weimer <fweimer@redhat.com>
16380
16381 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
16382 integer overflow, memory leak on error, and indeterminate errno
16383 value. Add a null wide character to terminate the result string.
16384 * manual/charset.texi (Converting a Character): Mention embedded
16385 null bytes in the mbrtowc input string. Explain what happens in
16386 the -2 result case. Do not claim that mbrtowc is simple or
16387 obvious to use. Adjust the description of the code example. Use
16388 @code, not @var, for concrete variables.
16389
0f339252
FW
163902018-04-05 Florian Weimer <fweimer@redhat.com>
16391
16392 * manual/examples/mbstouwcs.c: New file.
16393 * manual/charset.texi (Converting a Character): Include it.
16394
e5f9508a
ST
163952018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16396
c120981d
ST
16397 * include/dirent.h (dirfd): Add hidden proto.
16398 * dirent/dirfd.c (dirfd): Add hidden def.
16399 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
16400 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
e5f9508a 16401
b2fd61ca
TMQMF
164022018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16403
16404 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
16405 sin, cos and sincos to 1 ULP.
16406
10a446dd
MR
164072018-04-04 Maciej W. Rozycki <macro@mips.com>
16408
e7feec37
MR
16409 [BZ #19818]
16410 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
16411 symbols.
16412 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
16413 * elf/tst-absolute-sym.c: New file.
16414 * elf/tst-absolute-sym-lib.c: New file.
16415 * elf/tst-absolute-sym-lib.lds: New file.
16416 * elf/Makefile (tests): Add `tst-absolute-sym'.
16417 (modules-names): Add `tst-absolute-sym-lib'.
16418 (LDLIBS-tst-absolute-sym-lib.so): New variable.
16419 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
16420 ($(objpfx)tst-absolute-sym): New dependency.
16421
10a446dd
MR
16422 [BZ #19818]
16423 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
16424 parameter.
16425 (SYMBOL_ADDRESS): New macro.
16426 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
16427 SYMBOL_ADDRESS for symbol address calculation.
16428 * elf/dl-runtime.c (_dl_fixup): Likewise.
16429 (_dl_profile_fixup): Likewise.
16430 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
16431 * elf/rtld.c (dl_main): Likewise.
16432 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
16433 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
16434 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
16435 (elf_machine_rela): Likewise.
16436 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
16437 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
16438 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16439 (elf_machine_rela): Likewise.
16440 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16441 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
16442 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
16443 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
16444 Likewise.
16445 (elf_machine_reloc): Likewise.
16446 (elf_machine_got_rel): Likewise.
16447 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
16448 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
16449 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16450 Likewise.
16451 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16452 Likewise.
16453 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
16454 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16455 Likewise.
16456 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16457 Likewise.
16458 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16459 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16460 Likewise.
16461 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16462 Likewise.
16463 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
16464 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16465
9185f86d
ZW
164662018-04-04 Zack Weinberg <zackw@panix.com>
16467
16468 * sysdeps/generic/internal-signals.h: Include signal.h,
16469 sigsetops.h, and stdbool.h.
16470 (__libc_signal_block_all): Actually block all signals.
16471 (__libc_signal_block_app): Likewise.
16472 (__libc_signal_restore_set): Actually restore the signal mask.
16473
b07367bc
FW
164742018-04-04 Florian Weimer <fweimer@redhat.com>
16475
16476 inet: Actually build and run tst-deadline.
16477 * inet/Makefile (tests-internal): Add tst-deadline and do not
16478 overwrite the variable.
16479 (tests-static-internal): Remove variable.
16480
f2652643
L
164812018-04-03 H.J. Lu <hongjiu.lu@intel.com>
16482
16483 [BZ #22947]
16484 * bits/uio-ext.h (RWF_APPEND): New.
16485 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
16486 * manual/llio.texi: Document RWF_APPEND.
16487 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
16488 (RWF_SUPPORTED): Add RWF_APPEND.
16489
6b5c8607 164902018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
d2dc5467
AZ
16491
16492 [BZ #22391]
16493 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
16494 check for internal nptl signals.
16495 * nptl/sigaction.c (__sigaction): Likewise.
16496 * signal/sigaddset.c (sigaddset): Likewise.
16497 * signal/sigdelset.c (sigdelset): Likewise.
16498 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
16499 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
16500 value.
16501 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
16502 to filter out internal nptl signals.
16503 * signal/tst-sigset.c (do_test): Check ech signal indidually and
16504 also check realtime signals using standard macros.
16505 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
16506 __is_internal_signal, __libc_signal_block_all,
16507 __libc_signal_block_app, __libc_signal_restore_set): New functions.
16508 * sysdeps/nptl/sigfillset.c: Remove file.
16509 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
16510 Change return to bool.
16511 (__clear_internal_signals): Remove SIGTIMER clean since it is
16512 equal to SIGCANEL on Linux.
16513 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
16514 signal set was constructed using standard functions.
16515
511ed56f
ST
165162018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16517
92846492
ST
16518 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
16519 ifname is too long.
e8ef51b1
ST
16520 * hurd/hurdsig.c (interrupted_reply_port_location): Use
16521 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
ff297b70
ST
16522 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
16523 hidden def.
16524 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
d8440a21
ST
16525 * signal/sigaddset.c: Include <sigsetopts.h>.
16526 * signal/sigdelset.c: Likewise.
511ed56f 16527
e88ecbbf
WD
165282018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16529
16530 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
16531 (__cos): Likewise.
16532 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
16533 logic as sin and cos.
16534
aef3e255
WD
165352018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16536
16537 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
16538 inputs. Return correct sign.
16539 (do_sincos): Remove small input check before do_sin, let do_sin set
16540 the sign.
16541 (__sin): Likewise.
16542 (__cos): Likewise.
16543
72f6e9a3
WD
165442018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16545
16546 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
16547 (do_cos_slow): Likewise.
16548 (do_sin_slow): Likewise.
16549 (reduce_and_compute): Likewise.
16550 (slow): Likewise.
16551 (slow1): Likewise.
16552 (slow2): Likewise.
16553 (sloww): Likewise.
16554 (sloww1): Likewise.
16555 (sloww2): Likewise.
16556 (bslow): Likewise.
16557 (bslow1): Likewise.
16558 (bslow2): Likewise.
16559 (cslow2): Likewise.
16560
64909583
WD
165612018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16562
16563 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
16564 (do_cos): Remove corp parameter and calculations.
16565 (do_sin): Likewise.
16566 (do_sincos): Remove cor variable.
16567 (__sin): Use do_sincos for huge inputs.
16568 (__cos): Likewise.
16569 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
16570 (reduce_and_compute_sincos): Remove unused function.
16571
d9469deb
WD
165722018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16573
16574 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
16575 reduce_sincos, improve accuracy to 136 bits.
16576 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
16577 (__sin): Use improved reduction and simplified do_sincos calculation.
16578 (__cos): Likewise.
16579 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
16580
7a5640f2
WD
165812018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16582
16583 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
16584 (do_sincos_2): Likewise.
16585 (__sin): Remove middle range reduction case.
16586 (__cos): Likewise.
16587 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
16588 reduction case.
16589
19a8b9a3
WD
165902018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16591
16592 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
16593 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
16594 inputs.
16595 (__cos): Likewise.
16596 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
16597
f72aa11d
JM
165982018-04-03 Joseph Myers <joseph@codesourcery.com>
16599
16600 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19a8b9a3 16601 version to 4.16
f72aa11d 16602
8e4754ed
AZ
166032018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16604
16605 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
16606 Remove definitions.
16607 (opendir_oflags): Use O_DIRECTORY regardless.
16608 (__opendir, __opendirat): Remove need_isdir_precheck usage.
16609 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
16610
8e2666ea
ST
166112018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16612
16613 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
16614 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
16615 macros.
16616 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
16617 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
16618 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
16619 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
deed72f6
ST
16620 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
16621 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
8e2666ea 16622
ad2b41bf
ST
16623 * htl/Makefile: Bump licence to LGPL 2.1+.
16624 * htl/alloca_cutoff.c: Likewise.
16625 * htl/cthreads-compat.c: Likewise.
16626 * htl/lockfile.c: Likewise.
16627 * htl/pt-alloc.c: Likewise.
16628 * htl/pt-cancel.c: Likewise.
16629 * htl/pt-cleanup.c: Likewise.
16630 * htl/pt-create.c: Likewise.
16631 * htl/pt-dealloc.c: Likewise.
16632 * htl/pt-detach.c: Likewise.
16633 * htl/pt-exit.c: Likewise.
16634 * htl/pt-getattr.c: Likewise.
16635 * htl/pt-initialize.c: Likewise.
16636 * htl/pt-internal.h: Likewise.
16637 * htl/pt-join.c: Likewise.
16638 * htl/pt-self.c: Likewise.
16639 * htl/pt-setcancelstate.c: Likewise.
16640 * htl/pt-setcanceltype.c: Likewise.
16641 * htl/pt-sigmask.c: Likewise.
16642 * htl/pt-spin-inlines.c: Likewise.
16643 * htl/pt-testcancel.c: Likewise.
16644 * htl/pt-yield.c: Likewise.
16645 * htl/tests/test-1.c: Likewise.
16646 * htl/tests/test-10.c: Likewise.
16647 * htl/tests/test-11.c: Likewise.
16648 * htl/tests/test-12.c: Likewise.
16649 * htl/tests/test-13.c: Likewise.
16650 * htl/tests/test-14.c: Likewise.
16651 * htl/tests/test-15.c: Likewise.
16652 * htl/tests/test-16.c: Likewise.
16653 * htl/tests/test-17.c: Likewise.
16654 * htl/tests/test-2.c: Likewise.
16655 * htl/tests/test-3.c: Likewise.
16656 * htl/tests/test-4.c: Likewise.
16657 * htl/tests/test-5.c: Likewise.
16658 * htl/tests/test-6.c: Likewise.
16659 * htl/tests/test-7.c: Likewise.
16660 * htl/tests/test-8.c: Likewise.
16661 * htl/tests/test-9.c: Likewise.
16662 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
16663 * sysdeps/htl/bits/cancelation.h: Likewise.
16664 * sysdeps/htl/bits/pthread-np.h: Likewise.
16665 * sysdeps/htl/bits/pthread.h: Likewise.
16666 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
16667 * sysdeps/htl/bits/semaphore.h: Likewise.
16668 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
16669 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
16670 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
16671 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
16672 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
16673 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
16674 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
16675 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
16676 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
16677 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
16678 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
16679 * sysdeps/htl/old_pt-atfork.c: Likewise.
16680 * sysdeps/htl/pt-atfork.c: Likewise.
16681 * sysdeps/htl/pt-attr-destroy.c: Likewise.
16682 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
16683 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
16684 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
16685 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
16686 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
16687 * sysdeps/htl/pt-attr-getscope.c: Likewise.
16688 * sysdeps/htl/pt-attr-getstack.c: Likewise.
16689 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
16690 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
16691 * sysdeps/htl/pt-attr-init.c: Likewise.
16692 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
16693 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
16694 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
16695 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
16696 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
16697 * sysdeps/htl/pt-attr-setscope.c: Likewise.
16698 * sysdeps/htl/pt-attr-setstack.c: Likewise.
16699 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
16700 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
16701 * sysdeps/htl/pt-attr.c: Likewise.
16702 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
16703 * sysdeps/htl/pt-barrier-init.c: Likewise.
16704 * sysdeps/htl/pt-barrier-wait.c: Likewise.
16705 * sysdeps/htl/pt-barrier.c: Likewise.
16706 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
16707 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
16708 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
16709 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
16710 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
16711 * sysdeps/htl/pt-cond-destroy.c: Likewise.
16712 * sysdeps/htl/pt-cond-init.c: Likewise.
16713 * sysdeps/htl/pt-cond-signal.c: Likewise.
16714 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
16715 * sysdeps/htl/pt-cond-wait.c: Likewise.
16716 * sysdeps/htl/pt-cond.c: Likewise.
16717 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
16718 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
16719 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
16720 * sysdeps/htl/pt-condattr-init.c: Likewise.
16721 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
16722 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
16723 * sysdeps/htl/pt-destroy-specific.c: Likewise.
16724 * sysdeps/htl/pt-equal.c: Likewise.
16725 * sysdeps/htl/pt-getconcurrency.c: Likewise.
16726 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
16727 * sysdeps/htl/pt-getschedparam.c: Likewise.
16728 * sysdeps/htl/pt-getspecific.c: Likewise.
16729 * sysdeps/htl/pt-init-specific.c: Likewise.
16730 * sysdeps/htl/pt-key-create.c: Likewise.
16731 * sysdeps/htl/pt-key-delete.c: Likewise.
16732 * sysdeps/htl/pt-key.h: Likewise.
16733 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
16734 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
16735 * sysdeps/htl/pt-mutex-init.c: Likewise.
16736 * sysdeps/htl/pt-mutex-lock.c: Likewise.
16737 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
16738 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
16739 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
16740 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
16741 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
16742 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
16743 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
16744 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
16745 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
16746 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
16747 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
16748 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
16749 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
16750 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
16751 * sysdeps/htl/pt-mutexattr.c: Likewise.
16752 * sysdeps/htl/pt-once.c: Likewise.
16753 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
16754 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
16755 * sysdeps/htl/pt-rwlock-init.c: Likewise.
16756 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
16757 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
16758 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
16759 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
16760 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
16761 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
16762 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
16763 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
16764 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
16765 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
16766 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
16767 * sysdeps/htl/pt-setconcurrency.c: Likewise.
16768 * sysdeps/htl/pt-setschedparam.c: Likewise.
16769 * sysdeps/htl/pt-setschedprio.c: Likewise.
16770 * sysdeps/htl/pt-setspecific.c: Likewise.
16771 * sysdeps/htl/pt-spin.c: Likewise.
16772 * sysdeps/htl/pt-startup.c: Likewise.
16773 * sysdeps/htl/pthread.h: Likewise.
16774 * sysdeps/htl/sem-close.c: Likewise.
16775 * sysdeps/htl/sem-destroy.c: Likewise.
16776 * sysdeps/htl/sem-getvalue.c: Likewise.
16777 * sysdeps/htl/sem-init.c: Likewise.
16778 * sysdeps/htl/sem-open.c: Likewise.
16779 * sysdeps/htl/sem-post.c: Likewise.
16780 * sysdeps/htl/sem-timedwait.c: Likewise.
16781 * sysdeps/htl/sem-trywait.c: Likewise.
16782 * sysdeps/htl/sem-unlink.c: Likewise.
16783 * sysdeps/htl/sem-wait.c: Likewise.
16784 * sysdeps/hurd/htl/pt-kill.c: Likewise.
16785 * sysdeps/i386/htl/pt-machdep.h: Likewise.
16786 * sysdeps/mach/htl/pt-block.c: Likewise.
16787 * sysdeps/mach/htl/pt-spin.c: Likewise.
16788 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
16789 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
16790 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
16791 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
16792 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
16793 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
16794 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
16795 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
16796 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
16797 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
16798 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
16799 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
16800 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
16801 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
16802 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
16803 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
16804 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
16805 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
16806 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
16807 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
16808 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
16809 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
16810 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
16811 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
16812 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
16813 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
16814 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
16815 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
16816 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
16817 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
16818 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
16819 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
16820 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
16821 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
16822 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
16823 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
16824 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
16825 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
16826 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
16827 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
16828 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
16829 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
16830 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
16831
fb03b04b
ST
16832 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
16833 * README: Remove the mention of out-of-tree patches needed for
16834 GNU/Hurd.
16835
fa9e1555
ST
16836 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
16837 (UTIME_NOW, UTIME_OMIT): Define macros.
16838
f6fb29d2
ST
16839 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
16840 instead of pthread_detach.
16841 (__cthread_fork): Call __pthread_create instead of pthread_create.
16842 (__cthread_keycreate): Call __pthread_key_create instead of
16843 pthread_key_create.
16844 (__cthread_getspecific): Call __pthread_getspecific instead of
16845 pthread_getspecific.
16846 (__cthread_setspecific): Call __pthread_setspecific instead of
16847 pthread_setspecific.
16848 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
16849 __pthread_mutex_unlock instead of pthread_mutex_lock and
16850 pthread_mutex_unlock.
16851 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
16852 ___pthread_get_cleanup_stack.
16853 (__pthread_get_cleanup_stack): New strong alias.
16854 * htl/pt-create.c: Include <pthreadP.h>.
16855 (entry_point): Call __pthread_exit instead of pthread_exit.
16856 (pthread_create): Rename to __pthread_create.
16857 (pthread_create): New strong alias.
16858 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
16859 (pthread_detach): New strong alias.
16860 (__pthread_detach): Call __pthread_cond_broadcast instead of
16861 pthread_cond_broadcast.
fe9748cc
ST
16862 * htl/pt-exit.c: Include <pthreadP.h>.
16863 (__pthread_exit): Call __pthread_setcancelstate and
16864 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
16865 __pthread_get_cleanup_stack.
f6fb29d2
ST
16866 * htl/pt-testcancel.c: Include <pthreadP.h>.
16867 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
16868 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
16869 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
16870 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
16871 pthread_attr_getstacksize.
16872 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
16873 Rename to __pthread_attr_getstackaddr.
16874 (pthread_attr_getstackaddr): New strong alias.
16875 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
16876 Rename to __pthread_attr_getstacksize.
16877 (pthread_attr_getstacksize): New strong alias.
16878 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
16879 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
16880 (pthread_attr_setstack): New strong alias.
16881 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
16882 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
16883 pthread_attr_getstacksize, pthread_attr_setstacksize and
16884 pthread_attr_setstackaddr.
16885 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
16886 Rename to __pthread_attr_setstackaddr.
16887 (pthread_attr_setstackaddr): New strong alias.
16888 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
16889 Rename to __pthread_attr_setstacksize.
16890 (pthread_attr_setstacksize): New strong alias.
16891 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
16892 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
16893 pthread_exit.
16894 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
16895 (__pthread_key_create): New hidden def.
16896 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
16897 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
16898 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
16899 __pthread_exit, __pthread_key_create, __pthread_getspecific,
16900 __pthread_setspecific, __pthread_setcancelstate,
16901 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
16902 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
16903 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
16904 declarations.
16905 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
16906 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
16907 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
16908 (pthread_attr_setstackaddr): New strong alias.
16909 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
16910 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
16911 (pthread_attr_setstacksize): New strong alias.
16912 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
16913 (call_exit): Call __pthread_exit instead of pthread_exit.
16914 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
16915 (_pthread_mutex_init): New hidden definition.
16916 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
16917 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
16918 instead of pthread_attr_init and pthread_attr_setstack.
16919
dba2bdbe
ST
16920 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
16921 __vm_deallocate instead of vm_allocate and vm_deallocate.
16922 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
16923 setenv.
16924 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
16925 of geteuid.
16926 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
16927 strdup.
16928 * hurd/siginfo.c: Include <libioP.h>.
16929 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
16930 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
16931 munmap.
dba2bdbe
ST
16932 * mach/devstream.c: Include <libioP.h>.
16933 (dealloc_ref): Call __mach_port_deallocate instead of
16934 mach_port_deallocate.
16935 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
16936 Call __mach_port_deallocate instead of mach_port_deallocate.
16937 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
16938 pathconf.
16939 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
16940 munmap.
16941 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
16942 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
16943 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
16944 of munmap.
16945 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
16946 of close.
16947 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
16948 instead of sysconf.
16949 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
16950 __clock_gettime instead of clock_gettime.
16951 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
16952 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
16953 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
16954 * sysdeps/unix/bsd/stty.c (stty): Likewise.
16955 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
16956 tcgetattr.
16957 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
16958 __clock_gettime and __nanosleep instead of clock_gettime and
16959 nanosleep.
7a8f45e3
ST
16960 * hurd/catch-signal.c (hurd_catch_signal): Rename to
16961 __hurd_catch_signal.
16962 (hurd_catch_signal): New strong alias.
16963 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
16964 __hurd_catch_signal instead of hurd_catch_signal.
16965 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
16966 * hurd/hurdexec.c (_hurd_init): Add hidden def.
16967 * hurd/hurdinit.c (_hurd_init): Add hidden def.
16968 * hurd/hurdsig.c: Include <mach/mig_support.h>.
16969 (_hurd_thread_sigstate): Add hidden def.
16970 (_hurd_internal_post_signal): Use __mutex_unlock instead of
16971 mutex_unlock.
16972 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
16973 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
16974 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
16975 __hurd_file_name_path_lookup.
16976 (hurd_file_name_path_lookup): New strong alias.
16977 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
16978 hurd_file_name_path_lookup.
16979 * mach/errstring.c (mach_error_type): Add hidden def.
16980 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
16981 * mach/mutex-init.c (__mutex_init): Add hidden def.
16982 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
16983 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
16984 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
16985 * sysdeps/mach/hurd/getcwd.c
16986 (_hurd_canonicalize_directory_name_internal): Rename to
16987 __hurd_canonicalize_directory_name_internal.
16988 (_hurd_canonicalize_directory_name_internal): New strong alias.
16989 (__canonicalize_directory_name_internal, __getcwd): Call
16990 __hurd_canonicalize_directory_name_internal instead of
16991 _hurd_canonicalize_directory_name_internal.
16992 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
16993 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
16994 hidden defs.
16995 * sysdeps/hurd/include/hurd.h: New file.
16996 * sysdeps/hurd/include/hurd/fd.h: New file.
16997 * sysdeps/hurd/include/hurd/signal.h: New file.
16998 * sysdeps/mach/include/lock-intern.h: New file.
16999 * sysdeps/mach/include/mach.h: New file.
17000 * sysdeps/mach/include/mach/mig_support.h: New file.
17001 * sysdeps/mach/include/mach_error.h: New file.
a758c293
ST
17002 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
17003 prototype.
17004 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
17005 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
17006 _HEADER_H_HIDDEN_DEF macro.
17007 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
17008 _hurd_fd_error_signal): Add hidden prototype.
17009 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
17010 hidden def.
82dbf555
ST
17011 * libio/iolibio.h (_IO_puts): New hidden prototype.
17012 * libio/ioputs.c (_IO_puts): New hidden def.
171488a2
ST
17013 * sysdeps/mach/hurd/localplt.data: New file.
17014
33574c17 170152018-04-02 Agustina Arzille <avarzille@riseup.net>
b39d961c
TS
17016 Amos Jeffries <squid3@treenet.co.nz>
17017 David Michael <fedora.dm0@gmail.com>
17018 Marco Gerards <marco@gnu.org>
17019 Marcus Brinkmann <marcus@gnu.org>
17020 Neal H. Walfield <neal@gnu.org>
17021 Pino Toscano <toscano.pino@tiscali.it>
17022 Richard Braun <rbraun@sceen.net>
17023 Roland McGrath <roland@gnu.org>
17024 Samuel Thibault <samuel.thibault@ens-lyon.org>
17025 Thomas DiModica <ricinwich@yahoo.com>
17026 Thomas Schwinge <tschwinge@gnu.org>
33574c17
ST
17027
17028 * htl: New directory.
17029 * sysdeps/htl: New directory.
17030 * sysdeps/hurd/htl: New directory.
17031 * sysdeps/i386/htl: New directory.
17032 * sysdeps/mach/htl: New directory.
17033 * sysdeps/mach/hurd/htl: New directory.
17034 * sysdeps/mach/hurd/i386/htl: New directory.
17035 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
17036 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
17037 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
17038
03e2aa50
ST
170392018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17040
17041 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
17042 signals in thread created for runing timers.
17043
1aa52ced
FW
170442018-04-01 Florian Weimer <fweimer@redhat.com>
17045
17046 * support/support_format_addrinfo.c (support_format_addrinfo):
17047 Include unknown error number in formatted result.
17048
4d76d3e5
FW
170492018-03-29 Florian Weimer <fweimer@redhat.com>
17050
17051 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
17052 capture SIGBUS.
17053
d39c0a45
AZ
170542018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17055
17056 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
17057 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
17058 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17059 (__ASSUME_CLONE_BACKWARDS): Define.
17060
cc8a1620
JH
170612018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
17062
57408435 17063 [BZ #23024]
cc8a1620
JH
17064 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
17065 early when linux sentinel value is set.
17066
8bfd94d0
ST
170672018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17068
17069 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
17070
f178e59f
AS
170712018-03-27 Andreas Schwab <schwab@suse.de>
17072
17073 [BZ #23005]
17074 * resolv/res_send.c (__res_context_send): Return ENOMEM if
17075 allocation of private copy of nsaddr_list fails.
17076
5f45f96a
JM
170772018-03-26 Joseph Myers <joseph@codesourcery.com>
17078
17079 [BZ #16552]
17080 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
17081 * sysdeps/unix/sysv/linux/umount.c: ... here.
17082 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
17083 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
17084 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
17085 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
17086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
17087 * sysdeps/unix/sysv/linux/umount.S: Likewise.
17088 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
17089
3dfd23eb
AS
170902018-03-26 Andreas Schwab <schwab@suse.de>
17091
17092 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
17093 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
17094 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
17095 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
17096 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
17097 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
17098 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
17099 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
17100 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
17101 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
17102 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
17103 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
17104 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
17105 (R_RISCV_NUM): Define.
17106
fa97d2ab
ST
171072018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
17108
17109 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
17110 TLS declaration of errno.
37be82a0
ST
17111 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
17112 __libc_setup_tls.
17113 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
17114 (ARCH_SETUP_TLS): Likewise.
17115 * sysdeps/mach/hurd/libc-start.h: New file copied from
17116 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
978a6803
ST
17117 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
17118 instead of __libc_setup_tls.
37be82a0 17119 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
978a6803
ST
17120 __libc_setup_tls before initializing libpthread and running _hurd_init
17121 which starts the signal thread.
17122 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
17123 Declare function.
2d813d7b 17124 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fa97d2ab 17125
b8114edd
L
171262018-03-24 H.J. Lu <hongjiu.lu@intel.com>
17127
17128 [BZ #22998]
17129 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
17130 after it is defined.
17131
cd66c0e5
AS
171322018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
17133 Max Horn <max@quendi.de>
17134
17135 [BZ #22644]
43d4f3d5 17136 CVE-2017-18269
cd66c0e5
AS
17137 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
17138 branch conditions.
17139 * string/test-memmove.c (do_test2): New testcase.
17140
a4406139
JM
171412018-03-22 Joseph Myers <joseph@codesourcery.com>
17142
17143 * sysdeps/generic/frame.h: Remove file.
17144 * sysdeps/arm/frame.h: Likewise.
17145 * sysdeps/hppa/frame.h: Likewise.
17146 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
17147 macro.
17148 (GET_FRAME): Likewise.
17149 (GET_STACK): Likewise.
17150 (CALL_SIGHANDLER): Likewise.
17151 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
17152 Likewise.
17153 (GET_FRAME): Likewise.
17154 (GET_STACK): Likewise.
17155 (CALL_SIGHANDLER): Likewise.
17156 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
17157 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17158 (GET_FRAME): Likewise.
17159 (GET_STACK): Likewise.
17160 (CALL_SIGHANDLER): Likewise.
17161 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
17162 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17163 (GET_FRAME): Likewise.
17164 (GET_STACK): Likewise.
17165 (ADVANCE_STACK_FRAME): Likewise.
17166 (CALL_SIGHANDLER): Likewise.
17167 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
17168 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17169 (GET_FRAME): Likewise.
17170 (GET_STACK): Likewise.
17171 (CALL_SIGHANDLER): Likewise.
17172 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
17173 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17174 (GET_FRAME): Likewise.
17175 (GET_STACK): Likewise.
17176 (CALL_SIGHANDLER): Likewise.
17177 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
17178 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17179 (GET_FRAME): Likewise.
17180 (GET_STACK): Likewise.
17181 (CALL_SIGHANDLER): Likewise.
17182 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
17183 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17184 (GET_FRAME): Likewise.
17185 (GET_STACK): Likewise.
17186 (CALL_SIGHANDLER): Likewise.
17187 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
17188 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17189 (GET_FRAME): Likewise.
17190 (GET_STACK): Likewise.
17191 (CALL_SIGHANDLER): Likewise.
17192 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
17193 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17194 (GET_FRAME): Likewise.
17195 (GET_STACK): Likewise.
17196 (CALL_SIGHANDLER): Likewise.
17197 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
17198 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17199 (GET_FRAME): Likewise.
17200 (GET_STACK): Likewise.
17201 (CALL_SIGHANDLER): Likewise.
17202 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
17203 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17204 (GET_FRAME): Likewise.
17205 (GET_STACK): Likewise.
17206 (CALL_SIGHANDLER): Likewise.
17207 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
17208 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17209 (GET_FRAME): Likewise.
17210 (GET_STACK): Likewise.
17211 (CALL_SIGHANDLER): Likewise.
17212 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
17213 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17214 (FIRST_FRAME_POINTER): Likewise.
17215 (ADVANCE_STACK_FRAME): Likewise.
17216 (GET_STACK): Likewise.
17217 (GET_FRAME): Likewise.
17218 (CALL_SIGHANDLER): Likewise.
17219 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
17220 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17221 (ADVANCE_STACK_FRAME): Likewise.
17222 (GET_STACK): Likewise.
17223 (GET_FRAME): Likewise.
17224 (CALL_SIGHANDLER): Likewise.
17225 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
17226 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17227 (GET_FRAME): Likewise.
17228 (GET_STACK): Likewise.
17229 (CALL_SIGHANDLER): Likewise.
17230 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
17231 (SIGCONTEXT_EXTRA_ARGS): Likewise.
17232 (GET_FRAME): Likewise.
17233 (GET_STACK): Likewise.
17234 (CALL_SIGHANDLER): Likewise.
17235
ffec7b27
JM
172362018-03-21 Joseph Myers <joseph@codesourcery.com>
17237
17238 * sysdeps/x86_64/backtrace.c: Move to ....
17239 * debug/backtrace.c: ... here.
17240 * sysdeps/aarch64/backtrace.c: Remove file.
17241 * sysdeps/alpha/backtrace.c: Likewise.
17242 * sysdeps/hppa/backtrace.c: Likewise.
17243 * sysdeps/ia64/backtrace.c: Likewise.
17244 * sysdeps/mips/backtrace.c: Likewise.
17245 * sysdeps/nios2/backtrace.c: Likewise.
17246 * sysdeps/riscv/backtrace.c: Likewise.
17247 * sysdeps/sh/backtrace.c: Likewise.
17248 * sysdeps/tile/backtrace.c: Likewise.
17249
8a07b0c4
JM
172502018-03-20 Joseph Myers <joseph@codesourcery.com>
17251
d0c5d731
JM
17252 [BZ #22987]
17253 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
17254 function.
17255 (fdimf): Likewise.
17256 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
17257
8a07b0c4
JM
17258 [BZ #17343]
17259 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
17260 possibly overflowing computations.
17261
ceb54b9b
ST
172622018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
17263
17264 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
17265 values from Linux-specific section now that it is in the GNU section.
17266 * sysdeps/gnu/errlist.c: Regenerate.
17267
8d3f9e85
JM
172682018-03-20 Joseph Myers <joseph@codesourcery.com>
17269
17270 * math/Makefile (libm-narrow-fns): Add sub.
17271 (libm-test-funcs-narrow): Likewise.
17272 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
17273 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
17274 * math/gen-auto-libm-tests.c (test_functions): Add sub.
17275 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
17276 (NARROW_SUB_ROUND_TO_ODD): Likewise.
17277 (NARROW_SUB_TRIVIAL): Likewise.
17278 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
17279 macro.
17280 (__dsubl): Likewise.
17281 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
17282 dsub.
17283 (CFLAGS-nldbl-dsub.c): New variable.
17284 (CFLAGS-nldbl-fsub.c): Likewise.
17285 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17286 __nldbl_dsubl.
17287 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
17288 prototype.
17289 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
17290 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
17291 * math/auto-libm-test-in: Add tests of sub.
17292 * math/auto-libm-test-out-narrow-sub: New generated file.
17293 * math/libm-test-narrow-sub.inc: New file.
17294 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
17295 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
17296 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
17297 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
17298 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
17299 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
17300 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
17301 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
17302 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
17303 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
17304 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
17305 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
17306 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
17307 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
17308 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
17309 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
17310 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
17311 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
17312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17313 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17314 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17315 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17316 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17317 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17318 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17319 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17320 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17321 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17322 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17323 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17324 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17325 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17330 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17331 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17332 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17333 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17334 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17335 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17336 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
17337 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
17338 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17339 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17340
d473f015
JM
173412018-03-19 Joseph Myers <joseph@codesourcery.com>
17342
17343 [BZ #20079]
17344 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
17345
fbce6f72
WD
173462018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
17347
17348 * benchtests/bench-timing.h (attribute_hidden): Undefine.
17349
72e7ffc3
RB
173502018-03-18 Richard Braun <rbraun@sceen.net>
17351
17352 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
17353 thread reference.
17354
542c20a1
AA
173552018-03-18 Agustina Arzille <avarzille@riseup.net>
17356
17357 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
17358 (__libc_cleanup_fct): Define function.
17359 (__libc_cleanup_region_start, __libc_cleanup_region_end,
17360 __libc_cleanup_end): Rewrite implementation using
17361 __attribute__ ((__cleanup__)).
17362 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
fb4cc8a0
AA
17363 * hurd/Makefile (routines): Add hurdlock.
17364 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
17365 interface.
17366 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
17367 * hurd/hurdpid.c: Include <lowlevellock.h>
17368 (_S_msg_proc_newids): Use lll_wait to synchronize.
17369 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
17370 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
17371 * mach/Makefile (lock-headers): Remove machine-lock.h.
17372 * mach/lock-intern.h: Include <lowlevellock.h> instead of
17373 <machine-lock.h>.
17374 (__spin_lock_t): New type.
17375 (__SPIN_LOCK_INITIALIZER): New macro.
17376 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
17377 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
17378 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
17379 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
17380 (__mutex_init): Initialize with lll.
17381 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
17382 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
17383 needing lll.
17384 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17385 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
17386 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
17387 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
17388 (__setpgid): Use lll for synchronization.
17389 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
17390 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
17391 instead of <cthreads.h>.
17392 (_IO_lock_inexpensive): New macro
17393 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
17394 (__libc_lock_self0): New declaration.
17395 (__libc_lock_owner_self): New macro.
17396 (__libc_key_t): Remove type.
17397 (_LIBC_LOCK_INITIALIZER): New macro.
17398 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
17399 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
17400 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
17401 __libc_lock_define_initialized_recursive,
17402 __rtld_lock_define_initialized_recursive,
17403 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
17404 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
17405 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
17406 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
17407 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
17408 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
17409 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
17410 New macros.
17411 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
17412 * hurd/hurdlock.c: New file.
17413 * hurd/hurdlock.h: New file.
17414 * mach/lowlevellock.h: New file
542c20a1 17415
9a37922e
ST
174162018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
17417
17418 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
489999cc
ST
17419 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
17420 when opening a symlink with O_NOFOLLOW.
72103e73
ST
17421 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
17422 path when flags contains O_NOFOLLOW.
17423 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
17424 if flags contains O_DIRECTORY and the result is a directory.
aa218929
ST
17425 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
17426 oneself when the pointer given in D is nul (as set by ext2fs).
20bc801b
ST
17427 * sysdeps/mach/hurd/mlockall.c: New file.
17428 * sysdeps/mach/hurd/munlockall.c: New file.
9a37922e 17429
34e6a869
ST
174302018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17431
17432 * hurd/hurdsig.c: Include <pthread.h>.
17433 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
17434 get the signal thread stack layout.
dc33bef3
ST
17435 * hurd/Makefile (headers): Remove threadvar.h.
17436 (inline-headers): Remove threadvar.h.
17437 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
17438 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
17439 __hurd_threadvar_max, __hurd_errno_location.
17440 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
17441 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
17442 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
17443 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
17444 unless TLS is not initialized yet, in which case we do not need a
17445 critical section yet anyway.
17446 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
17447 <machine-sp.h>.
17448 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
17449 declarations.
17450 (__hurd_threadvar_index): Remove enum.
17451 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
17452 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
17453 inlines.
17454 (__hurd_reply_port0): New variable declaration.
17455 (__hurd_local_reply_port): New macro.
17456 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
17457 (interrupted_reply_port_location): Add thread_t parameter. Use it
17458 with THREAD_TCB to access thread-local variables.
17459 (_hurdsig_abort_rpcs): Pass ss->thread to
17460 interrupted_reply_port_location.
17461 (_hurd_internal_post_signal): Likewise.
17462 (_hurdsig_init): Use presence of cthread_fork instead of
17463 __hurd_threadvar_stack_mask to start signal thread by hand.
17464 Remove signal thread threadvar initialization.
17465 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
17466 * hurd/sigunwind.c: Include <hurd/threadvar.h>
17467 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
17468 of threadvar.
17469 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
17470 __libc_lock_self0.
17471 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
17472 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
17473 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
17474 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
17475 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
17476 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
17477 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
17478 define variables.
17479 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
17480 <hurd/threadvar.h>.
17481 [IS_IN(rtld)] (rtld_errno): New variable.
17482 [IS_IN(rtld)] (__errno_location): New weak function.
17483 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
17484 * sysdeps/mach/hurd/errno.c: Remove file.
17485 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
17486 (__fork): Remove THREADVAR_SPACE macro and its use.
17487 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
17488 variable.
17489 (init): Do not initialize threadvar.
17490 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
17491 symbol.
17492 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
17493 __hurd_local_reply_port instead of threadvar.
17494 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
17495 _hurd_sigstate fields.
17496 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
17497 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
17498 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
17499 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
17500 instead of threadvar.
17501 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
17502 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
17503 (use_threadvar, global_reply_port): Remove variables.
17504 (__hurd_reply_port0): New variable.
17505 (__mig_get_reply_port): Use __hurd_local_reply_port and
17506 __hurd_reply_port0 instead of threadvar.
17507 (__mig_dealloc_reply_port): Likewise.
17508 (__mig_init): Do not initialize threadvar.
17509 * sysdeps/mach/hurd/profil.c: Fix comment.
c2fb08c7
ST
17510 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
17511 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
17512 cthread_keycreate, cthread_getspecific, cthread_setspecific to
17513 __cthread_fork, __cthread_detach, __pthread_getattr_np,
17514 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
17515 __cthread_setspecific.
17516 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
17517 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
17518 __cthread_t instead of cthread_fork, cthread_detach,
17519 pthread_getattr_np, pthread_attr_getstack.
17520 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
17521 __cthread_keycreate.
17522 (cthread_getspecific): Rename to __cthread_getspecific.
17523 (cthread_setspecific): Rename to __cthread_setspecific.
17524 (__libc_getspecific): Use __cthread_getspecific instead of
17525 cthread_getspecific.
17526 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
17527 __cthread_keycreate instead of cthread_keycreate.
17528 (__libc_setspecific): Use __cthread_setspecific instead of
17529 cthread_setspecific.
17530 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
17531 Likewise.
dd28d4ba
ST
17532 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
17533 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
17534 testing whether it is defined.
34e6a869 17535
f8baf2a2
ST
175362018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17537
17538 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
17539 Define macro.
17540 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
17541 * sysdeps/mach/i386/thread_state.h
17542 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
17543 i386_THREAD_STATE.
17544 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
17545 i386_THREAD_STATE.
17546 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
17547
17548 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
17549 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
17550
17551 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
17552 macros.
17553 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
17554 descriptor instead of creating a new one.
17555 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
17556
17557 * mach/setup-thread.c: Include <ldsodefs.h>.
17558 (__mach_setup_thread): Call _dl_allocate_tls, pass
17559 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
17560 MACHINE_THREAD_STATE_FLAVOR, before getting
17561 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
17562 MACHINE_THREAD_STATE_FLAVOR with the result.
17563 * hurd/hurdfault.c (_hurdsig_fault_init): Call
17564 MACHINE_THREAD_STATE_FIX_NEW.
17565 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
17566 too. Add original thread parameter.
17567
34ba96b8
JM
175682018-03-16 Joseph Myers <joseph@codesourcery.com>
17569
5d75b75f
JM
17570 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
17571 Remove inline function.
17572
34ba96b8
JM
17573 * sysdeps/i386/fpu/libm-test-ulps: Update.
17574 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
17575
22679b2c
WD
175762018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
17577
17578 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
17579 commit.
17580
c429a8d8
JM
175812018-03-15 Joseph Myers <joseph@codesourcery.com>
17582
17583 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
17584 (__sincos_code): Remove define and undefine.
17585 [__FAST_MATH__] (__sincos): Remove inline function.
17586 [__FAST_MATH__] (__sincosf): Remove inline function.
17587 [__FAST_MATH__] (__sincosl): Remove inline function.
17588 (__atan2l): Remove inline functions.
17589 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
17590 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
17591 function.
17592 (floor): Remove inline function.
17593 (ceil): Likewise.
17594 [__FAST_MATH__] (__ldexp_code): Remove macro.
17595 [__FAST_MATH__] (ldexp): Remove inline function.
17596 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
17597 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
17598 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
17599 [__USE_ISOC99] (__lrint_code): Remove macro.
17600 [__USE_ISOC99] (__llrint_code): Likewise.
17601 [__USE_ISOC99] (lrintf): Remove inline function.
17602 [__USE_ISOC99] (lrint): Likewise.
17603 [__USE_ISOC99] (lrintl): Likewise.
17604 [__USE_ISOC99] (llrint): Likewise.
17605 [__USE_ISOC99] (llrintf): Likewise.
17606 [__USE_ISOC99] (llrintl): Likewise.
17607
700593fd
WD
176082018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17609
17610 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
17611 (__ieee754_sqrtf): Remove.
17612 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
17613 (__ieee754_sqrtf): Remove.
17614 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
17615 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
17616 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
17617 (__ieee754_sqrtf): Remove.
17618 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
17619 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
17620 (sqrtf): Remove.
17621 (sqrtl): Remove.
17622 (__ieee754_sqrt): Remove.
17623 (__ieee754_sqrtf): Remove.
17624 (__ieee754_sqrtl): Remove.
17625 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
17626 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
17627 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
17628 (__ieee754_sqrtf): Remove.
17629 (__ieee754_sqrtl): Remove.
17630
f67a8147
WD
176312018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17632
17633 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
17634 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
17635 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17636 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
17637 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
17638 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17639 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17640 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17641 Likewise.
17642 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
17643 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
17644 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
17645 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
17646 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
17647 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
17648 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
17649 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
17650 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
17651 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
17652 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
17653 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
17654 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
17655 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
17656 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
17657 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17658 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17659 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
17660 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
17661 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
17662 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17663 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17664 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
17665 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
17666 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
17667 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
17668 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17669 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17670 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
17671 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
17672 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
17673 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
17674 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
17675 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
17676 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17677 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17678 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
17679 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
17680 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
17681 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
17682
1294b189
WD
176832018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17684
17685 * include/math.h (sqrt): Declare with asm redirect.
17686 (sqrtf): Likewise.
17687 (sqrtl): Likewise.
17688 (sqrtf128): Likewise.
17689 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
17690 nonlib and libnldbl with -fmath-errno.
17691 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
17692 * math/w_sqrt_template.c: Likewise.
17693 * math/w_sqrtf_compat.c: Likewise.
17694 * math/w_sqrtl_compat.c: Likewise.
17695 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
17696 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
17697 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
17698 complex.h.
17699
f1c8185d
WD
177002018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17701
17702 * benchtests/Makefile: Define _ISOMAC.
17703 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
17704 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
17705 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
17706 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
17707 * benchtests/bench-timing.h: Define attribute_hidden.
17708
b47c3e76
SP
177092018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
17710
17711 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
17712 mov + lsr.
17713
807fee29
RL
177142018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17715
17716 [BZ #22963]
17717 * localedata/locales/cs_CZ (mon): Rename to...
17718 (alt_mon): This.
17719 (mon): Import from CLDR (genitive case).
17720
e7155a28
RL
177212018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17722
17723 [BZ #22937]
17724 * localedata/locales/el_CY (abmon): Rename to...
17725 (ab_alt_mon): This.
17726 (abmon): Import from CLDR (abbreviated genitive case).
17727 * localedata/locales/el_GR (abmon): Rename to...
17728 (ab_alt_mon): This.
17729 (abmon): Import from CLDR (abbreviated genitive case).
17730
71d7b121
RL
177312018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17732
17733 [BZ #22932]
17734 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
17735
a00bffe8
RB
177362018-03-15 Robert Buj <robert.buj@gmail.com>
17737
17738 [BZ #22848]
17739 * localedata/locales/ca_ES (abmon): Rename to...
17740 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
17741 (mon): Rename to...
17742 (alt_mon): This.
17743 (abmon): Import from CLDR (genitive case, month names preceded by
17744 "de" or "d’").
17745 (mon): Likewise.
17746 (abday): Synchronize with CLDR.
17747 (d_t_fmt): Likewise.
17748 (d_fmt): Likewise.
17749 (am_pm): Likewise.
17750
17751 (LC_TIME): Improve indentation.
17752 (LC_TELEPHONE): Likewise.
17753 (LC_NAME): Likewise.
17754 (LC_ADDRESS): Likewise.
17755
f9555d73
JM
177562018-03-14 Joseph Myers <joseph@codesourcery.com>
17757
17758 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
17759 (lrintf): Remove definitions used only with old GCC.
17760 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
17761 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
17762 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
17763 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
17764 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
17765 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
17766 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
17767 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
17768 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
17769 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
17770 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
17771 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
17772 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
17773 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
17774 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
17775 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
17776 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
17777 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
17778 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
17779 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
17780 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
17781 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
17782 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
17783 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
17784 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
17785 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
17786 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
17787 [__FAST_MATH__] (__M_SQRT2): Remove macro.
17788
d46f84de
SP
177892018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
17790
17791 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
17792 instruction to unbreak builds with binutils 2.26 and older.
17793
7108f1f9
SP
177942018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
17795
17796 * sysdeps/aarch64/strncmp.S (count): New macro.
17797 (strncmp): Store misaligned length in SRC1 in COUNT.
17798 (mutual_align): Adjust.
17799 (misaligned8): Load dword at a time when it is safe.
17800
2cc7bad0
ZW
178012018-03-12 Zack Weinberg <zackw@panix.com>
17802
17803 [BZ #1190]
17804 [BZ #19476]
17805 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
17806 if the _IO_EOF_SEEN bit is already set; update commentary.
17807 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
17808 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
17809
17810 * support/support_openpty.c, support/tty.h: New files.
17811 * support/Makefile (libsupport-routines): Add support_openpty.
17812
17813 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
17814 New test cases.
17815 * libio/Makefile (tests): Add tst-fgetc-after-eof.
17816 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
17817
778f1974
DL
178182018-03-12 Dmitry V. Levin <ldv@altlinux.org>
17819
17820 * po/pt_BR.po: Update translations.
17821
6b5c8607 178222018-03-12 David Michael <fedora.dm0@gmail.com>
da6d4404
DM
17823
17824 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
17825 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
17826 get a port to the startup server.
17827
d3da750d
ZW
178282018-03-11 Zack Weinberg <zackw@panix.com>
17829
17830 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
17831 before nldbl-compat.h.
17832
054b72cc
ZW
178332018-03-10 Zack Weinberg <zackw@panix.com>
17834
0d13dfa1
ZW
17835 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
17836 math.h or math_private.h.
17837
17838 * sysdeps/alpha/fpu/s_isnan.c
17839 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
17840 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
17841 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
17842 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
17843 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
17844 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
17845 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
17846 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
17847 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
17848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
17849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
17850 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
17851 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
17852 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
17853 Include math_private.h.
17854
17855 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
17856 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
17857 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
17858 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
17859 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
17860 * sysdeps/powerpc/power7/fpu/s_logb.c:
17861 Include math.h and math_private.h.
17862
054b72cc
ZW
17863 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
17864 uses of $at in .set noat / .set at.
17865
6253bacd
L
178662018-03-10 H.J. Lu <hongjiu.lu@intel.com>
17867
17868 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
17869 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
17870 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
17871 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
17872 Likewise.
17873
229855e5
FW
178742018-03-09 Florian Weimer <fweimer@redhat.com>
17875
17876 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
17877 in comment.
17878
9aa5c222
AJ
178792018-03-09 Aurelien Jarno <aurelien@aurel32.net>
17880
17881 [BZ #22919]
17882 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
17883 Add nop before __startcontext, add explaining comments.
17884
3dc21497
AZ
178852018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17886
e921c89e
AZ
17887 [BZ #22926]
17888 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
17889 empty for __SPE__.
17890 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
17891 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
17892 Do not build hardware transactional code for __SPE__.
17893 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17894 (__lll_trylock_elision): Likewise.
17895 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
17896 (__lll_unlock_elision): Likewise.
17897
d9f26dab 17898 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
3dc21497
AZ
17899 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
17900 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17901 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
17902 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
17903 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
17904 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
17905 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
17906 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
17907 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
17908 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
17909 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
17910 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
17911 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
17912 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
17913 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
17914 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
17915 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
17916 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
17917 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
17918 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
17919 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17920 (__ASSUME_CLONE_BACKWARDS): Define.
17921 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
17922 __clone2 if __NR_clone2 is defined.
17923 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17924 (__ASSUME_CLONE_BACKWARDS): Likewise.
17925 * sysdeps/unix/sysv/linux/i386/kernel-features.h
17926 (__ASSUME_CLONE_BACKWARDS): Likewise.
17927 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17928 (__ASSUME_CLONE2): Likewise.
17929 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17930 (__ASSUME_CLONE_BACKWARDS3): Likewise.
17931 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
17932 variants and the define architecture can use.
17933 (__ASSUME_CLONE_DEFAULT): Define as default.
17934 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17935 (__ASSUME_CLONE_BACKWARDS): Likewise.
17936 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17937 (__ASSUME_CLONE_BACKWARDS): Likewise.
17938 * sysdeps/unix/sysv/linux/s390/kernel-features.h
17939 (__ASSUME_CLONE_BACKWARDS2): Likewise.
17940
adc95fb0
SP
179412018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
17942
4e54d918
SP
17943 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
17944
30a81dae
SP
17945 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
17946 time.
17947
adc95fb0
SP
17948 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
17949 (do_test_limit): Likewise.
17950
17951 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
17952 for every implementation.
17953 (do_test): Likewise.
17954
17955 * benchtests/bench-strncmp.c: Convert output to json.
17956
4e9066bc
ST
179572018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17958
17959 * io/futimens.c: Add missing start-of-file descriptive comment.
17960 * io/utime.c: Likewise.
17961 * misc/futimesat.c: Likewise.
17962 * misc/utimes.c: Likewise.
17963 * sysdeps/mach/hurd/futimesat.c: Likewise.
17964 * sysdeps/mach/hurd/utimes.c: Likewise.
17965 * sysdeps/posix/utime.c: Likewise.
17966 * sysdeps/posix/utimes.c: Likewise.
17967 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
17968 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
17969 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
17970 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
17971
ec1300cf
ST
179722018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17973
17974 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
17975 hurd_futimes.
17976 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
17977 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
17978 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
17979 (__futimens): Move implementation to...
17980 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
17981 utime_tvalue_from_tspec): ... new helper functions.
17982 (hurd_futimens): New function.
17983 * sysdeps/mach/hurd/futimesat.c: New file.
17984 * sysdeps/mach/hurd/utimensat.c: New file.
17985
bbe762d1
FC
179862018-03-05 Flávio Cruz <flaviocruz@gmail.com>
17987
17988 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
17989 UTIME_OMIT): New macros.
17990 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
17991 before reverting to converting time spec to time value and calling
17992 __file_utimes.
17993 * sysdeps/mach/hurd/utime-helper.c: New file.
17994 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
17995 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
17996 reverting to utime_tvalue_from_tval and __file_utimes.
17997 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
17998 (__lutimes): Just call hurd_futimens after lookup.
17999 * sysdeps/mach/hurd/utimes.c: Likewise.
18000
a1ede3a4
ST
180012018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18002
18003 * bits/sigaction.h: Add include guard.
18004 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
18005 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
18006 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
18007 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
18008 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
18009 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
18010 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
18011 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
18012 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
18013
6900d2ca
JM
180142018-03-05 Joseph Myers <joseph@codesourcery.com>
18015
18016 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
18017 -Wmaybe-uninitialized for -Os.
18018 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
18019 this disabling.
18020
68448be2
AZ
180212018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18022
5226a81f
AZ
18023 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
18024 __INO_T_MATCHES_INO64_T is defined.
18025 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
18026 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
18027 of definition.
18028 * dirent/alphasort64.c: Likewise.
18029 * dirent/scandir.c: Likewise.
18030 * dirent/scandir64-tail.c: Likewise.
18031 * dirent/scandir64.c: Likewise.
18032 * dirent/scandirat.c: Likewise.
18033 * dirent/scandirat64.c: Likewise.
18034 * dirent/versionsort.c: Likewise.
18035 * dirent/versionsort64.c: Likewise.
18036 * include/dirent.h: Likewise.
18037
fbd01e6c
AZ
18038 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
18039 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
18040 for socketpair endpoint.
18041 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
18042 WRITE_BUFFER_SIZE as buffer size for sending socket.
18043 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
18044 issue on system where send is implemented with sendto syscall.
18045 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
18046 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
18047 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
18048 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
18049
68448be2
AZ
18050 [BZ #21269]
18051 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
18052 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
18053 sa_restorer for vDSO case.
18054 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
18055
eb1ca47e
ST
180562018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18057
18058 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
e30c291a
ST
18059 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
18060 * hurd/hurd/ioctl.h: Include <mach/port.h>
18061 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
f4bff843
ST
18062 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
18063 <mach/mach_types.h> and <mach/message.h>.
430fd945
ST
18064 (headers): Move mach/param.h to bits/mach/param.h.
18065 * sysdeps/mach/i386/mach/param.h: Move file to ...
18066 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
18067 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
18068 of <mach/param.h>.
3403cb7d
ST
18069 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
18070 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
18071 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
48d34cbc
ST
18072 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
18073 trivial, for C++ conformity.
44c6376c 18074 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
95dfdbd2
ST
18075 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
18076 Process mig output through $(migheadersed).
18077 * hurd/Makefile (migheadersed): Define variable.
a726c87a
ST
18078 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
18079 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
18080 headers.
ba89615d
ST
18081 * hurd/hurd.h: Include <bits/types/sigset_t.h>
18082 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
18083 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
18084 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
18085 <bits/types/sigset_t.h>.
18086 [!defined __USE_GNU]: Do not #error out.
18087 (struct hurd_sigstate): Use _NSIG instead of NSIG.
18088 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
18089 Include <stddef.h> and <bits/types/sigset_t.h>
18090 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
18091 instead of sighandler_t.
974393ea
ST
18092 * stdlib/errno.h (error_t): Move definition to...
18093 * bits/types/error_t.h: ... new header.
18094 * stdlib/Makefile (headers): Add bits/types/error_t.h.
18095 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
18096 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
18097 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
18098 * hurd/hurd.h: Include <bits/types/error_t.h>
18099 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
18100 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
18101 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
18102 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
18103 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
18104 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
8d965cde 18105 * sysdeps/mach/hurd/futimens.c: New file.
eb1ca47e 18106
eaf6753f
AS
181072018-03-03 Andreas Schwab <schwab@linux-m68k.org>
18108
18109 [BZ #22918]
18110 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
18111 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
18112 * nscd/gai.c (__nss_hosts_database): Readd definition.
18113 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
18114 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
18115 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
18116
4dc23804
JM
181172018-03-02 Joseph Myers <joseph@codesourcery.com>
18118
18119 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
18120 (ifunc_one): Likewise.
18121
1c81d55f
DD
181222018-03-01 DJ Delorie <dj@delorie.com>
18123
18124 [BZ #22342]
18125 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
18126 key value.
18127
b717c14f
MR
181282018-03-01 Maciej W. Rozycki <macro@mips.com>
18129
18130 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
18131 `match_pid' parameter.
18132 (td_ta_thr_iter): Update accordingly.
18133
1efe1358
FW
181342018-03-01 Florian Weimer <fweimer@redhat.com>
18135
18136 * nptl/Makefile (install-lib-ldscripts): Remove.
18137 (install): Remove rule.
18138 ($(inst_libdir)/libpthread.so): Likewise.
18139
a527f09c
MF
181402018-03-01 Mike FABIAN <mfabian@redhat.com>
18141
18142 [BZ #22896]
18143 * localedata/locales/an_ES: update month and day names,
18144 improve d_fmt, improve postal_fmt, add country_post,
18145 add country_isbn
18146
35d660b0
MF
181472018-03-01 Mike FABIAN <mfabian@redhat.com>
18148
18149 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
18150 Ukrainian instead of Bulgarian.
18151
1a2f44a8
FW
181522018-03-01 Florian Weimer <fweimer@redhat.com>
18153
18154 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
18155 reference.
18156
bd60ce86
FW
181572018-03-01 Florian Weimer <fweimer@redhat.com>
18158
18159 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
18160 * nptl/Makefile (routines): Add pthread_atfork.
18161 (static-only-routines): Set to pthread_atfork.
18162 (libpthread-routines): Remove pthread_atfork.
18163 (libpthread-static-only-routines): Remove.
18164 (install): Update comment.
18165 (libpthread.so): Do not install libpthread_nonshared.a.
18166 (tests): Do not link with libpthread_nonshared.a.
18167 (generated): Remove libpthread_nonshared.a.
18168 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
18169 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
18170 with libpthread_nonshared.a.
18171
000f290f
JM
181722018-02-28 Joseph Myers <joseph@codesourcery.com>
18173
e2bcf6a8
JM
18174 [BZ #22902]
18175 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
18176 (libc_feholdexcept_setroundf128): New macro.
18177 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
18178
000f290f
JM
18179 [BZ #15105]
18180 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
18181 libc_hidden_def.
18182 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
18183 * include/inttypes.h: New file.
18184
02f2fead
JM
181852018-02-27 Joseph Myers <joseph@codesourcery.com>
18186
18187 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
18188 -Os in two more places.
18189
874c56d7
MF
181902018-02-27 Mike FABIAN <mfabian@redhat.com>
18191
18192 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
18193 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
18194 be sorted correctly at the moment because of a bug.
18195
15973854
MF
181962018-02-27 Mike FABIAN <mfabian@redhat.com>
18197
18198 [BZ #22550] - es_ES locale (and other es_* locales): collation should
18199 treat ñ as a primary different character, sync the collation
18200 for Spanish with CLDR.
18201 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
18202 * localedata/Makefile: Add new test files.
18203 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
18204 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
18205 collation order.
18206 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
18207 * localedata/am_ET.UTF-8.in: New test file.
18208 * localedata/az_AZ.UTF-8.in: Likewise.
18209 * localedata/be_BY.UTF-8.in: Likewise.
18210 * localedata/ber_DZ.UTF-8.in: Likewise.
18211 * localedata/ber_MA.UTF-8.in: Likewise.
18212 * localedata/bg_BG.UTF-8.in: Likewise.
18213 * localedata/br_FR.UTF-8.in: Likewise.
18214 * localedata/cmn_TW.UTF-8.in: Likewise.
18215 * localedata/crh_UA.UTF-8.in: Likewise.
18216 * localedata/csb_PL.UTF-8.in: Likewise.
18217 * localedata/cv_RU.UTF-8.in: Likewise.
18218 * localedata/cy_GB.UTF-8.in: Likewise.
18219 * localedata/dz_BT.UTF-8.in: Likewise.
18220 * localedata/eo.UTF-8.in: Likewise.
18221 * localedata/es_ES.UTF-8.in: Likewise.
18222 * localedata/fa_IR.UTF-8.in: Likewise.
18223 * localedata/fi_FI.UTF-8.in: Likewise.
18224 * localedata/fil_PH.UTF-8.in: Likewise.
18225 * localedata/fur_IT.UTF-8.in: Likewise.
18226 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
18227 * localedata/ha_NG.UTF-8.in: Likewise.
18228 * localedata/ig_NG.UTF-8.in: Likewise.
18229 * localedata/ik_CA.UTF-8.in: Likewise.
18230 * localedata/kk_KZ.UTF-8.in: Likewise.
18231 * localedata/ku_TR.UTF-8.in: Likewise.
18232 * localedata/ky_KG.UTF-8.in: Likewise.
18233 * localedata/ln_CD.UTF-8.in: Likewise.
18234 * localedata/mi_NZ.UTF-8.in: Likewise.
18235 * localedata/ml_IN.UTF-8.in: Likewise.
18236 * localedata/mn_MN.UTF-8.in: Likewise.
18237 * localedata/mr_IN.UTF-8.in: Likewise.
18238 * localedata/mt_MT.UTF-8.in: Likewise.
18239 * localedata/nb_NO.UTF-8.in: Likewise.
18240 * localedata/om_KE.UTF-8.in: Likewise.
18241 * localedata/os_RU.UTF-8.in: Likewise.
18242 * localedata/ps_AF.UTF-8.in: Likewise.
18243 * localedata/ro_RO.UTF-8.in: Likewise.
18244 * localedata/ru_RU.UTF-8.in: Likewise.
18245 * localedata/sc_IT.UTF-8.in: Likewise.
18246 * localedata/se_NO.UTF-8.in: Likewise.
18247 * localedata/sq_AL.UTF-8.in: Likewise.
18248 * localedata/sv_SE.UTF-8.in: Likewise.
18249 * localedata/szl_PL.UTF-8.in: Likewise.
18250 * localedata/tg_TJ.UTF-8.in: Likewise.
18251 * localedata/tk_TM.UTF-8.in: Likewise.
18252 * localedata/tt_RU.UTF-8.in: Likewise.
18253 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
18254 * localedata/ug_CN.UTF-8.in: Likewise.
18255 * localedata/uz_UZ.UTF-8.in: Likewise.
18256 * localedata/vi_VN.UTF-8.in: Likewise.
18257 * localedata/yi_US.UTF-8.in: Likewise.
18258 * localedata/yo_NG.UTF-8.in: Likewise.
18259 * localedata/zh_CN.UTF-8.in: Likewise.
18260 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
18261 file and fix bugs in the collation.
18262 * localedata/locales/az_AZ: Likewise.
18263 * localedata/locales/be_BY: Likewise.
18264 * localedata/locales/ber_DZ: Likewise.
18265 * localedata/locales/ber_MA: Likewise.
18266 * localedata/locales/bg_BG: Likewise.
18267 * localedata/locales/br_FR: Likewise.
18268 * localedata/locales/br_FR@euro: Likewise.
18269 * localedata/locales/ca_ES: Likewise.
18270 * localedata/locales/cns11643_stroke: Likewise.
18271 * localedata/locales/crh_UA: Likewise.
18272 * localedata/locales/cs_CZ: Likewise.
18273 * localedata/locales/csb_PL: Likewise.
18274 * localedata/locales/cv_RU: Likewise.
18275 * localedata/locales/cy_GB: Likewise.
18276 * localedata/locales/da_DK: Likewise.
18277 * localedata/locales/dz_BT: Likewise.
18278 * localedata/locales/en_CA: Likewise.
18279 * localedata/locales/eo: Likewise.
18280 * localedata/locales/es_CU: Likewise.
18281 * localedata/locales/es_EC: Likewise.
18282 * localedata/locales/es_ES: Likewise.
18283 * localedata/locales/es_US: Likewise.
18284 * localedata/locales/et_EE: Likewise.
18285 * localedata/locales/fa_IR: Likewise.
18286 * localedata/locales/fi_FI: Likewise.
18287 * localedata/locales/fil_PH: Likewise.
18288 * localedata/locales/fur_IT: Likewise.
18289 * localedata/locales/gez_ER@abegede: Likewise.
18290 * localedata/locales/ha_NG: Likewise.
18291 * localedata/locales/hr_HR: Likewise.
18292 * localedata/locales/hsb_DE: Likewise.
18293 * localedata/locales/hu_HU: Likewise.
18294 * localedata/locales/ig_NG: Likewise.
18295 * localedata/locales/ik_CA: Likewise.
18296 * localedata/locales/is_IS: Likewise.
18297 * localedata/locales/iso14651_t1_pinyin: Likewise.
18298 * localedata/locales/kk_KZ: Likewise.
18299 * localedata/locales/ku_TR: Likewise.
18300 * localedata/locales/ky_KG: Likewise.
18301 * localedata/locales/ln_CD: Likewise.
18302 * localedata/locales/lt_LT: Likewise.
18303 * localedata/locales/lv_LV: Likewise.
18304 * localedata/locales/mi_NZ: Likewise.
18305 * localedata/locales/ml_IN: Likewise.
18306 * localedata/locales/mn_MN: Likewise.
18307 * localedata/locales/mr_IN: Likewise.
18308 * localedata/locales/mt_MT: Likewise.
18309 * localedata/locales/nb_NO: Likewise.
18310 * localedata/locales/om_KE: Likewise.
18311 * localedata/locales/os_RU: Likewise.
18312 * localedata/locales/pl_PL: Likewise.
18313 * localedata/locales/ps_AF: Likewise.
18314 * localedata/locales/ro_RO: Likewise.
18315 * localedata/locales/ru_RU: Likewise.
18316 * localedata/locales/ru_UA: Likewise.
18317 * localedata/locales/sc_IT: Likewise.
18318 * localedata/locales/se_NO: Likewise.
18319 * localedata/locales/si_LK: Likewise.
18320 * localedata/locales/sq_AL: Likewise.
18321 * localedata/locales/sv_FI: Likewise.
18322 * localedata/locales/sv_FI@euro: Likewise.
18323 * localedata/locales/sv_SE: Likewise.
18324 * localedata/locales/szl_PL: Likewise.
18325 * localedata/locales/tg_TJ: Likewise.
18326 * localedata/locales/ti_ER: Likewise.
18327 * localedata/locales/tk_TM: Likewise.
18328 * localedata/locales/tl_PH: Likewise.
18329 * localedata/locales/tr_TR: Likewise.
18330 * localedata/locales/tt_RU: Likewise.
18331 * localedata/locales/tt_RU@iqtelif: Likewise.
18332 * localedata/locales/ug_CN: Likewise.
18333 * localedata/locales/uk_UA: Likewise.
18334 * localedata/locales/uz_UZ: Likewise.
18335 * localedata/locales/uz_UZ@cyrillic: Likewise.
18336 * localedata/locales/vi_VN: Likewise.
18337 * localedata/locales/yi_US: Likewise.
18338 * localedata/locales/yo_NG: Likewise.
18339
ce6636b0
MF
183402018-02-27 Mike FABIAN <mfabian@redhat.com>
18341
18342 * gen-locales.mk: Make test files which contain @ modifiers in their
18343 name work.
18344 * localedata/gen-locale.sh: Likewise.
18345
ac3a3b4b
MF
183462018-02-27 Mike FABIAN <mfabian@redhat.com>
18347
18348 * posix/tst-fnmatch.input: Fix results for range expressions
18349 for non C locales.
18350 * posix/tst-regexloc.c: Do not use a range expression for
18351 de_DE.ISO-8859-1 locale.
18352
770cbe14
MF
183532018-02-27 Mike FABIAN <mfabian@redhat.com>
18354
18355 * posix/bug-regex5.c: Fix test case because with the new
18356 iso14651_t1_common file, the da_DK locale now has 6 collating elements
18357 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
18358 file.
18359
0fc355d9
MF
183602018-02-27 Mike FABIAN <mfabian@redhat.com>
18361
18362 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
18363 downloaded from ISO, the collation order of @-. and space has changed.
18364 Therefore, this test file needed to be adapted.
18365 * localedata/fr_CA.UTF-8.in: Likewise.
18366 * localedata/fr_FR.UTF-8.in: Likewise.
18367 * localedata/uk_UA.UTF-8.in: Likewise.
18368
43f3893f
MF
183692018-02-27 Mike FABIAN <mfabian@redhat.com>
18370
18371 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
18372 order of ȥ in the new iso14651_t1_common file.
18373 * localedata/pl_PL.UTF-8.in: Likewise.
18374
df74ef78
MF
183752018-02-27 Mike FABIAN <mfabian@redhat.com>
18376
18377 * localedata/locales/iso14651_t1_common: Add sections for various
18378 scripts to the iso14651_t1_common file.
18379
d5adfbad
MF
183802018-02-27 Mike FABIAN <mfabian@redhat.com>
18381
18382 * localedata/locales/iso14651_t1_common: Use the code point of a
18383 character in the fourth collation level instead of IGNORE for all
18384 entries which have IGNORE on all 4 levels.
18385
5f5a9610
MF
183862018-02-27 Mike FABIAN <mfabian@redhat.com>
18387
18388 * localedata/locales/iso14651_t1_common: Add some convenient collation
18389 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
18390 rules similar to those in CLDR.
18391
8a97e900
MF
183922018-02-27 Mike FABIAN <mfabian@redhat.com>
18393
18394 * localedata/locales/iso14651_t1_common: The new version of this
18395 file downloaded from ISO contained several syntax errors which
18396 are fixed by this patch.
18397
bbdd2fba
MF
183982018-02-27 Mike FABIAN <mfabian@redhat.com>
18399
18400 * localedata/locales/iso14651_t1_common: replace all <U.....>
18401 with <U000.....> because glibc understands only 4 digit or 8 digit
18402
1569e551
MF
184032018-02-27 Mike FABIAN <mfabian@redhat.com>
18404
18405 * localedata/locales/iso14651_t1_common: Necessary changes
18406 to make the file downloaded from ISO usable by glibc.
18407
9479b6d5
MF
184082018-02-27 Mike FABIAN <mfabian@redhat.com>
18409
18410 [BZ #14095]
18411 * localedata/locales/iso14651_t1_common: Update file to
18412 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
18413
03b540b3
ST
184142018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18415
18416 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
18417 of <nptl/pthreadP.h>
18418 (thread_attr_compare): Move function to...
eb937a52 18419 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
03b540b3 18420 * sysdeps/nptl/timer_routines.h: ... new header.
7211eba6 18421 * sysdeps/mach/hurd/gai_misc.h: New file.
03b540b3 18422
20602c72
JM
184232018-02-26 Joseph Myers <joseph@codesourcery.com>
18424
f54d8f73
JM
18425 * string/strcoll_l.c: Include <libc-diag.h>.
18426 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
18427 declarations of seq1 and seq2.
18428
20602c72
JM
18429 [BZ #15105]
18430 * stdlib/atoi.c (atoi): Use libc_hidden_def.
18431 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
18432
f5f473a9
DL
184332018-02-26 Dmitry V. Levin <ldv@altlinux.org>
18434
18435 [BZ #22433]
18436 [BZ #22807]
18437 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
18438 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
18439 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
18440 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
18441 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
18442 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
18443
398c6fdd
TMQMF
184442018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18445
18446 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
18447 macros used in __ptrace_request.
18448
f5d1f629
L
184492018-02-23 H.J. Lu <hongjiu.lu@intel.com>
18450
18451 [BZ #22792]
18452 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
18453 to $(CC).
18454 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
18455 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
18456 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
18457 <tcb-offsets.h>.
18458
54412d20
JM
184592018-02-23 Joseph Myers <joseph@codesourcery.com>
18460
18461 [BZ #15105]
18462 * ctype/ctype.c (tolower): Use libc_hidden_def.
18463 (toupper): Likewise.
18464 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
18465 [!_ISOMAC] (toupper): Likewise.
18466
81be4b5e
MF
184672018-02-23 Mike FABIAN <mfabian@redhat.com>
18468
18469 * localedata/Makefile: Remove --quiet argument when
18470 installing locales
18471
9d5cfd8e
MF
184722018-02-23 Mike FABIAN <mfabian@redhat.com>
18473
18474 [BZ #17438]
18475 * localedata/locales/pt_BR (LC_TIME): use / instead of -
18476 in d_fmt.
18477 * localedata/locales/pt_PT (LC_TIME): likewise
18478
6c7269f3
MF
184792018-02-23 Mike FABIAN <mfabian@redhat.com>
18480
18481 [BZ #22646]
18482 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
18483 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
18484 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
18485
92aabad9
AZ
184862018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18487
4cdc25a4
AZ
18488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18489
27761a10
AZ
18490 * nptl/Makefile (routines): Remove unregister-atfork.
18491 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
18492 (fork_handler_alloc): Remove function.
18493 (fork_handlers, fork_handler_init): New variables.
18494 (__fork_lock): Rename to atfork_lock.
18495 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
18496 to use a dynamic array to add/remove atfork handlers.
18497 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
18498 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
18499 Remove declaration.
18500 (fork_handler): Remove next, refcntr, and need_signal member.
18501 (__run_fork_handler_type): New enum.
18502 (__run_fork_handlers): New prototype.
18503 * nptl/register-atfork.c: Remove file.
18504 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
18505
92aabad9
AZ
18506 * sysdeps/nptl/nptl-signals.h: Move to ...
18507 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
18508 comments.
18509 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
18510 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
18511 unnecessary check for SIGTIMER.
18512 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
18513 remove unnecessary removal of SIGTIMER.
18514 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
18515 include-signals.h rename.
18516 * nptl/pthreadP.h: Likewise.
18517 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
18518 __is_internal_signal instead of __nptl_is_internal_signal.
18519
6b5c8607 185202018-02-22 Andrew Waterman <andrew@sifive.com>
fdcc6253 18521
7e04eb29 18522 [BZ # 22884]
fdcc6253
AW
18523 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
18524 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
18525 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
18526 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
18527
8090720a
DD
185282018-02-22 DJ Delorie <dj@delorie.com>
18529
18530 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
18531
6ca24c43
SP
185322018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
18533
18534 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
18535 do_misaligned, not misaligned8.
18536
e9537ddd
SE
185372018-02-22 Steve Ellcey <sellcey@cavium.com>
18538
18539 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
18540 Add memcpy_thunderx2.
18541 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
18542 Increment to 4.
18543 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
18544 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
18545 and IS_THUNDERX2PA checks.
18546 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
18547 Use macro to set name appropriately.
18548 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
18549 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
18550 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
18551 New macro.
18552 (IS_THUNDERX2): New macro.
18553
6e336476
SL
185542018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
18555
18556 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18557
34957904
ZW
185582018-02-21 Zack Weinberg <zackw@panix.com>
18559
30bfee26
ZW
18560 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
18561 Define here, unconditionally.
18562 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
18563 * libio/libioP.h: Remove #if 0 blocks.
18564 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
18565 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
18566 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
18567
18568 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
18569 Assume weak_alias is always defined.
18570
18571 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
18572 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
18573 Remove #if 0 and #ifdef TODO blocks.
18574 Assume text_set_element is always defined.
18575
18576 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
18577 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
18578 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
18579
df6c012b
ZW
18580 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
18581 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
18582 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
18583 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
18584 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
18585 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
18586 Reformat bit flags for _flags field to make occupancy clearer.
18587 Update commentary.
18588 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
18589 Keep definitions consistent with those in libio/libio.h.
18590
18591 * libio/libio.h (_IO_file_flags): Remove macro.
18592 All uses changed to _flags.
18593
177aad3f
ZW
18594 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
18595 (__HAVE_COLUMN, _IO_BE): Don't define.
18596 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
18597 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
18598 * libio/libioP.h (EOF): Don't define.
18599 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
18600 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
18601 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
18602 testing _IO_UNIFIED_JUMPTABLES.
18603
9964a145
ZW
18604 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
18605 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
18606 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
18607 (_IO_size_t): Delete; all uses changed to size_t.
18608 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
18609 (_IO_off_t): Delete; all uses changed to off_t.
18610 (_IO_off64_t): Delete; all uses changed to off64_t.
18611 (_IO_pid_t): Delete; all uses changed to pid_t.
18612 (_IO_uid_t): Delete; all uses changed to uid_t.
18613 (_IO_wint_t): Delete; all uses changed to wint_t.
18614 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
18615 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
18616 (_IO_cookie_io_functions_t): Delete; all uses changed to
18617 cookie_io_functions_t.
18618 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
18619 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
18620 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
18621 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
18622
18623 * libio/iofopncook.c: Remove unnecessary forward declarations.
18624 * libio/iolibio.h: Correct outdated commentary.
18625 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
18626 * stdio-common/fxprintf.c (__fxprintf_nocancel):
18627 Remove unnecessary casts.
18628 * stdio-common/getline.c: Use _IO_getdelim directly.
18629 Don't redefine ssize_t.
18630 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
18631 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
18632 Remove outdated comments.
18633 * stdio-common/vfscanf.c: Don't redefine va_list.
18634
34957904
ZW
18635 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
18636 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
18637 Remove preprocessor conditionals on _LIBC and __USE_GNU,
18638 which are always true, and __cplusplus, which is always false.
18639
30ac923d
JM
186402018-02-21 Joseph Myers <joseph@codesourcery.com>
18641
039c721a
JM
18642 [BZ #15105]
18643 [BZ #19463]
18644 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
18645 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
18646 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
18647 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
18648 libc_hidden_proto.
18649 [!_ISOMAC] (putc_unlocked): Likewise.
18650 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
18651 define inline if [__USE_EXTERN_INLINES].
18652 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
18653 putc_unlocked.
18654
30ac923d
JM
18655 [BZ #15105]
18656 [BZ #19463]
18657 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
18658 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
18659 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
18660 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
18661 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
18662 getc_unlocked.
18663 * time/tzfile.c (__tzfile_read): Likewise.
18664
7ec5f946
MF
186652018-02-21 Mike FABIAN <mfabian@redhat.com>
18666
18667 [BZ #22517]
18668 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
18669
0d217f40
RJ
186702018-02-21 Rical Jasan <ricaljasan@pacific.net>
18671
18672 * io/fcntl.h: Fix a typo in a comment.
18673
862b4502
RJ
186742018-02-21 Rical Jasan <ricaljasan@pacific.net>
18675
18676 [BZ #22862]
18677 * include/features.h: Add _ISOC11_SOURCE to test for whether to
18678 define _DEFAULT_SOURCE.
18679 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
18680
999a6dab
FW
186812018-02-21 Florian Weimer <fweimer@redhat.com>
18682
18683 [BZ #20890]
18684 * elf/cache.c (save_cache): Call fsync on temporary file before
18685 renaming it.
18686 (save_aux_cache): Call fdatasync on temporary file before renaming
18687 it.
18688
52a01100
FW
186892018-02-21 Florian Weimer <fweimer@redhat.com>
18690
18691 [BZ #22787]
18692 * include/caller.h: Remove file.
18693 * elf/dl-caller.c: Likewise.
18694 * elf/Makefile (dl-routines): Remove dl-caller.
18695 (shared-only-routines): Do not add dl-caller.
18696 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
18697 __check_caller.
18698 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
18699 member.
18700 (dl_open_worker): Do not call __check_caller.
18701 (_dl_open): Do not set caller_dl_open member.
18702 * elf/rtld.c (_rtld_global_ro): Do not initialize
18703 _dl_check_caller member.
18704 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
18705 _dl_check_caller member.
18706 (_dl_check_caller): Remove declaration.
18707 * sysdeps/unix/sysv/linux/dl-execstack.c
18708 (_dl_make_stack_executable): Do not call __check_caller.
18709
b5bf62e4
ST
187102018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
18711
18712 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
315304d2 18713 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
b5bf62e4 18714
e8d190b9
RJ
187152018-02-20 Rical Jasan <ricaljasan@pacific.net>
18716
18717 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
18718 description.
18719
6a3962c4
RJ
187202018-02-20 Rical Jasan <ricaljasan@pacific.net>
18721
da81ae64 18722 [BZ #16335]
6a3962c4
RJ
18723 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
18724 of 199606L, 200112L, and 200809L.
18725 (_XOPEN_SOURCE): Document special values of 600 and 700.
18726 (_ISOC11_SOURCE): Document macro.
18727 (_ATFILE_SOURCE): Likewise.
18728 (_FORTIFY_SOURCE): Likewise.
18729
ec481ad8
JM
187302018-02-19 Joseph Myers <joseph@codesourcery.com>
18731
18732 [BZ #15105]
18733 [BZ #19463]
18734 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
18735 and define as weak alias of __ferror_unlocked. Use
18736 libc_hidden_weak.
18737 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
18738 libc_hidden_proto.
18739 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
18740 function if [__USE_EXTERN_INLINES].
18741 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
18742 ferror_unlocked.
18743
7d15ef84
RJ
187442018-02-19 Rical Jasan <ricaljasan@pacific.net>
18745
18746 [BZ #6889]
18747 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
18748
f8d79582
AJ
187492018-02-18 Aurelien Jarno <aurelien@aurel32.net>
18750
18751 [BZ #22818]
18752 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
18753 the GLIBC_2.1 version.
18754
56456a2a
AJ
187552018-02-18 Aurelien Jarno <aurelien@aurel32.net>
18756
18757 [BZ #21508]
18758 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
18759 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
18760 intl/tst-gettext-de.po from po/de.po by removing the
18761 POT-Creation-Date line.
18762 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
18763 ../po/de.po.
18764 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
18765 ../po/de.po.
18766
13768813
ST
187672018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
18768
18769 * mach/Makefile (headers): Add mach/param.h.
18770 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
18771 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
dd1efd8c
ST
18772 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
18773 (__ptsname_r): Move implementation to...
18774 (__ptsname_internal): ... new function. Add filling the STP
18775 structure.
13768813 18776
6aca1b61
JDA
187772018-02-17 John David Anglin <danglin@gcc.gnu.org>
18778
18779 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
18780 idouble to 1 ULP.
18781
16efad51
RJ
187822018-02-16 Rical Jasan <ricaljasan@pacific.net>
18783
18784 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
18785 syntax.
18786
87245073
SL
187872018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18788
18789 * nptl/Makefile (tst-mutex8-ENV): Delete.
18790 * nptl/tst-mutex8.c (check_type):
18791 Add runtime check if mutex will be elided.
18792
7fc03cf3
JM
187932018-02-15 Joseph Myers <joseph@codesourcery.com>
18794
db9881ec
JM
18795 [BZ #20980]
18796 [BZ #21234]
18797 * manual/install.texi (Configuring and compiling): Describe
18798 passing CC and CFLAGS on configure command line, not as
18799 environment variables. Use @code markup on those variables.
18800 Specify what options go in CC and what go in CFLAGS. Note the
18801 requirement to compile with optimization.
18802 * INSTALL: Regenerated.
18803
3785b31c
JM
18804 [BZ #18124]
18805 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
18806 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
18807 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
18808 __sigprocmask instead of sigprocmask.
18809 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
18810 Likewise.
18811 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
18812 __sigsetjmp and sigprocmask.
18813
055ac2a7
JM
18814 [BZ #15105]
18815 * include/argz.h (argz_next): Use libc_hidden_proto.
18816 (__argz_next): Likewise.
18817 * string-argz-next.c (__argz_next): Use libc_hidden_def.
18818 (argz_next): Use libc_hidden_weak.
18819
e4452a2d
JM
18820 [BZ #15105]
18821 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
18822 libc_hidden_proto.
18823 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
18824 libc_hidden_def.
18825
499b3153
JM
18826 [BZ #15105]
18827 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
18828 libc_hidden_proto.
18829 * libio/iofputs.c (fputs): Use libc_hidden_weak.
18830
7fc03cf3
JM
18831 [BZ #15105]
18832 [BZ #19463]
18833 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
18834 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
18835 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
18836 (__feof_unlocked): New declaration, and inline function if
18837 [__USE_EXTERN_INLINES].
18838 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
18839 instead of feof_unlocked.
18840 * intl/localealias.c [_LIBC] (FEOF): Likewise.
18841 * nss/nsswitch.c (nss_parse_file): Likewise.
18842 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
18843 Likewise.
18844 * time/getdate.c (__getdate_r): Likewise.
18845 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
18846 Define as macro to call __feof_unlocked.
18847
0c8a67a5
WD
188482018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
18849
18850 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
18851
610ee1fc
WD
188522018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
18853
18854 * math/Makefile: Remove mpexp.c and mplog.c
18855 * sysdeps/i386/fpu/mpexp.c: Delete file.
18856 * sysdeps/i386/fpu/mplog.c: Likewise.
18857 * sysdeps/ia64/fpu/mpexp.c: Likewise.
18858 * sysdeps/ia64/fpu/mplog.c: Likewise.
18859 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
18860 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
18861 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
18862 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
18863 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
18864 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
18865 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
18866 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
18867 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
18868 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18869 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
18870 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
18871 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18872 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
18873 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
18874 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18875
8e7196c8
SL
188762018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
18877
18878 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18879
4f55ad0b
AZ
188802018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18881
18882 * sysdeps/sh/libm-test-ulps: Update.
18883
261a851c
TMQMF
188842018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18885
18886 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
18887 idouble to 1 ULP.
18888
e16deca6
ZW
188892018-02-12 Zack Weinberg <zackw@panix.com>
18890
18891 [BZ #19239]
18892 * posix/sys/types.h: Don't include sys/sysmacros.h.
18893 * misc/sys/sysmacros.h: Remove the conditional deprecation
18894 warnings for the macros defined by this header.
18895
de800d83
SN
188962018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18897
18898 * manual/probes.texi: Remove slowexp probes.
18899 * math/Makefile: Remove slowexp.
18900 * sysdeps/generic/math_private.h (__slowexp): Remove.
18901 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
18902 document error bounds.
18903 * sysdeps/i386/fpu/slowexp.c: Remove.
18904 * sysdeps/ia64/fpu/slowexp.c: Remove.
18905 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
18906 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
18907 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
18908 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
18909 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
18910 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
18911 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
18912 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
18913 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
18914 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
18915 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
18916
c3d466cb
WD
189172018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
18918
18919 [BZ #13932]
18920 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
18921 * benchtests/pow-inputs: Update comment for slow path cases.
18922 * manual/probes.texi (slowpow_p10): Delete removed probe.
18923 (slowpow_p10): Likewise.
18924 * math/Makefile: Remove halfulp.c and slowpow.c.
18925 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
18926 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
18927 (__halfulp): Remove.
18928 (__slowpow): Remove.
18929 * sysdeps/i386/fpu/halfulp.c: Delete file.
18930 * sysdeps/i386/fpu/slowpow.c: Likewise.
18931 * sysdeps/ia64/fpu/halfulp.c: Likewise.
18932 * sysdeps/ia64/fpu/slowpow.c: Likewise.
18933 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
18934 improve comments and add error analysis.
18935 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
18936 (power1): Remove function:
18937 (log1): Remove error argument, add error analysis.
18938 (my_log2): Remove function.
18939 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
18940 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18941 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
18942 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
18943 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
18944 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
18945 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
18946 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
18947 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
18948 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
18949 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
18950 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18951 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
18952 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18953
7bb087bd
ST
189542018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
18955
18956 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
18957 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
18958
2fd4bbaa
DL
189592018-02-10 Dmitry V. Levin <ldv@altlinux.org>
18960
18961 [BZ #22433]
18962 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
18963 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
18964 and PTRACE_SETHBPREGS.
18965
402ecba4
ZW
189662018-02-10 Zack Weinberg <zackw@panix.com>
18967
18968 [BZ #22830]
18969 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
18970 correctly.
18971 * malloc/tst-malloc-stats-cancellation.c: New test case.
18972 * malloc/Makefile: Add new test case.
18973
4f5b921e
WD
189742018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
18975
18976 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
18977
a85b70db
JM
189782018-02-10 Joseph Myers <joseph@codesourcery.com>
18979
d8742dd8
JM
18980 * math/Makefile (libm-narrow-fns): Add add.
18981 (libm-test-funcs-narrow): Likewise.
18982 * math/Versions (GLIBC_2.28): Add narrowing add functions.
18983 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
18984 * math/gen-auto-libm-tests.c (test_functions): Add add.
18985 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
18986 (NARROW_ADD_ROUND_TO_ODD): Likewise.
18987 (NARROW_ADD_TRIVIAL): Likewise.
18988 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
18989 macro.
18990 (__daddl): Likewise.
18991 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
18992 dadd.
18993 (CFLAGS-nldbl-dadd.c): New variable.
18994 (CFLAGS-nldbl-fadd.c): Likewise.
18995 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
18996 __nldbl_daddl.
18997 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
18998 prototype.
18999 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
19000 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
19001 * math/auto-libm-test-in: Add tests of add.
19002 * math/auto-libm-test-out-narrow-add: New generated file.
19003 * math/libm-test-narrow-add.inc: New file.
19004 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
19005 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
19006 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
19007 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
19008 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
19009 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
19010 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
19011 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
19012 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
19013 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
19014 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
19015 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
19016 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
19017 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
19018 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
19019 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
19020 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
19021 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
19022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19023 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
19024 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19025 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19026 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19027 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19028 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19029 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19030 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19031 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19032 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19033 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19034 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19035 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
19038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19040 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19041 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19042 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19043 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19044 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19045 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19046 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
19047 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
19048 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19049 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19050
a85b70db
JM
19051 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
19052 (f128-pairs): New variable.
19053 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
19054 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
19055 to CFLAGS.
19056 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
19057 Also make tests add $(f128-loader-link) to gnulib-tests.
19058
6a1ff640
DD
190592018-02-09 DJ Delorie <dj@redhat.com>
19060
19061 [BZ #22827]
19062 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
19063 64-bit ELF type for 64-bit ELF objects.
19064
bfd47587
JM
190652018-02-09 Joseph Myers <joseph@codesourcery.com>
19066
31958338
JM
19067 * math/libm-test-driver.c (snan_tests_arg): New variable.
19068 * math/libm-test-support.h (snan_tests_arg): New declaration.
19069 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
19070
8e554659
JM
19071 * math/Makefile (test-type-pairs): New variable.
19072 (test-type-pairs-f64xf128-yes): Likewise.
19073 (tests): Add test-narrow-macros.
19074 (libm-test-funcs-narrow): New variable.
19075 (libm-test-c-narrow): Likewise.
19076 (generated): Add $(libm-test-c-narrow).
19077 (libm-tests-base-narrow): New variable.
19078 (libm-tests-narrow): Likewise.
19079 (libm-tests): Add $(libm-tests-narrow).
19080 (libm-tests-for-type): Handle $(libm-tests-narrow).
19081 (libm-test-c-narrow-obj): New variable.
19082 ($(libm-test-c-narrow-obj)): New rule.
19083 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
19084 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
19085 $(o-iterator) to set dependencies and CFLAGS.
19086 * math/gen-auto-libm-tests.c: Document use for narrowing
19087 functions.
19088 (output_for_one_input_case): Take argument NARROW.
19089 (generate_output): Likewise. Update call to
19090 output_for_one_input_case.
19091 (main): Take --narrow option. Update call to generate_output.
19092 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
19093 (apply_lit): Update call to _apply_lit.
19094 (apply_arglit): New function.
19095 (parse_args): Handle "a" arguments.
19096 (parse_auto_input): Handle format names using ":".
19097 * math/README.libm-test: Document "a" parameter type.
19098 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
19099 (ARG_TYPE_TRUE_MIN): Likewise.
19100 (ARG_TYPE_MAX): Likwise.
19101 (ARG_MIN_EXP): Likewise.
19102 (ARG_MAX_EXP): Likewise.
19103 (ARG_MANT_DIG): Likewise.
19104 (TEST_COND_arg_ibm128): Likewise.
19105 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
19106 (TEST_COND_arg_fmt): New macro.
19107 (init_max_error): Update prototype.
19108 * math/libm-test-support.c (test_ibm128): New variable.
19109 (init_max_error): Take argument testing_ibm128 and set test_ibm128
19110 instead of using [TEST_COND_ibm128] conditional.
19111 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
19112 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
19113 [TEST_NARROW] (TEST_MSG): New definition.
19114 (arg_plus_zero): New macro.
19115 (arg_minus_zero): Likewise.
19116 (arg_plus_infty): Likewise.
19117 (arg_minus_infty): Likewise.
19118 (arg_qnan_value_pl): Likewise.
19119 (arg_qnan_value): Likewise.
19120 (arg_snan_value_pl): Likewise.
19121 (arg_snan_value): Likewise.
19122 (arg_max_value): Likewise.
19123 (arg_min_value): Likewise.
19124 (arg_min_subnorm_value): Likewise.
19125 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
19126 (RUN_TEST_LOOP_aa_f): New macro.
19127 (TEST_SUFF): New macro.
19128 (TEST_SUFF_STR): Likewise.
19129 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
19130 (TEST_COND_any_ibm128): New macro.
19131 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
19132 this_func. Update call to init_max_error.
19133 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
19134 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
19135 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
19136 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
19137 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
19138 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
19139 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
19140 * math/test-math-scalar.h (TEST_NARROW): Likewise.
19141 * math/test-math-vector.h (TEST_NARROW): Likewise.
19142 * math/test-arg-double.h: New file.
19143 * math/test-arg-float128.h: Likewise.
19144 * math/test-arg-float32x.h: Likewise.
19145 * math/test-arg-float64.h: Likewise.
19146 * math/test-arg-float64x.h: Likewise.
19147 * math/test-arg-ldouble.h: Likewise.
19148 * math/test-math-narrow.h: Likewise.
19149 * math/test-narrow-macros.c: Likewise.
19150 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
19151 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
19152 test-narrow-macros-ldbl-64.
19153 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
19154
63716ab2
JM
19155 * math/bits/mathcalls-narrow.h: New file.
19156 * include/bits/mathcalls-narrow.h: Likewise.
19157 * math/math-narrow.h: Likewise.
19158 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
19159 (__MATHCALL_NARROW_ARGS_2): Likewise.
19160 (__MATHCALL_NARROW_ARGS_3): Likewise.
19161 (__MATHCALL_NARROW_NORMAL): Likewise.
19162 (__MATHCALL_NARROW_REDIR): Likewise.
19163 (__MATHCALL_NARROW): Likewise.
19164 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
19165 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
19166 defined.
19167 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
19168 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
19169 (libm-narrow-fns): New variable.
19170 (libm-narrow-types-basic): Likewise.
19171 (libm-narrow-types-ldouble-yes): Likewise.
19172 (libm-narrow-types-float128-yes): Likewise.
19173 (libm-narrow-types-float128-alias-yes): Likewise.
19174 (libm-narrow-types): Likewise.
19175 (libm-routines): Add narrowing functions.
19176 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
19177 (libc_feholdexcept_setroundf128): New macro.
19178 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
19179 * sysdeps/ieee754/float128/float128_private.h: Include
19180 <math/math-narrow.h>.
19181 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
19182 Undefine and redefine.
19183 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
19184 (libm_alias_float_ldouble): Undefine and redefine.
19185 (libm_alias_double_ldouble): Likewise.
19186
bfd47587
JM
19187 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
19188
3f8d9d58
WD
191892018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
19190
19191 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
19192 FPCR/FPSR.
19193
1f6676d7
RJ
191942018-02-09 Rical Jasan <ricaljasan@pacific.net>
19195
19196 * manual/creature.texi: Convert references to gcc.info to gcc.
19197 * manual/stdio.texi: Likewise.
19198 * manual/string.texi: Likewise.
19199
d80441dd
JM
192002018-02-07 Joseph Myers <joseph@codesourcery.com>
19201
15081be9
JM
19202 [BZ #17979]
19203 * posix/bits/types.h (__int_least8_t): New typedef.
19204 (__uint_least8_t): Likewise.
19205 (__int_least16_t): Likewise.
19206 (__uint_least16_t): Likewise.
19207 (__int_least32_t): Likewise.
19208 (__uint_least32_t): Likewise.
19209 (__int_least64_t): Likewise.
19210 (__uint_least64_t): Likewise.
19211 * sysdeps/generic/stdint.h (int_least8_t): Define using
19212 __int_least8_t.
19213 (int_least16_t): Define using __int_least16_t.
19214 (int_least32_t): Define using __int_least32_t.
19215 (int_least64_t): Define using __int_least64_t.
19216 (uint_least8_t): Define using __uint_least8_t.
19217 (uint_least16_t): Define using __uint_least16_t.
19218 (uint_least32_t): Define using __uint_least32_t.
19219 (uint_least64_t): Define using __uint_least64_t.
19220 * wcsmbs/uchar.h: Include <bits/types.h>.
19221 (char16_t): Define using __uint_least16_t conditional only on
19222 [!__USE_ISOCXX11].
19223 (char32_t): Define using __uint_least32_t conditional only on
19224 [!__USE_ISOCXX11].
19225 * wcsmbs/test-char-types.c: New file.
19226 * wcsmbs/Makefile (tests): Add test-char-types.
19227
d80441dd
JM
19228 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
19229 version to 4.0.1.
19230
6c6c962a
ZW
192312018-02-07 Zack Weinberg <zackw@panix.com>
19232
63fb8f9a
ZW
19233 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
19234 Delete all contents except for definitions of _G_HAVE_MMAP and
19235 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
19236 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
19237 sysdeps/unix/sysv/linux/_G_config.h. Make same content
19238 change as above.
19239
19240 * libio/libio.h: Don't include bits/_G_config.h here.
19241 Include stddef.h with __need_wchar_t defined. Include
19242 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
19243 Define _IO_iconv_t here, directly.
19244 Don't define _IO_HAVE_ST_BLKSIZE.
19245 * libio/libioP.h: Include _G_config.h here. Move include of
19246 shlib-compat.h up with rest of includes. Simplify conditionals
19247 controlling definition of _IO_JUMPS_OFFSET.
19248
19249 * csu/init.c: Remove always-true #if around entire file.
19250 Don't include stdio.h. Set _IO_stdin_used to hardwired
19251 constant 0x20001, and update commentary.
19252 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
19253 Replace all uses of _G_va_list with __gnuc_va_list.
19254 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
19255 instead of #if _IO_HAVE_ST_BLKSIZE.
19256 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
19257 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
19258 not #ifdef.
19259
6c6c962a
ZW
19260 * libio/bits/libio.h: Move back to libio/libio.h and adjust
19261 multiple-include guard to match.
19262 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
19263 into this file.
19264 Remove preprocessor conditionals that are always true and/or
19265 redundant to other preprocessor conditionals in the same nest.
19266 Include shlib-compat.h unconditionally.
19267 Error out if _LIBC is not defined, or if _ISOMAC is defined,
19268 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
19269 defined after including stdio.h.
19270 Use __BEGIN_DECLS/__END_DECLS.
19271
19272 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
19273 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
19274 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
19275
a4fea3f2
ZW
192762018-02-07 Zack Weinberg <zackw@panix.com>
19277
19278 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
19279 New single-type headers split from _G_config.h.
19280 * libio/bits/types/cookie_io_functions_t.h
19281 * libio/bits/types/struct_FILE.h
19282 New single-type headers split from libio.h.
19283
19284 * libio/Makefile: Install the above new headers. Don't install
19285 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
19286 bits/libio-ldbl.h.
19287 * libio/_G_config.h, libio/libio.h: Delete file.
19288
19289 * libio/bits/libio.h: Remove improper-inclusion guard.
19290 Include stdio.h and don't repeat anything that it does.
19291 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
19292 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
19293 __io_read_fn as cookie_read_function_t,
19294 __io_write_fn as cookie_write_function_t,
19295 __io_seek_fn as cookie_seek_function_t,
19296 __io_close_fn as cookie_close_function_t,
19297 and _IO_cookie_io_functions_t as cookie_io_functions_t.
19298 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
19299 here, in the "compatibility defines" section. Remove an #if 0
6c6c962a 19300 block. Use the "body" macros from bits/types/struct_FILE.h to
a4fea3f2
ZW
19301 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
19302 and _IO_ferror_unlocked.
19303 Move prototypes of __uflow and __overflow...
19304
19305 * libio/stdio.h: ...here. Don't include bits/libio.h.
19306 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6c6c962a 19307 directly from stdarg.h. Include bits/types/__fpos_t.h,
a4fea3f2
ZW
19308 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
19309 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
19310 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
19311 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
19312 cookie_io_functions_t, not _IO_cookie_io_functions_t;
19313 __ssize_t, not _IO_ssize_t. Unconditionally define
19314 BUFSIZ as 8192 and EOF as (-1).
19315
19316 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
19317 macros from bits/types/struct_FILE.h instead of _IO_* macros
19318 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
19319 instead of _IO_ssize_t.
19320 * libio/bits/stdio2.h: Similarly.
19321
19322 * libio/iolibio.h: Add multiple-include guard.
19323 Include bits/libio.h after stdio.h.
19324 * libio/libioP.h: Add multiple-include guard.
19325 Include stdio.h and bits/libio.h before iolibio.h.
19326
6c6c962a 19327 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
a4fea3f2
ZW
19328 * include/bits/types/cookie_io_functions_t.h
19329 * include/bits/types/struct_FILE.h: New wrappers.
19330
19331 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6c6c962a
ZW
19332 Get definitions of _G_fpos_t and _G_fpos64_t from
19333 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
19334 respectively. Remove improper-inclusion guards.
a4fea3f2 19335
6c6c962a 19336 * conform/data/stdio.h-data: Update expectations of va_list.
a4fea3f2 19337 * scripts/check-installed-headers.sh: Remove special case for
6c6c962a 19338 libio.h and _G_config.h.
a4fea3f2 19339
ce999220
JM
193402018-02-07 Joseph Myers <joseph@codesourcery.com>
19341
8b4a1182
JM
19342 [BZ #15105]
19343 [BZ #19463]
19344 * include/sys/sysmacros.h [!_ISOMAC]
19345 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
19346 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
19347 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
19348 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
19349 libc_hidden_proto.
19350 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
19351 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
19352 Likewise.
19353 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
19354 Undefine and redefine to add use __gnu_dev_ prefix.
19355 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
19356 Likewise.
19357 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
19358 and define as hidden inline function.
19359 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
19360 Likewise.
19361 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
19362 Likewise.
19363 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
19364 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
19365 (gnu_dev_minor): Likewise.
19366 (gnu_dev_makedev): Likewise.
19367 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
19368 makedev.
19369 * posix/wordexp.c (exec_comm_child): Likewise.
19370 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
19371 instead of minor and __gnu_dev_major instead of major.
19372 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
19373 __gnu_dev_major instead of major.
19374 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
19375 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
19376 instead of gnu_dev_minor.
19377 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
19378 (SLAVE_P): Likewise.
19379 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
19380 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
19381 instead of major.
19382
ce999220
JM
19383 [BZ #21313]
19384 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
19385 in another place.
19386 * locale/weightwc.h (findidx): Likewise.
19387
b7c83ca3
WD
193882018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
19389
19390 * manual/probes.texi (slowlog): Delete documentation of removed probe.
19391 (slowlog_inexact): Likewise
19392 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
19393 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
19394
388ff7bd
IG
193952018-02-07 Igor Gnatenko <ignatenko@redhat.com>
19396
19397 [BZ #22797]
19398 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
19399 missing second underscore to parameter name.
19400
663e7d78
JM
194012018-02-06 Joseph Myers <joseph@codesourcery.com>
19402
0d40d0ec
JM
19403 [BZ #14508]
19404 [BZ #15512]
19405 [BZ #17082]
19406 [BZ #20530]
19407 * bits/byteswap.h: Update file comment. Do not include
19408 <bits/byteswap-16.h>.
19409 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
19410 constant.
19411 (__bswap_16): Define as inline function.
19412 (__bswap_constant_32): Reformat definition.
19413 (__bswap_32): Always define as inline function, not macro, using
19414 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
19415 otherwise __bswap_constant_32.
19416 (__bswap_constant_64): Reformat definition. Do not use
19417 __extension__ here.
19418 (__bswap_64): Always define as inline function, not macro. Use
19419 __extension__ on function definition. Use __builtin_bswap64 if
19420 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
19421 * string/test-endian-file-scope.c: New file.
19422 * string/test-endian-sign-conversion.c: Likewise.
19423 * string/Makefile (headers): Remove bits/byteswap-16.h.
19424 (tests): Add test-endian-file-scope and
19425 test-endian-sign-conversion.
19426 (CFLAGS-test-endian-sign-conversion.c): New variable.
19427 * bits/byteswap-16.h: Remove file.
19428 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
19429 * sysdeps/ia64/bits/byteswap.h: Likewise.
19430 * sysdeps/m68k/bits/byteswap.h: Likewise.
19431 * sysdeps/s390/bits/byteswap-16.h: Likewise.
19432 * sysdeps/s390/bits/byteswap.h: Likewise.
19433 * sysdeps/tile/bits/byteswap.h: Likewise.
19434 * sysdeps/x86/bits/byteswap-16.h: Likewise.
19435 * sysdeps/x86/bits/byteswap.h: Likewise.
19436
383e87c9
JM
19437 [BZ #17721]
19438 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
19439 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
19440 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
19441 199901L] (__restrict): Define to restrict.
19442
d92c2759
JM
19443 [BZ #19667]
19444 * string/testcopy.c: Include <support/support.h>. Do not include
19445 <malloc.h>. Use <support/test-driver.c>.
19446 (main): Rename to do_test. Make static. Use xmalloc instead of
19447 malloc.
19448
625fb764
JM
19449 [BZ #13575]
19450 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
19451 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
19452 (SSIZE_MAX): Define to INT_MAX.
19453 * posix/test-ssize-max.c: New file.
19454 * posix/Makefile (tests): Add test-ssize-max.
19455
02325d6c
JM
19456 [BZ #19668]
19457 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
19458 <support/support.h>. Do not include <malloc.h>.
19459 (query_auxv): Use xmalloc instead of malloc.
19460
663e7d78
JM
19461 [BZ #14553]
19462 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
19463 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
19464 instead of loff_t.
19465
6b5c8607 194662018-02-06 Florian Weimer <fweimer@redhat.com>
6d7aa2b5
FW
19467
19468 [BZ #18023]
19469 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19470 Use scratch_buffer instead of extend_alloca.
19471
de6da571
ZW
194722018-02-06 Zack Weinberg <zackw@panix.com>
19473
26c07172
ZW
19474 * libio/stdio.h: Don't define getc or putc as macros.
19475 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
19476 not _IO_getc and _IO_putc.
19477
de6da571
ZW
19478 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
19479 * stdio-common/tstgetln.c: Don't redefine ssize_t.
19480
92669d6e
JM
194812018-02-06 Joseph Myers <joseph@codesourcery.com>
19482
c2b84df9
JM
19483 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
19484 (TCP_FASTOPEN_NO_COOKIE): Likewise.
19485
41376f8c
JM
19486 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
19487
d28bf648
JM
19488 [BZ #14890]
19489 * elf/elf.h (NT_PRFPREG): New macro.
19490 (NT_S390_VXRS_LOW): Likewise.
19491 (NT_S390_VXRS_HIGH): Likewise.
19492 (NT_S390_GS_CB): Likewise.
19493 (NT_S390_GS_BC): Likewise.
19494 (NT_S390_RI_CB): Likewise.
19495
e76def72
JM
19496 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
19497 (MAP_SYNC): New macro.
19498 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
19499 Likewise.
19500 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
19501 (MAP_SYNC): Likewise.
19502 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
19503 (MAP_SYNC): Likewise.
19504 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
19505 (MAP_SYNC): Likewise.
19506 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
19507 (MAP_SYNC): Likewise.
19508 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
19509 (MAP_SYNC): Likewise.
19510 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
19511 (MAP_SYNC): Likewise.
19512 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
19513 Likewise.
19514 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
19515 Likewise.
19516
92669d6e
JM
19517 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
19518 (MAP_SHARED_VALIDATE): New macro.
19519 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
19520 (MAP_SHARED_VALIDATE): Likewise.
19521
6a5cac49
L
195222018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19523
19524 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
19525 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
19526 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
19527
b44e0dfb
L
195282018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19529
19530 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
19531 (DT_NUM): Updated to 35.
19532
f886c16c
L
195332018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19534
19535 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
19536 __builtin_expect with __glibc_likely and __glibc_unlikely.
19537 (elf_machine_rela): Likewise.
19538 (elf_machine_lazy_rel): Likewise.
19539
06fbebff
L
195402018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19541
19542 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8f4bf93f 19543 __builtin_expect with __glibc_likely and __glibc_unlikely.
06fbebff
L
19544 (elf_machine_lazy_rel): Likewise.
19545
371b220f
L
195462018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19547
19548 [BZ #22638]
19549 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
19550 SHARED.
65805016 19551 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
371b220f 19552
f649a1b8
AS
195532018-02-05 Andreas Schwab <schwab@suse.de>
19554
19555 [BZ #22761]
19556 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
19557 string.
19558
9fdb340e
ST
195592018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
19560
19561 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
19562 not check against PTHREAD_STACK_MIN.
19563
09e56b9e
SM
195642018-02-02 Sean McKean <smckean83@gmail.com>
19565
19566 [BZ #22735]
19567 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
19568
d4b4a00a
FW
195692018-02-02 Florian Weimer <fweimer@redhat.com>
19570
19571 [BZ #22753]
19572 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
19573 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
19574 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
19575 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
19576 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
19577 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
19578 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
19579 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
19580 * manual/llio.texi (Scatter-Gather): Mention offset -1.
19581 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
19582 * misc/tst-preadvwritev2.c (do_test): Call it.
19583 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
19584
3dfcbfa1
SP
195852018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
19586
84c94d2f
SP
19587 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
19588
96e6a716
SP
19589 * benchtests/bench-memcmp.c: Print json instead of plain text.
19590
3dfcbfa1
SP
19591 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
19592 every test run.
19593
049375e2
JM
195942018-02-01 Joseph Myers <joseph@codesourcery.com>
19595
39f898c6
JM
19596 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
19597 version to 4.15.
19598 (s390_sthyi): New syscall.
19599
6f9a3dd8
JM
19600 * sysdeps/generic/ldbl-classify-compat.h: New file.
19601 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
19602 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
19603 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
19604 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
19605 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
19606 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
19607 * sysdeps/ieee754/dbl-64/s_finite.c: Include
19608 <ldbl-classify-compat.h>.
19609 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19610 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
19611 <ldbl-classify-compat.h>.
19612 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19613 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
19614 <ldbl-classify-compat.h>.
19615 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19616 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
19617 <ldbl-classify-compat.h>.
19618 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19619 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
19620 <ldbl-classify-compat.h>.
19621 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19622 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
19623 <ldbl-classify-compat.h>.
19624 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19625 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
19626 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
19627 * sysdeps/m68k/coldfire/math_private.h: Remove file.
19628 * sysdeps/microblaze/math_private.h: Likewise.
19629 * sysdeps/nios2/math_private.h: Likewise.
19630 * sysdeps/sh/math_private.h: Likewise.
19631
eb65a3d5
JM
19632 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
19633 * sysdeps/m68k/coldfire/math_private.h: ... here.
19634 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
19635 * sysdeps/tile/math_private.h: Likewise.
19636 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
19637 Remove macro.
19638 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
19639 Likewise.
19640
8a6bb1d0
JM
19641 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
19642 Remove macro.
19643 (libc_fetestexcept): Likewise.
19644 (libc_feupdateenv_test): Likewise.
19645 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
19646 (libc_fetestexcept): Likewise.
19647 (libc_feupdateenv_test): Likewise.
19648 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
19649 (libc_fetestexcept): Likewise.
19650 (libc_feupdateenv_test): Likewise.
19651 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
19652 (libc_fetestexcept): Likewise.
19653 (libc_feupdateenv_test): Likewise.
19654
ae1fcb7b
JM
19655 * sysdeps/generic/math_private.h
19656 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
19657 New inline function.
19658 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
19659 Likewise.
19660
b1c347e2
JM
19661 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
19662 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
19663 * sysdeps/generic/math_private.h
19664 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
19665 inline function.
19666 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
19667 Likewise.
19668 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
19669 Likewise.
19670 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
19671 Likewise.
19672 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
19673 Likewise.
19674 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
19675 Likewise.
19676 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
19677 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
19678 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
19679 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
19680 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
19681 (__fegetenv): Likewise.
19682 (fesetenv): Likewise.
19683 (__fesetenv): Likewise.
19684 (feupdateenv): Likewise.
19685 (__feupdateenv): Likewise.
19686 (fegetround): Likewise.
19687 (__fegetround): Likewise.
19688 (fesetround): Likewise.
19689 (__fesetround): Likewise.
19690
d23a4962
JM
19691 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
19692 (feraiseexcept): New macro.
19693 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
19694 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
19695 Remove macro.
19696 (__feraiseexcept): Likewise.
19697 (feclearexcept): Likewise.
19698 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
19699 (__feraiseexcept): Likewise.
19700 (feclearexcept): Likewise.
19701 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
19702 (__feraiseexcept): Likewise.
19703 (feclearexcept): Likewise.
19704 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
19705 (__feraiseexcept): Likewise.
19706 (feclearexcept): Likewise.
19707 (fetestexcept): Likewise.
19708
5f167950
JM
19709 * sysdeps/m68k/coldfire/math-tests.h: New file.
19710
ccc9035a
JM
19711 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
19712 * sysdeps/m68k/bits/fenv.h: ... here.
19713 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
19714 not define.
19715 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
19716 Likewise.
19717 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
19718 Likewise.
19719 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
19720 Likewise.
19721 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
19722 Likewise.
19723 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
19724 Define to 0.
19725 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
19726 (__FE_UNDEFINED): New enum constant.
19727 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
19728 Do not define.
19729 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
19730 Likewise.
19731 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
19732 Likewise.
19733 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
19734 to match generic bits/fenv.h.
19735 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
19736 Do not define.
19737
049375e2
JM
19738 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
19739 packed on bits.
19740 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
19741 * soft-fp/half.h (union _FP_UNION_H): Likewise.
19742 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
19743 * soft-fp/single.h (union _FP_UNION_S): Likewise.
19744
f1d73681
CD
197452018-02-01 Carlos O'Donell <carlos@redhat.com>
19746 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
19747 Joseph Myers <joseph@codesourcery.com>
19748
19749 [BZ #21314]
19750 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
19751 (__log1p): Disable -Wmaybe-uninitialized for -Os around
19752 computation using c.
19753 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
19754 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
19755 computation using c.
19756
242cbc90
DL
197572018-02-01 Dmitry V. Levin <ldv@altlinux.org>
19758
086ee48e
DL
19759 * version.h (RELEASE): Set to "development".
19760 (VERSION): Set to "2.27.9000".
19761 * NEWS (2.28): New section.
19762
23158b08
DL
19763 * version.h (RELEASE): Set to "stable".
19764 (VERSION): Set to "2.27".
19765 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
19766
242cbc90
DL
19767 * NEWS: Add the list of bugs fixed in 2.27.
19768
673e2305
AZ
197692018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19770
19771 * stdlib/test-atexit-race-common.c (do_test): Check stack size
19772 against PTHREAD_STACK_MIN.
19773
ced64e01
DL
197742018-02-01 Dmitry V. Levin <ldv@altlinux.org>
19775
19776 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
19777 New entries.
19778 (Rafal Luzynski, Andreas Schwab): Update.
19779
c10c9a5e
RL
197802018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
19781
19782 [BZ #10871]
19783 * NEWS: List the languages which actually use the alternative
19784 months feature in this release. Also explain that "alt_mon" and
19785 "ab_alt_mon" are optional.
19786
650ba77a
IM
197872018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
19788
19789 [BZ #22765]
19790 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
19791
93493119
DL
197922018-01-31 Dmitry V. Levin <ldv@altlinux.org>
19793
19794 * manual/install.texi (Tools for Compilation): Update the newest
19795 versions of gcc, binutils, texinfo, gawk, bison, and sed.
19796 * INSTALL: Regenerated.
19797
363e4519 197982018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
407552cf
ST
19799
19800 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
19801 instead of __builtin_expect.
19802
d7536874
FW
198032018-01-30 Florian Weimer <fweimer@redhat.com>
19804
19805 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
19806 data.
19807 * nss/tst-nss-getpwent.c (do_test): Likewise.
19808
9a1b267d
RL
198092018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
19810
19811 [BZ #10871]
19812 * localedata/locales/hr_HR (mon): Rename to...
19813 (alt_mon): This.
19814 (mon): Import from CLDR (genitive case).
19815 (d_t_fmt): Update the comment.
19816
9a179328
AS
198172018-01-29 Andreas Schwab <schwab@linux-m68k.org>
19818
19819 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
19820 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
19821 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
19822
e01e0ddc
ST
198232018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19824
19825 * mach/Versions: Fix version when __mach_host_self_ was added.
19826 * hurd/Versions: Fix version when _hurd_exec_paths was added.
19827 * sysdeps/mach/hurd/i386/ld.abilist: New file.
19828 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
19829 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
19830 * sysdeps/mach/hurd/i386/libc.abilist: New file.
19831 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
19832 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
19833 * sysdeps/mach/hurd/i386/libm.abilist: New file.
19834 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
19835 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
19836 * sysdeps/mach/hurd/i386/librt.abilist: New file.
19837 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
ba729de6
ST
19838 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
19839 || to respect codestyle.
2aadb705
ST
19840 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
19841 (do_test_bz20181): Rename accordingly.
406e7a0a
ST
19842 * malloc/malloc.c: Include <assert.h>.
19843 (assert): Do not define.
19844 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
99dfbef4
ST
19845 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
19846 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
ac56adbb 19847 * sysdeps/mach/hurd/hp-timing.h: New file.
ef4cf463 19848 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
e01e0ddc 19849
521877e1
PD
198502018-01-29 Darius Rad <darius@bluespec.com>
19851
19852 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
19853
532cf290
PD
198542018-01-29 Palmer Dabbelt <palmer@sifive.com>
19855
19856 * sysdeps/init_array/crti.S (.section .init_array): Add
19857 PREINIT_FUNCTION when defined.
40ca951b 19858 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4215e276 19859 * config.h.in: Regenerate.
ba9e25a6
PD
19860 * manual/platform.texi: Add RISC-V documenation for
19861 __riscv_flush_icache.
c776fa11
PD
19862 * sysdeps/riscv/__longjmp.S: New file.
19863 * sysdeps/riscv/backtrace.c: Likewise.
19864 * sysdeps/riscv/bits/endian.h: Likewise.
19865 * sysdeps/riscv/bits/setjmp.h: Likewise.
19866 * sysdeps/riscv/bits/wordsize.h: Likewise.
19867 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
19868 * sysdeps/riscv/bsd-setjmp.c: Likewise.
19869 * sysdeps/riscv/dl-trampoline.S: Likewise.
19870 * sysdeps/riscv/gccframe.h: Likewise.
19871 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
19872 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
19873 * sysdeps/riscv/machine-gmon.h: Likewise.
19874 * sysdeps/riscv/memusage.h: Likewise.
19875 * sysdeps/riscv/setjmp.S: Likewise.
19876 * sysdeps/riscv/sys/asm.h: Likewise.
19877 * sysdeps/riscv/tls-macros.h: Likewise.
33712660
PD
19878 * sysdeps/riscv/dl-tls.h: New file.
19879 * sysdeps/riscv/libc-tls.c: Likewise.
19880 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
19881 * sysdeps/riscv/nptl/tls.h: Likewise.
19882 * sysdeps/riscv/stackinfo.h: Likewise.
67236aeb
PD
19883 * sysdeps/riscv/bits/fenv.h: New file.
19884 * sysdeps/riscv/e_sqrtl.c: Likewise.
19885 * sysdeps/riscv/fpu_control.h: Likewise.
19886 * sysdeps/riscv/math-tests.h: Likewise.
19887 * sysdeps/riscv/nofpu/Implies: Likewise.
19888 * sysdeps/riscv/sfp-machine.h: Likewise.
19889 * sysdeps/riscv/tininess.h: Likewise.
b2cb5e02
PD
19890 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
19891 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
19892 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
19893 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
19894 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
19895 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
19896 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
19897 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
19898 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
19899 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
19900 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
19901 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
19902 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
19903 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
19904 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
19905 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
19906 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
19907 * sysdeps/riscv/rvd/s_finite.c: Likewise.
19908 * sysdeps/riscv/rvd/s_fma.c: Likewise.
19909 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
19910 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
19911 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
19912 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
19913 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
19914 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
19915 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
19916 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
19917 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
19918 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
19919 * sysdeps/riscv/rvf/fegetround.c: Likewise.
19920 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
19921 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
19922 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
19923 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
19924 * sysdeps/riscv/rvf/fesetround.c: Likewise.
19925 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
19926 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
19927 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
19928 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
19929 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
19930 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
19931 * sysdeps/riscv/rvf/math_private.h: Likewise.
19932 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
19933 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
19934 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
19935 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
19936 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
19937 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
19938 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
19939 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
19940 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
19941 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
19942 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
19943 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
19944 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
19945 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
19946 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
19947 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
d1c09b24
PD
19948 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
19949 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
19950 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
19951 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
36960f0c
PD
19952 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
19953 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
19954 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
19955 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
19956 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
19957 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
19958 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
19959 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
19960 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7f33b09c
PD
19961 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
19962 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
19963 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
19964 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
19965 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
19966 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
19967 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
19968 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
19969 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
19970 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
19971 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
19972 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
19973 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
19974 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
19975 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
19976 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
19977 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
19978 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
19979 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
19980 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
19981 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
19982 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
ee53fed9
PD
19983 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
19984 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
19985 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2268c433
PD
19986 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
19987 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
19988 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
19989 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
19990 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
19991 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
19992 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
19993 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
19994 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
19995 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
19996 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19997 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
19998 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
19999 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
c5061557
PD
20000 * sysdeps/riscv/Implies: New file.
20001 * sysdeps/riscv/Makefile: Likewise.
20002 * sysdeps/riscv/configure: Likewise.
20003 * sysdeps/riscv/configure.ac: Likewise.
20004 * sysdeps/riscv/nptl/Makefile: Likewise.
20005 * sysdeps/riscv/preconfigure: Likewise.
20006 * sysdeps/riscv/rv64/Implies-after: Likewise.
20007 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
20008 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
20009 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
20010 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
20011 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
20012 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
20013 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
20014 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
20015 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
20016 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
20017 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
0fd5d876
PD
20018 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
20019 (Config): Likewise.
532cf290 20020
cdd14619
FW
200212018-01-29 Florian Weimer <fweimer@redhat.com>
20022
20023 [BZ #22701]
20024 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
20025 libnsl_hidden_proto.
20026 * include/rpcsvc/yp.h (yp_xdrall): Declare with
20027 libnsl_hidden_proto.
20028 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
20029 * nis/Makefile (libnsl-routines): Add nss-default only for
20030 build-obsolete-nsl.
20031 * nis/nis_defaults.c (__nis_default_ttl): Add
20032 libnsl_hidden_nolink_def.
20033 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
20034 declaration.
20035 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
20036 * nis/ypclnt.c (yp_maplist): Likewise.
20037
b7ccb5de
RN
200382018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
20039
20040 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20041 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
20042
522623e4
JM
200432018-01-29 Joseph Myers <joseph@codesourcery.com>
20044
e3aa6999
JM
20045 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
20046 clean -dxfq for git updates when replacing sources.
20047
088de7d0
JM
20048 * scripts/build-many-glibcs.py (Config.build_gcc): Use
20049 --disable-libcilkrts unconditionally, not just for the final GCC
20050 build for Hurd.
20051
522623e4
JM
20052 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
20053 version to 4.15.
20054
8b406f87
RL
200552018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20056
20057 [BZ #10871]
20058 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
20059 case).
20060
105e90bd
RL
200612018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20062
20063 [BZ #10871]
20064 * localedata/locales/be_BY (mon): Rename to...
20065 (alt_mon): This, then synchronize with CLDR (nominative case).
20066 (abmon): Rename to...
20067 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
20068 (mon): Import from CLDR (genitive case).
20069 (abmon): Likewise.
20070 * localedata/locales/be_BY@latin (mon): Rename to...
20071 (alt_mon): This.
20072 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
20073
20074 * localedata/locales/be_BY@latin (lang_name): Reworded to
20075 "biełaruskaja mova".
20076
561cb414
RL
200772018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20078
20079 [BZ #10871]
20080 * localedata/locales/el_CY (mon): Renamed to...
20081 (alt_mon): This.
20082 (mon): Import from CLDR (genitive case).
20083 * localedata/locales/el_GR: Likewise.
20084
f7bdf30d
RL
200852018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
20086
20087 [BZ #10871]
20088 * localedata/locales/ru_RU (mon): Rename to...
20089 (alt_mon): This.
20090 (abmon): Rename to...
20091 (ab_alt_mon): This.
20092 (mon): Import from CLDR (genitive case).
20093 (abmon): Copy from the old content except the 5th month which is
20094 now in the genitive case, even when abbreviated.
20095 * localedata/locales/ru_UA: Likewise.
20096 * time/tst-strptime.c (day_tests): Add an actual example of
20097 a difference between %b and %Ob in Russian.
20098
85285a0c
ST
200992018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
20100
20101 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
da8168df
ST
20102 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
20103 a `c' variable.
3538a4b6 20104 * resolv/res-close.c: Include <stdlib.h>.
b29848b9
ST
20105 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
20106 <sys/wait.h>, <time.h>, <sys/uio.h>.
20107 (NOT_CANCEL_H): Add inclusion guard.
4f66dc23 20108 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
147d1dbb
ST
20109 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
20110 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
20111 return 0.
05ebfe87
ST
20112 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
20113 vm_address_t * to ElfW(Addr) * for dl_main parameter.
61a3a8c6
ST
20114 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
20115 instead of void *.
20116 * sysdeps/pthread/timer_create.c (timer_create): Do not use
20117 timer_ptr2id to cast struct timer_node * to void *.
d4d5b2dd
ST
20118 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
20119 --disable-libcilkrts to gcc configure.
19fd8d0d
ST
20120 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
20121 and make them the default for now.
903d3633
ST
20122 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
20123 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7dab2d00
ST
20124 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
20125 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
20126 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
20127 MACH_IPC_COMPAT.
06fac9f5
ST
20128 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
20129 __task_terminate would ever return successfully.
f8177753
ST
20130 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
20131 to global scope.
41cdb1eb
ST
20132 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
20133 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
660b7bff
ST
20134 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
20135 critical section to make code simpler and avoid warning.
20136 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
20137 critical section to make code simpler and avoid warning.
844bf921
ST
20138 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
20139 const char * instead of char *.
f8bee46c
ST
20140 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
20141 __hurd_file_name_split, hurd_file_name_split,
20142 __hurd_directory_name_split, hurd_directory_name_split,
20143 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
20144 hurd_file_name_path_lookup): Make lookup function parameter take a
20145 const char *name instead of char *name.
20146 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
20147 __hurd_directory_name_split): Likewise.
20148 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
20149 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
40066975
ST
20150 * sysdeps/mach/hurd/check_native.c: New file.
20151 * sysdeps/mach/hurd/check_pf.c: New file.
7c5b106d
ST
20152 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
20153 (__freeifaddrs): Define macro to freeifaddrs.
5f982b0b
ST
20154 * sysdeps/mach/hurd/libhurduser.abilist: New file.
20155 * sysdeps/mach/libmachuser.abilist: New file.
cef7166a
ST
20156 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
20157 (do_test_bz20181): Rename accordingly.
20158 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3fc1ecf9
ST
20159 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
20160 <sys/mount.h>.
28f6186f
ST
20161 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
20162 version only if __USE_EXTERN_INLINES is defined.
20163 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
20164 __hurd_sockfail): Likewise.
20165 (_hurd_fd_get): Always declare functions, and provide inline versions
20166 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
20167 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
20168 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
20169 _hurd_port_set): Always declare functions, and provide inline versions
20170 only if __USE_EXTERN_INLINES and _LIBC are defined and
20171 IS_IN(libc).
20172 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
20173 _hurd_critical_section_unlock): Likewise.
20174 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
20175 * __hurd_threadvar_location): Likewise.
20176 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
20177 _hurd_userlink_clear): Likewise.
20178 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
20179 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
20180 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
20181 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
20182 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
20183 __spin_lock_locked): Likewise.
20184 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
20185 __spin_lock_locked): Likewise.
20186 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
20187 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
20188 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
20189 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
20190 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
b1025304
ST
20191 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
20192 _POSIX_NO_TRUNC): Define to 0.
a902a086
ST
20193 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
20194 check size against PTHREAD_STACK_MIN.
625ba81e
ST
20195 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
20196 IS_IN(libpthread)]: Include <sigsetops.h>.
2e52dff4
ST
20197 * mach/Makefile (user-interfaces): Add mach/gnumach.
20198 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
20199 * sysdeps/mach/configure (mach_interface_list): Regenerate.
80463dc6
ST
20200 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
20201 instead of invalid -1.
1f89ac71
ST
20202 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
20203 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
20204 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
20205 <net/ppp_defs.h>.
85285a0c 20206
1fd1e27c 202072018-01-27 Thomas Schwinge <tschwinge@gnu.org>
84814e2a
TS
20208
20209 * hurd/fcntl-internal.h: New file.
20210
3854c5a8
JC
202112018-01-27 James Clarke <jrtc27@jrtc27.com>
20212
7e23a7dd
JC
20213 * sysdeps/hppa/fpu/libm-test-ulps: Update.
20214
3854c5a8
JC
20215 * sysdeps/alpha/fpu/libm-test-ulps: Update.
20216
5503f413
AS
202172018-01-26 Andreas Schwab <schwab@linux-m68k.org>
20218
20219 [BZ #22701]
20220 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
20221 Build only shared objects.
20222
caaf7804
CD
202232018-01-26 Carlos O'Donell <carlos@redhat.com>
20224
20225 * README: Update for hppa.
20226
1cbf818d
PM
202272018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20228
caaf7804
CD
20229 * sysdeps/sparc/fpu/libm-test-ulps: Update
20230 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1cbf818d 20231
caaf7804 202322018-01-26 Carlos O'Donell <carlos@redhat.com>
2ec0e7ea
CD
20233
20234 Revert:
20235
20236 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20237
20238 [BZ #22563]
20239 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20240 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
20241 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20242 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
20243 to feature_1.
20244
20245 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20246
20247 [BZ #22563]
20248 * bits/types/__cancel_jmp_buf_tag.h: New file.
20249 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
20250 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
20251 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
20252 * nptl/Makefile (headers): Add
20253 bits/types/__cancel_jmp_buf_tag.h.
20254 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
20255 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
20256 * sysdeps/nptl/pthread.h: Include
20257 <bits/types/__cancel_jmp_buf_tag.h>.
20258 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
20259 __cancel_jmp_buf.
20260 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
20261
65f6c94e
RL
202622018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
20263
20264 [BZ #10871]
20265 * localedata/locales/uk_UA (mon): Renamed to...
20266 (alt_mon): This.
20267 (alt_digits): "0" removed and then renamed to...
20268 (mon): This.
20269 (date_fmt): Definition changed not to use the alternative
20270 digits hack.
20271
fb58aac5
PD
202722018-01-25 Palmer Dabbelt <palmer@sifive.com>
20273
20274 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
20275 FLAG_RISCV_FLOAT_ABI_DOUBLE.
20276 * elf/elf.h (EF_RISCV_RVC): New define.
20277 (EF_RISCV_FLOAT_ABI): Likewise.
20278 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
20279 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
20280 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
20281 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
20282 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
20283 define.
20284 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
20285
128c43a2
AS
202862018-01-25 Andreas Schwab <schwab@suse.de>
20287
20288 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
20289 single quotes.
20290 * sysdeps/gnu/configure: Regenerate.
20291 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
20292 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20294 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
20295 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
20296 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
20297 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
20298 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
20299
f9015003
ST
203002018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
20301
48130690 20302 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
47c4b4b0 20303 URL, and run autoconf, make it the default for now.
f9015003 20304
91b2cffa
JM
203052018-01-24 Joseph Myers <joseph@codesourcery.com>
20306
3005b705
JM
20307 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20308 soft-float ColdFire configuration.
20309
69231fab
JM
20310 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
20311 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
20312 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
20313
d4c7e1d0
JM
20314 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
20315 MicroBlaze file.
20316
0cfe5be5
JM
20317 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
20318 ....
20319 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
20320 ... here.
20321 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
20322 New file.
20323
91b2cffa
JM
20324 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
20325 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
20326 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
20327 file.
20328
c739e191
SN
203292018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
20330
20331 [BZ #22742]
20332 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
20333 Rename to __reserved and add comment.
20334 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
20335 Rename to __reserved.
20336
394b5bac
JM
203372018-01-24 Joseph Myers <joseph@codesourcery.com>
20338
20339 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20340 i686-gnu configurations.
20341 (Context.run_builds): Include mig, gnumach and hurd in components
20342 considered.
20343 (Context.checkout): Add mig, gnumach and hurd to components.
20344 (Context.checkout_tar): Add URL mappings for mig, gnumach and
20345 hurd.
20346 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
20347 (Config.build): Install gnumach headers, build mig and install
20348 hurd headers for 'gnu' OS.
20349 (Config.install_gnumach_headers): New function.
20350 (Config.install_hurd_headers): Likewise.
20351 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
20352 when building for 'gnu' OS.
20353
28c3f14f
TK
203542018-01-23 Tobias Klauser <tklauser@distanz.ch>
20355
20356 * manual/tunables.texi (Hardware Capability Tunables): Fix
20357 spelling.
20358
0f5e2da1
RJ
203592018-01-22 Rical Jasan <ricaljasan@pacific.net>
20360
20361 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
20362 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
20363 (ALTMON_11, ALTMON_12): Improve documentation.
20364 * manual/time.texi (strftime): Likewise.
20365
7817b14a
RL
203662018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20367
20368 [BZ #10871]
20369 * localedata/locales/pl_PL: Alternative month names added,
20370 primary month names are genitive now.
20371 * time/tst-strptime.c (day_tests): Actually use a genitive case
20372 of a month name in Polish language.
20373
22390764
RL
203742018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20375
20376 [BZ #10871]
20377 * manual/locale.texi: Document ALTMON_1..12 constants for
20378 nl_langinfo. Specify when to use ALTMON instead of MON.
20379 * manual/time.texi (strftime, strptime): Document GNU extension
20380 permitting O modifier with %B and %b. Specify when to use
20381 %OB instead of %B.
20382
761a585c
RL
203832018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20384
20385 [BZ #10871]
20386 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
20387 names, define them as the same as abbreviated month names explicitly.
20388 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
20389 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
20390 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
20391 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
20392 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
20393 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
20394 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
20395 _NL_WABALTMON_12): New enum constants.
20396 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
20397 wab_alt_mon, and ab_alt_mon_defined members.
20398 (time_output): Output ab_alt_mon and wab_alt_mon members.
20399 (time_read): Read them, initialize them as copies of abmon and wabmon
20400 respectively if they are missing, initialize ab_alt_mon_defined.
20401 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
20402 * locale/programs/locfile-kw.h: Regenerate.
20403 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
20404 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
20405 and ru_RU.UTF-8.
20406 * time/strftime_l.c (a_altmonth, aam_len): New macros.
20407 [!COMPILE_WIDE] (ABALTMON_1): New macro.
20408 (__strftime_internal): Handle %Ob and %Oh formats.
20409 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
20410 (__strptime_internal): Handle %Ob and %Oh formats.
20411 * time/tst-strptime.c (day_tests): Add more tests to parse different
20412 forms of month names including the new %Ob format specifier.
20413
95cb863a
RL
204142018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
20415
20416 [BZ #10871]
20417 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
20418 define them as the same as primary full month names explicitly.
20419 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
20420 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
20421 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
20422 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
20423 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
20424 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
20425 _NL_WALTMON_12): New enum constants.
20426 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
20427 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
20428 macros.
20429 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
20430 walt_mon, and alt_mon_defined members.
20431 (time_output): Output alt_mon and walt_mon members.
20432 (time_read): Read them, initialize them as copies of mon and wmon
20433 respectively if they are missing, initialize alt_mon_defined.
20434 * locale/programs/locfile-kw.gperf (alt_mon): Define.
20435 * locale/programs/locfile-kw.h: Regenerate.
20436 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
20437 * localedata/tst-langinfo.c (map): Add tests for the new constants
20438 ALTMON_1 .. ALTMON_12.
20439 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
20440 and pl_PL.UTF-8.
20441 * time/strftime_l.c (f_altmonth): New macro.
20442 (__strftime_internal): Handle %OB format.
20443 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
20444 (__strptime_internal): Handle %OB format.
20445 * time/tst-strptime.c (day_tests): Add tests to parse different forms
20446 of month names including the new %OB format specifier.
20447
4612268a
TMQMF
204482018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20449
20450 [BZ #22685]
20451 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
20452 from ABORT_TRANSACTION.
20453 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
20454 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
20455 ABORT_TRANSACTION_IMPL): Likewise.
20456 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
20457 Linux code, but remove the code that aborts transactions.
20458
64f63cb4
ST
204592018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
20460
20461 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
20462
32ac6e92
RL
204632018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
20464
20465 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
20466 in date: "2004-14-09" should be "2004-09-14".
20467 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
20468 "2003-15-09" should be "2003-09-15".
20469
8e448310
AS
204702018-01-18 Arjun Shankar <arjun@redhat.com>
20471
20472 [BZ #22343]
71aa429b 20473 [BZ #22774]
4590634f 20474 CVE-2018-6485
71aa429b 20475 CVE-2018-6551
8e448310
AS
20476 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
20477 after padding.
20478 (_int_memalign): check for integer overflow before calling
20479 _int_malloc.
20480 * malloc/tst-malloc-too-large.c: New test.
20481 * malloc/Makefile: Add tst-malloc-too-large.
20482
e234d7cb
RL
204832018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
20484
20485 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
20486 in date: "2017-24-07" should be "2017-07-24".
20487 * localedata/locales/mai_IN: Likewise.
20488 * localedata/locales/mai_NP: Likewise.
20489
48b66019
DL
204902018-01-17 Dmitry V. Levin <ldv@altlinux.org>
20491
20492 * po/ru.po: Update translations.
20493
1eeddc58
JM
204942018-01-17 Joseph Myers <joseph@codesourcery.com>
20495
20496 [BZ #22719]
20497 * sysdeps/hppa/backtrace.c: New file.
20498
207a72e2
L
204992018-01-17 H.J. Lu <hongjiu.lu@intel.com>
20500
20501 [BZ #22715]
20502 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
20503 align La_x86_64_retval to VEC_SIZE.
20504
4942c4ea
JM
205052018-01-16 Joseph Myers <joseph@codesourcery.com>
20506
20507 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
20508 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
20509
10d200db
FW
205102018-01-16 Florian Weimer <fweimer@redhat.com>
20511
20512 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
20513 Move tst-thread-exit-clobber ...
20514 [$(CXX)] (tests-unsupported): ... to here.
20515
953c49cc
SN
205162018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
20517
20518 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
20519 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
20520 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
20521 (_dl_aarch64_cap_flags): Update.
20522 (_DL_HWCAP_COUNT): Update.
20523
afce1991
SN
205242018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
20525
20526 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
20527 (_DL_HWCAP_LAST): Remove.
20528 (_DL_HWCAP_COUNT): Move to ...
20529 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
20530 (_DL_HWCAP_COUNT): ... here.
20531
b725132d
FW
205322018-01-16 Florian Weimer <fweimer@redhat.com>
20533
20534 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
20535 mode with GNU extensions.
20536
c9e613a7
AH
205372018-01-15 Alan Hayward <alan.hayward@arm.com>
20538
20539 * elf/elf.h (NT_ARM_SVE): Define.
20540
860b0240
FW
205412018-01-15 Florian Weimer <fweimer@redhat.com>
20542
20543 [BZ #22636]
20544 * nptl/tst-minstack-throw.cc: New file.
20545 * nptl/Makefile (tests): Add tst-minstack-throw.
20546 (LDLIBS-tst-minstack-throw): Link with libstdc++.
20547 [!CXX] (tests-unsupported): Add tst-minstack-throw.
20548
16d0f6ac
JM
205492018-01-15 Joseph Myers <joseph@codesourcery.com>
20550
20551 * scripts/build-many-glibcs.py (Context.checkout): Default
20552 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
20553 version to 1.1.0.
20554
505d3910
CD
205552018-01-13 Carlos O'Donell <carlos@redhat.com>
20556
20557 [BZ #22707]
20558 * elf/elf.h (DF_1_STUB): Define.
20559 (DF_1_PIE): Define.
20560
af1e6be4
TMQMF
205612018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20562
20563 [BZ #22697]
20564 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
20565 Do not add 0.5 to integer or out-of-range arguments.
20566
98d13ce0
DL
205672018-01-12 Dmitry V. Levin <ldv@altlinux.org>
20568
20569 * po/bg.po: Update translations.
20570 * po/cs.po: Likewise.
20571 * po/de.po: Likewise.
20572 * po/ko.po: Likewise.
20573 * po/pl.po: Likewise.
20574 * po/sv.po: Likewise.
20575 * po/uk.po: Likewise.
20576 * po/vi.po: Likewise.
20577
3d1d7928
SN
205782018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20579
20580 * aarch64/start.S (_start): Use __wrap_main.
20581 (__wrap_main): New local symbol.
20582
52a713fd
DL
205832018-01-12 Dmitry V. Levin <ldv@altlinux.org>
20584
20585 [BZ #22679]
20586 CVE-2018-1000001
20587 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
20588 generic_getcwd if the path returned by getcwd syscall is not absolute.
20589 * io/tst-getcwd-abspath.c: New test.
20590 * io/Makefile (tests): Add tst-getcwd-abspath.
20591
249a5895
IK
205922018-01-12 Istvan Kurucsai <pistukem@gmail.com>
20593
20594 * malloc/malloc.c (malloc_consolidate): Add size check.
20595
1a51e46e
FW
205962018-01-12 Florian Weimer <fweimer@redhat.com>
20597
20598 * support/write_message.c (write_message): Preserve errno.
20599 * support/check.c (print_failure): Likewise.
20600 * support/support_test_verify_impl.c (support_test_verify_impl):
20601 Likewise.
20602 * support/support_test_compare_failure.c
20603 (support_test_compare_failure): Likewise.
20604
9a08a366
FW
206052018-01-12 Florian Weimer <fweimer@redhat.com>
20606
20607 [BZ #22701]
20608 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
20609 Prevent installation of libnsl.so.
20610 (libnsl-inhibit-o): Do not build (or install) static libraries.
20611
80647883 206122018-01-12 Egmont Koblinger <egmont@gmail.com>
f172187b
EK
20613
20614 [BZ #22657]
20615 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
20616 before the day number which may produce a double space.
20617 (date_fmt): Likewise.
20618
c8924f1f
JM
206192018-01-12 Joseph Myers <joseph@codesourcery.com>
20620
20621 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
20622 instead of fegetenv.
20623
da09e6fa
JM
206242018-01-11 Joseph Myers <joseph@codesourcery.com>
20625
20626 [BZ #22702]
20627 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
20628 comment to say exceptions are discarded.
20629 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
20630 __fegetenv.
20631 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
20632 be enabled.
20633
08c6e952
FW
206342018-01-11 Florian Weimer <fweimer@redhat.com>
20635
20636 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
20637 and error message.
20638
d8b77890
FW
206392018-01-11 Florian Weimer <fweimer@redhat.com>
20640
20641 [BZ #22636]
20642 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
20643 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
20644
b303185d
JM
206452018-01-10 Joseph Myers <joseph@codesourcery.com>
20646
20647 [BZ #22693]
20648 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
20649 negative arguments in test for NaN or infinity argument.
20650
ee61d028
DL
206512018-01-10 Dmitry V. Levin <ldv@altlinux.org>
20652
20653 * po/libc.pot: Regenerate.
20654
f993b875
FW
206552018-01-10 Florian Weimer <fweimer@redhat.com>
20656
20657 [BZ #22636]
20658 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
20659 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
20660
09085ede
ST
206612018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20662
20663 * hurd/hurd/fd.h: Include <fcntl.h>
20664 (__hurd_at_flags): New function.
20665 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
20666 with call to __hurd_at_flags.
20667 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
20668 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
20669 __faccessat
20670 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
20671 (__access_noerrno): Use __faccessat_common instead of access_common.
20672 (__access): Likewise.
20673 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
20674 with a call to __faccessat.
20675 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
20676 (__faccessat_common): ... this. Move implementation of __access into it when
20677 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
20678 reauthenticate_cwdir_at helper to implement AT mechanism.
20679 (__faccessat_noerrno): New function, just calls __faccessat_common.
20680 (__faccessat): New function, just calls __faccessat_common.
20681 (faccessat): Define weak alias.
20682
12727488
JM
206832018-01-10 Joseph Myers <joseph@codesourcery.com>
20684
87faac55
JM
20685 [BZ #22691]
20686 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20687 (CFLAGS-s_fmaxmagl.c): New variable.
20688 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
20689
12727488
JM
20690 [BZ #22690]
20691 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
20692 long int for arguments of possibly overflowing addition or
20693 subtraction.
20694 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
20695
e134ca17
JM
206962018-01-09 Joseph Myers <joseph@codesourcery.com>
20697
b2584ac2
JM
20698 [BZ #22688]
20699 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20700 (CFLAGS-e_remainderl.c): New variable.
20701
e134ca17
JM
20702 [BZ #22687]
20703 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
20704 variable.
20705 (CFLAGS-s_cacoshl.c): Likewise.
20706 (CFLAGS-s_casinhl.c): Likewise.
20707 (CFLAGS-s_catanl.c): Likewise.
20708 (CFLAGS-s_catanhl.c): Likewise.
20709 (CFLAGS-s_cexpl.c): Likewise.
20710 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
20711 (CFLAGS-s_csinhl.c): Likewise.
20712 (CFLAGS-s_clogl.c): Likewise.
20713 (CFLAGS-s_clog10l.c): Likewise.
20714 (CFLAGS-s_csinl.c): Likewise.
20715 (CFLAGS-s_csqrtl.c): Likewise.
20716
d31a4a48
ST
207172017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
207182017-01-09 Svante Signell <svante.signell@gmail.com>
311ba8dc
ST
20719
20720 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
20721 (_hurd_exec_paths): New function.
20722 * hurd/hurd.h (_hurd_exec): Deprecate function.
20723 (_hurd_exec_paths): Declare function.
20724 * hurd/Versions: Export _hurd_exec_paths.
20725 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
20726 (__execve): Use __getcwd to build absolute path, and use
20727 _hurd_exec_paths instead of _hurd_exec.
20728 * sysdeps/mach/hurd/spawni.c: Likewise.
20729 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
20730 _hurd_exec.
20731
d7ff3f11
DL
207322018-01-08 Dmitry V. Levin <ldv@altlinux.org>
20733
20734 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
20735 test instead of failing in case of ENOENT returned by posix_openpt.
20736
401311cf
FW
207372018-01-08 Florian Weimer <fweimer@redhat.com>
20738
20739 resolv: Support binary labels in test framework.
20740 * support/resolv_test.c (struct to_be_freed): Remove.
20741 (struct compressed_name): New.
20742 (allocate_compressed_name, ascii_tolower)
20743 (compare_compressed_name): New functions.
20744 (struct resolv_response_builder): Update type of
20745 compression_offsets for use with tsearch. Rempve to_be_freed.
20746 (response_push_pointer_to_free): Remove function.
20747 (resolv_response_add_name): Rewrite using struct compressed_name
20748 and tsearch instead of hsearch_r.
20749 (response_builder_allocate): Remove initialization of
20750 compression_offsets.
20751 (response_builder_free): Update for removal of to_be_freed. Use
20752 tdestroy instead of hdestroy_r.
20753 * resolv/Makefile (tests): Add tst-resolv-binary.
20754 (tst-resolv-binary): Link with -lresolv -lpthread.
20755
2b3aa446
FW
207562018-01-08 Florian Weimer <fweimer@redhat.com>
20757
20758 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
20759 time. Pass positive flag instead of negative flag to
20760 support_test_compare_failure.
20761 (support_test_compare_failure): Change negative parameter to
20762 positive.
20763 * support/support_test_compare_failure.c (report)
20764 (support_test_compare_failure): Likewise.
20765 * support/tst-test_compare.c (return_ssize_t, return_int): New.
20766 (do_test): Check int/size_t, ssize_t/size_t comparisons.
20767
630f4cc3
SN
207682018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
20769
20770 [BZ #22637]
20771 * nptl/descr.h (stackblock, stackblock_size): Update comments.
20772 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
20773 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
20774 stacksize.
20775 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
20776
c70e4e9c
L
207772018-01-08 H.J. Lu <hongjiu.lu@intel.com>
20778
20779 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20780 Add s_sincosf-sse2 and s_sincosf-fma.
20781 (CFLAGS-s_sincosf-fma.c): New.
20782 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
20783 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
20784 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
20785 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
20786 __sincosf is defined.
20787
579396ee
FW
207882018-01-08 Florian Weimer <fweimer@redhat.com>
20789
20790 * nptl/tst-thread-exit-clobber.cc: New file.
20791 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
20792 C++11 mode.
20793 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
20794 (tests): Add tst-thread-exit-clobber.
20795 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
20796
dabd75b6
FW
207972018-01-08 Florian Weimer <fweimer@redhat.com>
20798
20799 * support/check.h (support_static_assert): Define.
20800 (TEST_COMPARE): Use it.
20801
c2e014cc
AJ
208022018-01-07 Aurelien Jarno <aurelien@aurel32.net>
20803
20804 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
20805 [!__RLIM_T_MATCHES_RLIM64_T]
20806 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
20807 __getrlimit64. Add libc_hidden_weak.
20808
31a98837
PD
208092018-01-06 Palmer Dabbelt <palmer@sifive.com>
20810
20811 * elf/elf.h (R_RISCV_NONE): New define.
20812 (R_RISCV_32): Likewise.
20813 (R_RISCV_64): Likewise.
20814 (R_RISCV_RELATIVE): Likewise.
20815 (R_RISCV_COPY): Likewise.
20816 (R_RISCV_JUMP_SLOT): Likewise.
20817 (R_RISCV_TLS_DTPMOD32): Likewise.
20818 (R_RISCV_TLS_DTPMOD64): Likewise.
20819 (R_RISCV_TLS_DTPREL32): Likewise.
20820 (R_RISCV_TLS_DTPREL64): Likewise.
20821 (R_RISCV_TLS_TPREL32): Likewise.
20822 (R_RISCV_TLS_TPREL64): Likewise.
00505532
PD
20823 * Makerules (make-link-multidir): Make directories before linking into
20824 them.
150bbac1
PD
20825 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
20826 define.
20827 (VDSO_HASH_LINUX_4_15): Likewise.
1598f3ad
PD
20828 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
20829 in subdirectories of lib.
8e13c51b
PD
20830 * nptl/Makefile (/librt.so): Always depend on
20831 "$(shared-thread-library)".
31a98837 20832
fad7d57e
ST
208332018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20834
20835 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4a5ce6e9
ST
20836 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
20837 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
20838 (___tls_get_addr).
20839 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
107a35a5
ST
20840 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
20841 "-O2 -march=i686".
01c7e549 20842 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
f417d92c
ST
20843 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
20844 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
20845 * sysdeps/gnu/glob-lstat-compat.c: New file.
20846 * sysdeps/gnu/glob64-lstat-compat.c: New file.
200fc24b 20847 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
fad7d57e 20848
3a32b716
TMQMF
208492018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20850
20851 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
20852 Reserve 16 chars to reloc_addr before calling _itoa_word.
20853
24731685
AJ
208542018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20855
20856 [BZ #22678]
20857 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
20858 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
20859
19be56d8
AJ
20860 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
20861 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
20862
a6d0afb5
AJ
20863 * resource/tst-getrlimit.c: Add copyright header.
20864
8e900969
AJ
208652018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20866 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20867
20868 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
20869 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
20870 Define __GI_getrlimit64 as weak alias of __getrlimit64.
20871 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
20872 instead.
20873 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
20874 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
20875 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
20876 RLIM64_INFINITY): Fix values to match the kernel ones.
20877 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
20878 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
20879 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
20880 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
20881 getrlimit64@@GLIBC_2_27.
20882 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
20883 and setrlimit64.
20884 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
20885 getrlimit, setrlimit, getrlimit64 and setrlimit64.
20886 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
20887 setrlimit, getrlimit64 and setrlimit64.
20888
0d0bc784
AJ
208892018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20890
20891 [BZ #22648]
20892 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
20893 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
20894
ba374b6d
JM
208952018-01-04 Joseph Myers <joseph@codesourcery.com>
20896
20897 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
20898 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
20899 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
20900
4854ddd8
AZ
209012018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20902
b0a4eca2
AZ
20903 [BZ #15479]
20904 [BZ #22666]
20905 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
20906 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
20907
4854ddd8
AZ
20908 [BZ #15479]
20909 [BZ #22665]
20910 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
20911 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
20912 * sysdeps/alpha/fpu/s_floor.c: Likewise.
20913 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
20914
8a5df95f
FW
209152018-01-04 Florian Weimer <fweimer@redhat.com>
20916
20917 [BZ #22667]
20918 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
20919 Align the stack before calling exit.
20920 * stdlib/tst-makecontext-align.c: New file.
20921 * stdlib/Makefile (tests): Add tst-makecontext-align.
20922
82eef55f
FW
209232018-01-04 Florian Weimer <fweimer@redhat.com>
20924
20925 Add support for calling dlvsym from libc.so.
20926 * include/dlfcn.h (__libc_dlvsym): Declare.
20927 * elf/Makefile (tests-static-internal): Add
20928 tst-libc_dlvsym-static.
20929 (tests-internal): Add tst-libc_dlvsym.
20930 (modules-names): Add tst-libc_dlvsym-dso.
20931 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
20932 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
20933 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
20934 object tst-libc_dlvsym-dso.so needs to be built before running
20935 these tests.
20936 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
20937 * elf/Versions: Export __libc_dlvsym.
20938 * elf/dl-libc.c (struct do_dlvsym_args): New.
20939 (do_dlvsym, __libc_dlvsym): New functions.
20940 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
20941 (_dl_open_hook2): New variable.
20942 (__libc_register_dl_open_hook): Set it.
20943 * elf/tst-libc_dlvsym-dso.c: New file.
20944 * elf/tst-libc_dlvsym-static.c: Likewise.
20945 * elf/tst-libc_dlvsym.c: Likewise.
20946 * elf/tst-libc_dlvsym.h: Likewise.
20947
1714fc06
ST
209482018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
20949
20950 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
20951 include <sys/mount.h>.
20952
3c7d0312
WD
209532018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
20954
20955 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
20956 Add __NO_MATH_ERRNO__ check.
20957
7eff0954
JM
209582018-01-02 Joseph Myers <joseph@codesourcery.com>
20959
20960 * sysdeps/mips/mips32/libm-test-ulps: Update.
20961 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20962
77f49956
FW
209632018-01-02 Florian Weimer <fweimer@redhat.com>
20964
20965 * misc/tst-pselect.c: Add copyright header.
20966
363e4519 209672018-01-02 Aurelien Jarno <aurelien@aurel32.net>
d35989be
AJ
20968
20969 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
20970 comment.
20971 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
20972 comment.
20973 (settrlimit): Rename into setrlimit.
20974 (__sttrlimit): Rename into __setrlimit.
20975
3e4226ff
AJ
20976 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
20977 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
20978 never defined in that case.
20979
b9256ab6
JM
209802018-01-02 Joseph Myers <joseph@codesourcery.com>
20981
28fd6a44
JM
20982 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
20983
a4933a15
JM
20984 * sysdeps/arm/libm-test-ulps: Update.
20985
b9256ab6
JM
20986 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
20987 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
20988
4cf82d23
RS
209892018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20990
20991 * NEWS: Add cosf and sincosf to list of optimized functions.
20992
6a9dd7a7
AJ
209932018-01-02 Aurelien Jarno <aurelien@aurel32.net>
20994
20995 [BZ #22660]
20996 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
20997 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
20998 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
20999 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
21000
dbba87d5
DL
210012018-01-01 Dmitry V. Levin <ldv@altlinux.org>
21002
b05cb613
DL
21003 [BZ #22433]
21004 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
21005
dbba87d5
DL
21006 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
21007 making a copy of it.
21008
688903eb
JM
210092018-01-01 Joseph Myers <joseph@codesourcery.com>
21010
66ac23de
JM
21011 * manual/texinfo.tex: Update to version 2017-12-26.21 with
21012 trailing whitespace removed.
21013 * scripts/config.guess: Update to version 2018-01-01.
21014 * scripts/config.sub: Update to version 2018-01-01.
21015 * scripts/move-if-change: Update from gnulib.
21016
09533208
JM
21017 * NEWS: Update copyright dates.
21018 * catgets/gencat.c (print_version): Likewise.
21019 * csu/version.c (banner): Likewise.
21020 * debug/catchsegv.sh: Likewise.
21021 * debug/pcprofiledump.c (print_version): Likewise.
21022 * debug/xtrace.sh (do_version): Likewise.
21023 * elf/ldconfig.c (print_version): Likewise.
21024 * elf/ldd.bash.in: Likewise.
21025 * elf/pldd.c (print_version): Likewise.
21026 * elf/sotruss.sh: Likewise.
21027 * elf/sprof.c (print_version): Likewise.
21028 * iconv/iconv_prog.c (print_version): Likewise.
21029 * iconv/iconvconfig.c (print_version): Likewise.
21030 * locale/programs/locale.c (print_version): Likewise.
21031 * locale/programs/localedef.c (print_version): Likewise.
21032 * login/programs/pt_chown.c (print_version): Likewise.
21033 * malloc/memusage.sh (do_version): Likewise.
21034 * malloc/memusagestat.c (print_version): Likewise.
21035 * malloc/mtrace.pl: Likewise.
21036 * manual/libc.texinfo: Likewise.
21037 * nptl/version.c (banner): Likewise.
21038 * nscd/nscd.c (print_version): Likewise.
21039 * nss/getent.c (print_version): Likewise.
21040 * nss/makedb.c (print_version): Likewise.
21041 * posix/getconf.c (main): Likewise.
21042 * scripts/test-installation.pl: Likewise.
21043 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
21044
688903eb
JM
21045 * All files with FSF copyright notices: Update copyright dates
21046 using scripts/update-copyrights.
21047 * locale/programs/charmap-kw.h: Regenerated.
21048 * locale/programs/locfile-kw.h: Likewise.
21049
4f820792
ZW
210502017-12-31 Zack Weinberg <zackw@panix.com>
21051
21052 * libio/bits/libio-ldbl.h: Correct check for improper
21053 inclusion. Add own multiple include guard.
21054
3e3c904d
AJ
210552017-12-30 Aurelien Jarno <aurelien@aurel32.net>
21056 Dmitry V. Levin <ldv@altlinux.org>
21057
21058 [BZ #22625]
31f96325 21059 CVE-2017-16997
3e3c904d
AJ
21060 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
21061 string token expansion. Check for NULL pointer or empty string possibly
21062 returned by expand_dynamic_string_token.
21063 (decompose_rpath): Check for empty path after dynamic string
21064 token expansion.
21065
7e21972b
DL
210662017-12-29 Dmitry V. Levin <ldv@altlinux.org>
21067
c48831d0
DL
21068 [BZ #22433]
21069 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
21070
ac583f50
DL
21071 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
21072 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
21073 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
21074 and PTRACE_SYSCALL.
21075 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
21076 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21077 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21078 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21079 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21080 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
21081
7e21972b
DL
21082 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
21083 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
21084 __ptrace_peeksiginfo_flags, ptrace): Move to ...
21085 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
21086 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21087 bits/ptrace-shared.h.
21088 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
21089 <bits/ptrace-shared.h>.
21090 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
21091 __ptrace_peeksiginfo_flags, ptrace): Remove.
21092 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21093 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21094 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21095 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21096 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
21097
72f29e3a
AJ
210982017-12-29 Aurelien Jarno <aurelien@aurel32.net>
21099
21100 [BZ #17804]
21101 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
21102 end of the loop. Improve comments.
21103
54e4efc2
AJ
211042017-12-29 Zack Weinberg <zackw@panix.com>
21105
21106 [BZ #22615]
21107 * manual/errno.texi (Checking for Errors): Explicitly say that errno
21108 might be set on success.
21109
f8aa69be
AJ
211102017-12-29 Aurelien Jarno <aurelien@aurel32.net>
21111
21112 [BZ #22611]
21113 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
21114 is unchanged on success.
21115
97f13188
DL
211162017-12-27 Dmitry V. Levin <ldv@altlinux.org>
21117
2bd86632
DL
21118 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
21119 updated.
21120 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
21121 expand_dynamic_string_token): Likewise.
21122 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
21123 is_path argument.
21124
1c36e1e6
DL
21125 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
21126 contains ':'.
21127
97f13188
DL
21128 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
21129 is set and name contains ':', and all code depending on these checks.
21130
48a8f832
ZW
211312017-12-24 Zack Weinberg <zackw@panix.com>
21132
21133 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
21134 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
21135 respectively.
21136 * libio/libio.h: Rename the original version of this file to
21137 libio/bits/libio.h. Error out if not included by stdio.h or the
21138 stub libio.h.
21139 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
21140 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
21141 if not included by bits/libio.h or the stub _G_config.h.
21142 * sysdeps/unix/sysv/linux/_G_config.h: Move to
21143 sysdeps/unix/sysv/linux/bits. Error out if not included by
21144 bits/libio.h or the stub _G_config.h.
21145 * libio/stdio.h: Include bits/libio.h, not libio.h.
21146 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
21147 well as libio.h and _G_config.h.
21148
21149 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
21150 * libio/strfile.h, stdio-common/vfscanf.c
21151 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
21152 Include stdio.h, not _G_config.h nor libio.h.
21153 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
21154 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
21155
21156 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
21157
a47ad79a
DL
211582017-12-23 Dmitry V. Levin <ldv@altlinux.org>
21159
21160 [BZ #22347]
21161 * stdlib/getrandom.c (getrandom): Fix comment.
21162 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
21163
363e4519 211642017-12-23 Aurelien Jarno <aurelien@aurel32.net>
e65a5644 21165
f5c558f3
AJ
21166 [BZ #21161]
21167 * manual/arith.texi (strtoul): Fix a typo.
21168
e65a5644
AJ
21169 [BZ #22596]
21170 * manual/arith.texi (finite): Fix the description of the return
21171 value.
21172
ed8ae46b
EB
211732017-12-22 Eric Blake <ebb9@byu.net>
21174
21175 Avoid gcc warnings on cygwin
21176 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
21177 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
21178 Avoid unused variable.
21179
bad7a0c8
FW
211802017-12-22 Florian Weimer <fweimer@redhat.com>
21181
21182 * io/Makefile (routines): Add copy_file_range.
21183 (tests): Add tst-copy_file_range.
21184 (tests-static, tests-internal): Add tst-copy_file_range-compat.
21185 * io/Versions (GLIBC_2.27): Export copy_file_range.
21186 * io/copy_file_range-compat.c: New file.
21187 * io/copy_file_range.c: Likewise.
21188 * io/tst-copy_file_range-compat.c: Likewise.
21189 * io/tst-copy_file_range.c: Likewise.
21190 * manual/llio.texi (Copying File Data): New section.
21191 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
21192 * support/Makefile (libsupport-routines): Add support-xfstat,
21193 xftruncate, xlseek.
21194 * support/support-xfstat.c: New file.
21195 * support/xftruncate.c: Likewise.
21196 * support/xlseek.c: Likewise.
21197 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
21198 * sysdeps/unix/sysv/linux/**.abilist: Update.
21199 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
21200
6cb86fd2
SN
212012017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
21202
21203 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21204 disable-multi-arch variant to aarch64-linux-gnu.
21205
41d11b15
JM
212062017-12-20 Joseph Myers <joseph@codesourcery.com>
21207
21208 * manual/texinfo.tex: Update to version 2017-12-18.20 with
21209 trailing whitespace removed.
21210 * scripts/config.guess: Update to version 2017-12-17.
21211 * scripts/config.sub: Update to version 2017-11-23.
21212 * scripts/install-sh: Update to version 2017-09-23.17.
21213 * scripts/move-if-change: Update to version 2017-09-13 06:45.
21214
4735850f
AZ
212152017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21216
8d2d239c
AZ
21217 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
21218 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
21219 * sysdeps/tile/_mcount.S (__mcount): Likewise.
21220 * sysdeps/tile/crti.S (_init, _fini): Likewise.
21221 * sysdeps/tile/crtn.S: Likewise.
21222 * sysdeps/tile/dl-start.S (_start): Likewise.
21223 * sysdeps/tile/dl-trampoline.S: Likewise.
21224 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
21225 * sysdeps/tile/start.S (_start): Likewise.
21226 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
21227 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
21228 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
21229 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
21230 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
21231 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
21232 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
21233
24d1d8ec
AZ
21234 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
21235 comment.
21236 * sysdeps/tile/preconfigure: Remove tilegx folder.
21237 * sysdeps/tile/tilegx/Implies: Move definitions to ...
21238 * sysdeps/tile/Implies: ... here.
21239 * sysdeps/tile/tilegx/Makefile: Move rules to ...
21240 * sysdeps/tile/Makefile: ... here.
21241 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
21242 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
21243 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
21244 * sysdeps/tile/bits/wordsize.h: ... here.
21245 * sysdeps/tile/tilegx/*: Move to ...
21246 * sysdeps/tile/*: ... here.
21247 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
21248 * sysdeps/tile/tilegx32/Implies: ... here.
21249 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
21250 * sysdeps/tile/tilegx64/Implies: ... here.
21251 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
21252 to ...
21253 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
21254 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
21255 * sysdeps/unix/sysv/linux/tile/*: ... here.
21256 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
21257 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
21258 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
21259 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
21260
ed95f611
AZ
21261 * README: Remove tilepro-*-linux-gnu from supported architecture.
21262 * scripts/build-many-glibcs.py: Likewise.
21263 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
21264 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
21265 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
21266 elf_machine_matches_host, elf_machine_dynamic,
21267 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
21268 howto, elf_machine_rela): Likewise.
21269 * sysdeps/tile/dl-start.S (_start): Likewise.
21270 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
21271 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
21272 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
21273 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
21274 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
21275 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
21276 Likewise.
21277 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
21278 * sysdeps/tile/preconfigure: Likewise.
21279 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
21280 POINTER_CHK_GUARD): Likewise.
21281 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
21282 * sysdeps/tile/start.S (_start): Likewise.
21283 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
21284 Likewise.
21285 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
21286 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
21287 CMOVNEZ): Remove.
21288 * sysdeps/unix/sysv/linux/tile/bits/environments.h
21289 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
21290 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
21291 Likewise.
21292 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
21293 * sysdeps/tile/tilepro/Implies: Remove file.
21294 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
21295 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
21296 * sysdeps/tile/tilepro/memchr.c: Likewise.
21297 * sysdeps/tile/tilepro/memcpy.S: Likewise.
21298 * sysdeps/tile/tilepro/memset.c: Likewise.
21299 * sysdeps/tile/tilepro/memusage.h: Likewise.
21300 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
21301 * sysdeps/tile/tilepro/strchr.c: Likewise.
21302 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
21303 * sysdeps/tile/tilepro/strlen.c: Likewise.
21304 * sysdeps/tile/tilepro/strrchr.c: Likewise.
21305 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
21306 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
21307 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
21308 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
21309 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
21310 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
21311 Likewise.
21312 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
21313 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21314 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
21315 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
21316 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21317 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
21318 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
21319 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
21320 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
21321 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
21322 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
21323 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
21324 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
21325 tilepro mention in comment.
21326
4735850f
AZ
21327 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
21328 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
21329 * nptl/pthread_join_common.c: New file: common function used on
21330 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
21331 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
21332 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
21333 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
21334 (cleanup): Move definition to pthread_join_common.c.
21335 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
21336 Remove superflous checks.
21337 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
21338 Likewise.
21339
8bfb461e
SN
213402017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
21341
21342 * sysdeps/aarch64/libm-test-ulps: Update.
21343
4e001969
AZ
213442017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21345
21346 * sysdeps/aarch64/memset.S (MEMSET): Define.
21347
8a26ad2a
FW
213482017-12-20 Florian Weimer <fweimer@redhat.com>
21349
21350 [BZ #22635]
21351 nptl: Provide full implementation of pthread_self in libc.so.
21352 * nptl/Makefile (routines): Add pthread_self.
21353 (libpthread-routines): Replace pthread_self with
21354 compat-pthread_self.
21355 * nptl/forward.c (pthread_self): Remove.
21356 * nptl/nptl-init.c (pthread_functions): Do not initialize
21357 ptr_pthread_self.
21358 * nptl/pthread_self.c (pthread_self): Remove weak alias.
21359 * nptl/compat-pthread_self.c: New file.
21360 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
21361 Remove ptr_pthread_self.
21362
5069ff32
AR
213632017-12-19 Arnold D. Robbins <arnold@skeeve.com>
21364
21365 * posix/regcomp.c: Fix spelling in comments.
21366 * posix/regex.h: Likewise.
21367 * posix/regex_internal.c: Likewise.
21368 * posix/regexec.c: Likewise.
21369
c85e54ac
GG
213702017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
21371
21372 [BZ #22377]
21373 * math/Makefile [C++] (tests): Add test for iseqsig.
21374 * math/math.h [C++] (iseqsig): New implementation, which does
21375 not rely on __MATH_TG/__builtin_types_compatible_p.
21376 * math/test-math-iseqsig.cc: New file.
21377 * sysdeps/powerpc/powerpc64le/Makefile
21378 (CFLAGS-test-math-iseqsig.cc): New variable.
21379
10e93d96
DL
213802017-12-19 Dmitry V. Levin <ldv@altlinux.org>
21381
21382 * elf/dl-load.c (is_trusted_path): Remove.
21383 (fillin_rpath): Remove check_trusted argument and its use,
21384 all callers changed.
21385
ce16eb52
L
213862017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21387
21388 [BZ #22630]
21389 * Makeconfig (link-pie-before-libc): Replace -pie with
21390 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
21391 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
21392 (tst-dlopen-aout-no-pie): New.
21393 (LDFLAGS-tst-prelink): Removed.
21394 (tst-prelink-no-pie): New.
21395 (LDFLAGS-tst-main1): Removed.
21396 (tst-main1-no-pie): New.
21397 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
21398 (tst-gmon-no-pie): New.
21399
126adc89
L
214002017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21401
21402 * manual/install.texi: Document that --enable-static-pie
21403 implies PIE.
21404 * INSTALL: Regenerated.
21405
648615e1
BE
214062017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
21407
21408 [BZ #21309]
21409 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
21410 unsigned.
21411
f1e00502
JM
214122017-12-19 Joseph Myers <joseph@codesourcery.com>
21413
21414 Revert:
21415
21416 2017-12-19 Joseph Myers <joseph@codesourcery.com>
21417
21418 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21419
21420 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21421
21422 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
21423 <errno.h>. Include "eexp.tbl".
21424 (half): New constant.
21425 (one): Likewise.
21426 (__ieee754_exp): Rewrite.
21427 (__slowexp): Remove prototype.
21428 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
21429 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
21430 * sysdeps/i386/fpu/slowexp.c: Likewise.
21431 * sysdeps/ia64/fpu/slowexp.c: Likewise.
21432 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
21433 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
21434 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
21435 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21436 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
21437 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
21438 comment.
21439 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
21440 (CPPFLAGS-slowexp.c): Remove variable.
21441 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21442 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
21443 (CFLAGS-slowexp-fma.c): Remove variable.
21444 (CFLAGS-slowexp-fma4.c): Likewise.
21445 (CFLAGS-slowexp-avx.c): Likewise.
21446 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
21447 define as macro.
21448 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
21449 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
21450 * math/Makefile (type-double-routines): Remove slowexp.
21451 * manual/probes.texi (slowexp_p6): Remove.
21452 (slowexp_p32): Likewise.
21453
d711a00f
AZ
214542017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21455
e184ac3a
AZ
21456 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
21457 arithmetic.
21458
d711a00f
AZ
21459 * lib/glob.c (glob): Do not pass NULL to mempcpy.
21460
6f58c10d
JM
214612017-12-19 Joseph Myers <joseph@codesourcery.com>
21462
21463 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21464
6fd0a3c6
PM
214652017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21466
21467 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
21468 <errno.h>. Include "eexp.tbl".
21469 (half): New constant.
21470 (one): Likewise.
21471 (__ieee754_exp): Rewrite.
21472 (__slowexp): Remove prototype.
21473 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
21474 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
21475 * sysdeps/i386/fpu/slowexp.c: Likewise.
21476 * sysdeps/ia64/fpu/slowexp.c: Likewise.
21477 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
21478 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
21479 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
21480 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21481 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
21482 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
21483 comment.
21484 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
21485 (CPPFLAGS-slowexp.c): Remove variable.
21486 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21487 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
21488 (CFLAGS-slowexp-fma.c): Remove variable.
21489 (CFLAGS-slowexp-fma4.c): Likewise.
21490 (CFLAGS-slowexp-avx.c): Likewise.
21491 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
21492 define as macro.
21493 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
21494 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
21495 * math/Makefile (type-double-routines): Remove slowexp.
21496 * manual/probes.texi (slowexp_p6): Remove.
21497 (slowexp_p32): Likewise.
21498
3bb1ef58 214992017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6b5c8607 21500 James Clarke <jrtc27@jrtc27.com>
3bb1ef58
AZ
21501
21502 [BZ #22603]
21503 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
21504 addition.
21505
554e3d51
AZ
215062017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21507
21508 [BZ #22605]
21509 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
21510 code.
21511
cba595c3
L
215122017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21513
21514 [BZ #22563]
21515 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21516 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
21517 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21518 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
21519 to feature_1.
21520
f81ddabf
L
215212017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21522
21523 [BZ #22563]
21524 * bits/types/__cancel_jmp_buf_tag.h: New file.
21525 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
21526 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
21527 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
21528 * nptl/Makefile (headers): Add
21529 bits/types/__cancel_jmp_buf_tag.h.
21530 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
21531 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
21532 * sysdeps/nptl/pthread.h: Include
21533 <bits/types/__cancel_jmp_buf_tag.h>.
21534 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
21535 __cancel_jmp_buf.
21536 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
21537
1a49fc59
L
215382017-12-18 H.J. Lu <hongjiu.lu@intel.com>
21539
21540 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21541 --enable-static-pie variants to x86_64, x32 and i686.
21542
8e52f573
JM
215432017-12-19 Joseph Myers <joseph@codesourcery.com>
21544
66425185
JM
21545 [BZ #22631]
21546 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
21547 argument for attrubutes. All callers changed.
21548 (__inline_mathop1): Likewise. All callers changed.
21549 (__inline_mathop): Likewise. All callers changed.
21550 [__USE_MISC] (scalbn): Use __inline_forward instead of
21551 __inline_forward_c.
21552 [__USE_ISOC99] (scalbln): Likewise.
21553 [__USE_ISOC99] (nearbyint): Likewise.
21554 [__USE_ISOC99] (lrint): Likewise.
21555 [__USE_MISC] (scalbnf): Likewise.
21556 [__USE_ISOC99] (scalblnf): Likewise.
21557 [__USE_ISOC99] (nearbyintf): Likewise.
21558 [__USE_ISOC99] (lrintf): Likewise.
21559 [__USE_MISC] (scalbnl): Likewise.
21560 [__USE_ISOC99] (scalblnl): Likewise.
21561 [__USE_ISOC99] (nearbyintl): Likewise.
21562 [__USE_ISOC99] (lrintl): Likewise.
21563 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
21564 __inline_mathop and __m81_defun changed.
21565
8e52f573
JM
21566 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
21567 CPU or FPU for ARM hard-float configurations.
21568
1421f39b
JM
215692017-12-18 Joseph Myers <joseph@codesourcery.com>
21570
40c4162d
JM
21571 * nptl/tst-attr3.c: Include <libc-diag.h>.
21572 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
21573
5983df32
JM
21574 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
21575
1421f39b
JM
21576 * string/tester.c (test_strncat): Also disable -Warray-bounds
21577 warnings for two tests.
21578
00c714df
L
215792017-12-18 H.J. Lu <hongjiu.lu@intel.com>
21580
21581 [BZ #22614]
21582 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
21583 $(cc-pie-default) == yes.
21584 * config.make.in (cc-pie-default): New.
21585 * configure.ac (libc_cv_pie_default): Renamed to ...
21586 (libc_cv_cc_pie_default): This.
21587 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
21588 * configure: Regenerated.
21589
8e1472d2
FW
215902017-12-18 Florian Weimer <fweimer@redhat.com>
21591
21592 [BZ #20204]
21593 ld.so: Harden dl-libc/libdl hooks.
21594 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
21595 (rtld_active): New function.
21596 * dlfcn/dladdr.c (__dladdr): Call it.
21597 * dlfcn/dladdr1.c (__dladdr1): Likewise.
21598 * dlfcn/dlclose.c (__dlcose): Likewise.
21599 * dlfcn/dlerror.c (__dlerror): Likewise.
21600 * dlfcn/dlinfo.c (__dlinfo): Likewise.
21601 * dlfcn/dlmopen.c (__dlmopen): Likewise.
21602 * dlfcn/dlopen.c (__dlopen): Likewise.
21603 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
21604 * dlfcn/dlsym.c (__dlsym): Likewise.
21605 * dlfcn/dlvsym.c (__dlvsym): Likewise.
21606 * libio/vtables.c (_IO_vtable_check): Likewise.
21607 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
21608 (__libc_dlclose): Likewise.
21609 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
21610 assignment.
21611
49b036bc
JM
216122017-12-18 Joseph Myers <joseph@codesourcery.com>
21613
21614 [BZ #22446]
21615 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
21616 buffers for readlink input and output.
21617
368b6c8d
ST
216182017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
21619
c85c564d
ST
21620 [BZ #22624]
21621 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
21622 inhibit_stack_protector.
21623
368b6c8d
ST
21624 [BZ #22624]
21625 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
21626 inhibit_stack_protector.
21627
bb195224
DL
216282017-12-18 Dmitry V. Levin <ldv@altlinux.org>
21629
21630 [BZ #22627]
21631 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
21632 code and invocation.
21633
14d886ed
SN
216342017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
21635
21636 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
21637
7d38eb38
AJ
216382017-12-16 Aurelien Jarno <aurelien@aurel32.net>
21639
21640 [BZ #22505]
21641 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
21642
2e77deef
RS
216432017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21644
21645 * sysdeps/s390/fpu/libm-test-ulps: Update.
21646
0b9bef6d
RS
216472017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21648
21649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21650
984ae996
RS
216512017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21652
21653 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
21654 constants to s_sincosf.h file.
21655 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21656 * sysdeps/ieee754/flt-32/s_sincosf.c: New
21657 implementation.
21658 * sysdeps/ieee754/flt-32/s_sincosf.h:
21659 New file.
21660
363e4519 216612017-12-12 Carlos O'Donell <carlos@redhat.com>
93930ea9
CD
21662
21663 [BZ #14681]
21664 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
21665 before mtrace.
21666
9d7a3741
L
216672017-12-15 H.J. Lu <hongjiu.lu@intel.com>
21668
21669 [BZ #19574]
21670 * INSTALL: Regenerated.
21671 * Makeconfig (real-static-start-installed-name): New.
21672 (pic-default): Updated for --enable-static-pie.
21673 (pie-default): New for --enable-static-pie.
21674 (default-pie-ldflag): Likewise.
21675 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
21676 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
21677 Replace $(static-start-installed-name) with
21678 $(real-static-start-installed-name).
21679 (+prectorT): Updated for --enable-static-pie.
21680 (+postctorT): Likewise.
21681 (CFLAGS-.o): Add $(pie-default).
21682 (CFLAGS-.op): Likewise.
21683 * NEWS: Mention --enable-static-pie.
21684 * config.h.in (ENABLE_STATIC_PIE): New.
21685 * configure.ac (--enable-static-pie): New configure option.
21686 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
21687 (have-static-pie): Likewise.
21688 Enable static PIE if linker supports --no-dynamic-linker.
21689 (ENABLE_STATIC_PIE): New AC_DEFINE.
21690 (enable-static-pie): New LIBC_CONFIG_VAR.
21691 * configure: Regenerated.
21692 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
21693 gr$(start-installed-name) for --enable-static-pie.
21694 (extra-objs): Likewise.
21695 (install-lib): Likewise.
21696 (extra-objs): Add static-reloc.o and static-reloc.os
21697 ($(objpfx)$(start-installed-name)): Also depend on
21698 $(objpfx)static-reloc.o.
21699 ($(objpfx)r$(start-installed-name)): New.
21700 ($(objpfx)g$(start-installed-name)): Also depend on
21701 $(objpfx)static-reloc.os.
21702 ($(objpfx)gr$(start-installed-name)): New.
21703 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
21704 in libc.a.
21705 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
21706 initimage.
21707 * csu/static-reloc.c: New file.
21708 * elf/Makefile (routines): Add dl-reloc-static-pie.
21709 (elide-routines.os): Likewise.
21710 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
21711 (tst-tls1-static-non-pie-no-pie): New.
21712 * elf/dl-reloc-static-pie.c: New file.
21713 * elf/dl-support.c (_dl_get_dl_main_map): New function.
21714 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
21715 STATIC_PIE_BOOTSTRAP.
21716 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
21717 * gmon/Makefile (tests): Add tst-gmon-static-pie.
21718 (tests-static): Likewise.
21719 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
21720 (tst-gmon-static-no-pie): New.
21721 (CFLAGS-tst-gmon-static-pie.c): Likewise.
21722 (CRT-tst-gmon-static-pie): Likewise.
21723 (tst-gmon-static-pie-ENV): Likewise.
21724 (tests-special): Likewise.
21725 ($(objpfx)tst-gmon-static-pie.out): Likewise.
21726 (clean-tst-gmon-static-pie-data): Likewise.
21727 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
21728 * gmon/tst-gmon-static-pie.c: New file.
21729 * manual/install.texi: Document --enable-static-pie.
21730 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
21731 (_dl_get_dl_main_map): Likewise.
21732 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
21733 * sysdeps/x86_64/configure.ac: Likewise.
21734 * sysdeps/i386/configure: Regenerated.
21735 * sysdeps/x86_64/configure: Likewise.
21736 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
21737 (ASFLAGS-.op): Likewise.
21738
95511aab
JM
217392017-12-15 Joseph Myers <joseph@codesourcery.com>
21740
21741 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
21742 * posix/tst-mmap-offset.c (fname): Use /tmp.
21743 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
21744
a7e3edf4
SE
217452017-12-15 Steve Ellcey <sellcey@cavium.com>
21746
21747 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
21748
d232f2e1
TS
217492017-12-15 Thomas Schwinge <thomas@codesourcery.com>
21750
21751 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
21752 errno.
21753
174edbde
JM
217542017-12-15 Joseph Myers <joseph@codesourcery.com>
21755
5170fa49
JM
21756 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
21757 --with-float=hard for arm-linux-gnueabihf configurations.
21758
f2da2fd8
JM
21759 [BZ #14121]
21760 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
21761 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
21762 ($(mo-installed)): Use $(objpfx)%.mo.
21763 (realclean): Remove rule.
21764
0c4fe28d
JM
21765 * po/Makefile (linguas): Remove rule and dependencies.
21766 (linguas.mo): Likewise.
21767 (.PHONY): Do not depend on linguas and linguas.mo.
21768 (podir): Remove variable.
21769 (pofiles): Likewise.
21770 [$(pofiles)] (%.po): Remove rule.
21771
174edbde
JM
21772 * sysdeps/sparc/sparc32/Makefile
21773 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
21774 start-of-line whitespace in argument of echo.
21775 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
21776 with whitespace. Generate __wrap_.udiv alias.
21777 * sysdeps/sparc/sparc32/rem.S: Regenerated.
21778 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21779 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21780 * sysdeps/sparc/sparc32/urem.S: Likewise.
21781
1e36806f
RS
217822017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21783
21784 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
21785 for aligned inputs.
21786
aa6932aa
SP
217872017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
21788
5f1603c3
SP
21789 * benchtests/bench-strcmp.c: Print output in JSON format.
21790
aa6932aa
SP
21791 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
21792
3ff3dfa5
FW
217932017-12-14 Florian Weimer <fweimer@redhat.com>
21794
21795 [BZ #22607]
21796 CVE-2017-1000409
21797 * elf/dl-load.c (_dl_init_paths): Compute number of components in
21798 the expanded path string.
21799
8a0b17e4
FW
218002017-12-14 Florian Weimer <fweimer@redhat.com>
21801
21802 [BZ #22606]
21803 CVE-2017-1000408
21804 * elf/dl-load.c (system_dirs): Update comment.
21805 (nsystem_dirs_len): Use array_length.
21806 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
21807
f58bd7f0
FW
218082017-12-14 Florian Weimer <fweimer@redhat.com>
21809
21810 Simplify compiling most of support/ outside of glibc.
21811 * support/check_addrinfo.c: Include <string.h>.
21812 * support/check_dns_packet.c: Likewise.
21813 * support/check_hostent.c: Likewise.
21814 * support/support_can_chroot.c: Include <support/xunistd.h>.
21815 * support/support_format_addrinfo.c: Include <stdlib.h>
21816 * support/support_format_dns_packet.c: Include <stdbool.h>.
21817 * support/support_format_hostent.c: Include <stdlib.h>.
21818 * support/support_format_netent.c: Likewise.
21819 * support/support_write_string.c: Include <support/xunistd.h>.
21820 * support/xdlfcn.c: Include <stddef.h>.
21821
4ca945e9
L
218222017-12-14 H.J. Lu <hongjiu.lu@intel.com>
21823
21824 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
21825
1b6e07f8
PM
218262017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21827 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21828
e6a1c5dc
PM
21829 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21830 (sysdeps_routines): Add memset-niagara7.
21831 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
21832 Likewise.
21833 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
21834 file.
21835 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
21836 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
21837 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
21838 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
21839 Add niagara7 option.
21840 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
21841 memset.
21842
1b6e07f8
PM
21843 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21844 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
21845 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
21846 Likewise.
21847 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
21848 New file.
21849 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
21850 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
21851 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
21852 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
21853 and __memmove_niagara7.
21854 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
21855 Add niagara7 option.
21856 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
21857 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
21858 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
21859 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
21860 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
21861
bfb7bf22
JM
218622017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
21863
767a26d6
JM
21864 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
21865 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
21866 * sysdeps/sparc/sparc64/memmove.S: Likewise.
21867 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
21868
bfb7bf22
JM
21869 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
21870 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
21871 _dl_sparc_cap_flags array.
21872 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
21873
2bce01eb
SP
218742017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
21875
21876 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
21877 time whenever possible.
21878
363e4519 218792017-12-12 Carlos O'Donell <carlos@redhat.com>
243b6333
CD
21880
21881 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
21882 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
21883
6f7c0092
JM
218842017-12-12 Joseph Myers <joseph@codesourcery.com>
21885
21886 * soft-fp/fmadf4.c: Move to ....
21887 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
21888 * soft-fp/fmasf4.c: Move to ....
21889 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
21890 * soft-fp/fmatf4.c: Move to ....
21891 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
21892 * sysdeps/ieee754/soft-fp/Makefile: New file.
21893 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
21894 * sysdeps/arm/preconfigure: Regenerated.
21895 * sysdeps/arm/nofpu/Implies: New file.
21896 * sysdeps/arm/s_fma.c: Remove file.
21897 * sysdeps/arm/s_fmaf.c: Likewise.
21898 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
21899 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
21900 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
21901 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
21902 * sysdeps/microblaze/s_fma.c: Remove file.
21903 * sysdeps/microblaze/s_fmaf.c: Likewise.
21904 * sysdeps/mips/mips32/nofpu/Implies: New file.
21905 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
21906 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
21907 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
21908 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
21909 * sysdeps/mips/ieee754/s_fma.c: Remove file.
21910 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
21911 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
21912 implementation.
21913 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
21914 * sysdeps/nios2/s_fma.c: Remove file.
21915 * sysdeps/nios2/s_fmaf.c: Likewise.
21916 * sysdeps/sh/nofpu/Implies: New file.
21917 * sysdeps/sh/s_fma.c: Remove file.
21918 * sysdeps/sh/s_fmaf.c: Likewise.
21919 * sysdeps/tile/Implies: Add ieee754/soft-fp.
21920 * sysdeps/tile/s_fma.c: Remove file.
21921 * sysdeps/tile/s_fmaf.c: Likewise.
21922
ac817e08
L
219232017-12-12 H.J. Lu <hongjiu.lu@intel.com>
21924
21925 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21926 Add s_cosf-sse2 and s_cosf-fma.
21927 (CFLAGS-s_cosf-fma.c): New.
21928 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
21929 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
21930 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
21931
eb428576
SE
219322017-12-12 Steve Ellcey <sellcey@cavium.com>
21933
21934 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
21935
c80acdc3
AZ
219362017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21937
cc683f7e
AZ
21938 * libio/Makefile (tests): Add tst-bz22415.
21939 (tst-bz22415-ENV): New rule.
21940 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
21941 (tests-special): Add tst-bz22415-mem.out.
21942 ($(objpfx)tst-bz22415-mem.out): New rule.
21943 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
21944 in case of a successful seek operation.
21945 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
21946 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
21947 buffer is required.
21948 * libio/tst-bz22415.c: New test.
21949
c80acdc3
AZ
21950 * sysdeps/ia64/fpu/libm-test-ulps: Update.
21951
363e4519 219522017-12-12 James Clarke <jrtc27@jrtc27.com>
89bd8016
JC
21953
21954 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
21955 __IPC_64 to 0 to avoid IPC_64 being set.
21956
4e0dca54
SN
219572017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21958
21959 [BZ #22593]
21960 * math/bits/mathcalls.h (nextafter): Remove const.
21961 (nexttoward): Likewise.
21962
8df5d347
JM
219632017-12-12 Joseph Myers <joseph@codesourcery.com>
21964
21965 * configure.ac (--with-fp): Remove configure option.
21966 (with_fp_cond): New variable.
21967 (libc_cv_with_fp): New configure test. Use this variable instead
21968 of with_fp.
21969 * configure: Regenerated.
21970 * config.make.in (with-fp): Use @libc_cv_with_fp@.
21971 * manual/install.texi (Configuring and compiling): Remove
21972 --without-fp.
21973 * INSTALL: Regenerated.
21974 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
21975 * sysdeps/mips/preconfigure (with_fp_cond): Define.
21976 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
21977 * sysdeps/sh/preconfigure (with_fp_cond): Define.
21978 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
21979 use --without-fp to configure glibc.
21980
0cee1257
RJ
219812017-12-12 Rical Jasan <ricaljasan@pacific.net>
21982
21983 * manual/locale.texi (nl_langinfo): Fix a typo.
21984
363e4519 219852017-12-12 Aurelien Jarno <aurelien@aurel32.net>
f54ad2f9
AJ
21986
21987 [BZ #22588]
21988 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
21989
36975e8e
L
219902017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21991
21992 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
21993 (CFLAGS-argp-parse.c): Likewise.
21994 (CFLAGS-argp-fmtstream.c): Likewise.
21995 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
21996 (CPPFLAGS-sha512-crypt.c): Likewise.
21997 (CPPFLAGS-md5-crypt.c): Likewise.
21998 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
21999 (CFLAGS-stack_chk_fail_local.c): Likewise.
22000 (CFLAGS-backtrace.c): Likewise.
22001 (CFLAGS-sprintf_chk.c): Likewise.
22002 (CFLAGS-snprintf_chk.c): Likewise.
22003 (CFLAGS-vsprintf_chk.c): Likewise.
22004 (CFLAGS-vsnprintf_chk.c): Likewise.
22005 (CFLAGS-asprintf_chk.c): Likewise.
22006 (CFLAGS-vasprintf_chk.c): Likewise.
22007 (CFLAGS-obprintf_chk.c): Likewise.
22008 (CFLAGS-dprintf_chk.c): Likewise.
22009 (CFLAGS-vdprintf_chk.c): Likewise.
22010 (CFLAGS-printf_chk.c): Likewise.
22011 (CFLAGS-fprintf_chk.c): Likewise.
22012 (CFLAGS-vprintf_chk.c): Likewise.
22013 (CFLAGS-vfprintf_chk.c): Likewise.
22014 (CFLAGS-gets_chk.c): Likewise.
22015 (CFLAGS-fgets_chk.c): Likewise.
22016 (CFLAGS-fgets_u_chk.c): Likewise.
22017 (CFLAGS-fread_chk.c): Likewise.
22018 (CFLAGS-fread_u_chk.c): Likewise.
22019 (CFLAGS-swprintf_chk.c): Likewise.
22020 (CFLAGS-vswprintf_chk.c): Likewise.
22021 (CFLAGS-wprintf_chk.c): Likewise.
22022 (CFLAGS-fwprintf_chk.c): Likewise.
22023 (CFLAGS-vwprintf_chk.c): Likewise.
22024 (CFLAGS-vfwprintf_chk.c): Likewise.
22025 (CFLAGS-fgetws_chk.c): Likewise.
22026 (CFLAGS-fgetws_u_chk.c): Likewise.
22027 (CFLAGS-read_chk.c): Likewise.
22028 (CFLAGS-pread_chk.c): Likewise.
22029 (CFLAGS-pread64_chk.c): Likewise.
22030 (CFLAGS-recv_chk.c): Likewise.
22031 (CFLAGS-recvfrom_chk.c): Likewise.
22032 (CFLAGS-tst-longjmp_chk.c): Likewise.
22033 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
22034 (CFLAGS-tst-longjmp_chk2.c): Likewise.
22035 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
22036 (CFLAGS-tst-longjmp_chk3.c): Likewise.
22037 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
22038 (CFLAGS-tst-chk1.c): Likewise.
22039 (CFLAGS-tst-chk2.c): Likewise.
22040 (CFLAGS-tst-chk3.c): Likewise.
22041 (CFLAGS-tst-chk4.cc): Likewise.
22042 (CFLAGS-tst-chk5.cc): Likewise.
22043 (CFLAGS-tst-chk6.cc): Likewise.
22044 (CFLAGS-tst-lfschk1.c): Likewise.
22045 (CFLAGS-tst-lfschk2.c): Likewise.
22046 (CFLAGS-tst-lfschk3.c): Likewise.
22047 (CFLAGS-tst-lfschk4.cc): Likewise.
22048 (CFLAGS-tst-lfschk5.cc): Likewise.
22049 (CFLAGS-tst-lfschk6.cc): Likewise.
22050 (CFLAGS-tst-ssp-1.c): Likewise.
22051 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
22052 (CFLAGS-scandir64.c): Likewise.
22053 (CFLAGS-scandir-tail.c): Likewise.
22054 (CFLAGS-scandir64-tail.c): Likewise.
22055 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
22056 (CFLAGS-dl-tunables.c): Likewise.
22057 (CFLAGS-dl-runtime.c): Likewise.
22058 (CFLAGS-dl-lookup.c): Likewise.
22059 (CFLAGS-dl-iterate-phdr.c): Likewise.
22060 (CFLAGS-vismain.c): Likewise.
22061 (CFLAGS-tst-linkall-static.c): Likewise.
22062 (CFLAGS-tst-linkall-static.c): Likewise.
22063 (CPPFLAGS-dl-load.c): Likewise.
22064 (CFLAGS-ldconfig.c): Likewise.
22065 (CFLAGS-dl-cache.c): Likewise.
22066 (CFLAGS-cache.c): Likewise.
22067 (CFLAGS-rtld.c): Likewise.
22068 (CFLAGS-multiload.c): Likewise.
22069 (CFLAGS-filtmod1.c): Likewise.
22070 (CFLAGS-tst-align.c): Likewise.
22071 (CFLAGS-tst-align2.c): Likewise.
22072 (CFLAGS-tst-alignmod.c): Likewise.
22073 (CFLAGS-tst-alignmod2.c): Likewise.
22074 (CPPFLAGS-tst-execstack.c): Likewise.
22075 (CFLAGS-tst-ptrguard1-static.c): Likewise.
22076 (CFLAGS-tst-latepthreadmod.c): Likewise.
22077 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
22078 (CFLAGS-getgrnam_r.c): Likewise.
22079 (CFLAGS-getgrent_r.c): Likewise.
22080 (CFLAGS-getgrent.c): Likewise.
22081 (CFLAGS-fgetgrent.c): Likewise.
22082 (CFLAGS-fgetgrent_r.c): Likewise.
22083 (CFLAGS-putgrent.c): Likewise.
22084 (CFLAGS-initgroups.c): Likewise.
22085 (CFLAGS-getgrgid.c): Likewise.
22086 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
22087 (CFLAGS-getsgent.c): Likewise.
22088 (CFLAGS-fgetsgent.c): Likewise.
22089 (CFLAGS-fgetsgent_r.c): Likewise.
22090 (CFLAGS-putsgent.c): Likewise.
22091 (CFLAGS-getsgnam.c): Likewise.
22092 (CFLAGS-getsgnam_r.c): Likewise.
22093 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
22094 (CFLAGS-iconv_charmap.c): Likewise.
22095 (CFLAGS-dummy-repertoire.c): Likewise.
22096 (CFLAGS-charmap.c): Likewise.
22097 (CFLAGS-linereader.c): Likewise.
22098 (CFLAGS-simple-hash.c): Likewise.
22099 (CFLAGS-gconv_conf.c): Likewise.
22100 (CFLAGS-iconvconfig.c): Likewise.
22101 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
22102 (CFLAGS-gethstbyad.c): Likewise.
22103 (CFLAGS-gethstbynm_r.c): Likewise.
22104 (CFLAGS-gethstbynm.c): Likewise.
22105 (CFLAGS-gethstbynm2_r.c): Likewise.
22106 (CFLAGS-gethstbynm2.c): Likewise.
22107 (CFLAGS-gethstent_r.c): Likewise.
22108 (CFLAGS-gethstent.c): Likewise.
22109 (CFLAGS-rcmd.c): Likewise.
22110 (CFLAGS-getnetbynm_r.c): Likewise.
22111 (CFLAGS-getnetbynm.c): Likewise.
22112 (CFLAGS-getnetbyad_r.c): Likewise.
22113 (CFLAGS-getnetbyad.c): Likewise.
22114 (CFLAGS-getnetent_r.c): Likewise.
22115 (CFLAGS-getnetent.c): Likewise.
22116 (CFLAGS-getaliasent_r.c): Likewise.
22117 (CFLAGS-getaliasent.c): Likewise.
22118 (CFLAGS-getrpcent_r.c): Likewise.
22119 (CFLAGS-getrpcent.c): Likewise.
22120 (CFLAGS-getservent_r.c): Likewise.
22121 (CFLAGS-getservent.c): Likewise.
22122 (CFLAGS-getprtent_r.c): Likewise.
22123 (CFLAGS-getprtent.c): Likewise.
22124 (CFLAGS-either_ntoh.c): Likewise.
22125 (CFLAGS-either_hton.c): Likewise.
22126 (CFLAGS-getnetgrent.c): Likewise.
22127 (CFLAGS-getnetgrent_r.c): Likewise.
22128 (CFLAGS-tst-checks-posix.c): Likewise.
22129 (CFLAGS-tst-sockaddr.c): Likewise.
22130 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
22131 (CFLAGS-tst-translit.c): Likewise.
22132 (CFLAGS-tst-gettext2.c): Likewise.
22133 (CFLAGS-tst-codeset.c): Likewise.
22134 (CFLAGS-tst-gettext3.c): Likewise.
22135 (CFLAGS-tst-gettext4.c): Likewise.
22136 (CFLAGS-tst-gettext5.c): Likewise.
22137 (CFLAGS-tst-gettext6.c): Likewise.
22138 * io/Makefile (CFLAGS-open.c): Likewise.
22139 (CFLAGS-open64.c): Likewise.
22140 (CFLAGS-creat.c): Likewise.
22141 (CFLAGS-creat64.c): Likewise.
22142 (CFLAGS-fcntl.c): Likewise.
22143 (CFLAGS-poll.c): Likewise.
22144 (CFLAGS-ppoll.c): Likewise.
22145 (CFLAGS-lockf.c): Likewise.
22146 (CFLAGS-statfs.c): Likewise.
22147 (CFLAGS-fstatfs.c): Likewise.
22148 (CFLAGS-statvfs.c): Likewise.
22149 (CFLAGS-fstatvfs.c): Likewise.
22150 (CFLAGS-fts.c): Likewise.
22151 (CFLAGS-fts64.c): Likewise.
22152 (CFLAGS-ftw.c): Likewise.
22153 (CFLAGS-ftw64.c): Likewise.
22154 (CFLAGS-lockf.c): Likewise.
22155 (CFLAGS-posix_fallocate.c): Likewise.
22156 (CFLAGS-posix_fallocate64.c): Likewise.
22157 (CFLAGS-fallocate.c): Likewise.
22158 (CFLAGS-fallocate64.c): Likewise.
22159 (CFLAGS-read.c): Likewise.
22160 (CFLAGS-write.c): Likewise.
22161 (CFLAGS-test-stat.c): Likewise.
22162 (CFLAGS-test-lfs.c): Likewise.
22163 * libio/Makefile (CFLAGS-fileops.c): Likewise.
22164 (CFLAGS-fputc.c): Likewise.
22165 (CFLAGS-fputwc.c): Likewise.
22166 (CFLAGS-freopen64.c): Likewise.
22167 (CFLAGS-freopen.c): Likewise.
22168 (CFLAGS-fseek.c): Likewise.
22169 (CFLAGS-fseeko64.c): Likewise.
22170 (CFLAGS-fseeko.c): Likewise.
22171 (CFLAGS-ftello64.c): Likewise.
22172 (CFLAGS-ftello.c): Likewise.
22173 (CFLAGS-fwide.c): Likewise.
22174 (CFLAGS-genops.c): Likewise.
22175 (CFLAGS-getc.c): Likewise.
22176 (CFLAGS-getchar.c): Likewise.
22177 (CFLAGS-getwc.c): Likewise.
22178 (CFLAGS-getwchar.c): Likewise.
22179 (CFLAGS-iofclose.c): Likewise.
22180 (CFLAGS-iofflush.c): Likewise.
22181 (CFLAGS-iofgetpos64.c): Likewise.
22182 (CFLAGS-iofgetpos.c): Likewise.
22183 (CFLAGS-iofgets.c): Likewise.
22184 (CFLAGS-iofgetws.c): Likewise.
22185 (CFLAGS-iofputs.c): Likewise.
22186 (CFLAGS-iofputws.c): Likewise.
22187 (CFLAGS-iofread.c): Likewise.
22188 (CFLAGS-iofsetpos64.c): Likewise.
22189 (CFLAGS-iofsetpos.c): Likewise.
22190 (CFLAGS-ioftell.c): Likewise.
22191 (CFLAGS-iofwrite.c): Likewise.
22192 (CFLAGS-iogetdelim.c): Likewise.
22193 (CFLAGS-iogetline.c): Likewise.
22194 (CFLAGS-iogets.c): Likewise.
22195 (CFLAGS-iogetwline.c): Likewise.
22196 (CFLAGS-ioputs.c): Likewise.
22197 (CFLAGS-ioseekoff.c): Likewise.
22198 (CFLAGS-ioseekpos.c): Likewise.
22199 (CFLAGS-iosetbuffer.c): Likewise.
22200 (CFLAGS-iosetvbuf.c): Likewise.
22201 (CFLAGS-ioungetc.c): Likewise.
22202 (CFLAGS-ioungetwc.c): Likewise.
22203 (CFLAGS-oldfileops.c): Likewise.
22204 (CFLAGS-oldiofclose.c): Likewise.
22205 (CFLAGS-oldiofgetpos64.c): Likewise.
22206 (CFLAGS-oldiofgetpos.c): Likewise.
22207 (CFLAGS-oldiofsetpos64.c): Likewise.
22208 (CFLAGS-oldiofsetpos.c): Likewise.
22209 (CFLAGS-peekc.c): Likewise.
22210 (CFLAGS-putc.c): Likewise.
22211 (CFLAGS-putchar.c): Likewise.
22212 (CFLAGS-putwc.c): Likewise.
22213 (CFLAGS-putwchar.c): Likewise.
22214 (CFLAGS-rewind.c): Likewise.
22215 (CFLAGS-wfileops.c): Likewise.
22216 (CFLAGS-wgenops.c): Likewise.
22217 (CFLAGS-oldiofopen.c): Likewise.
22218 (CFLAGS-iofopen.c): Likewise.
22219 (CFLAGS-iofopen64.c): Likewise.
22220 (CFLAGS-oldtmpfile.c): Likewise.
22221 (CFLAGS-tst_putwc.c): Likewise.
22222 * locale/Makefile (CFLAGS-md5.c): Likewise.
22223 (CFLAGS-charmap.c): Likewise.
22224 (CFLAGS-locfile.c): Likewise.
22225 (CFLAGS-charmap-dir.c): Likewise.
22226 * login/Makefile (CFLAGS-grantpt.c): Likewise.
22227 (CFLAGS-getpt.c): Likewise.
22228 (CFLAGS-pt_chown.c): Likewise.
22229 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
22230 (CFLAGS-obstack.c): Likewise.
22231 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
22232 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
22233 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
22234 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
22235 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
22236 (CFLAGS-test-tgmath.c): Likewise.
22237 (CFLAGS-test-tgmath2.c): Likewise.
22238 (CFLAGS-test-tgmath-ret.c): Likewise.
22239 (CFLAGS-test-powl.c): Likewise.
22240 (CFLAGS-test-snan.c): Likewise.
22241 (CFLAGS-test-signgam-finite.c): Likewise.
22242 (CFLAGS-test-signgam-finite-c99.c): Likewise.
22243 (CFLAGS-test-signgam-finite-c11.c): Likewise.
22244 (CFLAGS-test-signgam-uchar.c): Likewise.
22245 (CFLAGS-test-signgam-uchar-init.c): Likewise.
22246 (CFLAGS-test-signgam-uchar-static.c): Likewise.
22247 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
22248 (CFLAGS-test-signgam-uint.c): Likewise.
22249 (CFLAGS-test-signgam-uint-init.c): Likewise.
22250 (CFLAGS-test-signgam-uint-static.c): Likewise.
22251 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
22252 (CFLAGS-test-signgam-ullong.c): Likewise.
22253 (CFLAGS-test-signgam-ullong-init.c): Likewise.
22254 (CFLAGS-test-signgam-ullong-static.c): Likewise.
22255 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
22256 (CFLAGS-test-math-cxx11.cc): Likewise.
22257 (CFLAGS-test-math-isinff.cc): Likewise.
22258 (CFLAGS-test-math-iszero.cc): Likewise.
22259 (CFLAGS-test-math-issignaling.cc): Likewise.
22260 (CFLAGS-test-math-iscanonical.cc): Likewise.
22261 (CFLAGS-test-iszero-excess-precision.c): Likewise.
22262 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
22263 (CFLAGS-test-flt-eval-method.c): Likewise.
22264 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
22265 (CFLAGS-test-finite-macros.c): Likewise.
22266 * misc/Makefile (CFLAGS-select.c): Likewise.
22267 (CFLAGS-tsearch.c): Likewise.
22268 (CFLAGS-lsearch.c): Likewise.
22269 (CFLAGS-pselect.c): Likewise.
22270 (CFLAGS-readv.c): Likewise.
22271 (CFLAGS-writev.c): Likewise.
22272 (CFLAGS-preadv.c): Likewise.
22273 (CFLAGS-preadv64.c): Likewise.
22274 (CFLAGS-pwritev.c): Likewise.
22275 (CFLAGS-pwritev64.c): Likewise.
22276 (CFLAGS-preadv2.c): Likewise.
22277 (CFLAGS-preadv64v2.c): Likewise.
22278 (CFLAGS-pwritev2.c): Likewise.
22279 (CFLAGS-pwritev64v2.c): Likewise.
22280 (CFLAGS-usleep.c): Likewise.
22281 (CFLAGS-syslog.c): Likewise.
22282 (CFLAGS-error.c): Likewise.
22283 (CFLAGS-getpass.c): Likewise.
22284 (CFLAGS-mkstemp.c): Likewise.
22285 (CFLAGS-mkstemp64.c): Likewise.
22286 (CFLAGS-getsysstats.c): Likewise.
22287 (CFLAGS-getusershell.c): Likewise.
22288 (CFLAGS-err.c): Likewise.
22289 (CFLAGS-tst-tsearch.c): Likewise.
22290 (CFLAGS-msync.c): Likewise.
22291 (CFLAGS-fdatasync.c): Likewise.
22292 (CFLAGS-fsync.c): Likewise.
22293 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
22294 (CFLAGS-unwind.c): Likewise.
22295 (CFLAGS-unwind-forcedunwind.c): Likewise.
22296 (CFLAGS-pthread_cancel.c): Likewise.
22297 (CFLAGS-pthread_setcancelstate.c): Likewise.
22298 (CFLAGS-pthread_setcanceltype.c): Likewise.
22299 (CFLAGS-cancellation.c): Likewise.
22300 (CFLAGS-libc-cancellation.c): Likewise.
22301 (CFLAGS-pthread_exit.c): Likewise.
22302 (CFLAGS-forward.c): Likewise.
22303 (CFLAGS-pthread_testcancel.c): Likewise.
22304 (CFLAGS-pthread_join.c): Likewise.
22305 (CFLAGS-pthread_timedjoin.c): Likewise.
22306 (CFLAGS-pthread_once.c): Likewise.
22307 (CFLAGS-pthread_cond_wait.c): Likewise.
22308 (CFLAGS-sem_wait.c): Likewise.
22309 (CFLAGS-sem_timedwait.c): Likewise.
22310 (CFLAGS-fcntl.c): Likewise.
22311 (CFLAGS-lockf.c): Likewise.
22312 (CFLAGS-pread.c): Likewise.
22313 (CFLAGS-pread64.c): Likewise.
22314 (CFLAGS-pwrite.c): Likewise.
22315 (CFLAGS-pwrite64.c): Likewise.
22316 (CFLAGS-wait.c): Likewise.
22317 (CFLAGS-waitpid.c): Likewise.
22318 (CFLAGS-sigwait.c): Likewise.
22319 (CFLAGS-msgrcv.c): Likewise.
22320 (CFLAGS-msgsnd.c): Likewise.
22321 (CFLAGS-tcdrain.c): Likewise.
22322 (CFLAGS-open.c): Likewise.
22323 (CFLAGS-open64.c): Likewise.
22324 (CFLAGS-pause.c): Likewise.
22325 (CFLAGS-recv.c): Likewise.
22326 (CFLAGS-send.c): Likewise.
22327 (CFLAGS-accept.c): Likewise.
22328 (CFLAGS-sendto.c): Likewise.
22329 (CFLAGS-connect.c): Likewise.
22330 (CFLAGS-recvfrom.c): Likewise.
22331 (CFLAGS-recvmsg.c): Likewise.
22332 (CFLAGS-sendmsg.c): Likewise.
22333 (CFLAGS-close.c): Likewise.
22334 (CFLAGS-read.c): Likewise.
22335 (CFLAGS-write.c): Likewise.
22336 (CFLAGS-nanosleep.c): Likewise.
22337 (CFLAGS-sigsuspend.c): Likewise.
22338 (CFLAGS-msync.c): Likewise.
22339 (CFLAGS-fdatasync.c): Likewise.
22340 (CFLAGS-fsync.c): Likewise.
22341 (CFLAGS-pt-system.c): Likewise.
22342 (CFLAGS-tst-cleanup2.c): Likewise.
22343 (CFLAGS-tst-cleanupx2.c): Likewise.
22344 (CFLAGS-flockfile.c): Likewise.
22345 (CFLAGS-ftrylockfile.c): Likewise.
22346 (CFLAGS-funlockfile.c): Likewise.
22347 (CFLAGS-tst-initializers1.c): Likewise.
22348 (CFLAGS-tst-initializers1-c89.c): Likewise.
22349 (CFLAGS-tst-initializers1-c99.c): Likewise.
22350 (CFLAGS-tst-initializers1-c11.c): Likewise.
22351 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
22352 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
22353 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
22354 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
22355 (CFLAGS-nscd_getgr_r.c): Likewise.
22356 (CFLAGS-nscd_gethst_r.c): Likewise.
22357 (CFLAGS-nscd_getai.c): Likewise.
22358 (CFLAGS-nscd_initgroups.c): Likewise.
22359 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
22360 (CFLAGS-pause.c): Likewise.
22361 (CFLAGS-pread.c): Likewise.
22362 (CFLAGS-pread64.c): Likewise.
22363 (CFLAGS-pwrite.c): Likewise.
22364 (CFLAGS-pwrite64.c): Likewise.
22365 (CFLAGS-sleep.c): Likewise.
22366 (CFLAGS-wait.c): Likewise.
22367 (CFLAGS-waitid.c): Likewise.
22368 (CFLAGS-waitpid.c): Likewise.
22369 (CFLAGS-getopt.c): Likewise.
22370 (CFLAGS-wordexp.c): Likewise.
22371 (CFLAGS-sysconf.c): Likewise.
22372 (CFLAGS-pathconf.c): Likewise.
22373 (CFLAGS-fpathconf.c): Likewise.
22374 (CFLAGS-spawn.c): Likewise.
22375 (CFLAGS-spawnp.c): Likewise.
22376 (CFLAGS-spawni.c): Likewise.
22377 (CFLAGS-glob.c): Likewise.
22378 (CFLAGS-glob64.c): Likewise.
22379 (CFLAGS-getconf.c): Likewise.
22380 (CFLAGS-nanosleep.c): Likewise.
22381 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
22382 (CFLAGS-getpwent.c): Likewise.
22383 (CFLAGS-getpw.c): Likewise.
22384 (CFLAGS-fgetpwent_r.c): Likewise.
22385 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
22386 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
22387 (CFLAGS-mq_timedreceive.c): Likewise.
22388 (CFLAGS-mq_timedsend.c): Likewise.
22389 (CFLAGS-clock_nanosleep.c): Likewise.
22390 (CFLAGS-librt-cancellation.c): Likewise.
22391 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
22392 (CFLAGS-getspent.c): Likewise.
22393 (CFLAGS-fgetspent.c): Likewise.
22394 (CFLAGS-fgetspent_r.c): Likewise.
22395 (CFLAGS-putspent.c): Likewise.
22396 (CFLAGS-getspnam.c): Likewise.
22397 (CFLAGS-getspnam_r.c): Likewise.
22398 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
22399 (CFLAGS-sigsuspend.c): Likewise.
22400 (CFLAGS-sigtimedwait.c): Likewise.
22401 (CFLAGS-sigwait.c): Likewise.
22402 (CFLAGS-sigwaitinfo.c): Likewise.
22403 (CFLAGS-sigreturn.c): Likewise.
22404 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
22405 (CFLAGS-vfwprintf.c): Likewise.
22406 (CFLAGS-tmpfile.c): Likewise.
22407 (CFLAGS-tmpfile64.c): Likewise.
22408 (CFLAGS-tempname.c): Likewise.
22409 (CFLAGS-psignal.c): Likewise.
22410 (CFLAGS-vprintf.c): Likewise.
22411 (CFLAGS-cuserid.c): Likewise.
22412 (CFLAGS-errlist.c): Likewise.
22413 (CFLAGS-siglist.c): Likewise.
22414 (CFLAGS-scanf15.c): Likewise.
22415 (CFLAGS-scanf17.c): Likewise.
22416 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
22417 (CFLAGS-msort.c): Likewise.
22418 (CFLAGS-qsort.c): Likewise.
22419 (CFLAGS-system.c): Likewise.
22420 (CFLAGS-fmtmsg.c): Likewise.
22421 (CFLAGS-strfmon.c): Likewise.
22422 (CFLAGS-strfmon_l.c): Likewise.
22423 (CFLAGS-strfromd.c): Likewise.
22424 (CFLAGS-strfromf.c): Likewise.
22425 (CFLAGS-strfroml.c): Likewise.
22426 (CFLAGS-tst-bsearch.c): Likewise.
22427 (CFLAGS-tst-qsort.c): Likewise.
22428 (CFLAGS-tst-makecontext2.c): Likewise.
22429 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
22430 (CFLAGS-xnlm_prot.c): Likewise.
22431 (CFLAGS-xrstat.c): Likewise.
22432 (CFLAGS-xyppasswd.c): Likewise.
22433 (CFLAGS-xklm_prot.c): Likewise.
22434 (CFLAGS-xrex.c): Likewise.
22435 (CFLAGS-xsm_inter.c): Likewise.
22436 (CFLAGS-xmount.c): Likewise.
22437 (CFLAGS-xrusers.c): Likewise.
22438 (CFLAGS-xspray.c): Likewise.
22439 (CFLAGS-xnfs_prot.c): Likewise.
22440 (CFLAGS-xrquota.c): Likewise.
22441 (CFLAGS-xkey_prot.c): Likewise.
22442 (CFLAGS-auth_unix.c): Likewise.
22443 (CFLAGS-key_call.c): Likewise.
22444 (CFLAGS-pmap_rmt.c): Likewise.
22445 (CFLAGS-clnt_perr.c): Likewise.
22446 (CFLAGS-openchild.c): Likewise.
22447 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
22448 (CFLAGS-msgsnd.c): Likewise.
22449 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
22450 * time/Makefile (CFLAGS-tzfile.c): Likewise.
22451 (CFLAGS-tzset.c): Likewise.
22452 (CFLAGS-getdate.c): Likewise.
22453 (CFLAGS-test_time.c): Likewise.
22454 (CPPFLAGS-tst-tzname.c): Likewise.
22455 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
22456 (CFLAGS-zic.c): Likewise.
22457 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
22458 (CFLAGS-wcswidth.c): Likewise.
22459 (CFLAGS-wcstol.c): Likewise.
22460 (CFLAGS-wcstoul.c): Likewise.
22461 (CFLAGS-wcstoll.c): Likewise.
22462 (CFLAGS-wcstoull.c): Likewise.
22463 (CFLAGS-wcstod.c): Likewise.
22464 (CFLAGS-wcstold.c): Likewise.
22465 (CFLAGS-wcstof128.c): Likewise.
22466 (CFLAGS-wcstof.c): Likewise.
22467 (CFLAGS-wcstol_l.c): Likewise.
22468 (CFLAGS-wcstoul_l.c): Likewise.
22469 (CFLAGS-wcstoll_l.c): Likewise.
22470 (CFLAGS-wcstoull_l.c): Likewise.
22471 (CFLAGS-wcstod_l.c): Likewise.
22472 (CFLAGS-wcstold_l.c): Likewise.
22473 (CFLAGS-wcstof128_l.c): Likewise.
22474 (CFLAGS-wcstof_l.c): Likewise.
22475 (CPPFLAGS-tst-wchar-h.c): Likewise.
22476 (CPPFLAGS-wcstold_l.c): Likewise.
583dd860 22477
f4b2aea6
PC
224782017-12-11 Paul A. Clarke <pc@us.ibm.com>
22479
22480 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
22481
c9cd7b0c
AZ
224822017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22483 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22484
22485 * manual/tunables.texi (Hardware Capability Tunables): Document
22486 glibc.tune.cached_memopt.
22487 * sysdeps/powerpc/cpu-features.c: New file.
22488 * sysdeps/powerpc/cpu-features.h: New file.
22489 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
22490 _dl_powerpc_cpu_features.
22491 * sysdeps/powerpc/dl-tunables.list: New file.
22492 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
22493 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
22494 (INIT_ARCH): Initialize use_aligned_memopt.
22495 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
22496 IS_IN(rtld))]: Restrict dl_platform_init availability and
22497 initialize CPU features used by tunables.
22498 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
22499 Add memcpy-power8-cached.
22500 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
22501 __memcpy_power8_cached.
22502 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
22503 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
22504 New file.
22505
e70c6fee
L
225062017-12-11 H.J. Lu <hongjiu.lu@intel.com>
22507
22508 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
22509 (CFLAGS-noinl-tester.c): Likewise.
22510 (CFLAGS-tst-strlen.c): Likewise.
22511 (CFLAGS-stratcliff.c): Likewise.
22512 (CFLAGS-test-ffs.c): Likewise.
22513 (CFLAGS-tst-inlcall.c): Likewise.
22514 (CFLAGS-tst-xbzero-opt.c): Likewise.
22515 (CFLAGS-memcpy.c): Likewise.
22516 (CFLAGS-wordcopy.c): Likewise.
22517
dee94366
SL
225182017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22519
22520 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
22521 Store r15 on stack and add cfi rule.
22522 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
22523 Likewise.
22524
363e4519 225252017-12-10 Aurelien Jarno <aurelien@aurel32.net>
f648728c
AJ
22526
22527 [BZ #22577]
22528 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
22529 call.
22530
9d0ffa60
L
225312017-12-07 H.J. Lu <hongjiu.lu@intel.com>
22532
22533 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22534 Add s_sinf-sse2 and s_sinf-fma.
22535 (CFLAGS-s_sinf-fma.c): New.
22536 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
22537 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
22538 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
22539
9574c7b6
L
225402017-12-07 H.J. Lu <hongjiu.lu@intel.com>
22541
22542 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
22543
d15e83c5
JM
225442017-12-07 Joseph Myers <joseph@codesourcery.com>
22545
22546 [BZ #22568]
22547 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
22548 part of result to imaginary part of argument if it is zero and the
22549 real part of the argument is not finite.
22550 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
22551 of result to real part of argument if it is zero and the imaginary
22552 part of the argument is not finite.
22553
d89756eb
MF
225542017-12-07 Mike FABIAN <mfabian@redhat.com>
22555
22556 [BZ #22524]
22557 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
22558 and to the list of locales to be built for testing.
22559 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
22560 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
22561 and build the collation rules upon that.
22562
1f9055ce
JM
225632017-12-07 Joseph Myers <joseph@codesourcery.com>
22564
22565 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
22566 * manual/math.texi (Mathematics): Document support for _Float32.
22567 * math/Makefile (test-types): Add float32.
22568 * math/Versions (GLIBC_2.27): Add _Float32 functions.
22569 * stdlib/Versions (GLIBC_2.27): Likewise.
22570 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22571 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22572 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22573 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22574 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22575 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
22576 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22577 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
22578 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22579 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22580 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22581 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22582 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22583 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
22584 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22585 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
22586 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22587 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
22588 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22589 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
22590 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22591 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
22592 Likewise.
22593 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22594 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22595 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22596 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
22597 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
22599 Likewise.
22600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22601 Likewise.
22602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22603 Likewise.
22604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22605 Likewise.
22606
22607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22608 Likewise.
22609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
22610 Likewise.
22611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22612 Likewise.
22613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22614 Likewise.
22615 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22616 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22617 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22618 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22619 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
22620 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22621 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22622 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22623 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22624 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22625 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22626 Likewise.
22627 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22628 Likewise.
22629 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22630 Likewise.
22631 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22632 Likewise.
22633 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22634 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22635 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22636 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22637 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22638 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22639 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22640 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22641
5244527d
JM
226422017-12-06 Joseph Myers <joseph@codesourcery.com>
22643
fb1ca2aa
JM
22644 * stdlib/strtof.c: Include <bits/floatn.h>
22645 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
22646 and later undefine as macro. Define as weak alias if
22647 [!USE_WIDE_CHAR].
22648 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
22649 and later undefine as macro. Define as weak alias if
22650 [USE_WIDE_CHAR].
22651 * stdlib/strtof_l.c: Include <bits/floatn.h>
22652 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
22653 and later undefine as macro. Define as weak alias if
22654 [!USE_WIDE_CHAR].
22655 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
22656 and later undefine as macro. Define as weak alias if
22657 [USE_WIDE_CHAR].
22658
fc10cc3f
JM
22659 * stdlib/strfromf.c: Include <bits/floatn.h>.
22660 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
22661 and later undefine as macro and define as weak alias.
22662
e420d228
JM
22663 * math/test-float32.h: New file.
22664
26007a2f
JM
22665 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
22666 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
22667 (libm_alias_float_other_r): Create f32 alias.
22668 (libm_alias_float_r): Use semicolon before call to
22669 libm_alias_float_other_r.
22670
c191f64c
JM
22671 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
22672 second argument to libm_alias_float_other.
22673 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
22674 second argument to libm_alias_float_other.
22675 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
22676 argument to libm_alias_float_other.
22677
5244527d
JM
22678 [BZ #22561]
22679 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
22680 real part of result for argument 0 + i * NaN.
22681 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
22682 results for tests of 0 + i * NaN.
22683
d73fac82
AZ
226842017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22685
22686 * sysdeps/alpha/fpu/libm-test-ulps: Update.
22687
7ec094e8
DM
226882017-12-06 David S. Miller <davem@davemloft.net>
22689
22690 * sysdeps/sparc/fpu/libm-test-ulps: Update
22691 exp_{downward,towardzero,upward} ulps.
22692
53994f12
JM
226932017-12-06 Joseph Myers <joseph@codesourcery.com>
22694
1dbe6f64
JM
22695 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
22696 variables static.
22697
53994f12
JM
22698 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
22699 (Y0_2D): Likewise.
22700 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
22701 (Y0_2D): Likewise.
22702 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
22703 (Y0_2D): Likewise.
22704 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
22705 (Y0_2D): Likewise.
22706
62ea2193
MF
227072017-12-06 Mike FABIAN <mfabian@redhat.com>
22708
22709 [BZ #22515]
22710 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
22711 and to the list of locales to be built for testing.
22712 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
22713 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
22714 and build the collation rules upon that.
22715
87235d70
RS
227162017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22717
22718 * NEWS: Add sinf to list of optimized functions.
22719
0d93b7fd
JM
227202017-12-06 Joseph Myers <joseph@codesourcery.com>
22721
22722 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
22723 (__HAVE_FLOAT32X): Likewise.
22724 * manual/math.texi (Mathematics): Document support for _Float64
22725 and _Float32x.
22726 * math/Makefile (test-types): Add float64 and float32x.
22727 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
22728 functions.
22729 * stdlib/Versions (GLIBC_2.27): Likewise.
22730 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22731 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22732 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22733 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22734 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22735 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
22736 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22737 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
22738 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22739 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22740 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22741 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22742 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22743 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
22744 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22745 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
22746 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22747 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
22748 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22749 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
22750 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22751 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
22752 Likewise.
22753 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22754 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22755 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22756 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
22757 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
22759 Likewise.
22760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22761 Likewise.
22762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22763 Likewise.
22764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22765 Likewise.
22766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22767 Likewise.
22768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
22769 Likewise.
22770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22771 Likewise.
22772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22773 Likewise.
22774 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22775 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22776 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22777 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22778 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
22779 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22780 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22781 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22782 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22783 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22784 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22785 Likewise.
22786 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22787 Likewise.
22788 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22789 Likewise.
22790 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22791 Likewise.
22792 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22793 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22794 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22795 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22796 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22797 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22798 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22799 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22800
f7787234
JM
228012017-12-05 Joseph Myers <joseph@codesourcery.com>
22802
22803 * bits/floatn-common.h: Include <bits/long-double.h>.
22804 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22805 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
22806 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22807 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
22808 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22809 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
22810 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22811 (__builtin_huge_valf64): Use __builtin_huge_vall.
22812 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22813 (__builtin_inff64): Use __builtin_infl.
22814 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22815 (__builtin_nanf64): Use __builtin_nanl.
22816 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22817 (__builtin_nansf64): Use __builtin_nansl.
22818
363e4519
DL
228192017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
22820 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6b5c8607 22821 Carlos O'Donnell <carlos@redhat.com>
07ed18d2
RA
22822
22823 * elf/dl-tunables.list: Add elision parameters.
22824 * manual/tunables.texi: Add entries about elision tunable.
22825 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
22826 Add callback functions to dynamically enable/disable elision.
22827 Add multiple callbacks functions to set elision parameters.
22828 Deleted __libc_enable_secure check.
22829 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
22830 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
22831 * configure: Regenerated.
22832 * configure.ac: Option enable_lock_elision was deleted.
22833 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
22834 * config.make.in: Remove references to enable_lock_elision.
22835 * manual/install.texi: Elision configure option was removed.
22836 * INSTALL: Regenerated to remove enable_lock_elision.
22837 * nptl/Makefile:
22838 Disable elision so it can verify error case for destroying a mutex.
22839 * sysdeps/powerpc/nptl/elide.h:
22840 Cleanup ENABLE_LOCK_ELISION check.
22841 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
22842 * sysdeps/s390/configure: Regenerated.
22843 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
22844 * nptl/tst-mutex8.c:
22845 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
22846 * sysdeps/powerpc/powerpc32/sysdep.h:
22847 Deleted all ENABLE_LOCK_ELISION checks.
22848 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
22849 * sysdeps/powerpc/sysdep.h: Likewise.
22850 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
22851 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
22852 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
22853 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
22854 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22855 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
22856 enable-lock-elision.
22857
a5a2a76b
JM
228582017-12-05 Joseph Myers <joseph@codesourcery.com>
22859
22860 * stdlib/strtod.c: Include <bits/floatn.h>.
22861 (BUILD_DOUBLE): New macro.
22862 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22863 (strtof64): Define and later undefine as macro. Define as weak
22864 alias if [!USE_WIDE_CHAR].
22865 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22866 (wcstof64): Define and later undefine as macro. Define as weak
22867 alias if [USE_WIDE_CHAR].
22868 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22869 (strtof32x): Define and later undefine as macro. Define as weak
22870 alias if [!USE_WIDE_CHAR].
22871 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22872 (wcstof32x): Define and later undefine as macro. Define as weak
22873 alias if [USE_WIDE_CHAR].
22874 * stdlib/strtod_l.c: Include <bits/floatn.h>.
22875 (BUILD_DOUBLE): New macro.
22876 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22877 (strtof64_l): Define and later undefine as macro. Define as weak
22878 alias if [!USE_WIDE_CHAR].
22879 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22880 (wcstof64_l): Define and later undefine as macro. Define as weak
22881 alias if [USE_WIDE_CHAR].
22882 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22883 (strtof32x_l): Define and later undefine as macro. Define as weak
22884 alias if [!USE_WIDE_CHAR].
22885 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22886 (wcstof32x_l): Define and later undefine as macro. Define as weak
22887 alias if [USE_WIDE_CHAR].
22888
94d80dfc
AZ
228892017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22890
22891 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
22892 (reduced): Use ones as double instead of integer.
22893
00d54af7
SN
228942017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
22895
22896 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
22897
f2d64d62
JM
228982017-12-05 Joseph Myers <joseph@codesourcery.com>
22899
1f70eae4
JM
22900 * stdlib/strfromd.c: Include <bits/floatn.h>.
22901 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
22902 and later undefine as macro and define as weak alias.
22903 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
22904 Likewise.
22905
e2c4dce5
JM
22906 * math/test-float32x.h: New file.
22907 * math/test-float64.h: Likewise.
22908
f2d64d62
JM
22909 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
22910 (libm_alias_double_other_r_f64): New macro.
22911 (libm_alias_double_other_r_f32x): Likewise.
22912 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22913 libm_alias_double_other_r_f32x.
22914 (libm_alias_double_r): Use semicolon before call to
22915 libm_alias_double_other_r.
22916 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
22917 <bits/floatn.h>.
22918 (libm_alias_double_other_r_f64): New macro.
22919 (libm_alias_double_other_r_f32x): Likewise.
22920 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22921 libm_alias_double_other_r_f32x.
22922
91c318e7
L
229232017-12-05 H.J. Lu <hongjiu.lu@intel.com>
22924
22925 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
22926 int.
22927 (SINF_FUNC): Likewise. Replace floor with simple casts.
22928
de9661d6
MF
229292017-12-05 Mike FABIAN <mfabian@redhat.com>
22930
22931 [BZ #22517]
22932 * localedata/Makefile: Add et_EE.UTF-8 to test-input
22933 and to the list of locales to be built for testing.
22934 * localedata/et_EE.UTF-8.in: New file for testing the collation.
22935 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
22936 and build the collation rules upon that.
22937
f18b8dc7
CM
229382017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
22939
22940 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
22941 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
22942 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
22943 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
22944 instead of __insn__xxx.
22945 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
22946 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
22947 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
22948 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
22949 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
22950 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
22951
446d22e9
FW
229522017-12-05 Florian Weimer <fweimer@redhat.com>
22953
22954 Linux: Implement interfaces for memory protection keys
22955 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
22956 xsignal, xsysconf.
22957 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
22958 * support/xunistd.h (xsysconf): Declare.
22959 * support/xraise.c: New file.
22960 * support/xsigaction.c: Likewise.
22961 * support/xsignal.c: Likewise.
22962 * support/xsysconf.c: Likewise.
22963 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
22964 pkey_set, pkey_get, pkey_mprotect.
22965 [misc] (tests): Add tst-pkey.
22966 (tst-pkey): Link with -lpthread.
22967 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
22968 pkey_free, pkey_set, pkey_get, pkey_mprotect.
22969 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
22970 (PKEY_DISABLE_WRITE): Define.
22971 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
22972 Declare.
22973 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
22974 (SEGV_PKUERR): Add.
22975 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
22976 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
22977 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
22978 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
22979 Add.
22980 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
22981 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
22982 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
22983 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
22984 * sysdeps/unix/sysv/linux/**.abilist: Update.
22985
da616c14
FW
229862017-12-05 Florian Weimer <fweimer@redhat.com>
22987
22988 * support/tst-test_compare.c (subprocess): Use long long instead
22989 of long argument for consistent type width across 32-bit and
22990 64-bit architectures.
22991 (do_test): Adjust expected output.
22992
216933b2
JM
229932017-12-05 Joseph Myers <joseph@codesourcery.com>
22994
22995 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
22996 (cosf): Define using libm_alias_float.
22997 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
22998 (fabsf): Define using libm_alias_float.
22999 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
23000 (fmaf): Define using libm_alias_float.
23001 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
23002 (rintf): Define using libm_alias_float.
23003 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
23004 (sinf): Define using libm_alias_float.
23005 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
23006 <libm-alias-float.h>.
23007 (modff): Define using libm_alias_float.
23008 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
23009 <libm-alias-float.h>.
23010 (logbf): Define using libm_alias_float.
23011 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
23012 <libm-alias-float.h>.
23013 (ceilf): Define using libm_alias_float.
23014 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
23015 <libm-alias-float.h>.
23016 (copysignf): Define using libm_alias_float.
23017 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
23018 <libm-alias-float.h>.
23019 (floorf): Define using libm_alias_float.
23020 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
23021 <libm-alias-float.h>.
23022 (llrintf): Define using libm_alias_float.
23023 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
23024 <libm-alias-float.h>.
23025 (llroundf): Define using libm_alias_float.
23026 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
23027 <libm-alias-float.h>.
23028 (lrintf): Define using libm_alias_float.
23029 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
23030 <libm-alias-float.h>.
23031 (lroundf): Define using libm_alias_float.
23032 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
23033 <libm-alias-float.h>.
23034 (nearbyintf): Define using libm_alias_float.
23035 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
23036 <libm-alias-float.h>.
23037 (rintf): Define using libm_alias_float.
23038 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
23039 <libm-alias-float.h>.
23040 (roundf): Define using libm_alias_float.
23041 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
23042 <libm-alias-float.h>.
23043 (truncf): Define using libm_alias_float.
23044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
23045 Include <libm-alias-float.h>.
23046 (ceilf): Define using libm_alias_float.
23047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
23048 Include <libm-alias-float.h>.
23049 (copysignf): Define using libm_alias_float.
23050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
23051 Include <libm-alias-float.h>.
23052 (floorf): Define using libm_alias_float.
23053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
23054 Include <libm-alias-float.h>.
23055 (llrintf): Define using libm_alias_float.
23056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
23057 Include <libm-alias-float.h>.
23058 (llroundf): Define using libm_alias_float.
23059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
23060 Include <libm-alias-float.h>.
23061 (logbf): Define using libm_alias_float.
23062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
23063 Include <libm-alias-float.h>.
23064 (lrintf): Define using libm_alias_float.
23065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
23066 Include <libm-alias-float.h>.
23067 (lroundf): Define using libm_alias_float.
23068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
23069 Include <libm-alias-float.h>.
23070 (modff): Define using libm_alias_float.
23071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
23072 Include <libm-alias-float.h>.
23073 (roundf): Define using libm_alias_float.
23074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
23075 Include <libm-alias-float.h>.
23076 (truncf): Define using libm_alias_float.
23077 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
23078 <libm-alias-float.h>.
23079 (llrintf): Define using libm_alias_float.
23080 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
23081 <libm-alias-float.h>.
23082 (llroundf): Define using libm_alias_float.
23083 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
23084 <libm-alias-float.h>.
23085 (ceilf): Define using libm_alias_float.
23086 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
23087 <libm-alias-float.h>.
23088 (floorf): Define using libm_alias_float.
23089 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
23090 <libm-alias-float.h>.
23091 (llroundf): Define using libm_alias_float.
23092 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
23093 <libm-alias-float.h>.
23094 (lroundf): Define using libm_alias_float.
23095 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
23096 <libm-alias-float.h>.
23097 (roundf): Define using libm_alias_float.
23098 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
23099 <libm-alias-float.h>.
23100 (truncf): Define using libm_alias_float.
23101 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
23102 <libm-alias-float.h>.
23103 (copysignf): Define using libm_alias_float.
23104 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
23105 <libm-alias-float.h>.
23106 (llrintf): Define using libm_alias_float.
23107 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
23108 <libm-alias-float.h>.
23109 (llroundf): Define using libm_alias_float.
23110 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
23111 <libm-alias-float.h>.
23112 (lrintf): Define using libm_alias_float.
23113 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
23114 <libm-alias-float.h>.
23115 (lroundf): Define using libm_alias_float.
23116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
23117 <libm-alias-float.h>.
23118 (ceilf): Define using libm_alias_float.
23119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
23120 <libm-alias-float.h>.
23121 (copysignf): Define using libm_alias_float.
23122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
23123 <libm-alias-float.h>.
23124 (cosf): Define using libm_alias_float.
23125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
23126 <libm-alias-float.h>.
23127 (floorf): Define using libm_alias_float.
23128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
23129 <libm-alias-float.h>.
23130 (llrintf): Define using libm_alias_float.
23131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
23132 <libm-alias-float.h>.
23133 (llroundf): Define using libm_alias_float.
23134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
23135 <libm-alias-float.h>.
23136 (logbf): Define using libm_alias_float.
23137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
23138 <libm-alias-float.h>.
23139 (modff): Define using libm_alias_float.
23140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
23141 <libm-alias-float.h>.
23142 (roundf): Define using libm_alias_float.
23143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
23144 <libm-alias-float.h>.
23145 (sinf): Define using libm_alias_float.
23146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
23147 <libm-alias-float.h>.
23148 (truncf): Define using libm_alias_float.
23149 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
23150 <libm-alias-float.h>.
23151 (ceilf): Define using libm_alias_float.
23152 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
23153 <libm-alias-float.h>.
23154 (copysignf): Define using libm_alias_float.
23155 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
23156 <libm-alias-float.h>.
23157 (floorf): Define using libm_alias_float.
23158 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
23159 <libm-alias-float.h>.
23160 (llrintf): Define using libm_alias_float.
23161 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
23162 <libm-alias-float.h>.
23163 (llroundf): Define using libm_alias_float.
23164 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
23165 <libm-alias-float.h>.
23166 (nearbyintf): Define using libm_alias_float.
23167 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
23168 <libm-alias-float.h>.
23169 (rintf): Define using libm_alias_float.
23170 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
23171 <libm-alias-float.h>.
23172 (roundf): Define using libm_alias_float.
23173 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
23174 <libm-alias-float.h>.
23175 (truncf): Define using libm_alias_float.
23176 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
23177 <libm-alias-float.h>.
23178 (ceilf): Define using libm_alias_float.
23179 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
23180 <libm-alias-float.h>.
23181 (floorf): Define using libm_alias_float.
23182 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
23183 <libm-alias-float.h>.
23184 (llroundf): Define using libm_alias_float.
23185 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
23186 <libm-alias-float.h>.
23187 (roundf): Define using libm_alias_float.
23188 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
23189 <libm-alias-float.h>.
23190 (truncf): Define using libm_alias_float.
23191 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
23192 <libm-alias-float.h>.
23193 (copysignf): Define using libm_alias_float.
23194 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
23195 <libm-alias-float.h>.
23196 (llrintf): Define using libm_alias_float.
23197 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
23198 <libm-alias-float.h>.
23199 (llroundf): Define using libm_alias_float.
23200 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
23201 <libm-alias-float.h>.
23202 (cosf): Define using libm_alias_float.
23203 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
23204 <libm-alias-float.h>.
23205 (llrintf): Define using libm_alias_float.
23206 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
23207 <libm-alias-float.h>.
23208 (llroundf): Define using libm_alias_float.
23209 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
23210 <libm-alias-float.h>.
23211 (sinf): Define using libm_alias_float.
23212
93485524
FW
232132017-12-04 Florian Weimer <fweimer@redhat.com>
23214
23215 * support/check.h (TEST_COMPARE): Define.
23216 (support_test_compare_failure): Declare.
23217 * support/Makefile (libsupport-routines): Add
23218 support_test_compare_failure.
23219 (tests): Add tst-test_compare.
23220 * support /support_test_compare_failure.c: New file.
23221 * support/tst-test_compare.c: Likewise.
23222
96b06a19
MF
232232017-12-04 Mike FABIAN <mfabian@redhat.com>
23224
23225 [BZ #22527]
23226 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
23227 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
23228 available, this rewrite of the collation rules does reproduce
23229 the test file in the same order.
23230
1f6d91f3
MF
232312017-12-04 Mike FABIAN <mfabian@redhat.com>
23232
23233 [BZ #10580]
23234 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
23235 digraphs in the month and day names. Using single code points for
23236 digraphs is deprecated. While there are dedicated Unicode
23237 codepoints, for the digraphs, these are included for backwards
23238 compatibility and modern texts use a sequence of Basic Latin
23239 characters. See: https://www.unicode.org/faq/ligature_digraph.html
23240 This makes the month and day names agree exactly with CLDR now,
23241 CLDR does not use the single code points for the digraphs either.
23242
2e49fed8
CM
232432017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
23244
23245 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
23246
73895b49
JM
232472017-12-04 Joseph Myers <joseph@codesourcery.com>
23248
23249 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
23250 of floor.
23251
4c1d801a
SP
232522017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
23253
23254 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
23255 Define only for libc.so.
23256
478593e6
SL
232572017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
23258
23259 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23260 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
6b5c8607 23261 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
478593e6
SL
23262 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
23263 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23264
7863a711
RS
232652017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23266
23267 [BZ #5997]
23268 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
23269
800a496a
JDA
232702017-12-02 John David Anglin <danglin@gcc.gnu.org>
23271
b3f7fb12
JDA
23272 [BZ libc/19170]
23273 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
23274 PREINIT_FUNCTION_WEAK is nonzero.
23275 (gmon_initializer): New function. Put procedure label for it in
23276 .init_array section.
23277 (_init): Don't call PREINIT_FUNCTION.
23278 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
23279 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
23280 value when map argument is null.
23281
800a496a
JDA
23282 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
23283 depi instruction from PIC pc-relative sequence.
23284 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
23285 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
23286 (elf_machine_load_address): Likewise.
23287 (elf_machine_runtime_setup): Likewise.
23288
d17542d2
JM
232892017-12-02 Joseph Myers <joseph@codesourcery.com>
23290
23291 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
23292 <libm-alias-double.h>.
23293 (logb): Define using libm_alias_double.
23294 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
23295 <libm-alias-double.h>.
23296 (copysign): Define using libm_alias_double.
23297 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
23298 <libm-alias-double.h>.
23299 (llrint): Define using libm_alias_double.
23300 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
23301 <libm-alias-double.h>.
23302 (llround): Define using libm_alias_double.
23303 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
23304 <libm-alias-double.h>.
23305 (lrint): Define using libm_alias_double.
23306 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
23307 <libm-alias-double.h>.
23308 (lround): Define using libm_alias_double.
23309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
23310 Include <libm-alias-double.h>.
23311 (copysign): Define using libm_alias_double.
23312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
23313 Include <libm-alias-double.h>.
23314 (llrint): Define using libm_alias_double.
23315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
23316 Include <libm-alias-double.h>.
23317 (llround): Define using libm_alias_double.
23318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
23319 <libm-alias-double.h>.
23320 (logb): Define using libm_alias_double.
23321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
23322 Include <libm-alias-double.h>.
23323 (lrint): Define using libm_alias_double.
23324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
23325 Include <libm-alias-double.h>.
23326 (lround): Define using libm_alias_double.
23327 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
23328 <libm-alias-double.h>.
23329 (llrint): Define using libm_alias_double.
23330 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
23331 <libm-alias-double.h>.
23332 (llround): Define using libm_alias_double.
23333 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
23334 <libm-alias-double.h>.
23335 (llround): Define using libm_alias_double.
23336 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
23337 <libm-alias-double.h>.
23338 (lround): Define using libm_alias_double.
23339 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
23340 <libm-alias-double.h>.
23341 (copysign): Define using libm_alias_double.
23342 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
23343 <libm-alias-double.h>.
23344 (llrint): Define using libm_alias_double.
23345 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
23346 <libm-alias-double.h>.
23347 (llround): Define using libm_alias_double.
23348 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
23349 <libm-alias-double.h>.
23350 (lrint): Define using libm_alias_double.
23351 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
23352 <libm-alias-double.h>.
23353 (lround): Define using libm_alias_double.
23354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
23355 <libm-alias-double.h>.
23356 (copysign): Define using libm_alias_double.
23357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
23358 <libm-alias-double.h>.
23359 (llrint): Define using libm_alias_double.
23360 (lrint): Likewise.
23361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
23362 <libm-alias-double.h>.
23363 (llround): Define using libm_alias_double.
23364 (lround): Likewise.
23365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
23366 <libm-alias-double.h>.
23367 (logb): Define using libm_alias_double.
23368 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
23369 <libm-alias-double.h>.
23370 (copysign): Define using libm_alias_double.
23371 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
23372 <libm-alias-double.h>.
23373 (llrint): Define using libm_alias_double.
23374 (lrint): Likewise.
23375 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
23376 <libm-alias-double.h>.
23377 (llround): Define using libm_alias_double.
23378 (lround): Likewise.
23379 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
23380 <libm-alias-double.h>.
23381 (llround): Define using libm_alias_double.
23382 (lround): Likewise.
23383 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
23384 <libm-alias-double.h>.
23385 (copysign): Define using libm_alias_double.
23386 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
23387 <libm-alias-double.h>.
23388 (llrint): Define using libm_alias_double.
23389 (lrint): Likewise.
23390 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
23391 <libm-alias-double.h>.
23392 (llround): Define using libm_alias_double.
23393 (lround): Likewise.
23394 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
23395 <libm-alias-double.h>.
23396 (llrint): Define using libm_alias_double.
23397 (lrint): Likewise.
23398 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
23399 <libm-alias-double.h>.
23400 (llround): Define using libm_alias_double.
23401 (lround): Likewise.
23402
ec2cf3f4
JM
234032017-12-01 Joseph Myers <joseph@codesourcery.com>
23404
0ddde474
JM
23405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
23406 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
23407 compat symbol based on llround.
23408
0d5ba561
JM
23409 * sysdeps/powerpc/power7/fpu/s_logb.c
23410 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
23411 symbol based on __logb, not on logb.
23412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
23413 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
23414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
23415 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
23416
51ea3b20
JM
23417 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
23418 (rint): Define using libm_alias_double.
23419 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
23420 <libm-alias-double.h>.
23421 (modf): Define using libm_alias_double.
23422 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
23423 <libm-alias-double.h>.
23424 (ceil): Define using libm_alias_double.
23425 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
23426 <libm-alias-double.h>.
23427 (floor): Define using libm_alias_double.
23428 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
23429 <libm-alias-double.h>.
23430 (nearbyint): Define using libm_alias_double.
23431 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
23432 <libm-alias-double.h>.
23433 (rint): Define using libm_alias_double.
23434 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
23435 <libm-alias-double.h>.
23436 (round): Define using libm_alias_double.
23437 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
23438 <libm-alias-double.h>.
23439 (trunc): Define using libm_alias_double.
23440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
23441 <libm-alias-double.h>.
23442 (ceil): Define using libm_alias_double.
23443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
23444 Include <libm-alias-double.h>.
23445 (floor): Define using libm_alias_double.
23446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
23447 <libm-alias-double.h>.
23448 (modf): Define using libm_alias_double.
23449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
23450 Include <libm-alias-double.h>.
23451 (round): Define using libm_alias_double.
23452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
23453 Include <libm-alias-double.h>.
23454 (trunc): Define using libm_alias_double.
23455 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
23456 <libm-alias-double.h>.
23457 (ceil): Define using libm_alias_double.
23458 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
23459 <libm-alias-double.h>.
23460 (floor): Define using libm_alias_double.
23461 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
23462 <libm-alias-double.h>.
23463 (round): Define using libm_alias_double.
23464 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
23465 <libm-alias-double.h>.
23466 (trunc): Define using libm_alias_double.
23467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
23468 <libm-alias-double.h>.
23469 (ceil): Define using libm_alias_double.
23470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
23471 <libm-alias-double.h>.
23472 (floor): Define using libm_alias_double.
23473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
23474 <libm-alias-double.h>.
23475 (modf): Define using libm_alias_double.
23476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
23477 <libm-alias-double.h>.
23478 (round): Define using libm_alias_double.
23479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
23480 <libm-alias-double.h>.
23481 (trunc): Define using libm_alias_double.
23482 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
23483 <libm-alias-double.h>.
23484 (ceil): Define using libm_alias_double.
23485 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
23486 <libm-alias-double.h>.
23487 (floor): Define using libm_alias_double.
23488 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
23489 <libm-alias-double.h>.
23490 (nearbyint): Define using libm_alias_double.
23491 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
23492 <libm-alias-double.h>.
23493 (rint): Define using libm_alias_double.
23494 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
23495 <libm-alias-double.h>.
23496 (round): Define using libm_alias_double.
23497 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
23498 <libm-alias-double.h>.
23499 (trunc): Define using libm_alias_double.
23500 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
23501 <libm-alias-double.h>.
23502 (ceil): Define using libm_alias_double.
23503 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
23504 <libm-alias-double.h>.
23505 (floor): Define using libm_alias_double.
23506 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
23507 <libm-alias-double.h>.
23508 (round): Define using libm_alias_double.
23509 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
23510 <libm-alias-double.h>.
23511 (trunc): Define using libm_alias_double.
23512
ec2cf3f4
JM
23513 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
23514 (fabs): Define using libm_alias_double.
23515 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
23516 (fma): Define using libm_alias_double.
23517 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
23518 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
23519 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
23520 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
23521
5b7bd975
AZ
235222017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23523
0594b13f
AZ
23524 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
23525
dbdfcf3b
AZ
23526 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
23527 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
23528 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
23529
5b7bd975
AZ
23530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
23531 due redirect macro.
23532
ef9ecfa6
AS
235332017-12-01 Andreas Schwab <schwab@linux-m68k.org>
23534
23535 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
23536
5b4e5e78
AZ
235372017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23538
2a14526b
AZ
23539 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
23540 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
23541 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
23542 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
23543
dbeb74ef 23544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1c051a9b
AZ
23545 (libm-sysdep_routines): Add s_nearbyintf-generic and
23546 s_nearbyint-generic.
23547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
23548 New file.
23549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
23550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
23551 Likewise.
23552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
23553 Likewise.
23554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
23555 file.
23556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
23557 Likewise.
23558
23559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
dbeb74ef
AZ
23560 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
23561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
23562 file.
23563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
23564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
23565 Likewise.
23566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
23567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
23568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23569
fa7ded96
AZ
23570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23571 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
23572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
23573 file.
23574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
23575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
23576 Likewise.
23577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
23578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
23579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
23580
e240cf0e
AZ
23581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23582 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
23583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
23584 file.
23585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
23586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
23587 Likewise.
23588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
23589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
23590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23591
5b4e5e78
AZ
23592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23593 (sysdep_calls): New rule.
23594 (sysdep_routines): Use sysdep_calls as base.
23595 (libm-sysdep_routines): Add generic rule for symbols shared with
23596 libc. Add s_copysign-generic and s_copysign-generic objects.
23597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
23598 New file.
23599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
23600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
23601 Likewise.
23602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
23603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
23604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
23605
d985adae
MF
236062017-12-01 Mike FABIAN <mfabian@redhat.com>
23607
23608 [BZ #22519]
23609 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
23610 the list of locales to be built for testing.
23611 * localedata/is_IS.UTF-8.in: New file.
23612 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
23613 on iso14651_t1.
23614
ff84a0e0
JM
236152017-12-01 Joseph Myers <joseph@codesourcery.com>
23616
23617 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
23618 <libm-alias-float.h>.
23619 (fabsf): Define using libm_alias_float.
23620
ef5d8b43
L
236212017-11-30 H.J. Lu <hongjiu.lu@intel.com>
23622
23623 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
23624
c0535adf
JM
236252017-11-30 Joseph Myers <joseph@codesourcery.com>
23626
f938b397
JM
23627 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
23628 <libm-alias-float.h>.
23629 (fabsf): Define using libm_alias_float.
23630 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
23631 <libm-alias-float.h>.
23632 (lrintf): Define using libm_alias_float.
23633 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
23634 <libm-alias-float.h>.
23635 (rintf): Define using libm_alias_float.
23636
2251fad0
JM
23637 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
23638 <libm-alias-double.h>.
23639 (fabs): Define using libm_alias_double.
23640 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
23641 <libm-alias-double.h>.
23642 (lrint): Define using libm_alias_double.
23643 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
23644 <libm-alias-double.h>.
23645 (rint): Define using libm_alias_double.
23646
e53df1de
JM
23647 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
23648 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
23649 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
23650 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
23651 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
23652 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
23653 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
23654 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
23655 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
23656 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
23657 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
23658 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
23659 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
23660 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
23661 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
23662 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
23663 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
23664 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
23665 s_atan_template.c.
23666 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
23667 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
23668 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
23669 s_ceil_template.c.
23670 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
23671 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
23672 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
23673 s_cos_template.c.
23674 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
23675 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
23676 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
23677 s_expm1_template.c.
23678 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
23679 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
23680 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
23681 s_fabs_template.c.
23682 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
23683 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
23684 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
23685 s_floor_template.c.
23686 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
23687 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
23688 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
23689 s_frexp_template.c.
23690 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
23691 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
23692 s_lrint_template.c.
23693 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
23694 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
23695 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
23696 s_modf_template.c.
23697 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
23698 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
23699 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
23700 s_nearbyint_template.c.
23701 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
23702 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
23703 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
23704 s_remquo_template.c.
23705 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
23706 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
23707 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
23708 s_rint_template.c.
23709 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
23710 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
23711 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
23712 s_sin_template.c.
23713 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
23714 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
23715 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
23716 s_sincos_template.c.
23717 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
23718 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
23719 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
23720 s_tan_template.c.
23721 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
23722 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
23723 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
23724 s_tanh_template.c.
23725 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
23726 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
23727 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
23728 s_trunc_template.c.
23729 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
23730 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
23731 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
23732 s_atan.c instead of including s_atan.c.
23733 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
23734 s_atanf.c instead of including s_atanf.c.
23735 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
23736 s_atanl.c instead of including s_atanl.c.
23737 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
23738 instead of s_atan.c.
23739 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
23740 instead of s_atanf.c.
23741 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
23742 instead of s_atanl.c.
23743
c0535adf
JM
23744 * scripts/update-copyrights: Do not handle intl/plural.c
23745 specially.
23746
1faaf703
JB
237472017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
23748
23749 [BZ #22432]
23750 * configure.ac (BISON): Require to be present.
23751 * configure: Regenerated.
23752 * intl/Makefile (generated): Add plural.c.
23753 [$(BISON) != no]: Make code unconditional.
23754 (plural.c): Change rule to $(objpfx)plural.c.
23755 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
23756 * intl/plural.c: Remove.
23757 * manual/install.texi (Tools for Compilation): Document bison as
23758 required.
23759 * INSTALL: Regenerated.
23760
faec6323
JM
237612017-11-30 Joseph Myers <joseph@codesourcery.com>
23762
bd6ea9ed
JM
23763 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
23764 <libm-alias-double.h>.
23765 (llrint): Define using libm_alias_double.
23766 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
23767 <libm-alias-float.h>.
23768 (llrintf): Define using libm_alias_float.
23769 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
23770 <libm-alias-ldouble.h>.
23771 (llrintl): Define using libm_alias_ldouble.
23772
faec6323
JM
23773 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
23774 declare_mgen_alias instead of weak_alias.
23775 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
23776 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
23777 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
23778
023cade3
AZ
237792017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23780
9e2279a0
AZ
23781 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23782 Add add_n-generic.
23783 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
23784 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
23785 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
23786
75f37c71
AZ
23787 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23788 Add submul_1-generic.
23789 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
23790 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
23791 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
23792
b70cbbfc 23793 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
dda1d2e8
AZ
23794 Add addmul_1-generic.
23795 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
23796 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
23797 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
23798
23799 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
b70cbbfc
AZ
23800 Add sub_n-generic.
23801 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
23802 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
23803 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
23804
023cade3
AZ
23805 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23806 Add mul_1-generic.
23807 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
23808 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
23809 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
23810
fbb5fd03
MF
238112017-11-30 Mike FABIAN <mfabian@redhat.com>
23812
23813 According to CLDR, collation rules for Serbian and Bosnian
23814 should be the same as for Croatian.
23815
23816 [BZ #22534]
23817 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
23818 and to the list of locales to be built for testing.
23819 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
23820 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
23821 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
23822 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
23823
5e56e937
MF
238242017-11-30 Mike FABIAN <mfabian@redhat.com>
23825
23826 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
23827 to make test case pass.
23828 * localedata/hr_HR.UTF-8.in: Add more test strings.
23829
cf4341ca
MF
238302017-11-30 Mike FABIAN <mfabian@redhat.com>
23831
23832 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
23833
363e4519 238342017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
9ca6b343
DSN
23835
23836 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
23837 the list of locales to built for testing.
23838 * localedata/hr_HR.UTF-8.in: New file.
23839
363e4519 238402017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
37075ae1
DSN
23841
23842 [BZ #10580]
23843 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
23844 iso14651_t1.
23845 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
23846 CLDR (except use ligatures for the digraphs, CLDR does not use
23847 the ligatures), add first_workday, some fixes in the date and time
23848 formats.
23849 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
23850 for Đ and đ.
23851 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
23852 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
23853 Add int_p_cs_precedes and int_n_cs_precedes.
23854 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
23855 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
23856 LC_MONETARY now).
23857 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
23858 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
23859 name_miss.
23860 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
23861 and lang_lib. Change postal_fmt.
23862
f33632cc
L
238632017-11-30 H.J. Lu <hongjiu.lu@intel.com>
23864
23865 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
23866 <setjmp.h>.
23867 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
23868 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
23869 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
23870 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
23871 * sysdeps/generic/setjmpP.h: New file.
23872 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
23873 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
23874 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
23875 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
23876 Add jmp_buf-ssp.sym.
23877 (tests): Add tst-saved_mask-1.
23878
34697694
AS
238792017-11-30 Arjun Shankar <arjun@redhat.com>
23880
23881 [BZ #22375]
37ac8e63 23882 CVE-2017-17426
34697694
AS
23883 * malloc/malloc.c (__libc_malloc): Use checked_request2size
23884 instead of request2size.
23885
3e5efdbd
JM
238862017-11-30 Joseph Myers <joseph@codesourcery.com>
23887
18305fba
JM
23888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
23889 (__lllrint): Remove alias.
23890 (lllrint): Likewise.
23891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
23892 (__lllrintf): Likewise.
23893 (lllrintf): Likewise.
23894
3e5efdbd
JM
23895 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
23896 <libm-alias-float.h>.
23897 (copysignf): Define using libm_alias_float.
23898 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
23899 <libm-alias-float.h>.
23900 (fabsf): Define using libm_alias_float.
23901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23902 Include <libm-alias-float.h>.
23903 (copysignf): Define using libm_alias_float.
23904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
23905 <libm-alias-float.h>.
23906 (fabsf): Define using libm_alias_float.
23907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
23908 <libm-alias-float.h>.
23909 (fdimf): Define using libm_alias_float.
23910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
23911 <libm-alias-float.h>.
23912 (fmaf): Define using libm_alias_float.
23913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
23914 <libm-alias-float.h>.
23915 (llrintf): Define using libm_alias_float.
23916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
23917 Include <libm-alias-float.h>.
23918 (nearbyintf): Define using libm_alias_float.
23919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
23920 <libm-alias-float.h>.
23921 (rintf): Define using libm_alias_float.
23922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
23923 <libm-alias-float.h>.
23924 (llrintf): Define using libm_alias_float.
23925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
23926 <libm-alias-float.h>.
23927 (lrintf): Define using libm_alias_float.
23928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
23929 <libm-alias-float.h>.
23930 (nearbyintf): Define using libm_alias_float.
23931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
23932 <libm-alias-float.h>.
23933 (rintf): Define using libm_alias_float.
23934 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
23935 <libm-alias-float.h>.
23936 (ceilf): Define using libm_alias_float.
23937 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
23938 <libm-alias-float.h>.
23939 (floorf): Define using libm_alias_float.
23940 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
23941 <libm-alias-float.h>.
23942 (fmaf): Define using libm_alias_float.
23943 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
23944 <libm-alias-float.h>.
23945 (lrintf): Define using libm_alias_float.
23946 (llrintf): Likewise.
23947 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
23948 <libm-alias-float.h>.
23949 (nearbyintf): Define using libm_alias_float.
23950 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
23951 <libm-alias-float.h>.
23952 (rintf): Define using libm_alias_float.
23953 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
23954 <libm-alias-float.h>.
23955 (truncf): Define using libm_alias_float.
23956 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
23957 <libm-alias-float.h>.
23958 (copysignf): Define using libm_alias_float.
23959 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
23960 <libm-alias-float.h>.
23961 (fabsf): Define using libm_alias_float.
23962 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
23963 <libm-alias-float.h>.
23964 (lrintf): Define using libm_alias_float.
23965 (llrintf): Likewise.
23966 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
23967 <libm-alias-float.h>.
23968 (nearbyintf): Define using libm_alias_float.
23969 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
23970 <libm-alias-float.h>.
23971 (rintf): Define using libm_alias_float.
23972
011fba7e
JM
239732017-11-29 Joseph Myers <joseph@codesourcery.com>
23974
875cd548
JM
23975 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
23976 <libm-alias-double.h>.
23977 (copysign): Define using libm_alias_double.
23978 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
23979 <libm-alias-double.h>.
23980 (fabs): Define using libm_alias_double.
23981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23982 Include <libm-alias-double.h>.
23983 (copysign): Define using libm_alias_double.
23984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
23985 <libm-alias-double.h>.
23986 (fabs): Define using libm_alias_double.
23987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
23988 <libm-alias-double.h>.
23989 (fdim): Define using libm_alias_double.
23990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
23991 <libm-alias-double.h>.
23992 (fma): Define using libm_alias_double.
23993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
23994 <libm-alias-double.h>.
23995 (llrint): Define using libm_alias_double.
23996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
23997 Include <libm-alias-double.h>.
23998 (nearbyint): Define using libm_alias_double.
23999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
24000 <libm-alias-double.h>.
24001 (rint): Define using libm_alias_double.
24002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
24003 <libm-alias-double.h>.
24004 (fabs): Define using libm_alias_double.
24005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
24006 <libm-alias-double.h>.
24007 (llrint): Define using libm_alias_double.
24008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
24009 <libm-alias-double.h>.
24010 (nearbyint): Define using libm_alias_double.
24011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
24012 <libm-alias-double.h>.
24013 (rint): Define using libm_alias_double.
24014 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
24015 <libm-alias-double.h>.
24016 (ceil): Define using libm_alias_double.
24017 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
24018 <libm-alias-double.h>.
24019 (floor): Define using libm_alias_double.
24020 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
24021 <libm-alias-double.h>.
24022 (fma): Define using libm_alias_double.
24023 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
24024 <libm-alias-double.h>.
24025 (lrint): Define using libm_alias_double.
24026 (llrint): Likewise.
24027 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
24028 <libm-alias-double.h>.
24029 (nearbyint): Define using libm_alias_double.
24030 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
24031 <libm-alias-double.h>.
24032 (rint): Define using libm_alias_double.
24033 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
24034 <libm-alias-double.h>.
24035 (trunc): Define using libm_alias_double.
24036 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
24037 <libm-alias-double.h>.
24038 (copysign): Define using libm_alias_double.
24039 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
24040 <libm-alias-double.h>.
24041 (fabs): Define using libm_alias_double.
24042 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
24043 <libm-alias-double.h>.
24044 (lrint): Define using libm_alias_double.
24045 (llrint): Likewise.
24046 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
24047 <libm-alias-double.h>.
24048 (nearbyint): Define using libm_alias_double.
24049 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
24050 <libm-alias-double.h>.
24051 (rint): Define using libm_alias_double.
24052
cf4ebc27
JM
24053 [BZ #22229]
24054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
24055 <math_ldbl_opt.h>.
24056 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24057
0c097378
JM
24058 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
24059 SPARC --disable-multi-arch glibc variants.
24060
34bb10aa
JM
24061 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
24062 <libm-alias-float.h>.
24063 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24064 if [SHARED].
24065 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
24066 <libm-alias-float.h>.
24067 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24068 if [SHARED].
24069 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
24070 <libm-alias-float.h>.
24071 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24072 if [SHARED].
24073 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
24074 <libm-alias-float.h>.
24075 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24076 if [SHARED].
24077 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
24078 <libm-alias-float.h>.
24079 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24080 if [SHARED].
24081 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
24082 <libm-alias-float.h>.
24083 (ceilf): Define using libm_alias_float.
24084 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
24085 <libm-alias-float.h>.
24086 (floorf): Define using libm_alias_float.
24087 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
24088 <libm-alias-float.h>.
24089 (fmaf): Define using libm_alias_float.
24090 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
24091 <libm-alias-float.h>.
24092 (nearbyintf): Define using libm_alias_float.
24093 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
24094 <libm-alias-float.h>.
24095 (rintf): Define using libm_alias_float.
24096 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
24097 <libm-alias-float.h>.
24098 (truncf): Define using libm_alias_float.
24099 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
24100 (copysignf): Define using libm_alias_float.
24101 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
24102 (cosf): Define using libm_alias_float.
24103 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
24104 (fabsf): Define using libm_alias_float.
24105 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24106 (fmaxf): Define using libm_alias_float.
24107 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
24108 (fminf): Define using libm_alias_float.
24109 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
24110 (llrintf): Define using libm_alias_float.
24111 [!__ILP32__] (lrintf): Likewise.
24112 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
24113 (sincosf): Define using libm_alias_float.
24114 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
24115 (sinf): Define using libm_alias_float.
24116 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
24117 (lrintf): Define using libm_alias_float.
24118
011fba7e
JM
24119 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
24120 <libm-alias-double.h>.
24121 (atan): Define using libm_alias_double.
24122 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
24123 <libm-alias-double.h>.
24124 (ceil): Define using libm_alias_double.
24125 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
24126 <libm-alias-double.h>.
24127 (floor): Define using libm_alias_double.
24128 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
24129 <libm-alias-double.h>.
24130 (fma): Define using libm_alias_double.
24131 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
24132 <libm-alias-double.h>.
24133 (nearbyint): Define using libm_alias_double.
24134 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
24135 <libm-alias-double.h>.
24136 (rint): Define using libm_alias_double.
24137 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
24138 <libm-alias-double.h>.
24139 (sin): Define using libm_alias_double.
24140 (cos): Likewise.
24141 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
24142 <libm-alias-double.h>.
24143 (tan): Define using libm_alias_double.
24144 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
24145 <libm-alias-double.h>.
24146 (trunc): Define using libm_alias_double.
24147 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
24148 (copysign): Define using libm_alias_double.
24149 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
24150 (fabs): Define using libm_alias_double.
24151 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
24152 (fmax): Define using libm_alias_double.
24153 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
24154 (fmin): Define using libm_alias_double.
24155 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
24156 (llrint): Define using libm_alias_double.
24157 [!__ILP32__] (lrint): Likewise.
24158 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
24159 (lrint): Define using libm_alias_double.
24160
1cbd7bfe
AZ
241612017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24162
21bfcc3d
AZ
24163 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24164 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
24165 objects.
24166 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
24167 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
24168 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
24169 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
24170 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
24171 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24172
522228dd
AZ
24173 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24174 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
24175 objects.
24176 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
24177 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
24178 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
24179 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
24180 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
24181 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24182
2a6f4fab
AZ
24183 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
24184 (libm-sysdep_routines): Add s_nearbyint-generic and
24185 s_nearbyintf-generic objects.
24186 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
24187 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
24188 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
24189 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
24190 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
24191 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
24192
712b5b83
AZ
24193 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
24194 Add s_finitef-generic and s_finite-generic objects.
24195 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
24196 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
24197 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
24198 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
24199 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
24200 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
24201
c96d3335
AZ
24202 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
24203 Add s_isinff-generic and s_isinf-generic objects.
24204 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
24205 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
24206 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
24207 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
24208 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
24209 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24210
c6862a23
AZ
24211 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
24212 Add s_isnanf-generic and s_isnan-generic objects.
24213 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
24214 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
24215 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
24216 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
24217 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
24218 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24219
1cbd7bfe
AZ
24220 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
24221 macro.
24222 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
24223 rule.
24224 (sysdep_routines): Use sysdep_calls as base.
24225 (libm-sysdep_routines): Add generic rule for symbols shared with
24226 libc. Add s_signbit-generic and s_signbitf-generic objects.
24227 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
24228 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
24229 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
24230 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
24231 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
24232 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24233
aa1142c5
JM
242342017-11-29 Joseph Myers <joseph@codesourcery.com>
24235
24236 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
24237 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
24238 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
24239 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
24240 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
24241 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
24242 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
24243 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
24244 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
24245 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
24246 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
24247 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
24248 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
24249 libm_alias_float_r.
24250 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
24251 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
24252 (logf): Likewise.
24253 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
24254 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
24255 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
24256 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
24257 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
24258 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
24259 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
24260 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
24261 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
24262 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
24263 libm_alias_float.
24264 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
24265 (cosf): Likewise.
24266 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
24267 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
24268 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
24269 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
24270 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
24271 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
24272 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
24273 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
24274 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
24275 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
24276 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
24277 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
24278 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
24279 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
24280 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
24281 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
24282 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
24283 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
24284 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
24285 libm_alias_float.
24286 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
24287 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
24288 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
24289 * sysdeps/ia64/fpu/w_lgammaf_main.c
24290 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
24291 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
24292
363e4519
DL
242932017-11-28 Mike FABIAN <mfabian@redhat.com>
24294 Alexandre Oliva <aoliva@redhat.com>
8da25eec
AO
24295
24296 [BZ #17750]
24297 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
24298 * localedata/fr_CA.UTF-8.in: New file with test data for backward
24299 accents sorting.
24300 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
24301 sorting.
24302 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
24303 * localedata/locales/de_DE (LC_COLLATE): Likewise.
24304 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
24305 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
24306 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
24307 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
24308 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
24309 instead of “ifdef DIACRIT_BACKWARD”.
24310
a55430cb
AZ
243112017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24312
24313 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
24314 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
24315 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
24316 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
24317 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
24318 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
24319 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
24320 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
24321 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
24322 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
24323 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
24324 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
24325 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
24326 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
24327 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
24328 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
24329 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
24330 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
24331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24332 ($(have-as-vis3) == yes): Remove conditional.
24333 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
24334 Likewise.
24335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
24336 file.
24337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
24338 file.
24339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
24340 file.
24341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
24342 file.
24343 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
24344 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
24345 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
24346 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
24347 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
24348 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
24349 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
24350 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
24351
0609ec0a
JM
243522017-11-29 Joseph Myers <joseph@codesourcery.com>
24353
24354 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
24355 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
24356 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
24357 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
24358 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
24359 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
24360 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
24361 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
24362 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
24363 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
24364 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
24365 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
24366 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
24367 libm_alias_double_r.
24368 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
24369 (log): Likewise.
24370 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
24371 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
24372 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
24373 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
24374 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
24375 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
24376 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
24377 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
24378 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
24379 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
24380 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
24381 libm_alias_double.
24382 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
24383 (cos): Likewise.
24384 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
24385 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
24386 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
24387 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
24388 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
24389 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
24390 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
24391 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
24392 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
24393 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
24394 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
24395 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
24396 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
24397 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
24398 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
24399 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
24400 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
24401 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
24402 libm_alias_double.
24403 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
24404 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
24405 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
24406 * sysdeps/ia64/fpu/w_lgamma_main.c
24407 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
24408 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
24409
d5bfa34a
JDA
244102017-11-28 John David Anglin <danglin@gcc.gnu.org>
24411
24412 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
24413 address of $global$ into %dp register earlier. Use pc-relative
24414 instruction sequence for PIC case.
24415
bc4e8f9b
JM
244162017-11-28 Joseph Myers <joseph@codesourcery.com>
24417
e4602cba
JM
24418 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
24419 (asinhf): Define using libm_alias_float.
24420 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
24421 (atanf): Define using libm_alias_float.
24422 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
24423 (cbrtf): Define using libm_alias_float.
24424 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
24425 (ceilf): Define using libm_alias_float.
24426 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
24427 (copysignf): Define using libm_alias_float.
24428 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
24429 (expm1f): Define using libm_alias_float.
24430 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
24431 (fabsf): Define using libm_alias_float.
24432 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
24433 (floorf): Define using libm_alias_float.
24434 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24435 (fmaxf): Define using libm_alias_float.
24436 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
24437 (fminf): Define using libm_alias_float.
24438 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
24439 (frexpf): Define using libm_alias_float.
24440 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
24441 (llrintf): Define using libm_alias_float.
24442 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
24443 (logbf): Define using libm_alias_float.
24444 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
24445 (lrintf): Define using libm_alias_float.
24446 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
24447 (nearbyintf): Define using libm_alias_float.
24448 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
24449 (remquof): Define using libm_alias_float.
24450 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
24451 (rintf): Define using libm_alias_float.
24452 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
24453 (truncf): Define using libm_alias_float.
24454 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
24455 <libm-alias-float.h>.
24456 (exp2f): Define using libm_alias_float, or libm_alias_float_other
24457 if [SHARED].
24458 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
24459 <libm-alias-float.h>.
24460 (expf): Define using libm_alias_float, or libm_alias_float_other
24461 if [SHARED].
24462 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
24463 <libm-alias-float.h>.
24464 (log2f): Define using libm_alias_float, or libm_alias_float_other
24465 if [SHARED].
24466 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
24467 <libm-alias-float.h>.
24468 (logf): Define using libm_alias_float, or libm_alias_float_other
24469 if [SHARED].
24470 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
24471 <libm-alias-float.h>.
24472 (powf): Define using libm_alias_float, or libm_alias_float_other
24473 if [SHARED].
24474 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
24475 <libm-alias-float.h>.
24476 (cosf): Define using libm_alias_float.
24477 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
24478 <libm-alias-float.h>.
24479 (sincosf): Define using libm_alias_float.
24480 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
24481 <libm-alias-float.h>.
24482 (sinf): Define using libm_alias_float.
24483 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
24484 (fmaxf): Define using libm_alias_float.
24485 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
24486 (fminf): Define using libm_alias_float.
24487 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
24488 <libm-alias-float.h>.
24489 (fmaf): Define using libm_alias_float.
24490
bc4e8f9b
JM
24491 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
24492 (asinh): Define using libm_alias_double.
24493 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
24494 (atan): Define using libm_alias_double.
24495 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
24496 (cbrt): Define using libm_alias_double.
24497 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
24498 (ceil): Define using libm_alias_double.
24499 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
24500 (copysign): Define using libm_alias_double.
24501 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
24502 (expm1): Define using libm_alias_double.
24503 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
24504 (fabs): Define using libm_alias_double.
24505 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
24506 (fdim): Define using libm_alias_double.
24507 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
24508 (floor): Define using libm_alias_double.
24509 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
24510 (fmax): Define using libm_alias_double.
24511 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
24512 (fmin): Define using libm_alias_double.
24513 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
24514 (frexp): Define using libm_alias_double.
24515 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
24516 (llrint): Define using libm_alias_double.
24517 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
24518 (logb): Define using libm_alias_double.
24519 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
24520 (lrint): Define using libm_alias_double.
24521 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
24522 (nearbyint): Define using libm_alias_double.
24523 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
24524 (remquo): Define using libm_alias_double.
24525 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
24526 (rint): Define using libm_alias_double.
24527 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
24528 (trunc): Define using libm_alias_double.
24529 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
24530 (fmax): Define using libm_alias_double.
24531 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
24532 (fmin): Define using libm_alias_double.
24533 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
24534 (fma): Define using libm_alias_double.
24535
8d81ce0c
L
245362017-11-28 H.J. Lu <hongjiu.lu@intel.com>
24537
24538 [BZ #22370]
24539 * elf/dl-hwcaps.c (ROUND): Removed.
24540 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
24541 and ELF_NOTE_NEXT_OFFSET.
24542 * elf/dl-load.c (ROUND): Removed.
24543 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
24544 * elf/readelflib.c (ROUND): Removed.
24545 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
24546 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
24547 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
24548 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
24549
6940bd96
JM
245502017-11-28 Joseph Myers <joseph@codesourcery.com>
24551
313ba463
JM
24552 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
24553 [!__fmaf] (fmaf): Define using libm_alias_float.
24554
6940bd96
JM
24555 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
24556 [!__fma] (fma): Define using libm_alias_double.
24557 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
24558
22c69b6a
MF
245592017-11-28 Mike FABIAN <mfabian@redhat.com>
24560
24561 [BZ #22336]
24562 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
24563 and implement the collation rules for cs from CLDR on top of that.
24564 * Makefile: Add cs_CZ.UTF-8 to test-input.
24565 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
24566
8d7d3ba8
SP
245672017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
24568
24569 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
24570
0422ed1e
VR
245712017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
24572 Icarus Sparry <icarus.w.sparry@intel.com>
24573
24574 * benchtests/Makefile:Add BENCHSET to allow subsets of
24575 benchmarks to be run.
24576 * benchtests/README: Add documentation for: Running subsets of
24577 benchmarks.
24578
0595e360
VR
245792017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
24580
d5090db3
VR
24581 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
24582 range of tests names.
24583
0595e360
VR
24584 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
24585 result from property and remove "max", min" and "mean" from
24586 required properties based on benchtests/bench-skeleton.c.
24587
b4c645c2
FW
245882017-11-28 Florian Weimer <fweimer@redhat.com>
24589
24590 [BZ #20826]
24591 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
24592 due to Internet requirement.
24593 * posix/Makefile (tests): Remove tst-getaddrinfo4,
24594 tst-getaddrinfo5.
24595 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
24596
88684de7
AZ
245972017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24598
69056564
AZ
24599 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24600 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
24601 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
24602 (sysdep_routines): Add memset-ultra1.
24603 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
24604 file.
24605 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
24606 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
24607 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
24608 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
24609 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
24610 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
24611 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
24612 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24613
88684de7
AZ
24614 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
24615 file.
24616 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
24617 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
24618 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
24619 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
24620 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
24621 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
24622 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
24623 macro.
24624 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24625 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
24626 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
24627 (sysdep_routines): Add memcpy-ultra1.
24628 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
24629 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
24630
d8124864
JM
246312017-11-28 Joseph Myers <joseph@codesourcery.com>
24632
f433d0b3
JM
24633 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
24634 (cfloat_versions): Take function argument without trailing 'f'.
24635 Call libm_alias_float_other.
24636 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
24637 * sysdeps/alpha/fpu/cargf.c: Likewise.
24638 * sysdeps/alpha/fpu/cimagf.c: Likewise.
24639 * sysdeps/alpha/fpu/conjf.c: Likewise.
24640 * sysdeps/alpha/fpu/crealf.c: Likewise.
24641 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
24642 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
24643 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
24644 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
24645 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
24646 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
24647 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
24648 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
24649 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
24650 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
24651 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
24652 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
24653 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
24654 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
24655 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
24656 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
24657 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
24658 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
24659 (clog10f): Use libm_alias_float_other.
24660 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
24661 (ceilf): Define using libm_alias_float.
24662 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
24663 (copysignf): Define using libm_alias_float.
24664 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
24665 (fabsf): Define using libm_alias_float.
24666 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
24667 (floorf): Define using libm_alias_float.
24668 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
24669 (fmaxf): Define using libm_alias_float.
24670 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
24671 (fminf): Define using libm_alias_float.
24672 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
24673 (lrintf): Define using libm_alias_float.
24674 (llrintf): Likewise.
24675 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
24676 (lroundf): Define using libm_alias_float.
24677 (llroundf): Likewise.
24678 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
24679 (rintf): Define using libm_alias_float.
24680 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
24681 (truncf): Define using libm_alias_float.
24682
15ff4900
JM
24683 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
24684 (ceilf): Define using libm_alias_float.
24685 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
24686 (floorf): Define using libm_alias_float.
24687 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
24688 (fmaf): Define using libm_alias_float.
24689 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
24690 (fmaxf): Define using libm_alias_float.
24691 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
24692 (fminf): Define using libm_alias_float.
24693 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
24694 (llrintf): Define using libm_alias_float.
24695 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
24696 (llroundf): Define using libm_alias_float.
24697 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
24698 (lrintf): Define using libm_alias_float.
24699 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
24700 (lroundf): Define using libm_alias_float.
24701 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
24702 <libm-alias-float.h>.
24703 (nearbyintf): Define using libm_alias_float.
24704 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
24705 (rintf): Define using libm_alias_float.
24706 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
24707 (roundf): Define using libm_alias_float.
24708 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
24709 (truncf): Define using libm_alias_float.
24710
5de60638
JM
24711 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
24712 (ceil): Define using libm_alias_double.
24713 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
24714 (copysign): Define using libm_alias_double.
24715 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
24716 (fabs): Define using libm_alias_double.
24717 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
24718 (floor): Define using libm_alias_double.
24719 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
24720 (fmax): Define using libm_alias_double.
24721 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
24722 (fmin): Define using libm_alias_double.
24723 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
24724 (lrint): Define using libm_alias_double.
24725 (llrint): Likewise.
24726 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
24727 (lround): Define using libm_alias_double.
24728 (llround): Likewise.
24729 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
24730 (rint): Define using libm_alias_double.
24731 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
24732 (trunc): Define using libm_alias_double.
24733
d8124864
JM
24734 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
24735 (libm_alias_double_r): Add semicolon after weak_alias call.
24736
f07d2ec8
JM
247372017-11-27 Joseph Myers <joseph@codesourcery.com>
24738
24739 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
24740 (ceil): Define using libm_alias_double.
24741 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
24742 (floor): Define using libm_alias_double.
24743 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
24744 (fma): Define using libm_alias_double.
24745 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
24746 (fmax): Define using libm_alias_double.
24747 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
24748 (fmin): Define using libm_alias_double.
24749 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
24750 (llrint): Define using libm_alias_double.
24751 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
24752 (llround): Define using libm_alias_double.
24753 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
24754 (lrint): Define using libm_alias_double.
24755 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
24756 (lround): Define using libm_alias_double.
24757 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
24758 (nearbyint): Define using libm_alias_double.
24759 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
24760 (rint): Define using libm_alias_double.
24761 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
24762 (round): Define using libm_alias_double.
24763 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
24764 (trunc): Define using libm_alias_double.
24765
4bab0224
FW
247662017-11-27 Florian Weimer <fweimer@redhat.com>
24767
24768 * sysdeps/unix/sysv/linux/mlock2.c: New file.
24769 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
24770 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
24771 (tests): Add tst-mlock2.
24772 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
24773 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
24774 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
24775 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
24776 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
24777 for mlock. Document mlock2.
24778
a23aa5b7
JM
247792017-11-27 Joseph Myers <joseph@codesourcery.com>
24780
24781 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
24782 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
24783 Likewise.
24784 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
24785 Likewise.
24786 * sysdeps/x86/Makeconfig: New file.
24787 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
24788 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24789 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
24790 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24791 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24792 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24793 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
24794 Likewise.
24795 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24796 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24797 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24798 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24799 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24800 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24801 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24802 * manual/math.texi (Mathematics): Document support for _Float64x.
24803 * math/Versions (GLIBC_2.27): Add _Float64x functions.
24804 * stdlib/Versions (GLIBC_2.27): Likewise.
24805 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24806 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24807 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24808 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24809 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24810 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24811 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24812 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24813 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24814 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24815 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24816 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24818 Likewise.
24819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24820 Likewise.
24821 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24822 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24823 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24824 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24825 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24826 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24827 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24828 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24829 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24830 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24831 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24832 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24833 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24834 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24835
c2c299fd
AS
248362017-11-27 Andreas Schwab <schwab@suse.de>
24837
24838 * elf/Makefile (dl-routines): Add dl-sort-maps.
24839 * elf/dl-sort-maps.c: New file.
24840 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
24841 (_dl_sort_maps): Declare.
24842 * elf/dl-fini.c (_dl_sort_fini): Remove.
24843 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
24844 * elf/dl-close.c (_dl_close_worker): Likewise.
24845 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
24846 open-coding it.
24847 * elf/dl-open.c (dl_open_worker): Likewise.
24848
9d4b0117
JM
248492017-11-24 Joseph Myers <joseph@codesourcery.com>
24850
de61465c
JM
24851 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
24852 using libm_alias_float128.
24853 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
24854 Likewise.
24855 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
24856 Likewise.
24857 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
24858 (setpayloadsigf128): Likewise.
24859 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
24860 Likewise.
24861 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
24862 Likewise.
24863
9ae6d171
JM
24864 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
24865 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
24866 -mfloat128 to CFLAGS.
24867 ($(foreach
24868 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
24869 Likewise.
24870 (CFLAGS-libm-test-support-float64x.c): New variable.
24871 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
24872 $(f128-loader-link) to gnulib-tests.
24873
6e70d156
JM
24874 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
24875 (libm_alias_float128_other_r): If
24876 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
24877 alias.
24878 (libm_alias_float128_r): Add semicolon after weak_alias call.
24879 * sysdeps/generic/libm-alias-ldouble.h
24880 (libm_alias_ldouble_other_r_f128): New macro.
24881 (libm_alias_ldouble_other_r_f64x): Likewise.
24882 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
24883 and libm_alias_ldouble_other_r_f64x.
24884 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
24885 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
24886 (libm_alias_ldouble_other_r_f128): New macro.
24887 (libm_alias_ldouble_other_r_f64x): Likewise.
24888 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
24889 and libm_alias_ldouble_other_r_f64x.
24890
df2806cd
JM
24891 * stdlib/strfroml.c: Always include <stdlib.h>.
24892 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
24893 undefine as macro and define as weak alias.
24894 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
24895 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
24896 <stdlib.h>.
24897 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
24898 Define and later undefine as macro and define as weak alias.
24899
0df4fe35
JM
24900 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
24901 Define and later undefine as macro. Define as weak alias if
24902 [!USE_WIDE_CHAR].
24903 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
24904 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24905 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
24906 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
24907 Define and later undefine as macro. Define as weak alias if
24908 [!USE_WIDE_CHAR].
24909 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
24910 Define and later undefine as macro. Define as weak alias if
24911 [USE_WIDE_CHAR].
24912 * sysdeps/ieee754/float128/strtof128_l.c
24913 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
24914 Define and later undefine as macro. Define as weak alias if
24915 [!USE_WIDE_CHAR].
24916 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
24917 Define and later undefine as macro. Define as weak alias if
24918 [USE_WIDE_CHAR].
24919 * sysdeps/ieee754/ldbl-128/strtold_l.c
24920 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24921 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24922 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24923 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24924 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
24925 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24926 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24927 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24928 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24929 * sysdeps/ieee754/ldbl-96/strtold_l.c
24930 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24931 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24932 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24933 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24934
ae7207d0
JM
24935 * math/test-float64x.h: New file.
24936 * math/Makefile (type-float64x-yes): New variable.
24937 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
24938
9596fc69
JM
24939 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
24940 function-like macro.
24941 (min_of_type_): Likewise.
24942 (min_of_type_l): Likewise.
24943 (min_of_type_f128): Likewise.
24944 (min_of_type): Pass () as last argument of __MATH_TG.
24945
46453c3c
JM
24946 * stdlib/tst-strtod-round-skeleton.c
24947 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
24948 headers.
24949
01e659e7
JM
24950 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
24951 for combinations of long double with _Float64 and _Float64x.
24952
5c60afdd
JM
24953 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
24954 (__DECL_SIMD_cosf32): Likewise.
24955 (__DECL_SIMD_cosf64): Likewise.
24956 (__DECL_SIMD_cosf32x): Likewise.
24957 (__DECL_SIMD_cosf64x): Likewise.
24958 (__DECL_SIMD_cosf128x): Likewise.
24959 (__DECL_SIMD_sinf16): Likewise.
24960 (__DECL_SIMD_sinf32): Likewise.
24961 (__DECL_SIMD_sinf64): Likewise.
24962 (__DECL_SIMD_sinf32x): Likewise.
24963 (__DECL_SIMD_sinf64x): Likewise.
24964 (__DECL_SIMD_sinf128x): Likewise.
24965 (__DECL_SIMD_sincosf16): Likewise.
24966 (__DECL_SIMD_sincosf32): Likewise.
24967 (__DECL_SIMD_sincosf64): Likewise.
24968 (__DECL_SIMD_sincosf32x): Likewise.
24969 (__DECL_SIMD_sincosf64x): Likewise.
24970 (__DECL_SIMD_sincosf128x): Likewise.
24971 (__DECL_SIMD_logf16): Likewise.
24972 (__DECL_SIMD_logf32): Likewise.
24973 (__DECL_SIMD_logf64): Likewise.
24974 (__DECL_SIMD_logf32x): Likewise.
24975 (__DECL_SIMD_logf64x): Likewise.
24976 (__DECL_SIMD_logf128x): Likewise.
24977 (__DECL_SIMD_expf16): Likewise.
24978 (__DECL_SIMD_expf32): Likewise.
24979 (__DECL_SIMD_expf64): Likewise.
24980 (__DECL_SIMD_expf32x): Likewise.
24981 (__DECL_SIMD_expf64x): Likewise.
24982 (__DECL_SIMD_expf128x): Likewise.
24983 (__DECL_SIMD_powf16): Likewise.
24984 (__DECL_SIMD_powf32): Likewise.
24985 (__DECL_SIMD_powf64): Likewise.
24986 (__DECL_SIMD_powf32x): Likewise.
24987 (__DECL_SIMD_powf64x): Likewise.
24988 (__DECL_SIMD_powf128x): Likewise.
24989
9d4b0117
JM
24990 * stdlib/Versions (libc): Move entries for wcstof128 and
24991 wcstof128_l to ....
24992 * wcsmbs/Versions (libc): ... here.
24993 Include <float128-abi.h>.
24994
7911dd47
FW
249952017-11-24 Florian Weimer <fweimer@redhat.com>
24996
24997 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24998 bits/mman-shared.h.
24999 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
25000 <bits/mman-shared.h>.
25001 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
25002 to ...
25003 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
25004 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
25005 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
25006 <bits/mman-shared.h>.
25007
c45d78aa
AZ
250082017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25009
25010 [BZ #22457]
25011 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
25012 posix_memalign/free.
25013 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
25014
3ffc4cc1
MF
250152017-11-22 Mike FABIAN <mfabian@redhat.com>
25016
25017 [BZ #22469]
25018 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
25019 and implement the collation rules for pl from CLDR on top of that.
25020 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
25021 of locales to be built for testing.
25022 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
25023
3a327316
JM
250242017-11-23 Joseph Myers <joseph@codesourcery.com>
25025
25026 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
25027 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
25028 libm_alias_ldouble_other.
25029 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
25030 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
25031 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
25032 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
25033 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
25034 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
25035 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
25036 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
25037 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
25038 libm_alias_ldouble_r.
25039 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
25040 libm_alias_ldouble_other.
25041 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
25042 (log10l): Likewise.
25043 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
25044 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
25045 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
25046 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
25047 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
25048 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
25049 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
25050 (atan2l): Likewise.
25051 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
25052 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
25053 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
25054 libm_alias_ldouble.
25055 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
25056 (cosl): Likewise.
25057 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
25058 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
25059 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
25060 (expl): Likewise.
25061 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
25062 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
25063 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
25064 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
25065 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
25066 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
25067 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
25068 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
25069 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
25070 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
25071 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
25072 libm_alias_ldouble.
25073 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
25074 libm_alias_ldouble_other.
25075 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
25076 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
25077 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
25078 libm_alias_ldouble.
25079 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
25080 libm_alias_ldouble_other.
25081 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
25082 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
25083 * sysdeps/ia64/fpu/w_lgammal_main.c
25084 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
25085 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
25086
0a947e06
FW
250872017-11-23 Florian Weimer <fweimer@redhat.com>
25088
25089 * malloc/malloc.c (tcache_thread_shutdown): Rename from
25090 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
25091 alike. Remove freeres marker.
25092 * malloc/arena.c (arena_thread_freeres): Call
25093 tcache_thread_shutdown.
25094
67f36c79
FW
250952017-11-23 Florian Weimer <fweimer@redhat.com>
25096
25097 [BZ #22459]
25098 Export nscd hash function as __nss_hash.
25099 * include/nss.h (__nss_hash): Declare.
25100 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
25101 symbol.
25102 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
25103 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
25104 of __nscd_hash.
25105 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
25106 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
25107 * nss/Makefiles (routines): Add nss_hash.
25108 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
25109 * nss/nss_hash.c: Rename from nis/nis_hash.c.
25110 (__nss_hash): Rename from __nis_hash. Define hidden alias.
25111 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
25112
cccb6d4e
FW
251132017-11-23 Florian Weimer <fweimer@redhat.com>
25114
25115 [BZ #22478]
25116 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
25117 Return error code, not -1.
25118 * signal/tst-sigwait-eintr.c: New file.
25119 * signal/Makefile (tests): Add tst-sigwait-eintr.
25120
59d2cbb1
FW
251212017-11-23 Florian Weimer <fweimer@redhat.com>
25122
25123 Linux: Add memfd_create system call wrapper
25124 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
25125 tst-memfd_create.
25126 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
25127 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
25128 [__USE_GNU] (memfd_create): Declare.
25129 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
25130 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
25131 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
25132 * sysdeps/unix/sysv/linux/**.abilist: Update.
25133 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
25134
a90d1ac2
JM
251352017-11-22 Joseph Myers <joseph@codesourcery.com>
25136
0a9d1d62
JM
25137 * localedata/gen-locale.sh: Fix typo in variable name.
25138
754034c4
JM
25139 * resolv/res_debug.c (p_secstodate): Condition definition on
25140 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
25141 directly as __p_secstodate, and as a compat symbol. Do not use
25142 libresolv_hidden_def.
25143 * resolv/resolv.h (p_secstodate): Remove macro and function
25144 declaration.
25145 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
25146 using p_secstodate.
25147 * include/resolv.h (__p_secstodate): Do not use
25148 libresolv_hidden_proto.
25149 * resolv/Makefile (tests): Move tst-p_secstodate to ....
25150 (tests-internal): ... here.
25151 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
25152 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
25153 and declare and use __p_secstodate and use compat_symbol_reference
25154 in that case.
25155 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
25156 implementation returning 77.
25157
f120cda6
JM
25158 [BZ #22463]
25159 * resolv/res_debug.c: Include <libc-diag.h>.
25160 (p_secstodate): Assert time_t at least as wide as u_long. On
25161 overflow, use integer seconds since the epoch as output, or use
25162 "<overflow>" as output and set errno to EOVERFLOW if integer
25163 seconds since the epoch would be 14 or more characters.
25164 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
25165 for sprintf call.
25166 * resolv/tst-p_secstodate.c: New file.
25167 * resolv/Makefile (tests): Add tst-p_secstodate.
25168 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
25169
a90d1ac2
JM
25170 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
25171 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
25172 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
25173
0285e6bd
PE
251742017-11-22 Paul Eggert <eggert@cs.ucla.edu>
25175
25176 * posix/regcomp.c (init_word_char): Add comments.
25177
4bae6150
JM
251782017-11-22 Joseph Myers <joseph@codesourcery.com>
25179
25180 [BZ #22447]
25181 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
25182 strlen to compute length of ut_user and set trailing NUL byte of
25183 result explicitly.
25184
4b7af5fc
MF
251852017-11-21 Mike FABIAN <mfabian@redhat.com>
25186
25187 [BZ #15537]
25188 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
25189 using “copy "iso14651_t1"” and then implementing the
25190 collation rules for lv from CLDR on top of that.
25191 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
25192 of locales to be built for testing.
25193 * lv_LV.UTF-8.in: New file with test data to test the Latvian
25194 sorting.
25195
922bb78c
JM
251962017-11-21 Joseph Myers <joseph@codesourcery.com>
25197
25198 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
25199 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
25200 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
25201 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
25202 [__USE_MISC] (MADV_HWPOISON): New macro.
25203 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
25204
a3aaa598
AZ
252052017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25206
25207 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
25208 -Wmissing-braces on GCC 4.9.
25209
8beba15d
SL
252102017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
25211
25212 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
25213 * sysdeps/s390/s390-32/start.S (_start): Likewise
25214 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
25215 (thread_start): Likewise.
25216 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
25217 (thread_start): Likewise.
25218 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
25219 (__makecontext_ret): Likewise.
25220 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
25221 (__makecontext_ret): Likewise.
25222
80eb52e3
SL
252232017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
25224
25225 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
25226 __wcschrnul): Remove attribute_hidden.
25227
567d8c1f
PE
252282017-11-20 Paul Eggert <eggert@cs.ucla.edu>
25229
25230 regex: don't assume uint64_t or uint32_t
25231 This avoids -Werror=overflow errors for 32-bit systems in
25232 the 64-bit case. Problem reported by Joseph Myers in:
25233 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
25234 Also, when this code is used in Gnulib it ports to platforms
25235 that lack uint64_t and uint32_t. The C standard doesn't guarantee
25236 them, and on some 32-bit compilers there is no uint64_t.
25237 Problem reported by Gianluigi Tiesi in:
25238 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
25239 * posix/regcomp.c (init_word_char): Don't assume that the types
25240 uint64_t and uint32_t exist. Adapted from Gnulib patch
25241 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
25242 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
25243
4d7632ff
SP
252442017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
25245
5a67c4fa
SP
25246 * sysdeps/aarch64/memset-reg.h: New file.
25247 * sysdeps/aarch64/memset.S: Use it.
25248 (__memset): Rename to MEMSET macro.
25249 [ZVA_MACRO]: Use zva_macro.
25250 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
25251 Add memset_generic and memset_falkor.
25252 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
25253 (__libc_ifunc_impl_list): Add memset ifuncs.
25254 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
25255 local variable zva_size.
25256 * sysdeps/aarch64/multiarch/memset.c: New file.
25257 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
25258 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
25259 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
25260 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
25261 (DCZID_DZP_MASK): New macro.
25262 (DCZID_BS_MASK): Likewise.
25263 (init_cpu_features): Read and set zva_size.
25264 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
25265 (struct cpu_features): New member zva_size.
25266
eb332f9f
SP
25267 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
25268 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
25269 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
25270
4d7632ff
SP
25271 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
25272 backwards. Fix timing computation.
25273 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
25274 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
25275 on memset by N at a time. Fix timing computation.
25276
a465b89e
FW
252772017-11-20 Florian Weimer <fweimer@redhat.com>
25278
25279 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
25280 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
25281
0f74bbf5
FW
252822017-11-19 Florian Weimer <fweimer@redhat.com>
25283
25284 manual: Document mprotect
25285 * manual/memory.texi (Memory Protection): New section.
25286 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
25287 documentation of PROT_* flags and reference the Memory Protection
25288 section instead.
25289
f6e965ee
FW
252902017-11-19 Florian Weimer <fweimer@redhat.com>
25291
25292 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
25293 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
25294 (Scatter-Gather): ... to here. Remove misleading comment.
25295
363e4519 252962017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
ea69a5c8 25297
5f9d1949
CB
25298 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
25299 style.
25300
ea69a5c8
CB
25301 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
25302 when /proc/<pid>/setgroups does not exist.
25303
8db7f48c
FW
253042017-11-18 Florian Weimer <fweimer@redhat.com>
25305
25306 * sysdeps/unix/sysv/linux/tst-ttyname.c
25307 (become_root_in_mount_ns): Remove.
25308 (do_in_chroot_1): Call support_enter_mount_namespace.
25309 (do_in_chroot_2): Likewise.
25310 (do_test): Call support_become_root early.
25311
273a0c49
FW
253122017-11-18 Florian Weimer <fweimer@redhat.com>
25313
25314 * support/namespace.h (support_enter_mount_namespace): Declare.
25315 * support/support_enter_mount_namespace.c: New file.
25316 * support/Makefile (libsupport-routines): Add
25317 support_enter_mount_namespace.
25318
8adfb0ee
FW
253192017-11-18 Florian Weimer <fweimer@redhat.com>
25320
25321 * support/temp_file.c (support_create_temp_directory): Use
25322 test_dir and do not rely on the presence of the XXXXXX suffix.
25323 * support/temp_file.h (support_create_temp_directory): Update
25324 comment.
25325 * support/tst-xreadlink.c (do_test): Adjust.
25326 * support/support_chroot.c (support_chroot_create): Likewise.
25327
df0c40ee
TMQMF
253282017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25329
25330 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
25331 macro.
25332 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
25333 htm-no-suspend.
25334
015c6dc2
JM
253352017-11-17 Joseph Myers <joseph@codesourcery.com>
25336
f58e5f48
JM
25337 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
25338 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
25339 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
25340 (ceill): Define using libm_alias_ldouble.
25341 * sysdeps/x86_64/fpu/s_copysignl.S: Include
25342 <libm-alias-ldouble.h>.
25343 (copysignl): Define using libm_alias_ldouble.
25344 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
25345 (fabsl): Define using libm_alias_ldouble.
25346 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
25347 (floorl): Define using libm_alias_ldouble.
25348 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25349 (fmaxl): Define using libm_alias_ldouble.
25350 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25351 (fminl): Define using libm_alias_ldouble.
25352 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
25353 (llrintl): Define using libm_alias_ldouble.
25354 (lrintl): Likewise.
25355 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
25356 <libm-alias-ldouble.h>.
25357 (nearbyintl): Define using libm_alias_ldouble.
25358 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
25359 (truncl): Define using libm_alias_ldouble.
25360 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
25361 <libm-alias-ldouble.h>.
25362 (lrintl): Define using libm_alias_ldouble.
25363
2ce30701
JM
25364 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
25365 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
25366 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
25367 (asinhl): Define using libm_alias_ldouble.
25368 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
25369 (atanl): Define using libm_alias_ldouble.
25370 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
25371 (cbrtl): Define using libm_alias_ldouble.
25372 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
25373 (ceill): Define using libm_alias_ldouble.
25374 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
25375 (copysignl): Define using libm_alias_ldouble.
25376 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
25377 (fabsl): Define using libm_alias_ldouble.
25378 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
25379 (floorl): Define using libm_alias_ldouble.
25380 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25381 (fmaxl): Define using libm_alias_ldouble.
25382 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25383 (fminl): Define using libm_alias_ldouble.
25384 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
25385 (frexpl): Define using libm_alias_ldouble.
25386 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
25387 (llrintl): Define using libm_alias_ldouble.
25388 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
25389 (logbl): Define using libm_alias_ldouble.
25390 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
25391 (lrintl): Define using libm_alias_ldouble.
25392 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
25393 (nearbyintl): Define using libm_alias_ldouble.
25394 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
25395 (nextafterl): Define using libm_alias_ldouble.
25396 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
25397 (remquol): Define using libm_alias_ldouble.
25398 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
25399 (rintl): Define using libm_alias_ldouble.
25400 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
25401 (truncl): Define using libm_alias_ldouble.
25402 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
25403 (fmaxl): Define using libm_alias_ldouble.
25404 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
25405 (fminl): Define using libm_alias_ldouble.
25406
015c6dc2
JM
25407 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
25408 to C syntax instead of availability and properties of types.
25409 * bits/floatn.h [!__ASSEMBLER]: Likewise.
25410 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
25411 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
25412 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
25413 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
25414 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
25415
ce003e5d
FW
254162017-11-17 Florian Weimer <fweimer@redhat.com>
25417
25418 support_become_root: Enable file creation in namespaces.
25419 * support/support_become_root.c (setup_mapping): New function.
25420 (support_become_root): Call it.
25421
e7df6c5c
JM
254222017-11-17 Joseph Myers <joseph@codesourcery.com>
25423
25424 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
25425 macro.
25426
58a813bf
AZ
254272017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25428
25429 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
25430 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
25431
f97773d1
JM
254322017-11-16 Joseph Myers <joseph@codesourcery.com>
25433
6a6aa1f3
JM
25434 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
25435
f97773d1
JM
25436 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
25437 version to 4.14.
25438
a306c790
SP
254392017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
25440
7b0fb870
SP
25441 * INSTALL: Fix botched up regeneration.
25442
25443 * NEWS: Update sourceare link to https.
a306c790
SP
25444 * configure.ac: Likewise.
25445 * crypt/md5test-giant.c: Likewise.
25446 * dlfcn/bug-atexit1.c: Likewise.
25447 * dlfcn/bug-atexit2.c: Likewise.
25448 * localedata/README: Likewise.
25449 * malloc/tst-mallocfork.c: Likewise.
25450 * manual/install.texi: Likewise.
25451 * nptl/tst-pthread-getattr.c: Likewise.
25452 * stdio-common/tst-fgets.c: Likewise.
25453 * stdio-common/tst-fwrite.c: Likewise.
25454 * sunrpc/Makefile: Likewise.
25455 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
25456 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
25457 * configure: Regenerate.
25458 * INSTALL: Regenerate.
a306c790 25459
7532837d
MS
254602017-11-15 Martin Sebor <msebor@redhat.com>
25461
25462 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
25463 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
25464 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
25465
495a56fd
LS
254662017-11-15 Luke Shumaker <lukeshu@parabola.nu>
25467
d9611e30
LS
25468 [BZ #22145]
25469 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
25470 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
25471
a09dfc19
LS
25472 [BZ #22145]
25473 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
25474 Defer is_pty check until end of the function.
25475 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25476
2fbce9c2
LS
25477 [BZ #22145]
25478 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
25479 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
25480 (ttyname): Likewise.
25481 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
25482 (__ttyname_r): Likewise.
25483
d10d6cab
LS
25484 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
25485 int to bool.
25486
9b5a8750
LS
25487 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
25488
495a56fd
LS
25489 * manual/terminal.texi (Is It a Terminal):
25490 Mention ENODEV for ttyname and ttyname_r.
25491
fa680dc6
JM
254922017-11-15 Joseph Myers <joseph@codesourcery.com>
25493
78cde19f
JM
25494 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
25495 constant and macro.
25496
fa680dc6
JM
25497 * sysdeps/unix/sysv/linux/bits/mman-linux.h
25498 [__USE_MISC] (MADV_WIPEONFORK): New macro.
25499 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
25500 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
25501 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
25502 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
25503
ad4f43a2
AZ
255042017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25505
1ba1d8a4
AZ
25506 * signal/sigrelse.c (sigrelse): Optimize implementation.
25507
ad4f43a2
AZ
25508 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
25509 (__sigpause): Rely on __sigsuspend to implement single thread
25510 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
25511
d0212d42
JM
255122017-11-15 Joseph Myers <joseph@codesourcery.com>
25513
25514 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
25515 kernel version to 4.14.
25516
2180fee1
SE
255172017-11-15 Steve Ellcey <sellcey@cavium.com>
25518
25519 [BZ #22442]
25520 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
25521 Check if ifname is too long.
25522
cad7ca39
LS
255232017-11-15 Luke Shumaker <lukeshu@parabola.nu>
25524
25525 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
25526
58c9f659
MF
255272017-11-15 Mike FABIAN <mfabian@redhat.com>
25528
25529 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
25530 was accidentally lost.
25531
0fa87c01
MF
255322017-11-15 Mike FABIAN <mfabian@redhat.com>
25533
25534 * localedata/locales/az_IR: Add standard copyright header.
25535
34eb4157
FW
255362017-11-15 Florian Weimer <fweimer@redhat.com>
25537
25538 [BZ #22439]
25539 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
25540 not just the top one. Output a new "subheaps" statistic.
25541
7a9368a1
FW
255422017-11-15 Florian Weimer <fweimer@redhat.com>
25543
25544 [BZ #22408]
25545 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
25546 under the per-arena lock.
25547 * malloc/Makefile (tests): Add tst-malloc_info.
25548 (tst-malloc_info): Link with libpthread.
25549 * malloc/tst-malloc_info.c: New file.
25550
be3a79a3
JM
255512017-11-15 Joseph Myers <joseph@codesourcery.com>
25552
25553 [BZ #21660]
25554 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
25555 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
25556 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
25557 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
25558 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
25559 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
25560 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
25561 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
25562 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
25563 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
25564 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
25565 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
25566 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
25567 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
25568 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
25569 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
25570 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
25571 (__floating_type): Likewise.
25572 (__real_integer_type): Likewise.
25573 (__complex_integer_type): Likewise.
25574 (__expr_is_real): Likewise.
25575 (__tgmath_real_type_sub): Likewise.
25576 (__tgmath_real_type): Likewise.
25577 (__tgmath_complex_type_sub): Likewise.
25578 (__tgmath_complex_type): Likewise.
25579 (__TGMATH_F128): Likewise.
25580 (__TGMATH_CF128): Likewise.
25581 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
25582 new macros.
25583 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
25584 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
25585 Likewise.
25586 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
25587 Likewise.
25588 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
25589 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
25590 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
25591 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
25592 Likewise.
25593 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
25594 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
25595 Likewise.
25596 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
25597 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
25598 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
25599 Likewise.
25600 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
25601 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
25602 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
25603 (cimag): Likewise.
25604 (creal): Likewise.
25605
ec72135e
JM
256062017-11-14 Joseph Myers <joseph@codesourcery.com>
25607
2e64ec9c
JM
25608 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
25609 for stpncpy calls for GCC 8.
25610 (test_strncat): Disable -Wstringop-truncation warning for strncat
25611 calls for GCC 8. Disable -Wstringop-overflow= warning for one
25612 strncat call for GCC 7.
25613 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
25614 calls for GCC 8.
25615 (test_memcmp): Use memcpy instead of strncpy for calls not copying
25616 trailing NUL.
25617
ec72135e
JM
25618 * string/bug-strncat1.c: Include <libc-diag.h>.
25619 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
25620
363e4519 256212017-11-13 Claude Paroz <claude@2xlibre.net>
a259f5d3
CP
25622
25623 [BZ #22387]
25624 * localedata/locales/aa_DJ: Improved readibility by replacing
25625 <Uxxxx> sequences in the ASCII printable range by their ASCII
25626 character equivalents.
25627 * localedata/locales/aa_ER: Likewise.
25628 * localedata/locales/aa_ER@saaho: Likewise.
25629 * localedata/locales/aa_ET: Likewise.
25630 * localedata/locales/af_ZA: Likewise.
25631 * localedata/locales/agr_PE: Likewise.
25632 * localedata/locales/ak_GH: Likewise.
25633 * localedata/locales/am_ET: Likewise.
25634 * localedata/locales/anp_IN: Likewise.
25635 * localedata/locales/ar_AE: Likewise.
25636 * localedata/locales/ar_BH: Likewise.
25637 * localedata/locales/ar_DZ: Likewise.
25638 * localedata/locales/ar_EG: Likewise.
25639 * localedata/locales/ar_IN: Likewise.
25640 * localedata/locales/ar_IQ: Likewise.
25641 * localedata/locales/ar_JO: Likewise.
25642 * localedata/locales/ar_KW: Likewise.
25643 * localedata/locales/ar_LB: Likewise.
25644 * localedata/locales/ar_LY: Likewise.
25645 * localedata/locales/ar_MA: Likewise.
25646 * localedata/locales/ar_OM: Likewise.
25647 * localedata/locales/ar_QA: Likewise.
25648 * localedata/locales/ar_SA: Likewise.
25649 * localedata/locales/ar_SD: Likewise.
25650 * localedata/locales/ar_SS: Likewise.
25651 * localedata/locales/ar_SY: Likewise.
25652 * localedata/locales/ar_TN: Likewise.
25653 * localedata/locales/ar_YE: Likewise.
25654 * localedata/locales/as_IN: Likewise.
25655 * localedata/locales/ast_ES: Likewise.
25656 * localedata/locales/ayc_PE: Likewise.
25657 * localedata/locales/az_AZ: Likewise.
25658 * localedata/locales/az_IR: Likewise.
25659 * localedata/locales/be_BY: Likewise.
25660 * localedata/locales/be_BY@latin: Likewise.
25661 * localedata/locales/bem_ZM: Likewise.
25662 * localedata/locales/ber_DZ: Likewise.
25663 * localedata/locales/ber_MA: Likewise.
25664 * localedata/locales/bg_BG: Likewise.
25665 * localedata/locales/bhb_IN: Likewise.
25666 * localedata/locales/bho_IN: Likewise.
25667 * localedata/locales/bi_VU: Likewise.
25668 * localedata/locales/bn_BD: Likewise.
25669 * localedata/locales/bn_IN: Likewise.
25670 * localedata/locales/bo_CN: Likewise.
25671 * localedata/locales/bo_IN: Likewise.
25672 * localedata/locales/br_FR: Likewise.
25673 * localedata/locales/brx_IN: Likewise.
25674 * localedata/locales/bs_BA: Likewise.
25675 * localedata/locales/byn_ER: Likewise.
25676 * localedata/locales/ca_AD: Likewise.
25677 * localedata/locales/ca_ES: Likewise.
25678 * localedata/locales/ca_FR: Likewise.
25679 * localedata/locales/ca_IT: Likewise.
25680 * localedata/locales/ce_RU: Likewise.
25681 * localedata/locales/chr_US: Likewise.
25682 * localedata/locales/cmn_TW: Likewise.
25683 * localedata/locales/crh_UA: Likewise.
25684 * localedata/locales/cs_CZ: Likewise.
25685 * localedata/locales/csb_PL: Likewise.
25686 * localedata/locales/cv_RU: Likewise.
25687 * localedata/locales/cy_GB: Likewise.
25688 * localedata/locales/da_DK: Likewise.
25689 * localedata/locales/de_AT: Likewise.
25690 * localedata/locales/de_BE: Likewise.
25691 * localedata/locales/de_CH: Likewise.
25692 * localedata/locales/de_DE: Likewise.
25693 * localedata/locales/de_IT: Likewise.
25694 * localedata/locales/de_LI: Likewise.
25695 * localedata/locales/de_LU: Likewise.
25696 * localedata/locales/doi_IN: Likewise.
25697 * localedata/locales/dv_MV: Likewise.
25698 * localedata/locales/dz_BT: Likewise.
25699 * localedata/locales/el_CY: Likewise.
25700 * localedata/locales/el_GR: Likewise.
25701 * localedata/locales/en_AG: Likewise.
25702 * localedata/locales/en_AU: Likewise.
25703 * localedata/locales/en_BW: Likewise.
25704 * localedata/locales/en_CA: Likewise.
25705 * localedata/locales/en_DK: Likewise.
25706 * localedata/locales/en_GB: Likewise.
25707 * localedata/locales/en_HK: Likewise.
25708 * localedata/locales/en_IE: Likewise.
25709 * localedata/locales/en_IL: Likewise.
25710 * localedata/locales/en_IN: Likewise.
25711 * localedata/locales/en_NG: Likewise.
25712 * localedata/locales/en_NZ: Likewise.
25713 * localedata/locales/en_PH: Likewise.
25714 * localedata/locales/en_SG: Likewise.
25715 * localedata/locales/en_US: Likewise.
25716 * localedata/locales/en_ZA: Likewise.
25717 * localedata/locales/en_ZM: Likewise.
25718 * localedata/locales/en_ZW: Likewise.
25719 * localedata/locales/eo: Likewise.
25720 * localedata/locales/es_AR: Likewise.
25721 * localedata/locales/es_BO: Likewise.
25722 * localedata/locales/es_CL: Likewise.
25723 * localedata/locales/es_CO: Likewise.
25724 * localedata/locales/es_CR: Likewise.
25725 * localedata/locales/es_CU: Likewise.
25726 * localedata/locales/es_DO: Likewise.
25727 * localedata/locales/es_EC: Likewise.
25728 * localedata/locales/es_ES: Likewise.
25729 * localedata/locales/es_GT: Likewise.
25730 * localedata/locales/es_HN: Likewise.
25731 * localedata/locales/es_MX: Likewise.
25732 * localedata/locales/es_NI: Likewise.
25733 * localedata/locales/es_PA: Likewise.
25734 * localedata/locales/es_PE: Likewise.
25735 * localedata/locales/es_PR: Likewise.
25736 * localedata/locales/es_PY: Likewise.
25737 * localedata/locales/es_SV: Likewise.
25738 * localedata/locales/es_US: Likewise.
25739 * localedata/locales/es_UY: Likewise.
25740 * localedata/locales/es_VE: Likewise.
25741 * localedata/locales/et_EE: Likewise.
25742 * localedata/locales/eu_ES: Likewise.
25743 * localedata/locales/eu_ES@euro: Likewise.
25744 * localedata/locales/fa_IR: Likewise.
25745 * localedata/locales/ff_SN: Likewise.
25746 * localedata/locales/fi_FI: Likewise.
25747 * localedata/locales/fil_PH: Likewise.
25748 * localedata/locales/fo_FO: Likewise.
25749 * localedata/locales/fr_BE: Likewise.
25750 * localedata/locales/fr_CA: Likewise.
25751 * localedata/locales/fr_CH: Likewise.
25752 * localedata/locales/fr_FR: Likewise.
25753 * localedata/locales/fr_LU: Likewise.
25754 * localedata/locales/fur_IT: Likewise.
25755 * localedata/locales/fy_DE: Likewise.
25756 * localedata/locales/fy_NL: Likewise.
25757 * localedata/locales/ga_IE: Likewise.
25758 * localedata/locales/gd_GB: Likewise.
25759 * localedata/locales/gez_ER: Likewise.
25760 * localedata/locales/gez_ET: Likewise.
25761 * localedata/locales/gl_ES: Likewise.
25762 * localedata/locales/gu_IN: Likewise.
25763 * localedata/locales/gv_GB: Likewise.
25764 * localedata/locales/ha_NG: Likewise.
25765 * localedata/locales/hak_TW: Likewise.
25766 * localedata/locales/he_IL: Likewise.
25767 * localedata/locales/hi_IN: Likewise.
25768 * localedata/locales/hif_FJ: Likewise.
25769 * localedata/locales/hne_IN: Likewise.
25770 * localedata/locales/hr_HR: Likewise.
25771 * localedata/locales/hsb_DE: Likewise.
25772 * localedata/locales/ht_HT: Likewise.
25773 * localedata/locales/hu_HU: Likewise.
25774 * localedata/locales/hy_AM: Likewise.
25775 * localedata/locales/i18n: Likewise.
25776 * localedata/locales/ia_FR: Likewise.
25777 * localedata/locales/id_ID: Likewise.
25778 * localedata/locales/ig_NG: Likewise.
25779 * localedata/locales/ik_CA: Likewise.
25780 * localedata/locales/is_IS: Likewise.
25781 * localedata/locales/it_CH: Likewise.
25782 * localedata/locales/it_IT: Likewise.
25783 * localedata/locales/iu_CA: Likewise.
25784 * localedata/locales/ja_JP: Likewise.
25785 * localedata/locales/ka_GE: Likewise.
25786 * localedata/locales/kk_KZ: Likewise.
25787 * localedata/locales/kl_GL: Likewise.
25788 * localedata/locales/kn_IN: Likewise.
25789 * localedata/locales/ko_KR: Likewise.
25790 * localedata/locales/kok_IN: Likewise.
25791 * localedata/locales/ks_IN: Likewise.
25792 * localedata/locales/ks_IN@devanagari: Likewise.
25793 * localedata/locales/ku_TR: Likewise.
25794 * localedata/locales/kw_GB: Likewise.
25795 * localedata/locales/ky_KG: Likewise.
25796 * localedata/locales/lb_LU: Likewise.
25797 * localedata/locales/lg_UG: Likewise.
25798 * localedata/locales/li_BE: Likewise.
25799 * localedata/locales/li_NL: Likewise.
25800 * localedata/locales/lij_IT: Likewise.
25801 * localedata/locales/ln_CD: Likewise.
25802 * localedata/locales/lo_LA: Likewise.
25803 * localedata/locales/lt_LT: Likewise.
25804 * localedata/locales/lv_LV: Likewise.
25805 * localedata/locales/lzh_TW: Likewise.
25806 * localedata/locales/mag_IN: Likewise.
25807 * localedata/locales/mai_IN: Likewise.
25808 * localedata/locales/mg_MG: Likewise.
25809 * localedata/locales/mhr_RU: Likewise.
25810 * localedata/locales/mi_NZ: Likewise.
25811 * localedata/locales/mk_MK: Likewise.
25812 * localedata/locales/ml_IN: Likewise.
25813 * localedata/locales/mn_MN: Likewise.
25814 * localedata/locales/mni_IN: Likewise.
25815 * localedata/locales/mr_IN: Likewise.
25816 * localedata/locales/ms_MY: Likewise.
25817 * localedata/locales/mt_MT: Likewise.
25818 * localedata/locales/my_MM: Likewise.
25819 * localedata/locales/nan_TW: Likewise.
25820 * localedata/locales/nan_TW@latin: Likewise.
25821 * localedata/locales/nb_NO: Likewise.
25822 * localedata/locales/nds_DE: Likewise.
25823 * localedata/locales/nds_NL: Likewise.
25824 * localedata/locales/ne_NP: Likewise.
25825 * localedata/locales/nhn_MX: Likewise.
25826 * localedata/locales/niu_NU: Likewise.
25827 * localedata/locales/niu_NZ: Likewise.
25828 * localedata/locales/nl_AW: Likewise.
25829 * localedata/locales/nl_BE: Likewise.
25830 * localedata/locales/nl_NL: Likewise.
25831 * localedata/locales/nn_NO: Likewise.
25832 * localedata/locales/nr_ZA: Likewise.
25833 * localedata/locales/nso_ZA: Likewise.
25834 * localedata/locales/oc_FR: Likewise.
25835 * localedata/locales/om_ET: Likewise.
25836 * localedata/locales/om_KE: Likewise.
25837 * localedata/locales/or_IN: Likewise.
25838 * localedata/locales/os_RU: Likewise.
25839 * localedata/locales/pa_IN: Likewise.
25840 * localedata/locales/pa_PK: Likewise.
25841 * localedata/locales/pap_AW: Likewise.
25842 * localedata/locales/pap_CW: Likewise.
25843 * localedata/locales/pl_PL: Likewise.
25844 * localedata/locales/ps_AF: Likewise.
25845 * localedata/locales/pt_BR: Likewise.
25846 * localedata/locales/pt_PT: Likewise.
25847 * localedata/locales/quz_PE: Likewise.
25848 * localedata/locales/raj_IN: Likewise.
25849 * localedata/locales/ro_RO: Likewise.
25850 * localedata/locales/ru_RU: Likewise.
25851 * localedata/locales/ru_UA: Likewise.
25852 * localedata/locales/rw_RW: Likewise.
25853 * localedata/locales/sa_IN: Likewise.
25854 * localedata/locales/sat_IN: Likewise.
25855 * localedata/locales/sc_IT: Likewise.
25856 * localedata/locales/sd_IN: Likewise.
25857 * localedata/locales/sd_IN@devanagari: Likewise.
25858 * localedata/locales/se_NO: Likewise.
25859 * localedata/locales/sgs_LT: Likewise.
25860 * localedata/locales/shs_CA: Likewise.
25861 * localedata/locales/si_LK: Likewise.
25862 * localedata/locales/sid_ET: Likewise.
25863 * localedata/locales/sk_SK: Likewise.
25864 * localedata/locales/sl_SI: Likewise.
25865 * localedata/locales/sm_WS: Likewise.
25866 * localedata/locales/so_DJ: Likewise.
25867 * localedata/locales/so_ET: Likewise.
25868 * localedata/locales/so_KE: Likewise.
25869 * localedata/locales/so_SO: Likewise.
25870 * localedata/locales/sq_AL: Likewise.
25871 * localedata/locales/sq_MK: Likewise.
25872 * localedata/locales/sr_ME: Likewise.
25873 * localedata/locales/sr_RS: Likewise.
25874 * localedata/locales/sr_RS@latin: Likewise.
25875 * localedata/locales/ss_ZA: Likewise.
25876 * localedata/locales/st_ZA: Likewise.
25877 * localedata/locales/sv_FI: Likewise.
25878 * localedata/locales/sv_SE: Likewise.
25879 * localedata/locales/sw_KE: Likewise.
25880 * localedata/locales/sw_TZ: Likewise.
25881 * localedata/locales/szl_PL: Likewise.
25882 * localedata/locales/ta_IN: Likewise.
25883 * localedata/locales/ta_LK: Likewise.
25884 * localedata/locales/tcy_IN: Likewise.
25885 * localedata/locales/te_IN: Likewise.
25886 * localedata/locales/tg_TJ: Likewise.
25887 * localedata/locales/th_TH: Likewise.
25888 * localedata/locales/the_NP: Likewise.
25889 * localedata/locales/ti_ER: Likewise.
25890 * localedata/locales/ti_ET: Likewise.
25891 * localedata/locales/tig_ER: Likewise.
25892 * localedata/locales/tk_TM: Likewise.
25893 * localedata/locales/tl_PH: Likewise.
25894 * localedata/locales/tn_ZA: Likewise.
25895 * localedata/locales/to_TO: Likewise.
25896 * localedata/locales/tpi_PG: Likewise.
25897 * localedata/locales/tr_CY: Likewise.
25898 * localedata/locales/tr_TR: Likewise.
25899 * localedata/locales/ts_ZA: Likewise.
25900 * localedata/locales/tt_RU: Likewise.
25901 * localedata/locales/tt_RU@iqtelif: Likewise.
25902 * localedata/locales/ug_CN: Likewise.
25903 * localedata/locales/uk_UA: Likewise.
25904 * localedata/locales/unm_US: Likewise.
25905 * localedata/locales/ur_IN: Likewise.
25906 * localedata/locales/ur_PK: Likewise.
25907 * localedata/locales/uz_UZ: Likewise.
25908 * localedata/locales/uz_UZ@cyrillic: Likewise.
25909 * localedata/locales/ve_ZA: Likewise.
25910 * localedata/locales/vi_VN: Likewise.
25911 * localedata/locales/wa_BE: Likewise.
25912 * localedata/locales/wae_CH: Likewise.
25913 * localedata/locales/wal_ET: Likewise.
25914 * localedata/locales/wo_SN: Likewise.
25915 * localedata/locales/xh_ZA: Likewise.
25916 * localedata/locales/yi_US: Likewise.
25917 * localedata/locales/yo_NG: Likewise.
25918 * localedata/locales/yue_HK: Likewise.
25919 * localedata/locales/yuw_PG: Likewise.
25920 * localedata/locales/zh_CN: Likewise.
25921 * localedata/locales/zh_HK: Likewise.
25922 * localedata/locales/zh_SG: Likewise.
25923 * localedata/locales/zh_TW: Likewise.
25924 * localedata/locales/zu_ZA: Likewise.
25925
cae87e64
FW
259262017-11-13 Florian Weimer <fweimer@redhat.com>
25927
25928 * support/next_to_fault.h, support/next_to_fault.c: New files.
25929 * support/Makefile (libsupport-routines): Add next_to_fault.
25930 * resolv/tst-inet_pton.c (struct next_to_fault)
25931 (next_to_fault_allocate, next_to_fault_free): Remove.
25932 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
25933
4a306ef1
L
259342017-11-13 H.J. Lu <hongjiu.lu@intel.com>
25935
25936 * elf/dl-support.c: Include <dl-procruntime.c>.
25937 * include/link.h: Include <link_map.h>.
25938 * sysdeps/generic/dl-procruntime.c: New file.
25939 * sysdeps/generic/link_map.h: Likewise.
25940 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
25941 the writable ld.so namespace.
25942
e69897bf
PE
259432017-11-12 Paul Eggert <eggert@cs.ucla.edu>
25944
25945 timezone: pacify GCC -Wstringop-truncation
25946 Problem reported by Martin Sebor in:
25947 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
25948 * timezone/zic.c (writezone): Use memcpy, not strncpy.
25949
1ffe1ccb
FW
259502017-11-12 Florian Weimer <fweimer@redhat.com>
25951
eceed671
FW
25952 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
25953 tst-xreadlink.
25954 (tests): Add tst-xreadlink.
1ffe1ccb
FW
25955 * support/support.h (xstrndup): Declare.
25956 * support/xunistd.h (xunlink, xreadlink): Declare.
25957 * support/temp_file.h (support_create_temp_directory): Declare.
25958 * support/temp_file.c (support_create_temp_directory): New function.
25959 * support/support_chroot.c (support_chroot_create): Use it.
25960 * support/xreadlink.c: New file.
25961 * support/xstrndup.c: Likewise.
25962 * support/xunlink.c: Likewise.
25963 * support/tst-xreadlink.c: Likewise.
25964
456b40a9
JDA
259652017-11-11 John David Anglin <danglin@gcc.gnu.org>
25966
25967 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
25968
c0a25aa9
FW
259692017-11-11 Florian Weimer <fweimer@redhat.com>
25970
25971 [BZ #22409]
25972 [BZ #22412]
25973 * resolv/res_comp.c (printable_string, binary_hnok)
25974 (binary_leading_dash): New functions.
25975 (res_hnok): Reimplement using these functions and ns_name_pton.
25976 (res_ownok): Likewise.
25977 (res_mailok): Reimplement using printable_string, ns_name_pton and
25978 binary_hnok.
25979 (res_dnok): Reimplement using printable_string and ns_name_pton.
25980 * resolv/tst-res_hnok.c (tests): Add additional tests.
25981 (LETTERDIGITS, PRINTABLE): Define.
25982 (do_test): Adjust one_char results.
25983
9e0ad304
FW
259842017-11-11 Florian Weimer <fweimer@redhat.com>
25985
25986 [BZ #22413]
25987 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
25988 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
25989
e2a9fca8
FW
259902017-11-11 Florian Weimer <fweimer@redhat.com>
25991
25992 * resolv/tst-ns_name_pton.c: New file.
25993 * resolv/Makefile (tests): Add tst-ns_name_pton.
25994 (tst-ns_name_pton): Link against libresolv.
25995
5c1a6923
FW
259962017-11-11 Florian Weimer <fweimer@redhat.com>
25997
25998 * resolv/tst-res_hnok.c: New file.
25999 * resolv/Makefile (tests): Add tst-res_hnok.
26000 (tst-res_hnok): Link against libresolv.
26001
a19c0a1d
FW
260022017-11-11 Florian Weimer <fweimer@redhat.com>
26003
26004 * resolv/tst-resolv-network.c: Use test framework instead explicit
26005 main function.
26006
8cb5295d
L
260072017-11-09 H.J. Lu <hongjiu.lu@intel.com>
26008
26009 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
26010 <jmp_buf-macros.h>.
26011 [!_ISOMAC] (STR_HELPER): New.
26012 [!_ISOMAC] (STR): Likewise.
26013 [!_ISOMAC] (TEST_SIZE): Likewise.
26014 [!_ISOMAC] (TEST_ALIGN): Likewise.
26015 [!_ISOMAC] (TEST_OFFSET): Likewise.
26016 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
26017 field offsets of jmp_buf as well as sigjmp_buf.
26018 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
26019 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
26020 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
26021 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
26022 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
26023 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
26024 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
26025 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
26026 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
26027 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
26028 Likewise.
26029 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
26030 Likewise.
26031 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
26032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
26033 Likewise.
26034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
26035 Likewise.
26036 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
26037 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
26038 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
26039 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
26040 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
26041 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
26042 Likewise.
26043 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
26044 Likewise.
26045 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
26046 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
26047 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
26048
58c4a161
JM
260492017-11-07 Joseph Myers <joseph@codesourcery.com>
26050
3683b423
JM
26051 * include/float.h
26052 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26053 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
26054 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26055 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
26056 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26057 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
26058 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26059 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
26060 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26061 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
26062 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26063 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
26064 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26065 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
26066 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26067 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
26068 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26069 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
26070 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26071 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
26072 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26073 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
26074 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26075 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
26076 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26077 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
26078 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26079 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
26080 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26081 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
26082 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26083 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
26084 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26085 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
26086 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26087 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
26088 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26089 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
26090 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26091 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
26092 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26093 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
26094 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26095 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
26096 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26097 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
26098 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26099 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
26100 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26101 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
26102 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26103 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
26104 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26105 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
26106 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26107 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
26108 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26109 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
26110 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26111 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
26112 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26113 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
26114 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26115 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
26116 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26117 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
26118 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26119 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
26120 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26121 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
26122 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26123 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
26124 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26125 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
26126 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26127 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
26128 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26129 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
26130 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26131 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
26132 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26133 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
26134 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26135 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
26136 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26137 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
26138 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
26139 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
26140
58c4a161
JM
26141 * stdlib/tst-strtod.h (F16): New macro.
26142 (F32): Likewise.
26143 (F64): Likewise.
26144 (F32X): Likewise.
26145 (F64X): Likewise.
26146 (F128X): Likewise.
26147 (IF_FLOAT16): Likewise.
26148 (IF_FLOAT32): Likewise.
26149 (IF_FLOAT64): Likewise.
26150 (IF_FLOAT32X): Likewise.
26151 (IF_FLOAT64X): Likewise.
26152 (IF_FLOAT128X): Likewise.
26153 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
26154 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
26155 (STRTOD_TEST_FOREACH): Likewise.
26156 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
26157 (CHOOSE_f64): Likewise.
26158 (CHOOSE_f32x): Likewise.
26159 (CHOOSE_f64x): Likewise.
26160
feda96a1
AS
261612017-11-07 Andreas Schwab <schwab@suse.de>
26162
26163 * nptl/Makefile (tests-internal): Remove tst-typesizes.
26164
1bd0cbb8
MF
261652017-11-07 Mike FABIAN <mfabian@redhat.com>
26166
26167 [BZ #22403]
26168 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
26169 to be escaped.
26170 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
26171 to be escaped.
26172
363e4519 261732017-11-07 Claude Paroz <claude@2xlibre.net>
d8301314
CP
26174
26175 [BZ #22403]
26176 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
26177 to be escaped.
26178 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
26179 to be escaped.
26180 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
26181 to be escaped.
26182
dff91cd4
AZ
261832017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26184
06be6368
AZ
26185 [BZ #22298]
26186 * nptl/allocatestack.c (allocate_stack): Check if
26187 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
26188 __PTHREAD_MUTEX_HAVE_PREV is defined.
26189 * nptl/descr.h (pthread): Likewise.
26190 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26191 Likewise.
26192 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
26193 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
26194 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
26195 * sysdeps/nptl/bits/thread-shared-types.h
26196 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
26197 defines.
26198 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
26199 of __WORDSIZE for internal layout.
26200 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
26201 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
26202 instead of __WORDSIZE whether to use an union for __spins and __list
26203 fields.
26204 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
26205 case.
26206 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
26207 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
26208 defines.
26209 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
26210 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26211 Likewise.
26212 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
26213 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26214 Likewise.
26215 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
26216 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26217 Likewise.
26218 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
26219 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26220 Likewise.
26221 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
26222 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26223 Likewise.
26224 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
26225 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26226 Likewise.
26227 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
26228 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26229 Likewise.
26230 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
26231 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26232 Likewise.
26233 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
26234 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26235 Likewise.
26236 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
26237 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26238 Likewise.
26239 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
26240 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26241 Likewise.
26242 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
26243 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26244 Likewise.
26245 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
26246 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26247 Likewise.
26248 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
26249 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
26250 Likewise.
26251
72b3c6ee
AZ
26252 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
26253 New macros.
26254 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
26255 checks for expected input type size.
26256 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
26257 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
26258 Likewise.
26259 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
26260 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
26261 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
26262 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
26263 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
26264 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
26265 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
26266 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
26267 superflous runtime assert check.
26268 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
26269 Likewise.
26270 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
26271 Likewise.
26272 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
26273 Likewise.
26274 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
26275 Likewise.
26276 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
26277 Likewise.
26278 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
26279 Likewise.
26280 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
26281 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
26282 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
26283 Likewise.
26284 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
26285 Likewise.
26286 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
26287 Likewise.
26288 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
26289 Likewise.
26290 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
26291 Likewise.
26292 * nptl/pthread_attr_setinheritsched.c
26293 (__pthread_attr_setinheritsched): Likewise.
26294 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
26295 Likewise.
26296 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
26297 Likewise.
26298 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
26299 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
26300 __old_pthread_attr_setstack): Likewise.
26301 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
26302 Likewise.
26303 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
26304 Likewise.
26305 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
26306 Likewise.
26307 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
26308 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
26309 Likewise.
26310 * nptl/tst-typesizes.c: Remove file.
26311
dff91cd4
AZ
26312 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
26313 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
26314 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
26315 checks for internal pthread_mutex_t offsets.
26316 * sysdeps/aarch64/nptl/pthread-offsets.h
26317 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
26318 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
26319 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
26320 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
26321 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
26322 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
26323 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
26324 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
26325 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
26326 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
26327 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
26328 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
26329 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
26330 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
26331 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
26332 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
26333 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
26334 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
26335
b7fc95f8
FW
263362017-11-07 Florian Weimer <fweimer@redhat.com>
26337
26338 * bits/mman-linux.h: Move ...
26339 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
26340 comment.
26341 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
26342 outdated comment.
26343
6b860364
RS
263442017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26345
26346 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
26347 Redefine STRNLEN as __strnlen_power8.
26348
802c1f16
AZ
263492017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26350
d83da3a4
AZ
26351 * signal/sighold.c (sighold): Optimize implementation.
26352
6a4235f1
AZ
26353 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
26354 __NR_rt_sigqueueinfo.
26355
8b0e795a
AZ
26356 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
26357 __sigtimedwait.
26358 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
26359 assume __NR_rt_sigtimedwait.
26360 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
26361 and add LIBC_CANCEL_HANDLED for cancellation marking.
26362 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
26363
a1a638dd
AZ
26364 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
26365 (sysdeps_routines): Add memchr_noneon.
26366 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
26367 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
26368 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
26369 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
26370 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
26371 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
26372 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
26373
802c1f16
AZ
26374 * sysdeps/arm/arm-ifunc.h: New file.
26375 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
26376 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
26377 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
26378 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
26379 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
26380 (__memcpy_neon): Avoid create hidden alias.
26381 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
26382 (__memcpy_vfp): Likewise.
26383 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
26384 (sysdep_routines): Add memcpy_arm.
26385 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
26386
abcb584d
L
263872017-11-06 H.J. Lu <hongjiu.lu@intel.com>
26388
26389 [BZ #22362]
26390 * Makerules (make-link-multidir): New.
26391 * config.make.in (multidir): New.
26392 * configure.ac (libc_cv_multidir): New. AC_SUBST.
26393 * configure: Regenerated.
26394 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
26395 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
26396 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
26397 New target.
26398
4e2dff67
JM
263992017-11-06 Joseph Myers <joseph@codesourcery.com>
26400
26401 [BZ #22402]
26402 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
26403 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
26404
a1c7cd3c
MF
264052017-11-04 Mike FABIAN <mfabian@redhat.com>
26406
26407 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
26408 to be escaped.
26409
b9af29c0
FW
264102017-11-04 Florian Weimer <fweimer@redhat.com>
26411
26412 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
26413
4ca70e1a
JM
264142017-11-03 Joseph Myers <joseph@codesourcery.com>
26415
26416 * math/math.h [__HAVE_DISTINCT_FLOAT16
26417 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
26418 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
26419 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
26420 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
26421 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
26422 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
26423 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26424 (__MATH_TG_F32): New macro.
26425 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26426 (__MATH_TG_F64X): Likewise.
26427 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
26428 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
26429
ba0e6668
DL
264302017-11-03 Dmitry V. Levin <ldv@altlinux.org>
26431
26432 * po/de.po: Update translations.
26433 * po/ru.po: Likewise.
26434
bc18a6d3
FW
264352017-11-03 Florian Weimer <fweimer@redhat.com>
26436
26437 * manual/filesys.texi (Hard Links): Document linkat.
26438
97255170
JM
264392017-11-03 Joseph Myers <joseph@codesourcery.com>
26440
86ec4865
JM
26441 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
26442 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
26443 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
26444 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
26445 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
26446 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
26447 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
26448 the same as _Float128.
26449 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
26450 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
26451 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
26452
97255170
JM
26453 * stdlib/stdlib.h
26454 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
26455 Declare.
26456 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
26457 Likewise.
26458 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
26459 Likewise.
26460 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26461 (strtof32x): Likewise.
26462 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26463 (strtof64x): Likewise.
26464 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26465 (strtof128x): Likewise.
26466 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26467 (strfromf16): Likewise.
26468 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26469 (strfromf32): Likewise.
26470 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26471 (strfromf64): Likewise.
26472 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26473 (strfromf32x): Likewise.
26474 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26475 (strfromf64x): Likewise.
26476 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26477 (strfromf128x): Likewise.
26478 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
26479 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
26480 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
26481 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
26482 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
26483 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
26484
6d58ce5e
RH
264852017-11-03 Richard Henderson <rth@twiddle.net>
26486
26487 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
26488
659ca267
SN
264892017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26490
26491 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
26492
94d2f0af
SN
264932017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26494
26495 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
26496 DT_TLSDESC_GOT initialization.
26497 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
26498 (_dl_tlsdesc_resolve_hold): Likewise.
26499 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
26500 (_dl_tlsdesc_resolve_hold): Likewise.
26501 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
26502 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
26503
28e1ddf3
SN
265042017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26505
26506 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
26507
0ca3d1d6
SN
265082017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26509
26510 [BZ #18572]
26511 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
26512 non-lazily for R_ARM_TLS_DESC.
26513
2c1d4e5f
SN
265142017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26515
26516 [BZ #17078]
26517 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
26518 R_ARM_TLS_DESC case.
26519 (elf_machine_lazy_rel): Remove the prelink check.
26520
91c5a366
SN
265212017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26522
26523 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
26524 DT_TLSDESC_GOT initialization.
26525 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
26526 (_dl_tlsdesc_resolve_rela): Likewise.
26527 (_dl_tlsdesc_resolve_hold): Likewise.
26528 (_dl_tlsdesc_undefweak): Remove ldar.
26529 (_dl_tlsdesc_dynamic): Likewise.
26530 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
26531 (_dl_tlsdesc_resolve_rela): Likewise.
26532 (_dl_tlsdesc_resolve_hold): Likewise.
26533 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
26534 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
26535 (_dl_tlsdesc_resolve_rela): Likewise.
26536 (_dl_tlsdesc_resolve_hold): Likewise.
26537
b7cf203b
SN
265382017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26539
26540 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
26541 binding and initialization non-lazily for R_AARCH64_TLSDESC.
26542
0cc5b022
SN
265432017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26544
26545 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
26546 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
26547
43ddff2e
JM
265482017-11-02 Joseph Myers <joseph@codesourcery.com>
26549
26550 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
26551 Declare.
26552 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
26553 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
26554 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
26555 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
26556 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
26557 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
26558 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
26559 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
26560 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
26561 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
26562 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
26563
5baac970
MF
265642017-11-02 Mike FABIAN <mfabian@redhat.com>
26565
26566 [BZ #22382]
26567 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
26568 * localedata/locales/tpi_PG: Add standard header.
26569
ef11081f
FW
265702017-11-02 Florian Weimer <fweimer@redhat.com>
26571
26572 test-errno-linux: quotactl can fail with EPERM in containers.
26573 * sysdeps/unix/sysv/linux/test-errno-linux.c
26574 (LIST, LIST_FORWARD): New macros.
26575 (check_error_in_list): New function.
26576 (test_wrp_rv): Accept list of permitted error codes.
26577 (test_wrp_rv2): Remove.
26578 (test_wrp): Call test_wrp_rv with list of error codes.
26579 (test_wrp2): Accept list of error codes.
26580 (do_test): Adjust. Allow EPERM for quotactl.
26581
d10b132b
FW
265822017-11-02 Florian Weimer <fweimer@redhat.com>
26583
26584 * stdio-common/bug16.c (do_test): Use array_length.
26585 * stdio-common/errlist.c (_sys_nerr): Likewise.
26586 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
26587 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
26588 * stdio-common/psiginfo.c (psiginfo): Use array_length.
26589 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
26590 (do_test): Use array_length.
26591 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
26592 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
26593 * stdio-common/tst-printf-round.c (do_test): Likewise.
26594 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
26595 (CHECK): Use array_length.
26596 * stdio-common/tstdiomisc.c (t3, F): Likewise.
26597 * stdio-common/tstscanf.c (main): Likewise.
26598 * stdio-common/vfprintf.c (process_string_arg): Likewise.
26599
c94a5688
FW
266002017-11-02 Florian Weimer <fweimer@redhat.com>
26601
26602 Add array_length and array_end macros.
26603 * include/array_length.h: New file.
26604
2fac6a6c
FW
266052017-11-02 Florian Weimer <fweimer@redhat.com>
26606
26607 [BZ #22332]
26608 * posix/tst-glob-tilde.c (do_noescape): New variable.
26609 (one_test): Process it.
26610 (do_test): Set do_noescape. Add unescaping test case.
26611
2f1b212e
JM
266122017-11-01 Joseph Myers <joseph@codesourcery.com>
26613
260fbd0a
JM
26614 * math/complex.h
26615 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
26616 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
26617 with appropriate macros defined and undefined.
26618 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
26619 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26620 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
26621 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26622 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
26623 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26624 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
26625 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26626 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
26627 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26628
2f1b212e
JM
26629 * math/complex.h
26630 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
26631 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
26632 that for long double. Do not condition define and undefine of
26633 _Mdouble_complex_ on [__CFLOAT128].
26634
95b93c6e
L
266352017-11-01 H.J. Lu <hongjiu.lu@intel.com>
26636
26637 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
26638 of <sysdeps/generic/sysdep.h>.
26639 (ALIGNARG): Removed.
26640 (ASM_SIZE_DIRECTIVE): Likewise.
26641 (ENTRY): Likewise.
26642 (END): Likewise.
26643 (ENTRY_CHK): Likewise.
26644 (END_CHK): Likewise.
26645 (syscall_error): Likewise.
26646 (mcount): Likewise.
26647 (PSEUDO_END): Likewise.
26648 (L): Likewise.
26649 (atom_text_section): Likewise.
26650 * sysdeps/x86/sysdep.h: New file.
26651 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
26652 of <sysdeps/generic/sysdep.h>.
26653 (ALIGNARG): Removed.
26654 (ASM_SIZE_DIRECTIVE): Likewise.
26655 (ENTRY): Likewise.
26656 (END): Likewise.
26657 (ENTRY_CHK): Likewise.
26658 (END_CHK): Likewise.
26659 (syscall_error): Likewise.
26660 (mcount): Likewise.
26661 (PSEUDO_END): Likewise.
26662 (L): Likewise.
26663 (atom_text_section): Likewise.
26664
1bb36539
RL
266652017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
26666
26667 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
26668 category of LC_CTYPE set to "i18n:2012".
26669 * localedata/locales/i18n_ctype: Regenerate.
26670
067f5d97 266712017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 26672
87bbc4cf
YN
26673 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
26674 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
26675 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
26676 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
26677
e8681faa
YN
26678 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
26679 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
26680 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
26681 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
26682
540af6e2
JM
266832017-10-31 Joseph Myers <joseph@codesourcery.com>
26684
43e66283
JM
26685 * math/complex.h
26686 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
26687 New macro.
26688 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
26689 Likewise.
26690 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
26691 Likewise.
26692 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26693 (CMPLXF32X): Likewise.
26694 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26695 (CMPLXF64X): Likewise.
26696 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26697 (CMPLXF128X): Likewise.
26698
540af6e2
JM
26699 * math/math.h
26700 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
26701 (__MATH_EVAL_FMT2): Define to add 0.0f.
26702
58af72b4
AM
267032017-10-31 Alan Modra <amodra@gmail.com>
26704
26705 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
26706 include sysdep.h.
26707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
26708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
26709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
26710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
26711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
26712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
26713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
26714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
26715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
26716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
26717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
26718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
26719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
26720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
26721 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
26722 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
26723 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
26724 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
26725 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
26726 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
26727 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
26728 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
26729 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
26730 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
26731 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
26732 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
26733 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
26734 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
26735 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
26736 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
26737 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
26738 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
26739 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
26740 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
26741 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
26742 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
26743 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
26744 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
26745 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
26746 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
26747 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
26748 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
26749 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
26750 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
26751 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
26752 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
26753 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
26754 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
26755 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
26756 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
26757 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
26758 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
26759 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
26760 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
26761 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
26762 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
26763 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
26764 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
26765 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
26766 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
26767 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
26768 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
26769 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
26770 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
26771 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
26772 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
26773 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
26774 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
26775 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
26776
26777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
26778 include sysdep.h and math_ldbl_opt.h.
26779
26780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
26781 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
26782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
26783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
26784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
26785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
26786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
26787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
26788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
26789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
26790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
26791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
26792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
26793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
26794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
26795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
26796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
26797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
26798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
26799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
26800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
26801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
26802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
26803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
26804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
26805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
26806
112f30b3
AM
268072017-10-31 Alan Modra <amodra@gmail.com>
26808
26809 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
26810 string/strncase_l.c, not string/strncase.c.
26811 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
26812 (libc_hidden_def): Redefine.
26813
e9e7eced
AM
268142017-10-31 Alan Modra <amodra@gmail.com>
26815
26816 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
26817 (__STRCMP, STRCMP, __strcasecmp_l): Define.
26818 (__strcasecmp): Don't define.
26819
f7b465cf
AM
268202017-10-31 Alan Modra <amodra@gmail.com>
26821
26822 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
26823 IS_IN (libc).
26824 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
26825 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
26826 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
26827
d46b09f9
AM
268282017-10-31 Alan Modra <amodra@gmail.com>
26829
26830 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
26831 USE_AS_STPNCPY.
26832
e9b8e194
AM
268332017-10-31 Alan Modra <amodra@gmail.com>
26834
26835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
26836 Redefine only when SHARED.
26837
eda162dd
JM
268382017-10-30 Joseph Myers <joseph@codesourcery.com>
26839
b61afe8c
JM
26840 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
26841 Include <bits/math-finite.h> with appropriate macros defined and
26842 undefined.
26843 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
26844 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
26845 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
26846 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
26847 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
26848
eda162dd
JM
26849 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
26850 [!_Mlong_double_] (_Mlong_double_): Likewise.
26851 [!_Mfloat16_] (_Mfloat16_): Likewise.
26852 [!_Mfloat32_] (_Mfloat32_): Likewise.
26853 [!_Mfloat64_] (_Mfloat64_): Likewise.
26854 [!_Mfloat128_] (_Mfloat128_): Likewise.
26855 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
26856 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
26857 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
26858 (_Mdouble_): Define without indirection through those macros.
26859 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
26860 [!_Mfloat128_] (_Mfloat128_): Likewise.
26861 [_Mlong_double_] (_Mlong_double_): Likewise.
26862 (_Mdouble_): Define without indirection through those macros.
26863 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
26864 not add -D_Mlong_double_=double.
26865 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
26866 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
26867
4ad5106e
L
268682017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26869
26870 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
26871
fe326df7
L
268722017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26873
26874 * sysdeps/x86/libc-start.c: Reformat.
26875
c5cc4514
L
268762017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26877
26878 [BZ #22353]
26879 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
26880 (1): Renamed to ...
26881 (L(Src0)): This.
26882 (L(Src1)): New.
26883 (L(Src2)): Likewise.
26884 (L(1)): Renamed to ...
26885 (L(Src3)): This.
26886
ce12269f
JM
268872017-10-30 Joseph Myers <joseph@codesourcery.com>
26888
26889 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
26890 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
26891 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
26892 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
26893 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
26894 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
26895 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
26896 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
26897 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
26898 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
26899 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
26900 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
26901 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
26902 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
26903 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
26904 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
26905 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
26906 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
26907 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
26908 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
26909 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
26910 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
26911 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
26912 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
26913 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
26914 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
26915 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
26916 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
26917 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
26918 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
26919 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
26920 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
26921 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
26922 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
26923 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
26924 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
26925 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
26926 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
26927 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
26928 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
26929 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
26930 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
26931 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
26932 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
26933 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
26934 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
26935 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
26936 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
26937 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
26938 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
26939 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
26940 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
26941 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
26942 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
26943 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
26944 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
26945 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
26946 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
26947 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
26948 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
26949 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
26950 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
26951 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
26952 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
26953 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
26954 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
26955
4484b9e2
FW
269562017-10-30 Florian Weimer <fweimer@redhat.com>
26957
26958 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
26959 always defined.
26960 * io/tst-mkdirat.c (do_test): Likewise.
26961 * io/tst-mkfifoat.c (do_test): Likewise.
26962 * io/tst-mknodat.c (do_test): Likewise.
26963 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
26964 * locale/programs/locale.c (select_dirs): Likewise.
26965 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
26966 * posix/bug-glob2.c (my_readdir): Likewise.
26967 * posix/tst-dir.c (main): Likewise.
26968 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
26969 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
26970
68fe16dd
FW
269712017-10-30 Florian Weimer <fweimer@redhat.com>
26972
26973 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
26974 just __USE_GNU.
26975
dadf23f0
FW
269762017-10-30 Florian Weimer <fweimer@redhat.com>
26977
26978 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
26979 Convert to support/test-driver.c.
26980 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
26981 New macro parameters.
26982 (PRINTF): Remove macro. Use test_verbose conditionals instead.
26983 * posix/tst-gnuglob.c: New file.
26984 * posix/tst-gnuglob64.c: Likewise.
26985 * posix/Makefile (tests): Add tst-gnuglob64.
26986
363e4519 269872017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
fbcecc08
MF
26988
26989 [BZ #19485]
26990 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
26991 and use a better translation for March in “mon”.
26992 * localedata/locales/csb_PL: Use more ASCII to improve the
26993 readability of the source.
26994
b110af82
MF
269952017-10-30 Mike FABIAN <mfabian@redhat.com>
26996
26997 [BZ #13953]
26998 * localedata/locales/km_KH: Use ASCII as much
26999 as possible for better readability of the source and
27000 remove useless comments.
27001 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
27002 was commented out and apparently wrong anyway because it was
27003 using Lao characters. If Buddhist era should be used
27004 for km_KH, a native speaker should write the correct formaat
27005 for Khmer.
27006 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
27007 (According to CLDR, the first weekday for Cambodia is Sunday).
27008 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
27009 (These were using Lao characters which must be wrong. If we get
27010 the correct data from a native speaker, we could add it back, until
27011 then it is better not to have name_mr and name_mrs at all than
27012 having it wrong).
27013
f301e533
RL
270142017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
27015
27016 * locale/loadlocale.c: Correct size of
27017 _nl_value_type_LC_<category> arrays.
27018
7e9d7073
JM
270192017-10-27 Joseph Myers <joseph@codesourcery.com>
27020
27021 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
27022 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
27023 with appropriate macros defined and undefined.
27024 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
27025 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
27026 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
27027 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
27028 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
27029
63d3b468
L
270302017-10-27 H.J. Lu <hongjiu.lu@intel.com>
27031
27032 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
27033 "-O2 -march=i586".
27034
a4cc02c7
MF
270352017-10-27 Mike FABIAN <mfabian@redhat.com>
27036
27037 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
27038 with lowercase letters to make it agree with CLDR.
27039
1e5971ec
MF
270402017-10-27 Mike FABIAN <mfabian@redhat.com>
27041
27042 [BZ #15260]
27043 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
27044 first letters of yesstr and nostr in yesexpr and noexpr,
27045 not for the full words.
27046 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
27047 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
27048 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
27049 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
27050 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
27051 first letters of yesstr and nostr in yesexpr and noexpr,
27052 until now only English was matched in yesexpr and noexpr.
27053 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
27054 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
27055 fil but not for tl. As tl and fil are very similar, using fil
27056 is probably better than using English.
27057
363e4519 270582017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
bc5fc7de
MF
27059
27060 [BZ #21706]
27061 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
27062 in yesstr and nostr.
27063
5d220788
JM
270642017-10-26 Joseph Myers <joseph@codesourcery.com>
27065
ecc7da5b
JM
27066 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
27067 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
27068 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
27069 Likewise.
27070 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
27071 Likewise.
27072 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
27073 Likewise.
27074 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
27075 Likewise.
27076 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27077 (SNANF128X): Likewise.
27078
5d220788
JM
27079 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
27080 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
27081 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27082 (HUGE_VAL_F32): Likewise.
27083 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27084 (HUGE_VAL_F64): Likewise.
27085 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27086 (HUGE_VAL_F32X): Likewise.
27087 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27088 (HUGE_VAL_F64X): Likewise.
27089 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27090 (HUGE_VAL_F128X): Likewise.
27091
363e4519 270922017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
67ad7163
TV
27093
27094 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
27095 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
27096 for the br_FR locale.
27097
363e4519 270982017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
408dff7e
TV
27099
27100 [BZ #21706]
27101 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
27102
337ff3c5
CD
271032017-10-25 Carlos O'Donell <carlos@redhat.com>
27104
02eec681
CD
27105 * locale/programs/record-status.h: Define globals, and function
27106 prototypes. Move function bodies...
27107 * locale/programs/record-status.c: ... to here. New file.
27108 * iconv/Makefile (iconv_prog-modules): Add record-status.
27109 * locale/Makefile (lib-modules): Likewise.
27110 * iconv/iconv_prog.c: Remove verbose.
27111 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
27112 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
27113 record a warning about ASCII compatibility.
27114 * locale/programs/ld-monetary.c (monetary_finish): If
27115 warn_int_curr_symbol is true then record a warning about the symbol
27116 not being in our ISO 4217 list.
27117 * locale/programs/locale.c: Include record-status.h. Remove verbose.
27118 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
27119 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
27120 (OPT_NO_WARN): Define.
27121 (OPT_WARN): Define.
27122 (options): Add entry for --no-warnings, and --warnings.
27123 (set_warnings): New function to enable/disable warnings.
27124 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
27125 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
27126 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
27127 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
27128 Pass flags to generate_locale.
27129 (generate_locale): Accept new flag argument and pass it to localedef
27130 invocation.
27131 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
27132 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
27133
56fa555a
CD
27134 * localedata/Makefile (test-input-data): Use full file name.
27135 * localedata/da_DK.in: Rename to...
27136 * localedata/da_DK.ISO-8859-1.in: ...this.
27137 * localedata/de_DE.in: Rename to...
27138 * localedata/de_DE.ISO-8859-1.in: ...this.
27139 * localedata/en_US.in: Rename to...
27140 * localedata/en_US.ISO-8859-1.in: ...this.
27141 * localedata/fr_FR.in: Rename to...
27142 * localedata/fr_FR.UTF-8.in: ... this.
27143 * localedata/hr_HR.in: Rename to...
27144 * localedata/hr_HR.ISO-8859-2.in: ...this.
27145 * localedata/hu_HU.in: Rename to...
27146 * localedata/hu_HU.UTF-8.in: ...this.
27147 * localedata/si_LK.in: Rename to...
27148 * localedata/si_LK.UTF-8.in: ...this.
27149 * localedata/sv_SE.in: Rename to...
27150 * localedata/sv_SE.ISO-8859-1.in: ...this.
27151 * localedata/tr_TR.in: Rename to...
27152 * localedata/tr_TR.UTF-8.in: ...this.
27153 * localedata/uk_UA.in: Rename to...
27154 * localedata/uk_UA.UTF-8.in: ...this.
27155 * localedata/sort-test.sh: Test file is locale name with the
27156 suffix.
27157
337ff3c5
CD
27158 * localedata/unicode-gen/Makefile (check_i18n): Rename to
27159 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
27160 file.
27161 * localedata/locales/i18n_ctype: Regenerate.
27162 * localedata/locales/tr_TR: Likewise.
27163 * localedata/locales/translit_circle: Likewise.
27164 * localedata/locales/translit_cjk_compat: Likewise.
27165 * localedata/locales/translit_combining: Likewise.
27166 * localedata/locales/translit_compat: Likewise.
27167 * localedata/locales/translit_font: Likewise.
27168 * localedata/locales/translit_fraction: Likewise.
27169
63da5cd4
RS
271702017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27171
27172 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
27173 lxvd2x/stxvd2x with lvx/stvx.
27174 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
27175
a122dbfb
L
271762017-10-25 H.J. Lu <hongjiu.lu@intel.com>
27177
27178 * include/alloc_buffer.h: Replace "if if " with "if " in
27179 comments.
27180 * sysdeps/mips/memcpy.S: Likkewise.
27181 * sysdeps/mips/memset.S: Likewise.
27182 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
27183 Likewise.
27184 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
27185 Likewise.
27186 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
27187 Likewise.
27188
9be7530c
MF
271892017-10-25 Mike FABIAN <mfabian@redhat.com>
27190
27191 [BZ #15261]
27192 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
27193 yesexpr and noexpr.
27194 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
27195 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
27196 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
27197 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
27198 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
27199 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
27200 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
27201
6ccbf6ff
MF
272022017-10-25 Mike FABIAN <mfabian@redhat.com>
27203
27204 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
27205 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
27206 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
27207 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
27208 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
27209 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
27210 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
27211 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
27212 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
27213 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
27214 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
27215 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
27216
58b1a7ea
MF
272172017-10-25 Mike FABIAN <mfabian@redhat.com>
27218
27219 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
27220 as possible for better readability of the source.
27221 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
27222 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
27223 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
27224 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
27225 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
27226 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
27227 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
27228 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
27229 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
27230 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
27231 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
27232 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
27233 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
27234 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
27235 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
27236 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
27237 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
27238 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
27239 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
27240 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
27241 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
27242 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
27243 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
27244 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
27245 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
27246 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
27247 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
27248 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
27249 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
27250 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
27251 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
27252 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
27253 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
27254 * localedata/locales/en_US (LC_MESSAGES): Likewise.
27255 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
27256 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
27257 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
27258 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
27259 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
27260 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
27261 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
27262 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
27263 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
27264 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
27265 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
27266 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
27267 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
27268 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
27269 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
27270 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
27271 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
27272 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
27273 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
27274 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
27275 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
27276 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
27277 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
27278 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
27279 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
27280 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
27281 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
27282 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
27283 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
27284 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
27285 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
27286 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
27287 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
27288 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
27289 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
27290 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
27291 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
27292 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
27293 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
27294 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
27295 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
27296 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
27297 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
27298 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
27299 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
27300 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
27301 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
27302 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
27303 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
27304 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
27305 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
27306 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
27307 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
27308 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
27309 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
27310 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
27311 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
27312 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
27313 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
27314 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
27315 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
27316 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
27317 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
27318 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
27319 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
27320 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
27321 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
27322 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
27323 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
27324 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
27325 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
27326 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
27327 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
27328 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
27329 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
27330 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
27331 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
27332 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
27333 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
27334 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
27335 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
27336 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
27337 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
27338 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
27339 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
27340 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
27341 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
27342 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
27343 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
27344 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
27345 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
27346 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
27347 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
27348 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
27349 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
27350 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
27351 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
27352 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
27353 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
27354 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
27355 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
27356 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
27357 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
27358 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
27359 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
27360 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
27361 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
27362 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
27363 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
27364 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
27365 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
27366 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
27367 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
27368 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
27369 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
27370 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
27371 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
27372 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
27373 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
27374 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
27375 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
27376 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
27377 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
27378 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
27379 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
27380 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
27381 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
27382 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
27383 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
27384 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
27385 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
27386 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
27387 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
27388 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
27389 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
27390 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
27391 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
27392 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
27393 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
27394 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
27395
17e78edb
MF
273962017-10-25 Mike FABIAN <mfabian@redhat.com>
27397
27398 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
27399 (Use first letters of yesstr and nostr correctly instead of using
27400 full words).
27401
74e7284f
MF
274022017-10-25 Mike FABIAN <mfabian@redhat.com>
27403
27404 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
27405 (Use first letters of yesstr and nostr correctly).
27406
b41a0ff1
MF
274072017-10-25 Mike FABIAN <mfabian@redhat.com>
27408
27409 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
27410 also check for the first characters of yesstr and nostr.
27411 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
27412 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
27413
d971f380
MF
274142017-10-25 Mike FABIAN <mfabian@redhat.com>
27415
27416 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
27417 also check for Chinese characters.
27418
effc9e1d
MF
274192017-10-25 Mike FABIAN <mfabian@redhat.com>
27420
27421 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
27422 match also for the contents of yesstr and nostr. As the first letter
27423 of yesstr and nostr is equal, checking only for the first letter
27424 is not enough.
27425
10320881
MF
274262017-10-25 Mike FABIAN <mfabian@redhat.com>
27427
27428 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
27429 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
27430
d8682a15
MF
274312017-10-25 Mike FABIAN <mfabian@redhat.com>
27432
27433 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
27434 of main contributor.
27435
1bfb86ae
MF
274362017-10-25 Mike FABIAN <mfabian@redhat.com>
27437
27438 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
27439 instead of using English.
27440
da33d60b
MF
274412017-10-25 Mike FABIAN <mfabian@redhat.com>
27442
27443 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
27444 by including the first letters of nostr and yesexpr in the regexp.
27445 Also make it more readable by using ASCII where possible.
27446
725bbb3e
MF
274472017-10-25 Mike FABIAN <mfabian@redhat.com>
27448
27449 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
27450 the first letter of nostr in the regexp. It agrees with CLDR now.
27451 Also make it more readable by using ASCII where possible.
27452
fe043d8a
MF
274532017-10-24 Mike FABIAN <mfabian@redhat.com>
27454
27455 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
27456 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
27457 these strings contain a U+17D6 (which somewhat looks like a colon)
27458 instead of a real colon to separate the full words for “yes”
27459 and “no” from the single letter responses.
27460
360a8df3
MF
274612017-10-24 Mike FABIAN <mfabian@redhat.com>
27462
27463 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
27464 it agree with CLDR (include the first letter of yesstr).
27465 Also make it more readable by using ASCII where possible.
27466
bab7b6b0
MF
274672017-10-24 Mike FABIAN <mfabian@redhat.com>
27468
27469 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
27470 and improve yesexpr and noexpr. The yesstr and nostr apparently
27471 came from CLDR. And CLDR has a bug there: these strings contain
27472 a U+0903 (which looks like a colon) instead of a real colon
27473 to separate the full words for “yes” and “no” from the single
27474 letter responses.
27475
3e79f758
MF
274762017-10-24 Mike FABIAN <mfabian@redhat.com>
27477
27478 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
27479 letters of the full yesstr and nostr in yesexpr and noexpr.
27480
4960c879
MF
274812017-10-24 Mike FABIAN <mfabian@redhat.com>
27482
27483 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
27484 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
27485 * localedata/locales/an_ES: Make source more readable by using ASCII
27486 where possible.
27487
b06a054f
MF
274882017-10-24 Mike FABIAN <mfabian@redhat.com>
27489
27490 [BZ #20952]
27491 * localedata/locales/yuw_PG: New file.
27492 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
27493 * locale/iso-639.def: Add Yau (Uruwa).
27494
905a7725
WD
274952017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
27496
27497 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
27498
3f6bb8a3
WD
274992017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
27500
27501 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
27502 (__libc_realloc): Likewise.
27503 (_mid_memalign): Likewise.
27504 (__libc_calloc): Likewise.
27505
1d479c8c
MF
275062017-10-23 Mike FABIAN <mfabian@redhat.com>
27507
27508 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
27509 by adding the generic +1 and -0 as in all other locales.
27510 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
27511 day names and make it more readable by using ASCII where possible.
27512
91c3985c
JM
275132017-10-24 Joseph Myers <joseph@codesourcery.com>
27514
27515 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
27516 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
27517
aa95a241
AZ
275182017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27519
27520 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
27521 WNOHANG in waitpid call.
27522
db9bab09
SP
275232017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
27524
a2e0a7f1
SP
27525 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
27526 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
27527
db9bab09
SP
27528 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
27529 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
27530 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
27531 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
27532 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
27533 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
27534 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
27535 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
27536 variables.
27537
5062680c
MC
275382017-10-23 Michael Collison <michael.collison@arm.com>
27539
27540 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
27541 with __builtin_sqrt.
27542 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
27543 with __builtin_sqrtf.
27544 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
27545 with __builtin_ceil.
27546 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
27547 with __builtin_ceilf.
27548 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
27549 with __builtin_floor.
27550 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
27551 with __builtin_floorf.
27552 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
27553 with __builtin_fma.
27554 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
27555 with __builtin_fmaf.
27556 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
27557 with __builtin_fmax.
27558 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
27559 with __builtin_fmaxf.
27560 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
27561 with __builtin_fmin.
27562 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
27563 with __builtin_fminf.
27564 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
27565 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
27566 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
27567 with builtin_rint and conversion to int.
27568 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
27569 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
27570 with builtin_llround.
27571 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
27572 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
27573 with builtin_rint and conversion to long int.
27574 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
27575 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
27576 with builtin_lround.
27577 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
27578 with builtin_lroundf.
27579 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
27580 statements with __builtin_nearbyint.
27581 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
27582 statements with __builtin_nearbyintf.
27583 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
27584 with __builtin_rint.
27585 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
27586 with __builtin_rintf.
27587 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
27588 with __builtin_round.
27589 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
27590 with __builtin_roundf.
27591 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
27592 with __builtin_trunc.
27593 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
27594 with __builtin_truncf.
be080b6c
SN
27595 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
27596 and s_l[l]round[f].c too.
5062680c 27597
174935af
AM
275982017-10-23 Alan Modra <amodra@gmail.com>
27599
27600 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
27601 Adjust stack after restoring regs. Add missing LR cfi_restore.
27602
750a0e49
AM
276032017-10-23 Alan Modra <amodra@gmail.com>
27604
27605 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
27606 Move LR save and frame setup/teardown and LR restore to
27607 immediately around memset call. Provide cfi.
27608
5313581c
L
276092017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27610
27611 * sysdeps/i386/fpu/e_powf.S: Removed.
27612 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
27613 * sysdeps/i386/fpu/w_powf.c: Likewise.
27614 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
27615 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27616 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27617 Add e_powf-sse2.
27618 (CFLAGS-e_powf-sse2.c): New.
27619 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
27620 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
27621
6089a3ee
L
276222017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27623
27624 * sysdeps/i386/fpu/e_log2f.S: Removed.
27625 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
27626 * sysdeps/i386/fpu/w_log2f.c: Likewise.
27627 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
27628 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27629 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27630 Add e_log2f-sse2.
27631 (CFLAGS-e_log2f-sse2.c): New.
27632 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
27633 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
27634
80bb5935
L
276352017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27636
27637 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27638 Add e_powf-fma.
27639 (CFLAGS-e_powf-fma.c): New.
27640 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
27641 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
27642
5c7adbd8
L
276432017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27644
27645 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27646 Add e_log2f-fma.
27647 (CFLAGS-e_log2f-fma.c): New.
27648 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
27649 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
27650
0ccc7153
L
276512017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27652
27653 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27654 Add e_logf-fma.
27655 (CFLAGS-e_logf-fma.c): New.
27656 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
27657 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
27658
fe596486
L
276592017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27660
27661 * sysdeps/i386/fpu/e_logf.S: Removed.
27662 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
27663 * sysdeps/i386/fpu/w_logf.c: Likewise.
27664 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
27665 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
27666 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27667 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27668 Add e_logf-sse2.
27669 (CFLAGS-e_logf-sse2.c): New.
27670 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
27671 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
27672
7eda65f6
L
276732017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27674
27675 * sysdeps/i386/fpu/e_exp2f.S: Removed.
27676 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
27677 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
27678 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27679 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27680 Add e_exp2f-sse2.
27681 (CFLAGS-e_exp2f-sse2.c): New.
27682 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
27683 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
27684
5d15c969
L
276852017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27686
27687 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27688 Add e_exp2f-fma.
27689 (CFLAGS-e_exp2f-fma.c): New.
27690 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
27691 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
27692
b2f6137e
L
276932017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27694
27695 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
27696 * sysdeps/i386/fpu/e_expf.S: Likewise.
27697 * sysdeps/i386/fpu/math_errf.c: Likewise.
27698 * sysdeps/i386/fpu/w_expf.c: Likewise.
27699 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
27700 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27701 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
27702 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
27703 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27704 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27705 Remove e_expf-ia32.
27706 (CFLAGS-e_expf-sse2.c): New.
27707 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
27708 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
27709
e1f59beb
L
277102017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27711
27712 * sysdeps/x86_64/fpu/e_expf.S: Removed.
27713 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
27714 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
27715 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
27716 e_expf.c.
27717 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
27718 New.
27719 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
27720 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
27721 Renamed to ...
27722 (__redirect_expf): This.
27723 (SYMBOL_NAME): Changed to expf.
27724 (__ieee754_expf): Renamed to ...
27725 (__expf): This.
27726 (__GI___expf): This.
27727 (__ieee754_expf): Add strong_alias.
27728 (__expf_finite): Likewise.
27729 (__expf): New.
27730 Include <sysdeps/ieee754/flt-32/e_expf.c>.
27731
363e4519 277322017-10-22 Paul Eggert <eggert@cs.ucla.edu>
a159b53f
PE
27733
27734 [BZ #22332]
27735 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
27736 unescaping.
27737
e80fc1fc
FW
277382017-10-21 Florian Weimer <fweimer@redhat.com>
27739
27740 * posix/Makefile (tests): Add tst-glob-tilde.
27741 (tests-special): Add tst-glob-tilde-mem.out
27742 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
27743 (tst-glob-tilde-mem.out): Add mtrace check.
27744 * posix/tst-glob-tilde.c: New file.
27745
797ba44b
JM
277462017-10-20 Joseph Myers <joseph@codesourcery.com>
27747
27748 * bits/floatn-common.h: New file.
27749 * math/Makefile (headers): Add bits/floatn-common.h.
27750 * bits/floatn.h: Include <bits/floatn-common.h>.
27751 * sysdeps/ia64/bits/floatn.h: Likewise.
27752 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
27753 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
27754 * sysdeps/powerpc/bits/floatn.h: Likewise.
27755 * sysdeps/x86/bits/floatn.h: Likewise.
27756
fe05e1cb
AZ
277572017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27758
8f6f5362
AZ
27759 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
27760 indicates whether compiler emits an warning for alias for
27761 functions with incompatible types.
27762
fe05e1cb
AZ
27763 [BZ #22273]
27764 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
27765 the auxiliary process is terminated by a signal before calling _exit
27766 or execve.
27767
b52b0d79
L
277682017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27769
27770 [BZ #21265]
27771 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
27772 New.
27773 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
27774 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
27775 and bit_arch_XSAVEC_Usable if needed.
27776 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
27777 and bit_arch_Use_dl_runtime_resolve_opt.
27778 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
27779 Removed.
27780 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
27781 (bit_arch_Prefer_No_AVX512): Updated.
27782 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
27783 (bit_arch_XSAVEC_Usable): New.
27784 (STATE_SAVE_OFFSET): Likewise.
27785 (STATE_SAVE_MASK): Likewise.
27786 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
27787 (cpu_features): Add xsave_state_size and xsave_state_full_size.
27788 (index_arch_Use_dl_runtime_resolve_opt): Removed.
27789 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
27790 (index_arch_XSAVEC_Usable): New.
27791 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
27792 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
27793 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
27794 is enabled.
27795 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
27796 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
27797 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
27798 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
27799 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
27800 _dl_runtime_resolve_xsavec.
27801 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
27802 Removed.
27803 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
27804 instead of VEC_SIZE.
27805 (REGISTER_SAVE_BND0): Removed.
27806 (REGISTER_SAVE_BND1): Likewise.
27807 (REGISTER_SAVE_BND3): Likewise.
27808 (REGISTER_SAVE_RAX): Always defined to 0.
27809 (VMOV): Removed.
27810 (_dl_runtime_resolve_avx): Likewise.
27811 (_dl_runtime_resolve_avx_slow): Likewise.
27812 (_dl_runtime_resolve_avx_opt): Likewise.
27813 (_dl_runtime_resolve_avx512): Likewise.
27814 (_dl_runtime_resolve_avx512_opt): Likewise.
27815 (_dl_runtime_resolve_sse): Likewise.
27816 (_dl_runtime_resolve_sse_vex): Likewise.
27817 (USE_FXSAVE): New.
27818 (_dl_runtime_resolve_fxsave): Likewise.
27819 (USE_XSAVE): Likewise.
27820 (_dl_runtime_resolve_xsave): Likewise.
27821 (USE_XSAVEC): Likewise.
27822 (_dl_runtime_resolve_xsavec): Likewise.
27823 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
27824 Removed.
27825 (_dl_runtime_resolve_avx512_opt): Likewise.
27826 (_dl_runtime_resolve_avx): Likewise.
27827 (_dl_runtime_resolve_avx_opt): Likewise.
27828 (_dl_runtime_resolve_sse): Likewise.
27829 (_dl_runtime_resolve_sse_vex): Likewise.
27830 (_dl_runtime_resolve_fxsave): New.
27831 (_dl_runtime_resolve_xsave): Likewise.
27832 (_dl_runtime_resolve_xsavec): Likewise.
27833
363e4519 278342017-10-20 Paul Eggert <eggert@cs.ucla.edu>
c369d66e
PE
27835
27836 [BZ #22320]
27837 CVE-2017-15670
27838 * posix/glob.c (__glob): Fix one-byte overflow.
27839
6d43de4b
WD
278402017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
27841
27842 * malloc/malloc.c (sysdep-cancel.h): Add include.
27843
a15d53e2
WD
278442017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
27845
27846 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
27847
b9a558e7
WH
278482017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
27849
27850 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
27851 (tests): Remove $(objpfx)ga_test depdendency.
27852 * resolv/ga_test.c: Remove file.
27853
b6b08b8e
MF
278542017-10-20 Mike FABIAN <mfabian@redhat.com>
27855
27856 [BZ #18812]
27857 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
27858 * localedata/locales/kab_DZ: New file.
27859
9ba7e810
L
278602017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27861
27862 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
27863 _dl_relocate_static_pie instead of _dl_start to compute load
27864 address in static PIE.
27865
4027a4fd
L
278662017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27867
27868 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
27869
2f9314b4
MF
278702017-10-20 Mike FABIAN <mfabian@redhat.com>
27871
27872 [BZ #13605]
27873 * localedata/SUPPORTED: Add shn_MM/UTF-8.
27874 * localedata/locales/shn_MM: New file.
27875
63b4baa4
FW
278762017-10-20 Florian Weimer <fweimer@redhat.com>
27877
27878 [BZ #22321]
27879 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
27880 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
27881 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
27882 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
27883 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
27884 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
27885
95ccb619
L
278862017-10-19 H.J. Lu <hongjiu.lu@intel.com>
27887
27888 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27889
37bb78cb
JM
278902017-10-19 Joseph Myers <joseph@codesourcery.com>
27891
76f2ed92
JM
27892 * sysdeps/mips/ieee754/bits/floatn.h: New file.
27893
37bb78cb
JM
27894 [BZ #22322]
27895 * sysdeps/mips/bits/long-double.h: Move to ....
27896 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
27897
d74e6f6c
WD
278982017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
27899
27900 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
27901
363e4519 279022017-10-19 Valery Reznic <valery_reznic@yahoo.com>
4d916f0f
L
27903 H.J. Lu <hongjiu.lu@intel.com>
27904
27905 [BZ #22299]
27906 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
27907 GLRO(dl_platform) to NULL.
27908 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
27909 (modules-names): Add tst-platformmod-1 and
27910 x86_64/tst-platformmod-2.
27911 (CFLAGS-tst-platform-1.c): New.
27912 (CFLAGS-tst-platformmod-1.c): Likewise.
27913 (CFLAGS-tst-platformmod-2.c): Likewise.
27914 (LDFLAGS-tst-platformmod-2.so): Likewise.
27915 ($(objpfx)tst-platform-1): Likewise.
27916 ($(objpfx)tst-platform-1.out): Likewise.
27917 (tst-platform-1-ENV): Likewise.
27918 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
27919 * sysdeps/x86_64/tst-platform-1.c: New file.
27920 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
27921 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
27922
4b0fa403
MF
279232017-10-19 Mike FABIAN <mfabian@redhat.com>
27924
27925 [BZ #13994]
27926 * locale/iso-639.def: Add Karbi.
27927 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
27928 * localedata/locales/mjw_IN: New file.
27929
81325b12
JM
279302017-10-18 Joseph Myers <joseph@codesourcery.com>
27931
27932 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
27933 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
27934 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
27935 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
27936 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27937 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27938 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
27939 <bits/floatn.h>.
27940 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27941 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27942 * manual/math.texi (Mathematics): Document additional architecture
27943 support for _Float128.
27944 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27945 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27946 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27947 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27948 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27949 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27950 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27951 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27952 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27953 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27954 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27955 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27956 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27957 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27958 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27959
a68ba2f3
SN
279602017-10-18 Renlin Li <renlin.li@arm.com>
27961
27962 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
27963 _DYNAMIC symbol to calculate load address.
27964
346729f6
PC
279652017-10-18 Paul A. Clarke <pc@us.ibm.com>
27966
27967 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
27968 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
27969 summary bits.
27970 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
27971 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
27972
508b1e71
MF
279732017-10-18 Mike FABIAN <mfabian@redhat.com>
27974
27975 [BZ #16777]
27976 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
27977 and improve readability by using more ASCII.
27978 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
27979 and improve readability by using more ASCII.
27980
2c2245b9
WD
279812017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
27982
27983 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
27984 not all targets support atomics on bool.
27985
13c92696
JM
279862017-10-17 Joseph Myers <joseph@codesourcery.com>
27987
27988 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
27989 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
27990 __f128.
27991 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27992 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
27993 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27994 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
27995 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27996 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
27997
71d85045
AZ
279982017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27999
28000 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
28001 defines.
28002
3381be5c
WD
280032017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28004
28005 [BZ #22159]
28006 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
28007 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
28008 (do_check_remalloced_chunk): Fix build bug.
28009 (do_check_malloc_state): Add assert that checks arena->top.
28010 (malloc_consolidate): Remove initialization.
28011 (int_mallinfo): Remove call to malloc_consolidate.
6b5c8607 28012 (__libc_mallopt): Clarify why malloc_consolidate is needed.
3381be5c 28013
e956075a
WD
280142017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28015
28016 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
28017 (have_fastchunks): Remove.
28018 (clear_fastchunks): Remove.
28019 (set_fastchunks): Remove.
28020 (malloc_state): Add have_fastchunks.
28021 (malloc_init_state): Use have_fastchunks.
28022 (do_check_malloc_state): Remove incorrect invariant checks.
28023 (_int_malloc): Use have_fastchunks.
28024 (_int_free): Likewise.
28025 (malloc_consolidate): Likewise.
28026
e4dd4ace
WD
280272017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
28028
28029 * malloc/malloc.c (tcache_put): Inline.
28030 (tcache_get): Inline.
28031
5bf58bc7
AJ
280322017-10-17 Jordi Mallach <jordi@gnu.org>
28033
28034 Aurelien Jarno <aurelien@aurel32.net>
28035 [BZ #2522]
28036 * localedata/locales/ca_ES@valencia: New file.
28037 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
28038
386e1c26
RN
280392017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
28040
28041 [BZ #22296]
28042 * math/math.h: Let signbit use the builtin in C++ mode with gcc
28043 < 6.x
28044
4e17c78e
AZ
280452017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28046
3d265601
AZ
28047 * scripts/build-many-glibcs.py (Context.add_all_configs):
28048 Add arm-linux-gnueabihf multiarch extra_glibcs.
28049
4e17c78e
AZ
28050 * sysdeps/generic/ifunc-init.h: New file.
28051 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
28052
56a752ab
MF
280532017-10-17 Mike FABIAN <mfabian@redhat.com>
28054
28055 [BZ #22019]
28056 * localedata/locales/el_GR: Set n_cs_precedes to 0.
28057 * localedata/locales/el_CY: copy "el_GR" because it is identical.
28058 * stdlib/tst-strfmon_l.c: adapt test case.
28059
c38a4bfd
JM
280602017-10-16 Joseph Myers <joseph@codesourcery.com>
28061
28062 * sysdeps/generic/float128-abi.h: New file.
28063 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
28064 non-__prefixed symbols to ....
28065 * math/Versions: ... here. Include <float128-abi.h>.
28066 * stdlib/Versions ... and here. Include <float128-abi.h>
28067
76009b26
FW
280682017-10-16 Florian Weimer <fweimer@redhat.com>
28069
28070 * version.h (VERSION): Switch to ".9000" as the development
28071 version suffix.
28072
7ece6cd5
FW
280732017-10-16 Florian Weimer <fweimer@redhat.com>
28074
28075 [BZ #22050]
28076 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
28077 compat_symbol_reference to access non-default version.
28078
d8287b36
FW
280792017-10-16 Florian Weimer <fweimer@redhat.com>
28080
28081 * malloc/Makefile (others-extras): Set to mcheck-init.o.
28082
3480ddc4
CD
280832017-10-16 Carlos O'Donell <carlos@redhat.com>
28084
28085 * include/shlib-compat.h (compat_symbol_reference): Update
28086 comment.
28087
02010e79
JM
280882017-10-16 Joseph Myers <joseph@codesourcery.com>
28089
596f7013
JM
28090 * math/Makefile (test-types): Add
28091 $(type-float128-$(float128-alias-fcts)).
28092 * math/test-float128.h (TYPE_STR): Define conditional on
28093 [FLT128_MANT_DIG == LDBL_MANT_DIG].
28094 (ULP_IDX): Likewise.
28095 (ULP_I_IDX): Likewise.
28096
02010e79
JM
28097 * stdlib/strtold.c: Include <bits/floatn.h>
28098 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
28099 and later undefine as macro. Define as weak alias if
28100 [!USE_WIDE_CHAR].
28101 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
28102 and later undefine as macro. Define as weak alias if
28103 [USE_WIDE_CHAR].
28104 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
28105 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
28106 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
28107 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
28108 Define and later undefine as macro. Define as weak alias if
28109 [USE_WIDE_CHAR].
28110 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
28111 <bits/floatn.h>.
28112 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
28113 Define and later undefine as macro. Define as weak alias if
28114 [!USE_WIDE_CHAR].
28115 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
28116 Define and later undefine as macro. Define as weak alias if
28117 [USE_WIDE_CHAR].
28118
ea91c315
CD
281192017-10-15 Carlos O'Donell <carlos@redhat.com>
28120
28121 * localedata/collate-test.c (allocate_arrays): Don't use \n in
28122 record_verbose messages.
28123
8e57c943
L
281242017-10-15 H.J. Lu <hongjiu.lu@intel.com>
28125
28126 [BZ #22052]
28127 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
28128 to silence -O3 -Wall warning with GCC 7.
28129
a4777c46
L
281302017-10-14 H.J. Lu <hongjiu.lu@intel.com>
28131
28132 * Makeconfig (+link-static-before-libc): Use the first of
28133 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
28134 * gmon/Makefile (tests): Add tst-gmon-static.
28135 (tests-static): Likewise.
28136 (CFLAGS-tst-gmon-static.c): New.
28137 (CRT-tst-gmon-static): Likewise.
28138 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
28139 (tst-gmon-static-ENV): Likewise.
28140 (tests-special): Likewise.
28141 ($(objpfx)tst-gmon-static.out): Likewise.
28142 (clean-tst-gmon-static-data): Likewise.
28143 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
28144 * gmon/tst-gmon-static-gprof.sh: New file.
28145 * gmon/tst-gmon-static.c: Likewise.
28146
bc3821bb
CD
281472017-10-13 Carlos O'Donell <carlos@redhat.com>
28148
28149 [BZ #22295]
28150 * locale/programs/linereader.c (get_string): Don't warn on
28151 non-symbolic character.
28152
a3e23a2c
CD
28153 [BZ #22294]
28154 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
28155 int_curr_symbol.
28156
f16491eb
CD
28157 [BZ #22292]
28158 * locale/programs/record-status.h: New file
28159 * locale/programs/locale.c: Add comment.
28160 * locale/programs/charmap-dir.c: Don't include error.h.
28161 (charmap_opendir): Use record_error.
28162 * locale/programs/charmap.c: Don't include error.h.
28163 (charmap_read): Use record_error, and record_warning.
28164 (parse_charmap): Likewise.
28165 * locale/programs/ld-address.c: Don't include error.h.
28166 (address_finish): Use record_error, and record_warning.
28167 * locale/programs/ld-collate.c: Don't include error.h.
28168 (collate_finish): Use record_error, and record_error_at_line.
28169 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
28170 (ctype_class_new): Likewise.
28171 (ctype_map_new): Likewise.
28172 (set_one_default): Likewise.
28173 (set_class_defaults): Likewise.
28174 (translit_flatten): Likewise.
28175 (allocate_arrays): Use record_error, and record_verbose.
28176 * locale/programs/ld-identification.c: Don't include error.h.
28177 (indentation_finish): Use record_error and record_warning.
28178 * locale/programs/ld-measurement.c: Don't include error.h.
28179 (measurement_finish): Use record_error.
28180 * locale/programs/ld-messages.c
28181 (message_finish): Likewise.
28182 * locale/programs/ld-monetary.c
28183 (monetary_finish): Likewise.
28184 * locale/programs/ld-name.c (name_finish): Use record_error
28185 and record_warning.
28186 * locale/programs/ld-numeric.c
28187 (numeric_finish): Use record_error.
28188 * locale/programs/ld-paper.c: Don't include error.h.
28189 (paper_finish): Use record_error.
28190 * locale/programs/ld-telephone.c: Don't include error.h.
28191 (telephone_finish): Use record_error.
28192 * locale/programs/ld-time.c (time_finish): Likewise.
28193 * locale/programs/linereader.h (lr_error): Make inline func.
28194 * locale/programs/localedef.c: Define recorded_warning_count,
28195 and recorded_error_count.
28196 (main): Use record_error. Use recorded_error_count and
28197 recorded_warning_count to issue correct error returns.
28198 (add_to_readlist): Use record_error.
28199 (find_locale): Likewise.
28200 (load_locale): Likewise.
28201 * locale/programs/localedef.h: Remove be_quiet
28202 and WITH_CUR_LOCALE.
28203 * locale/programs/locarchive.c (compare_from_file): Use
28204 record_error.
28205 * locale/programs/locfile.c (write_locale_data): Use
28206 record_error.
28207 * locale/programs/repertoire.c: Dont include error.h.
28208 (repertoire_complain): Use record_error.
28209 * localedata/tst-fmon.sh: Expect failures from localedef.
28210 * localedata/tst-locale.sh: Likewise.
28211 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
28212
8dc8be75
CD
28213 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
28214 (REPORTS): Likewise.
28215 (check): Likewise.
28216 (i18n): Rename to...
28217 (i18n_ctype): ...this.
28218 (i18n-report): Rename to...
28219 (i18n_ctype-report): ...this.
28220 * localedata/locales/i18n_ctype: Regenerate.
28221 * localedata/locales/i18n: copy i18n_ctype.
28222
f8718a9e
JM
282232017-10-13 Joseph Myers <joseph@codesourcery.com>
28224
18c08b96
JM
28225 * stdlib/strfroml.c: Include <bits/floatn.h>.
28226 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
28227 Define before include of <stdlib.h> and undefine afterwards, then
28228 define as weak alias.
28229
f8718a9e
JM
28230 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
28231 Undefine and restore default definition. Use
28232 libm_alias_ldouble_other.
28233
e4f530da
PZ
282342017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
28235
28236 [BZ #22153]
28237 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
28238 in coredumps.
28239
86445888
JC
282402017-10-13 James Clarke <jrtc27@jrtc27.com>
28241
28242 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28243 Assign sym_map to be map for local symbols, as TLS relocations
28244 use sym_map to determine whether the symbol is defined and to
28245 extract the TLS information.
28246 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28247 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28248
179dcdb7
TMQMF
282492017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28250
e8dbd6a3
TMQMF
28251 [BZ #22189]
28252 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
28253 (math_force_eval): Add powerpc version.
28254
179dcdb7
TMQMF
28255 [BZ #22142]
28256 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
28257 -DBL_MAX.
28258 (do_test): Likewise.
28259 * stdio-common/tst-printf.sh: Likewise.
28260 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
28261 ifdef clause in order to set the carry bit right. Replace r0 by
28262 0 without changing the behavior.
28263
7d25d410
JM
282642017-10-13 Joseph Myers <joseph@codesourcery.com>
28265
006e7664
JM
28266 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
28267 <libm-alias-ldouble.h>.
28268 (fabsl): Define using libm_alias_ldouble.
28269 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
28270 <libm-alias-ldouble.h>.
28271 (fabsl): Define using libm_alias_ldouble.
28272
1def91b3
JM
28273 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
28274 Remove conditional code.
28275
7d25d410
JM
28276 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
28277 Rename to __clog10_internal_l.
28278 (__clog10_internal_l): Define aliases using
28279 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
28280 with __clog10.
28281
077ee129
RS
282822017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28283
28284 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
28285 * benchtests/sincosf-inputs: New file.
28286 * benchtests/cosf-inputs: New file.
28287 * benchtests/sinf-inputs: New file.
28288
5ba41de9
SN
282892017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
28290
28291 * posix/tst-spawn.c (do_test): Wait for both children.
28292
d165ca64
L
282932017-10-12 H.J. Lu <hongjiu.lu@intel.com>
28294
28295 [BZ #22284]
28296 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
28297 tests-pie): Add tst-gmon-pie.
28298 (CFLAGS-tst-gmon-pie.c): New.
28299 (CRT-tst-gmon-pie): Likewise.
28300 (tst-gmon-pie-ENV): Likewise.
28301 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
28302 ($(objpfx)tst-gmon-pie.out): Likewise.
28303 (clean-tst-gmon-pie-data): Likewise.
28304 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
28305 * gmon/gmon.c [PIC]: Include <link.h>.
28306 [PIC] (callback): New function.
28307 (write_hist): Add an argument for load address. Subtract load
28308 address from PCs.
28309 (write_call_graph): Likewise.
28310 (write_gmon): Call __dl_iterate_phdr to get load address, pass
28311 it to write_hist and write_call_graph.
7bacdcfc 28312 * gmon/tst-gmon-pie.c: New file.
d165ca64 28313
bc9620d0
JM
283142017-10-11 Joseph Myers <joseph@codesourcery.com>
28315
28316 * math/Makefile (test-types-basic): New variable.
28317 (test-types): Likewise.
28318 (libm-test-support): Use $(test-types) instead of $(types).
28319 (libm-tests-base-normal): Likewise.
28320 (libm-tests-base-finite): Likewise.
28321 (libm-tests-base-inline): Likewise.
28322 (generated): Likewise.
28323 ($(objpfx)libm-test-support-$(t).c): Likewise.
28324 (libm-tests-for-type iterator): Likewise.
28325 (libm-test-support iterator): Likewise.
28326 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
28327 (ulp_idx): Use ULP_IDX.
28328 * math/test-ldouble.h: Include <float.h>.
28329 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
28330 (ULP_IDX): New macro.
28331 (ULP_I_IDX): Likewise.
28332 * math/test-double.h (ULP_IDX): Likewise.
28333 (ULP_I_IDX): Likewise.
28334 * math/test-float.h (ULP_IDX): Likewise.
28335 (ULP_I_IDX): Likewise.
28336 * math/test-float128.h (ULP_IDX): Likewise.
28337 (ULP_I_IDX): Likewise.
28338
09c76a74
AZ
283392017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28340
28341 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
28342 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28343 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28344 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
28345 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28346 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
28347 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
28348 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28349 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28350 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28351 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
28352 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28353 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28354 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28355 (SINGLE_THREAD_BY_GLOBAL): Define.
28356 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28357 Likewise.
28358 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28359 Likewise.
28360 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28361 Likewise.
28362 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28363 Likewise.
28364 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
28365 (SINGLE_THREAD_BY_GLOBAL): Likewise.
28366 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
28367 Likewise.
28368
2faa42da
AS
283692017-10-11 Andreas Schwab <schwab@suse.de>
28370
28371 * nis/Makefile (aux): Remove.
28372 * nscd/Makefile (aux): Add nscd_hash.
28373 (nscd-modules): Likewise.
28374 ($(objpfx)nscd): Don't depend on libnsl.
28375 * nscd/nscd_hash.c: New file.
28376 * nscd/nscd_hash.h: Likewise.
28377 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
28378 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
28379 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
28380 instead of <nis/rpcsvc/nis.h>.
28381 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
28382
d8425e11
FW
283832017-10-11 Florian Weimer <fweimer@redhat.com>
28384
28385 [BZ #22078]
28386 Avoid large NSS buffers with many addresses, aliases.
28387 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
28388 using dynarrays and struct alloc_buffer.
28389 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
28390 (tst-nss-files-hosts-multi): Link with -ldl.
28391 * nss/tst-nss-files-hosts-multi.c: New file.
28392
78e806fd
FW
283932017-10-11 Florian Weimer <fweimer@redhat.com>
28394
28395 [BZ #18023]
28396 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
28397 scratch_buffer. Eliminate gotos.
28398
541f19ba
JM
283992017-10-11 Joseph Myers <joseph@codesourcery.com>
28400
0ff64d3a
JM
28401 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
28402 libm_alias_ldouble_other.
28403 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
28404 undefine and redefine.
28405 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
28406 (exp10l): Do not define here.
28407 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
28408 (weak_alias): Undefine and redefine.
28409 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
28410 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
28411 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
28412 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
28413
541f19ba
JM
28414 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
28415 [!__fma] (fma): Define using libm_alias_double.
28416 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
28417 [!__fmaf] (fmaf): Define using libm_alias_float.
28418 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
28419 (fmal): Define using libm_alias_ldouble.
28420
24b6515d
JM
284212017-10-10 Joseph Myers <joseph@codesourcery.com>
28422
28423 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
28424 New macro.
28425 (libm_alias_double_other): Likewise.
28426 (libm_alias_double_r): Use libm_alias_double_other_r.
28427 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
28428 New macro.
28429 (libm_alias_float_other): Likewise.
28430 (libm_alias_float_r): Use libm_alias_float_other_r.
28431 * sysdeps/generic/libm-alias-float128.h
28432 (libm_alias_float128_other_r): New macro.
28433 (libm_alias_float128_other): Likewise.
28434 (libm_alias_float128_r): Use libm_alias_float128_other_r.
28435 * sysdeps/generic/libm-alias-ldouble.h
28436 (libm_alias_ldouble_other_r): New macro.
28437 (libm_alias_ldouble_other): Likewise.
28438 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
28439 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
28440 (libm_alias_double_other_r): New macro.
28441 (libm_alias_double_other): Likewise.
28442 (libm_alias_double_r): Use libm_alias_double_other_r.
28443 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
28444 (libm_alias_ldouble_other_r): New macro.
28445 (libm_alias_ldouble_other): Likewise.
28446 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
28447 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
28448 [!USE_AS_COMPAT]: Use libm_alias_double_other.
28449 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
28450 [!USE_AS_COMPAT]: Use libm_alias_float_other.
28451 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
28452 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
28453 * math/w_exp2f.c: Use libm_alias_float_other.
28454 * math/w_expf.c: Likewise.
28455 * math/w_log2f.c: Likewise.
28456 * math/w_logf.c: Likewise.
28457 * math/w_powf.c: Likewise.
28458 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
28459 [!__exp2f]: Use libm_alias_float_other.
28460 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
28461 [!__expf]: Use libm_alias_float_other.
28462 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
28463 [!__log2f]: Use libm_alias_float_other.
28464 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
28465 [!__logf]: Use libm_alias_float_other.
28466 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
28467 [!__powf]: Use libm_alias_float_other.
28468
8ed70de2
FW
284692017-10-10 Florian Weimer <fweimer@redhat.com>
28470
28471 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
28472 function.
28473 (_nss_files_gethostbyname3_r): Call it.
28474
a8dce619
JM
284752017-10-09 Joseph Myers <joseph@codesourcery.com>
28476
28477 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
28478 error. Remove default definition of declare_mgen_alias.
28479 [!declare_mgen_alias_r]: Likewise.
28480 * sysdeps/generic/math-type-macros-double.h
28481 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
28482 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
28483 (declare_mgen_alias_r): Likewise.
28484 * sysdeps/generic/math-type-macros-float128.h
28485 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
28486 * sysdeps/generic/math-type-macros-ldouble.h
28487 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
28488 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
28489 macro.
28490 (declare_mgen_alias_r_s): Likewise.
28491 (declare_mgen_alias_r): Likewise.
28492 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
28493 (lgamma_r): Define using libm_alias_double_r.
28494 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
28495 (lgammaf_r): Define using libm_alias_float_r.
28496 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
28497 (lgammal_r): Define using libm_alias_ldouble_r.
28498 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
28499 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
28500
bedac136
AZ
285012017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28502
28503 * lib/glob.c (__glob_pattern_type): Remove now-spurious
28504 extern declaration.
28505
c7509db2
JM
285062017-10-09 Joseph Myers <joseph@codesourcery.com>
28507
28508 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
28509
d6c064e9
JW
285102017-10-09 Jonathan Wakely <jwakely@redhat.com>
28511
28512 [BZ #21326]
28513 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
28514 [__cplusplus >= 201103] (__USE_ISOC99): Define.
28515 * math/Makefile (test-math-cxx11): New test.
28516 * math/test-math-cxx11.cc: New file.
28517
98e07420
CB
285182017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
28519
28520 * login/openpty.c (openpty): Close slave pty file descriptor on error.
28521
645ac9aa
CB
28522 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
28523 call to allocate the slave pty file descriptor.
28524
fd3b4e7c
JM
285252017-10-06 Joseph Myers <joseph@codesourcery.com>
28526
f85a176f
JM
28527 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
28528 [!__fma] (fma): Define using libm_alias_double.
28529 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
28530 [!__fma] (fma): Define using libm_alias_double.
28531
fd3b4e7c
JM
28532 * sysdeps/ieee754/float128/float128_private.h: Include
28533 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
28534 (libm_alias_ldouble_r): Undefine and redefine.
28535 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
28536 <libm-alias-ldouble.h>.
28537 (asinhl): Define using libm_alias_ldouble.
28538 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
28539 <libm-alias-ldouble.h>.
28540 (atanl): Define using libm_alias_ldouble.
28541 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
28542 <libm-alias-ldouble.h>.
28543 (cbrtl): Define using libm_alias_ldouble.
28544 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
28545 <libm-alias-ldouble.h>.
28546 (ceill): Define using libm_alias_ldouble.
28547 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
28548 <libm-alias-ldouble.h>.
28549 (copysignl): Define using libm_alias_ldouble.
28550 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
28551 <libm-alias-ldouble.h>.
28552 (cosl): Define using libm_alias_ldouble.
28553 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
28554 <libm-alias-ldouble.h>.
28555 (erfl): Define using libm_alias_ldouble.
28556 (erfcl): Likewise.
28557 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
28558 <libm-alias-ldouble.h>.
28559 (expm1l): Define using libm_alias_ldouble.
28560 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
28561 <libm-alias-ldouble.h>.
28562 (fabsl): Define using libm_alias_ldouble.
28563 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
28564 <libm-alias-ldouble.h>.
28565 (floorl): Define using libm_alias_ldouble.
28566 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
28567 <libm-alias-ldouble.h>.
28568 (fmal): Define using libm_alias_ldouble.
28569 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
28570 <libm-alias-ldouble.h>.
28571 (frexpl): Define using libm_alias_ldouble.
28572 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
28573 libm_alias_ldouble.
28574 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
28575 <libm-alias-ldouble.h>.
28576 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
28577 libm_alias_ldouble.
28578 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
28579 <libm-alias-ldouble.h>.
28580 (getpayloadl): Define using libm_alias_ldouble.
28581 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
28582 <libm-alias-ldouble.h>.
28583 (llrintl): Define using libm_alias_ldouble.
28584 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
28585 <libm-alias-ldouble.h>.
28586 (llroundl): Define using libm_alias_ldouble.
28587 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
28588 <libm-alias-ldouble.h>.
28589 (logbl): Define using libm_alias_ldouble.
28590 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
28591 <libm-alias-ldouble.h>.
28592 (lrintl): Define using libm_alias_ldouble.
28593 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
28594 <libm-alias-ldouble.h>.
28595 (lroundl): Define using libm_alias_ldouble.
28596 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
28597 <libm-alias-ldouble.h>.
28598 (modfl): Define using libm_alias_ldouble.
28599 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
28600 <libm-alias-ldouble.h>.
28601 (nearbyintl): Define using libm_alias_ldouble.
28602 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
28603 <libm-alias-ldouble.h>.
28604 (nextafterl): Define using libm_alias_ldouble.
28605 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
28606 <libm-alias-ldouble.h>.
28607 (nextupl): Define using libm_alias_ldouble.
28608 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
28609 <libm-alias-ldouble.h>.
28610 (remquol): Define using libm_alias_ldouble.
28611 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
28612 <libm-alias-ldouble.h>.
28613 (rintl): Define using libm_alias_ldouble.
28614 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
28615 <libm-alias-ldouble.h>.
28616 (roundevenl): Define using libm_alias_ldouble.
28617 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
28618 <libm-alias-ldouble.h>.
28619 (roundl): Define using libm_alias_ldouble.
28620 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
28621 using libm_alias_ldouble.
28622 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
28623 <libm-alias-ldouble.h>.
28624 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
28625 Define using libm_alias_ldouble.
28626 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
28627 <libm-alias-ldouble.h>.
28628 (sincosl): Define using libm_alias_ldouble.
28629 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
28630 <libm-alias-ldouble.h>.
28631 (sinl): Define using libm_alias_ldouble.
28632 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
28633 <libm-alias-ldouble.h>.
28634 (tanhl): Define using libm_alias_ldouble.
28635 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
28636 <libm-alias-ldouble.h>.
28637 (tanl): Define using libm_alias_ldouble.
28638 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
28639 <libm-alias-ldouble.h>.
28640 (totalorderl): Define using libm_alias_ldouble.
28641 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
28642 <libm-alias-ldouble.h>.
28643 (totalordermagl): Define using libm_alias_ldouble.
28644 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
28645 <libm-alias-ldouble.h>.
28646 (truncl): Define using libm_alias_ldouble.
28647 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
28648 libm_alias_ldouble.
28649 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
28650 libm_alias_ldouble.
28651 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
28652 <libm-alias-ldouble.h>.
28653 (weak_alias): Do not undefine and redefine.
28654 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28655 (copysignl): Define with long_double_symbol only if [IS_IN
28656 (libc)].
28657 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
28658 <libm-alias-ldouble.h>.
28659 (weak_alias): Do not undefine and redefine.
28660 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28661 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
28662 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
28663 <libm-alias-ldouble.h>.
28664 (weak_alias): Do not undefine and redefine.
28665 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28666 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
28667 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
28668 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
28669 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
28670 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
28671 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
28672 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
28673 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
28674 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
28675 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
28676 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
28677 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
28678 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
28679 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
28680 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
28681 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
28682 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
28683 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
28684 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
28685 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
28686 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
28687 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
28688 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
28689 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
28690 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
28691
1e26d351
CD
286922017-10-06 Carlos O'Donell <carlos@redhat.com>
28693
28694 [BZ #22111]
28695 * malloc/malloc.c (tcache_shutting_down): Use bool type.
28696 (tcache_thread_freeres): Set tcache_shutting_down before
28697 freeing the tcache.
28698 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
28699 * malloc/tst-malloc-tcache-leak.c: New file.
28700
d1386762
RS
287012017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28702
28703 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
28704 back to powerpc32 file.
28705 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
28706 (memrchr): Add __memrchr_power8 to ifunc list.
28707 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
28708 extra bytes for unaligned inputs.
28709
6dff1983
JM
287102017-10-06 Joseph Myers <joseph@codesourcery.com>
28711
28712 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
28713 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
28714 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
28715 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
28716 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
28717
86f9568a
JM
287182017-10-05 Joseph Myers <joseph@codesourcery.com>
28719
0db0b931
JM
28720 * sysdeps/arm/libm-test-ulps: Update.
28721
86f9568a
JM
28722 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
28723 <libm-alias-ldouble.h>.
28724 (asinhl): Define using libm_alias_ldouble.
28725 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
28726 <libm-alias-ldouble.h>.
28727 (cbrtl): Define using libm_alias_ldouble.
28728 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
28729 <libm-alias-ldouble.h>.
28730 (copysignl): Define using libm_alias_ldouble.
28731 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
28732 <libm-alias-ldouble.h>.
28733 (cosl): Define using libm_alias_ldouble.
28734 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
28735 <libm-alias-ldouble.h>.
28736 (erfl): Define using libm_alias_ldouble.
28737 (erfcl): Likewise.
28738 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
28739 <libm-alias-ldouble.h>.
28740 (fmal): Define using libm_alias_ldouble.
28741 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
28742 <libm-alias-ldouble.h>.
28743 (frexpl): Define using libm_alias_ldouble.
28744 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
28745 libm_alias_ldouble.
28746 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
28747 <libm-alias-ldouble.h>.
28748 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
28749 libm_alias_ldouble.
28750 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
28751 <libm-alias-ldouble.h>.
28752 (getpayloadl): Define using libm_alias_ldouble.
28753 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
28754 <libm-alias-ldouble.h>.
28755 (llrintl): Define using libm_alias_ldouble.
28756 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
28757 <libm-alias-ldouble.h>.
28758 (llroundl): Define using libm_alias_ldouble.
28759 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
28760 <libm-alias-ldouble.h>.
28761 (lrintl): Define using libm_alias_ldouble.
28762 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
28763 <libm-alias-ldouble.h>.
28764 (lroundl): Define using libm_alias_ldouble.
28765 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
28766 <libm-alias-ldouble.h>.
28767 (modfl): Define using libm_alias_ldouble.
28768 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
28769 <libm-alias-ldouble.h>.
28770 (nextupl): Define using libm_alias_ldouble.
28771 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
28772 <libm-alias-ldouble.h>.
28773 (remquol): Define using libm_alias_ldouble.
28774 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
28775 <libm-alias-ldouble.h>.
28776 (roundevenl): Define using libm_alias_ldouble.
28777 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
28778 <libm-alias-ldouble.h>.
28779 (roundl): Define using libm_alias_ldouble.
28780 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
28781 using libm_alias_ldouble.
28782 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
28783 <libm-alias-ldouble.h>.
28784 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
28785 <libm-alias-ldouble.h>.
28786 (setpayloadsigl): Define using libm_alias_ldouble.
28787 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
28788 <libm-alias-ldouble.h>.
28789 (sincosl): Define using libm_alias_ldouble.
28790 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
28791 <libm-alias-ldouble.h>.
28792 (sinl): Define using libm_alias_ldouble.
28793 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
28794 <libm-alias-ldouble.h>.
28795 (tanhl): Define using libm_alias_ldouble.
28796 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
28797 <libm-alias-ldouble.h>.
28798 (tanl): Define using libm_alias_ldouble.
28799 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
28800 <libm-alias-ldouble.h>.
28801 (totalorderl): Define using libm_alias_ldouble.
28802 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
28803 <libm-alias-ldouble.h>.
28804 (totalordermagl): Define using libm_alias_ldouble.
28805 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
28806 libm_alias_ldouble.
28807 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
28808 libm_alias_ldouble.
28809
9ec87fd2
SP
288102017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
28811
dd5bc7f1
SP
28812 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
28813 memmove_falkor.
28814 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
28815 (__libc_ifunc_impl_list): Likewise.
28816 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
28817 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
28818
5bfb0404
SP
28819 * benchtests/bench-memmove-walk.c: New file.
28820 * benchtests/Makefile (string-benchset): Add it.
28821
36bb8edf
SP
28822 * benchtests/bench-memset-walk.c: New file.
28823 * benchtests/Makefile (string-benchset): Add it.
28824
9ec87fd2
SP
28825 * benchtests/bench-memcpy-walk.c: New file.
28826 * benchtests/Makefile (string-benchset): Add it.
28827
1e9522c6
FW
288282017-10-05 Florian Weimer <fweimer@redhat.com>
28829
28830 nscd: Eliminate compilation time dependency in the build output.
28831 * nscd/nscd_stat.c (STATDATA_VERSION)
28832 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
28833 (STATDATA_VERSION_FULL): New macro definitions.
28834 (compilation): Remove.
28835 (struct statdata): Adjust version member.
28836 (send_stats): Set version from STATDATA_VERSION_FULL.
28837 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
28838
644d3857
JM
288392017-10-05 Joseph Myers <joseph@codesourcery.com>
28840
28841 * configure.ac (--enable-add-ons): Remove option.
28842 (machine): Do not mention add-ons in comment.
28843 (LIBC_PRECONFIGURE): Likewise.
28844 (add_ons): Remove variable and sanity checks and logic to locate
28845 add-ons.
28846 (add_ons_automatic): Remove variable.
28847 (configured_add_ons): Likewise.
28848 (add_ons_sfx): Likewise.
28849 (add_ons_pfx): Likewise.
28850 (add_on_subdirs): Likewise.
28851 (sysnames_add_ons): Likewise. Remove loop over add-ons and
28852 consideration of add-ons in Implies handling.
28853 (sysdeps_add_ons): Likewise.
28854 * configure: Regenerated.
28855 * libidn/configure.ac: Remove.
28856 * libidn/configure: Likewise.
28857 * sysdeps/unix/inet/configure.ac: New file.
28858 * sysdeps/unix/inet/configure: New generated file.
28859 * sysdeps/unix/inet/Subdirs: Add libidn.
28860 * Makeconfig (sysdeps-srcdirs): Remove variable.
28861 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
28862 ($(common-objpfx)config.status): Do not depend on add-on files.
28863 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
28864 comment.
28865 (all-subdirs): Do not include $(add-on-subdirs).
28866 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
28867 * config.make.in (add-ons): Remove variable.
28868 (add-on-subdirs): Likewise.
28869 (sysdeps-add-ons): Likewise.
28870 * manual/Makefile (add-chapters): Remove.
28871 ($(objpfx)texis): Do not depend on $(add-chapters).
28872 (nonexamples): Do not handle $(add-chapters).
28873 (examples): Do not handle $(add-ons).
28874 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
28875 libc-texinfo.sh.
28876 * manual/install.texi (Installation): Do not mention add-ons.
28877 (--enable-add-ons): Do not document configure option.
28878 * INSTALL: Regenerated.
28879 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
28880 * manual/maint.texi (Hierarchy Conventions): Do not mention
28881 add-ons.
28882 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
28883 --enable-add-ons.
28884 * scripts/gen-sorted.awk: Do not handle Subdirs files from
28885 add-ons.
28886 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
28887 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
28888
19f82f35
AS
288892017-10-05 Andreas Schwab <schwab@suse.de>
28890
28891 [BZ #15142]
28892 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
28893 (_IO_flush_all_lockp): Always lock list_all_lock.
28894 (_IO_flush_all_linebuffered): Likewise.
28895 (_IO_unbuffer_all): Likewise.
28896
91e7cf98
FW
288972017-10-05 Florian Weimer <fweimer@redhat.com>
28898
28899 [BZ #15436]
28900 Do not flush stdio streams on abort.
28901 * stdlib/abort.c (fflush): Remove macro definition.
28902 (abort): Remove stages related to stdio flushing.
28903
0c251257
FW
289042017-10-05 Florian Weimer <fweimer@redhat.com>
28905
28906 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
28907
7ea59e3e
SL
289082017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
28909
28910 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28911
84d0e6f0
FW
289122017-10-05 Florian Weimer <fweimer@redhat.com>
28913
28914 * support/support_format_hostent.c (support_format_hostent): Add
28915 more error information for NETDB_INTERNAL.
28916
ee417882
L
289172017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28918
28919 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
28920 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
28921 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
28922 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
28923 AC_DEFINE if multi-arch is enabled.
28924 * sysdeps/i386/configure: Regenerated.
28925
a67029ff
L
289262017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28927
28928 * Makeconfig (+link-static-before-libc): Use
28929 $(DEFAULT-LDFLAGS-$(@F)).
28930 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
28931 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
28932 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
28933
5dba84b3
L
289342017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28935
28936 * elf/Makefile (tests): Add tst-main1.
28937 (modules-names): Add tst-main1mod.
28938 ($(objpfx)tst-main1): New.
28939 (CRT-tst-main1): Likewise.
28940 (LDFLAGS-tst-main1): Likewise.
28941 (LDLIBS-tst-main1): Likewise.
28942 (tst-main1mod.so-no-z-defs): Likewise.
28943 * elf/tst-main1.c: New file.
28944 * elf/tst-main1mod.c: Likewise.
28945
758f1bfa
L
289462017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28947
28948 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
28949
7e16a5d1
JM
289502017-10-04 Joseph Myers <joseph@codesourcery.com>
28951
28952 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
28953 (fma): Define using libm_alias_double.
28954 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
28955 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
28956 <math_ldbl_opt.h>.
28957 (fmal): Do not define as compat symbol here.
28958 * sysdeps/alpha/fpu/s_fma.c: New file.
28959
db4f87ba
SN
289602017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28961
28962 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
28963
72d13ed1
JM
289642017-10-04 Joseph Myers <joseph@codesourcery.com>
28965
32d372d5
JM
28966 [BZ #22229]
28967 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
28968 <math_ldbl_opt.h>
28969 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
28970 and libc.
28971 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
28972 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
28973 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
28974 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
28975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28976 Include <math_ldbl_opt.h>
28977 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
28978 and libc.
28979 (compat_symbol): Undefine and redefine.
28980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
28981 <math_ldbl_opt.h>
28982 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
28983 (compat_symbol): Undefine and redefine.
28984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
28985 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
28986 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
28987 GLIBC_2_1 for libm.
28988 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
28989 GLIBC_2.0 copysignl symbol.
28990 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
28991 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
28992
72d13ed1
JM
28993 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
28994
11c4f501
FW
289952017-10-04 Florian Weimer <fweimer@redhat.com>
28996
28997 * scripts/check-local-headers.sh: Ignore nspr4 header file
28998 directory in addition to nspr.
28999
57b4af19
GT
290002017-10-04 Guido Trentalancia <guido@trentalancia.net>
29001
29002 [BZ #17956]
29003 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
29004 * configure: Regenerate.
29005 * crypt/Makefile (nss-cpp-flags): New variable.
29006 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
29007 (CPPFLAGS-md5-crypt.c): Use it.
29008 * scripts/check-local-headers.sh: Ignore nspr header file
29009 directory.
29010
64d1e08e
AS
290112017-10-04 Andreas Schwab <schwab@suse.de>
29012
29013 * nis/Makefile (services): Remove compat.
29014 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
29015 ($(objpfx)libnss_compat.so): Remove rule.
29016 * nis/Versions (libnss_compat): Remove.
29017 * nss/Makefile (services): Add compat.
29018 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
29019 * nss/Versions (libnss_compat): Define.
29020 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
29021 Don't include <rpc/types.h>. Replace bool_t by bool.
29022 * nss/nss_compat/compat-initgroups.c: Likewise.
29023 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
29024 instead of <rpcsrv/ypclnt.h>.
29025 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
29026 yp_get_default_domain.
29027 * nss/nss_compat/compat-pwd.c: Likewise.
29028 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
29029 yp_get_default_domain.
29030 * nss/nss_compat/nisdomain.c: New file.
29031 * nss/nss_compat/nisdomain.h: Likewise.
29032
86c27ade
SN
290332017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29034
29035 [BZ #22244]
29036 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
29037 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29038
8f8f8ef7
SN
290392017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
29040
29041 [BZ #22243]
29042 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
29043 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
29044
95577475
L
290452017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29046
29047 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
29048 "movl main@GOTOFF(%ebx), %eax".
29049
02d2d892
L
290502017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29051
29052 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
29053 allow undefined _DYNAMIC in PIE libc.a.
29054 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
29055 Likewse.
29056
0c609d19
L
290572017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29058
29059 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
29060 check _DYNAMIC.
29061
c34a19ed
L
290622017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29063
29064 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
29065 check _DYNAMIC.
29066
cdd4155d
L
290672017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29068
29069 * math/test-math-iscanonical.cc (error): Replace bool with int.
29070
4699cb8b
JM
290712017-10-03 Joseph Myers <joseph@codesourcery.com>
29072
d8f619b3
JM
29073 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
29074 (modf): Define using libm_alias_double, only if [!__modf].
29075 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
29076 <libm-alias-double.h>.
29077 (modf): Define using libm_alias_double, only if [!__modf].
29078 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
29079 compat symbol here.
29080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
29081 (weak_alias): Do not undefine and redefine.
29082 (strong_alias): Likewise.
29083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
29084 (weak_alias): Likewise.
29085 (strong_alias): Likewise.
29086
4699cb8b
JM
29087 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
29088 (logb): Define using libm_alias_double, only if [!__logb].
29089 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
29090 <libm-alias-double.h>.
29091 (logb): Define using libm_alias_double, only if [!__logb].
29092 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
29093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
29094 (weak_alias): Do not undefine and redefine.
29095 (strong_alias): Likewise.
29096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
29097 (weak_alias): Likewise.
29098 (strong_alias): Likewise.
29099
bcc4e4bb
L
291002017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29101
29102 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
29103 Check SHARED instead PIC.
29104
39793865
JM
291052017-10-03 Joseph Myers <joseph@codesourcery.com>
29106
7f1cbdf8
JM
29107 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
29108 [!__fmaf] (fmaf): Define using libm_alias_float.
29109
39793865
JM
29110 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
29111 (frexp): Define using libm_alias_double.
29112 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
29113 <libm-alias-double.h>.
29114 (frexp): Define using libm_alias_double.
29115 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
29116 compat symbol here.
29117
aa0235df
GG
291182017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29119
29120 [BZ #22235]
29121 * math/math.h: Trivial fix for unbalanced parentheses in comment.
29122 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
29123 (CFLAGS-test-math-iscanonical.cc): New variable.
29124 * math/test-math-iscanonical.cc: New file.
29125 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
29126 Provide a C++ implementation based on function overloading,
29127 rather than using __MATH_TG, which uses C-only builtins.
29128 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
29129 Likewise.
29130 * sysdeps/powerpc/powerpc64le/Makefile
29131 (CFLAGS-test-math-iscanonical.cc): New variable.
29132
a1132b5e
JM
291332017-10-03 Joseph Myers <joseph@codesourcery.com>
29134
29135 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
29136 (ceil): Define using libm_alias_double.
29137 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
29138 (floor): Define using libm_alias_double.
29139 * sysdeps/ieee754/dbl-64/s_llround.c: Include
29140 <libm-alias-double.h>.
29141 (llround): Define using libm_alias_double.
29142 * sysdeps/ieee754/dbl-64/s_lround.c: Include
29143 <libm-alias-double.h>.
29144 (lround): Define using libm_alias_double.
29145 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
29146 <libm-alias-double.h>.
29147 (nearbyint): Define using libm_alias_double.
29148 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
29149 <libm-alias-double.h>.
29150 (remquo): Define using libm_alias_double.
29151 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
29152 (rint): Define using libm_alias_double.
29153 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
29154 (round): Define using libm_alias_double.
29155 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
29156 (trunc): Define using libm_alias_double.
29157 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
29158 <libm-alias-double.h>.
29159 (ceil): Define using libm_alias_double.
29160 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
29161 <libm-alias-double.h>.
29162 (floor): Define using libm_alias_double.
29163 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
29164 <libm-alias-double.h>.
29165 (llround): Define using libm_alias_double.
29166 [_LP64] (lround): Likewise.
29167 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
29168 <libm-alias-double.h>.
29169 [!_LP64] (lround): Define using libm_alias_double.
29170 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
29171 <libm-alias-double.h>.
29172 (nearbyint): Define using libm_alias_double.
29173 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
29174 <libm-alias-double.h>.
29175 (remquo): Define using libm_alias_double.
29176 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
29177 <libm-alias-double.h>.
29178 (rint): Define using libm_alias_double.
29179 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
29180 <libm-alias-double.h>.
29181 (round): Define using libm_alias_double.
29182 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
29183 <libm-alias-double.h>.
29184 (trunc): Define using libm_alias_double.
29185 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
29186 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
29187 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
29188 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
29189 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
29190 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
29191 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
29192 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
29193 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
29194
f275f64e
SN
291952017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
29196
29197 * math/w_remainder.c: New file.
29198 * math/w_remainderf.c: New file.
29199 * math/w_remainderl.c: New file.
29200
b8818ab5
L
292012017-10-03 H.J. Lu <hongjiu.lu@intel.com>
29202
29203 * elf/rtld.c (BOOTSTRAP_MAP): New.
29204 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
29205 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
29206 Likewise.
29207 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
29208 Likewise.
29209 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
29210 Likewise.
29211
3d1870fa
ST
292122017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
29213
29214 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
29215 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
29216 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
29217 rtld_hidden_data_ver): Define to empty.
29218 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
29219 __assert_perror_fail): Likewise.
29220 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29221 (__rewinddir): Likewise.
29222 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29223 (__profile_frequency): Likewise.
29224 * include/setjmp.h (__sigsetjmp): Likewise.
29225 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
29226 __libc_sigaction): Likewise.
29227 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
29228 not set hidden attribute.
29229 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
29230 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
29231 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
29232 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
29233 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
29234 __fxstatat64): Likewise.
29235 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29236 (__uname): Likewise.
29237 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
29238 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
29239 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
29240 (NO_RTLD_HIDDEN): Set.
29241 * sysdeps/mach/hurd/configure: Refresh.
29242 * config.h.in: Refresh.
29243
527cd19c
JM
292442017-10-02 Joseph Myers <joseph@codesourcery.com>
29245
38722448
JM
29246 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
29247 (atan): Define using libm_alias_double.
29248 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
29249 (tan): Define using libm_alias_double.
29250 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
29251 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
29252
527cd19c
JM
29253 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
29254 define as weak alias of __atan. Do not define any aliases if
29255 [__atan].
29256 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
29257 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
29258 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
29259 as weak alias of __tan. Do not define any aliases if [__tan].
29260 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
29261 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
29262 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
29263 __atan.
29264 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
29265 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
29266 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
29267 and define as weak alias of __atan.
29268 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
29269 __atan.
29270 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
29271 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
29272 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
29273 define as weak alias of __tan.
29274
bdc5c592
SN
292752017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29276
29277 * math/w_lgamma.c: New file.
29278 * math/w_lgammaf.c: New file.
29279 * math/w_lgammal.c: New file.
29280
bd4430c2
SN
292812017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29282
29283 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
29284 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
29285 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
29286 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
29287 * sysdeps/ieee754/flt-32/w_logf.c: New file.
29288 * sysdeps/ieee754/flt-32/w_powf.c: New file.
29289 * sysdeps/i386/fpu/w_log2f.c: New file.
29290 * sysdeps/i386/fpu/w_logf.c: New file.
29291 * sysdeps/i386/fpu/w_powf.c: New file.
29292 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
29293 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
29294 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
29295
f7a0b063
SN
292962017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29297 H.J. Lu <hongjiu.lu@intel.com>
29298
29299 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
29300 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
29301 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
29302 * sysdeps/ieee754/flt-32/w_expf.c: New file.
29303 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
29304 the new expf code.
29305 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
29306 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
29307 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
29308 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
29309 * sysdeps/i386/fpu/w_exp2f.c: New file.
29310 * sysdeps/i386/fpu/w_expf.c: New file.
29311 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
29312 * sysdeps/x86_64/fpu/w_expf.c: New file.
29313
72d3d281
SN
293142017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
29315
29316 * math/Versions (logf): New libm symbol at GLIBC_2.27.
29317 (log2f): Likewise.
29318 (powf): Likewise.
29319 * math/w_log2f.c: New file.
29320 * math/w_logf.c: New file.
29321 * math/w_powf.c: New file.
29322 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
29323 * math/w_logf_compat.c (__logf_compat): Likewise.
29324 * math/w_powf_compat.c (__powf_compat): Likewise.
29325 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
29326 * sysdeps/ia64/fpu/e_logf.S: Likewise.
29327 * sysdeps/ia64/fpu/e_powf.S: Likewise.
29328 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29329 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29330 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29331 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29332 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29333 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29334 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29335 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29336 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29337 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29338 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29339 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29341 Likewise.
29342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29343 Likewise.
29344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29345 Likewise.
29346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29347 Likewise.
29348 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29349 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29350 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29351 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29352 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29353 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29354 Likewise.
29355 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29356 Likewise.
29357 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29358 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29359 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29360
59ba2d2b
RS
293612017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29362
29363 * sysdeps/powerpc/powerpc64/multiarch/Makefile
29364 (sysdep_routines): Add memrchr_power8.
29365 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29366 (memrchr): Add __memrchr_power8 to list of memrchr functions.
29367 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
29368 New file.
29369 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
29370 (memrchr): Add __memrchr_power8 to ifunc list.
29371 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
29372
397286ea
L
293732017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29374
29375 [BZ #18822]
29376 * sysdeps/unix/sysv/linux/posix_fadvise64.c
29377 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
29378 libc_hidden_def.
29379 * sysdeps/unix/sysv/linux/posix_fallocate64.c
29380 (__posix_fallocate64_l64): Likewise.
29381
d0a4512b
L
293822017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29383
29384 [BZ #18822]
29385 * sysdeps/unix/sysv/linux/sched_setaffinity.c
29386 (__sched_setaffinity_new): Add libc_hidden_proto and
29387 libc_hidden_def.
29388
c0769f70
L
293892017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29390
29391 [BZ #18822]
29392 * include/glob.h (__glob64): Add libc_hidden_proto.
29393 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
29394 libc_hidden_def.
29395
0e7d5b6e
L
293962017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29397
29398 [BZ #18822]
29399 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
29400 attribute_hidden.
29401
bde06c87
L
294022017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29403
29404 [BZ #18822]
29405 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
29406
fa426590
L
294072017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29408
29409 [BZ #18822]
29410 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
29411 libc_hidden_def.
29412
2f8a05d8
L
294132017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29414
29415 [BZ #18822]
29416 * csu/version.c (__libc_print_version): Add attribute_hidden.
29417
7bfd08ac
L
294182017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29419
29420 [BZ #18822]
29421 * include/libc-internal.h (__init_misc): Add attribute_hidden.
29422
0e1fd06c
L
294232017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29424
29425 [BZ #18822]
29426 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
29427
36e7ae1e
L
294282017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29429
29430 [BZ #18822]
29431 * nscd/nscd_helper.c (__nis_hash): New prototype.
29432
87078544
L
294332017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29434
29435 [BZ #18822]
29436 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
29437 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
29438 libc_hidden_def.
29439 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
29440 * termios/tcgetattr.c (__tcgetattr): Likewise.
29441
dd3121df
L
294422017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29443
29444 [BZ #18822]
29445 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
29446 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
29447 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
29448 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
29449 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
29450
047d1a81
L
294512017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29452
29453 [BZ #18822]
29454 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
29455
fd331b11
L
294562017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29457
29458 [BZ #18822]
29459 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
29460 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
29461
57f859bd
L
294622017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29463
29464 [BZ #18822]
29465 * intl/hash-string.h (__hash_string): Add attribute_hidden.
29466
d1903329
L
294672017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29468
29469 [BZ #18822]
29470 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
29471 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
29472
b4744101
L
294732017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29474
29475 [BZ #18822]
29476 * include/ifreq.h: New file.
29477 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
29478 (__ifreq): Likewise.
29479 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
29480 (__ifreq): Likewise.
29481
43b7dfd1
L
294822017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29483
29484 [BZ #18822]
29485 * include/idna.h: New file.
29486 * inet/getnameinfo.c: Include <idna.h> instead of
29487 <libidn/idna.h>.
29488 (__idna_to_unicode_lzlz): Removed.
29489 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
29490 <libidn/idna.h>.
29491 (__idna_to_ascii_lz): Removed.
29492 (__idna_to_unicode_lzlz): Likewise.
29493
2c0cd8f8
L
294942017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29495
29496 [BZ #18822]
29497 * include/plural-exp.h: New file.
29498 * intl/plural-exp.c: Include <plural-exp.h> instead of
29499 "plural-exp.h".
29500
8369d216
L
295012017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29502
29503 [BZ #18822]
29504 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
29505 "getsourcefilter.h".
29506 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
29507 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
29508 "getsourcefilter.h".
29509 (__get_sol): Removed.
29510
a0aef783
L
295112017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29512
29513 [BZ #18822]
29514 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
29515 to ...
29516 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
29517
3ee8209b
L
295182017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29519
29520 [BZ #18822]
29521 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
29522 attribute_hidden.
29523
6036fc38
L
295242017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29525
29526 [BZ #18822]
29527 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
29528
fe84fed0
L
295292017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29530
29531 [BZ #18822]
29532 * include/search.h (__tdestroy): Add libc_hidden_proto.
29533 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
29534
048dd681
L
295352017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29536
29537 [BZ #18822]
29538 * include/assert.h (__assert_fail_base): Add attribute_hidden.
29539
6e342af6
L
295402017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29541
29542 [BZ #18822]
29543 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
29544 attribute_hidden.
29545
6a088436
L
295462017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29547
29548 [BZ #18822]
29549 * include/signal.h (__kill): Add libc_hidden_proto.
29550 (__sigblock): Likewise.
29551 (__sigprocmask): Likewise.
29552 (__sigaltstack): Likewise.
29553 * signal/kill.c (__kill): Add libc_hidden_def.
29554 * signal/sigblock.c (__sigblock): Likewise.
29555 * signal/sigprocmask.c (__sigprocmask): Likewise.
29556 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
29557 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
29558 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
29559 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
29560 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
29561 Likewise.
29562 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
29563 Likewise.
29564 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
29565 (__sigprocmask): Likewise.
29566 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
29567 Likewise.
29568 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
29569 (__sigprocmask): Likewise.
29570 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
29571 Likewise.
29572
78cf1d74
L
295732017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29574
29575 [BZ #18822]
29576 * include/string.h (__strsep): Add libc_hidden_proto.
29577 * string/strsep.c (__strsep): Add libc_hidden_def.
29578
85b35894
L
295792017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29580
29581 [BZ #18822]
29582 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
29583 attribute_hidden.
29584 (__spawni): Likewise.
29585
225f7eec
L
295862017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29587
29588 [BZ #18822]
29589 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
29590 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
29591 libc_hidden_def.
29592
372fe247
L
295932017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29594
29595 [BZ #18822]
29596 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
29597
9e5ee8b8
L
295982017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29599
29600 [BZ #18822]
29601 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
29602 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
29603 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
29604 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
29605 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
29606 Likewise.
29607 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
29608 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
29609
2ff16592
L
296102017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29611
29612 [BZ #18822]
29613 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
29614 (__dcigettext): Likewise.
29615
b5648377
L
296162017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29617
29618 [BZ #18822]
29619 * include/sys/sysinfo.h (__get_nprocs_conf): Add
29620 libc_hidden_proto.
29621 (__get_nprocs): Likewise.
29622 (__get_phys_pages): Likewise.
29623 (__get_avphys_pages): Likewise.
29624 (__get_child_max): Add attribute_hidden.
29625 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
29626 (__get_nprocs): Likewise.
29627 (__get_phys_pages): Likewise.
29628 (__get_avphys_pages): Likewise.
29629 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
29630 libc_hidden_def.
29631 (__get_nprocs): Likewise.
29632 (__get_phys_pages): Likewise.
29633 (__get_avphys_pages): Likewise.
29634 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
29635 libc_hidden_def.
29636 (__get_nprocs_conf): Likewise.
29637 (__get_phys_pages): Likewise.
29638 (__get_avphys_pages): Likewise.
29639
0389a6aa
L
296402017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29641
29642 [BZ #18822]
29643 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
29644 attribute_hidden.
29645 (__netlink_close): Likewise.
29646 (__netlink_free_handle): Likewise.
29647 (__netlink_request): Likewise.
29648
d48354d8
L
296492017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29650
29651 [BZ #18822]
29652 * include/rpc/rpc.h (__rpc_thread_variables): Add
29653 attribute_hidden.
29654 (__rpc_thread_svc_cleanup): Likewise.
29655 (__rpc_thread_clnt_cleanup): Likewise.
29656 (__rpc_thread_key_cleanup): Likewise.
29657
d6daff12
L
296582017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29659
29660 [BZ #18822]
29661 * include/sys/uio.h (__readv): Add libc_hidden_proto.
29662 (__writev): Likewise.
29663 * misc/readv.c (__readv): Add libc_hidden_def.
29664 * misc/writev.c (__writev): Likewise.
29665 * sysdeps/posix/readv.c (__readv): Likewise.
29666 * sysdeps/posix/writev.c (__writev): Likewise.
29667 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
29668 (__readv): Likewise.
29669 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
29670 (__writev): Likewise.
29671
b68f8620
L
296722017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29673
29674 [BZ #18822]
29675 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
29676 (__regcomp): Add libc_hidden_proto.
29677 (__regexec): Likewise.
29678 (__regfree): Likewise.
29679 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
29680 (__regfree): Likewise.
29681 * posix/regexec.c (__regexec): Likewise.
29682
59c04e67
L
296832017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29684
29685 [BZ #18822]
29686 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
29687 (__getutent): Likewise.
29688 (__getutid): Likewise.
29689 (__getutline): Likewise.
29690 (__pututline): Likewise.
29691 (__getutent_r): Likewise.
29692 (__getutid_r): Likewise.
29693 (__getutline_r): Likewise.
29694 (__utmpname): Add attribute_hidden.
29695 (__setutent): Likewise.
29696 (__endutent): Likewise.
29697 * login/getutent.c (__getutent): Add libc_hidden_def.
29698 * login/getutent_r.c (__getutent_r): Likewise.
29699 (__pututline): Likewise.
29700 * login/getutid.c (__getutid): Likewise.
29701 * login/getutid_r.c (__getutid_r): Likewise.
29702 * login/getutline.c (__getutline): Likewise.
29703 * login/getutline_r.c (__getutline_r): Likewise.
29704 * login/updwtmp.c (__updwtmp): Likewise.
29705
4587a421
L
297062017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29707
29708 [BZ #18822]
29709 * include/dirent.h (__opendir): Always add attribute_hidden.
29710 (__fdopendir): Likewise.
29711 (__closedir): Likewise.
29712 (__readdir): Likewise.
29713 (__readdir64): Add libc_hidden_proto.
29714 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
29715 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
29716 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
29717 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
29718 New alias.
29719
9635ce69
L
297202017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29721
29722 [BZ #18822]
29723 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
29724 * include/netdb.h (__gethostbyaddr_r): Likewise.
29725 (__gethostbyname_r): Likewise.
29726 (__gethostbyname2_r): Likewise.
29727 (__getnetbyaddr_r): Likewise.
29728 (__getnetbyname_r): Likewise.
29729 (__getservbyname_r): Likewise.
29730 (__getservbyport_r): Likewise.
29731 (__getprotobyname_r): Likewise.
29732 (__getprotobynumber_r): Likewise.
29733 (__getnetgrent_r): Likewise.
29734 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
29735 (__getrpcbynumber_r): Likewise.
29736 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
29737
2e0a6909
L
297382017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29739
29740 [BZ #18822]
29741 * include/stdio.h (__fcloseall): Add attribute_hidden.
29742 (__getline): Likewise.
29743 (__path_search): Likewise.
29744 (__gen_tempname): Likewise.
29745 (__libc_message): Likewise.
29746 (__flockfile): Likewise.
29747 (__funlockfile): Likewise.
29748 (__fxprintf): Likewise.
29749 (__fxprintf_nocancel): Likewise.
29750
94fd682c
L
297512017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29752
29753 [BZ #18822]
29754 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
29755 (__sgetsgent_r): Likewise.
29756
e1b33bba
L
297572017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29758
29759 [BZ #18822]
29760 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
29761 (__statfs64): Likewise.
29762 (__fstatfs64): Likewise.
29763 * include/sys/statvfs.h (__statvfs64): Likewise.
29764 (__fstatvfs64): Likewise.
29765 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
29766 (__statfs_filesize_max): Likewise.
29767 (__statfs_symlinks): Likewise.
29768 (__statfs_chown_restricted): Likewise.
29769
b0f56784
L
297702017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29771
29772 [BZ #18822]
29773 * include/time.h (__tzstring): Add attribute_hidden.
29774 (__tzfile_read): Likewise.
29775 (__tzfile_compute): Likewise.
29776 (__tzfile_default): Likewise.
29777 (__tzset_parse_tz): Likewise.
29778 (__offtime): Likewise.
29779 (__asctime_r): Likewise.
29780 (__tzset): Likewise.
29781 (__tz_convert): Likewise.
29782 (__getdate_r): Likewise.
29783 (__getclktck): Likewise.
29784
a4338d99
L
297852017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29786
29787 [BZ #18822]
29788 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
29789 (__nscd_unmap): Likewise.
29790 (__nscd_cache_search): Likewise.
29791 (__nscd_get_nl_timestamp): Likewise.
29792 (__nscd_getpwnam_r): Likewise.
29793 (__nscd_getpwuid_r): Likewise.
29794 (__nscd_getgrnam_r): Likewise.
29795 (__nscd_getgrgid_r): Likewise.
29796 (__nscd_gethostbyname_r): Likewise.
29797 (__nscd_gethostbyname2_r): Likewise.
29798 (__nscd_gethostbyaddr_r): Likewise.
29799 (__nscd_getai): Likewise.
29800 (__nscd_getgrouplist): Likewise.
29801 (__nscd_getservbyname_r): Likewise.
29802 (__nscd_getservbyport_r): Likewise.
29803 (__nscd_innetgr): Likewise.
29804 (__nscd_setnetgrent): Likewise.
29805
a2ca1652
L
298062017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29807
29808 [BZ #18822]
29809 * include/gmp.h: Declare internal functions only if _ISOMAC is
29810 undefined.
29811 (__mpn_extract_double): Add attribute_hidden.
29812 (__mpn_extract_long_double): Likewise.
29813 (__mpn_extract_float128): Likewise.
29814 (__mpn_construct_float): Likewise.
29815 (__mpn_construct_double): Likewise.
29816 (__mpn_construct_long_double): Likewise.
29817 (__mpn_construct_float128): Likewise.
29818 (mpn_add_1): Likewise.
29819 (mpn_addmul_1): Likewise.
29820 (mpn_add_n): Likewise.
29821 (mpn_cmp): Likewise.
29822 (mpn_divrem): Likewise.
29823 (mpn_lshift): Likewise.
29824 (mpn_mul): Likewise.
29825 (mpn_mul_1): Likewise.
29826 (mpn_rshift): Likewise.
29827 (mpn_sub_1): Likewise.
29828 (mpn_submul_1): Likewise.
29829 (mpn_sub_n): Likewise.
29830
44af8a32
L
298312017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29832
29833 [BZ #18822]
29834 * include/wchar.h (__wcsnlen): Add attribute_hidden.
29835 (__wcscat): Likewise.
29836 (__btowc): Likewise.
29837 (__wcrtomb): Likewise.
29838 (__mbsrtowcs): Likewise.
29839 (__wcsrtombs): Likewise.
29840 (__mbsnrtowcs): Likewise.
29841 (__wcsnrtombs): Likewise.
29842 (__wcsncpy): Likewise.
29843 (__wcpncpy): Likewise.
29844 (__wmemcpy): Likewise.
29845 (__wmempcpy): Likewise.
29846 (__wmemmove): Likewise.
29847 (__wcschrnul): Likewise.
29848 (__vfwscanf): Likewise.
29849 (__vswprintf): Likewise.
29850 (__fwprintf): Likewise.
29851 (__vfwprintf): Likewise.
29852
783cd767
L
298532017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29854
29855 [BZ #18822]
29856 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
29857 (__getgrgid_r): Likewise.
29858 (__getgrnam_r): Likewise.
29859 * include/pwd.h (__getpwuid_r): Likewise.
29860 (__getpwnam_r): Likewise.
29861 (__fgetpwent_r): Likewise.
29862 * include/shadow.h (__getspnam_r): Likewise.
29863 (__sgetspent_r): Likewise.
29864 (__fgetspent_r): Likewise.
29865
7ec4b39a
L
298662017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29867
29868 [BZ #18822]
29869 * include/unistd.h (__access): Add attribute_hidden.
29870 (__lseek64): Likewise.
29871 (__libc_pread64): Likewise.
29872 (__pipe2): Likewise.
29873 (__sleep): Likewise.
29874 (__chdir): Likewise.
29875 (__fchdir): Likewise.
29876 (__getcwd): Likewise.
29877 (__rmdir): Likewise.
29878 (__execvpe): Likewise.
29879 (__execve): Likewise.
29880 (__setsid): Likewise.
29881 (__getuid): Likewise.
29882 (__geteuid): Likewise.
29883 (__getgid): Likewise.
29884 (__getegid): Likewise.
29885 (__getgroups): Likewise.
29886 (__group_member): Likewise.
29887 (__ttyname_r): Likewise.
29888 (__isatty): Likewise.
29889 (__readlink): Likewise.
29890 (__unlink): Likewise.
29891 (__gethostname): Likewise.
29892 (__profil): Likewise.
29893 (__getdtablesize): Likewise.
29894 (__brk): Likewise.
29895 (__ftruncate): Likewise.
29896 (__ftruncate64): Likewise.
29897
8345a760
L
298982017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29899
29900 [BZ #18822]
29901 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
29902 * argp/argp-fs-xinl.c: Likewise.
29903 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
29904 * argp/argp-parse.c: Include <argp.h>.
29905 * argp/argp-xinl.c: Likewise.
29906 * include/argp-fmtstream.h: New file.
29907 * include/argp.h (__argp_error): Add attribute_hidden.
29908 (__argp_failure): Likewise.
29909 (__argp_input): Likewise.
29910 (__argp_state_help): Likewise.
29911
c26dd7c6
L
299122017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29913
29914 [BZ #18822]
29915 * include/wchar.h (____wcstof_l_internal): New prototype.
29916 (____wcstod_l_internal): Likewise.
29917 (____wcstold_l_internal): Likewise.
29918 (____wcstol_l_internal): Likewise.
29919 (____wcstoul_l_internal): Likewise.
29920 (____wcstoll_l_internal): Likewise.
29921 (____wcstoull_l_internal): Likewise.
29922 (____wcstof128_l_internal): Likewise.
29923 * sysdeps/ieee754/float128/wcstof128.c
29924 (____wcstof128_l_internal): Removed.
29925 * sysdeps/ieee754/float128/wcstof128_l.c
29926 (____wcstof128_l_internal): Likewise.
29927 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
29928 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
29929 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
29930 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
29931 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
29932 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
29933 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
29934 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
29935 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
29936 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
29937
3aff5644
L
299382017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29939
29940 [BZ #18822]
29941 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
29942 instead of <sys/statvfs.h>.
29943 (__internal_statvfs): Removed.
29944 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
29945 instead of <sys/statvfs.h>.
29946 (__internal_statvfs64): Removed.
29947 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
29948 "internal_statvfs.h" instead of <sys/statvfs.h>.
29949 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
29950 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
29951 instead of <sys/statvfs.h>.
29952 (__internal_statvfs): Removed.
29953 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
29954 instead of <sys/statvfs.h>.
29955 (__internal_statvfs64): Removed.
29956
8bcdb7e0
L
299572017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29958
29959 [BZ #18822]
29960 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
29961 (__gconv_close): Likewise.
29962 (__gconv): Likewise.
29963 (__gconv_find_transform): Likewise.
29964 (__gconv_lookup_cache): Likewise.
29965 (__gconv_compare_alias_cache): Likewise.
29966 (__gconv_load_cache): Likewise.
29967 (__gconv_get_path): Likewise.
29968 (__gconv_close_transform): Likewise.
29969 (__gconv_release_cache): Likewise.
29970 (__gconv_find_shlib): Likewise.
29971 (__gconv_release_shlib): Likewise.
29972 (__gconv_get_builtin_trans): Likewise.
29973 (__gconv_compare_alias): Likewise.
29974 * include/dlfcn.h (_dlerror_run): Likewise.
29975 * include/stdio.h (__fortify_fail_abort): Likewise.
29976 * include/time.h (__tz_compute): Likewise.
29977 (__strptime_internal): Likewise.
29978 * intl/gettextP.h (_nl_find_domain): Likewise.
29979 (_nl_load_domain): Likewise.
29980 (_nl_find_msg): Likewise.
29981 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
29982 (EXTRACT_PLURAL_EXPRESSION): Likewise.
29983 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
29984 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
29985 (__gai_find_request): Likewise.
29986 (__gai_remove_request): Likewise.
29987 (__gai_notify): Likewise.
29988 (__gai_notify_only): Likewise.
29989 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29990 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
29991 (_dl_non_dynamic_init): Likewise.
29992 (_dl_aux_init): Likewise.
29993 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
29994 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29995 Likewise.
29996 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
29997 (__wcsmbs_clone_conv): Likewise.
29998 (__wcsmbs_named_conv): Likewise.
29999
8ed3b643
L
300002017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30001
30002 [BZ #18822]
30003 * include/stdlib.h (__random): Add attribute_hidden.
30004 (__random_r): Likewise.
30005 (__srandom_r): Likewise.
30006 (__initstate_r): Likewise.
30007 (__setstate_r): Likewise.
30008 (__erand48_r): Likewise.
30009 (__nrand48_r): Likewise.
30010 (__jrand48_r): Likewise.
30011 (__srand48_r): Likewise.
30012 (__seed48_r): Likewise.
30013 (__lcong48_r): Likewise.
30014 (__drand48_iterate): Likewise.
30015 (__setenv): Likewise.
30016 (__unsetenv): Likewise.
30017 (__clearenv): Likewise.
30018 (__ptsname_r): Likewise.
30019 (__posix_openpt): Likewise.
30020 (__add_to_environ): Likewise.
30021 (__realpath): Add libc_hidden_proto.
30022 (__ecvt_r): Likewise.
30023 (__fcvt_r): Likewise.
30024 (__qecvt_r): Likewise.
30025 (__qfcvt_r): Likewise.
30026 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
30027 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
30028
ef9b6f73
L
300292017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30030
30031 [BZ #18822]
30032 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
30033 * include/time.h (__mktime_internal): Likewise.
30034 * libio/iolibio.h (__fopen_internal): Likewise.
30035
8da92e72
JDA
300362017-10-01 John David Anglin <danglin@gcc.gnu.org>
30037
30038 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
30039 pointer in frame.
30040 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
30041 Correct offset used to restore PIC register.
30042
388784cf
JDA
300432017-09-30 John David Anglin <danglin@gcc.gnu.org>
30044
30045 [BZ libc/22165]
30046 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
30047 code to load address of __getcontext_ret when generating PIC code.
30048
2000067a
L
300492017-09-30 H.J. Lu <hongjiu.lu@intel.com>
30050
30051 * elf/Makefile (tests-static-internal): Add
30052 tst-tls1-static-non-pie.
30053 (LDFLAGS-tst-tls1-static-non-pie): New.
30054 * elf/tst-tls1-static-non-pie.c: New file.
30055
1e2bffd0
JM
300562017-09-29 Joseph Myers <joseph@codesourcery.com>
30057
30058 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
30059 (asinh): Define using libm_alias_double.
30060 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
30061 (cbrt): Define using libm_alias_double.
30062 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
30063 <libm-alias-double.h>.
30064 (copysign): Define using libm_alias_double.
30065 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
30066 (erf): Define using libm_alias_double.
30067 (erfc): Likewise.
30068 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
30069 (expm1): Define using libm_alias_double.
30070 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
30071 (fabs): Define using libm_alias_double.
30072 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
30073 libm_alias_double.
30074 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
30075 <libm-alias-double.h>.
30076 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
30077 libm_alias_double.
30078 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
30079 <libm-alias-double.h>.
30080 (getpayload): Define using libm_alias_double.
30081 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
30082 <libm-alias-double.h>.
30083 (llrint): Define using libm_alias_double.
30084 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
30085 (lrint): Define using libm_alias_double.
30086 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
30087 <libm-alias-double.h>.
30088 (nextup): Define using libm_alias_double.
30089 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
30090 <libm-alias-double.h>.
30091 (roundeven): Define using libm_alias_double.
30092 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
30093 libm_alias_double.
30094 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
30095 <libm-alias-double.h>.
30096 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
30097 using libm_alias_double.
30098 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
30099 (cos): Define using libm_alias_double.
30100 (sin): Likewise.
30101 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
30102 <libm-alias-double.h>.
30103 (sincos): Define using libm_alias_double.
30104 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
30105 (tanh): Define using libm_alias_double.
30106 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
30107 <libm-alias-double.h>.
30108 (totalorder): Define using libm_alias_double.
30109 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
30110 <libm-alias-double.h>.
30111 (totalordermag): Define using libm_alias_double.
30112 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
30113 libm_alias_double.
30114 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
30115 libm_alias_double.
30116 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
30117 <libm-alias-double.h>.
30118 (getpayload): Define using libm_alias_double.
30119 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
30120 <libm-alias-double.h>.
30121 (roundeven): Define using libm_alias_double.
30122 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
30123 <libm-alias-double.h>.
30124 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
30125 <libm-alias-double.h>.
30126 (totalorder): Define using libm_alias_double.
30127 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
30128 <libm-alias-double.h>.
30129 (totalordermag): Define using libm_alias_double.
30130 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
30131 libc compat symbol here.
30132 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
30133 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
30134 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
30135 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
30136 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
30137 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
30138 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
30139 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
30140 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
30141 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
30142
8172aad9
L
301432017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30144
30145 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
30146 _dl_relocate_static_pie instead of _dl_start to compute load
30147 address in static PIE. Return 0 if _DYNAMIC is undefined for
30148 static executable.
30149
54464e74
L
301502017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30151
30152 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
30153 _DYNAMIC is undefined for static executable.
30154
f6c5e5bc
L
301552017-09-29 H.J. Lu <hongjiu.lu@intel.com>
30156
30157 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
30158
2f92505d
JM
301592017-09-29 Joseph Myers <joseph@codesourcery.com>
30160
30161 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30162
bd8d53bb
WD
301632017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
30164
30165 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
30166 (__ieee754_lgamma_r): Use fabs rather than __fabs.
30167 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
30168 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
30169 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
30170 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
30171 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
30172 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
30173 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
30174 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
30175 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
30176 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
30177 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
30178 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
30179 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
30180 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30181 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
30182
fffb1507
WD
301832017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
30184
30185 * math/bits/cmathcalls.h (cimag): Remove inline.
30186 (creal): Remove inline.
30187 (conj): Remove inline.
30188
4ea49f4c
SN
301892017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30190
30191 * math/Makefile (type-float-routines): Add e_powf_log2_data.
30192 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
30193 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
30194 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
30195 (issignalingf_inline): Likewise.
30196 (POWF_LOG2_TABLE_BITS): Likewise.
30197 (POWF_LOG2_POLY_ORDER): Likewise.
30198 (POWF_SCALE_BITS): Likewise.
30199 (POWF_SCALE): Likewise.
30200 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
30201 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
30202 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
30203
875c76c7
SN
302042017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30205
30206 * math/Makefile (type-float-routines): Add e_log2f_data.
30207 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
30208 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
30209 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
30210 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
30211 * sysdeps/i386/fpu/e_log2f_data.c: New file.
30212 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
30213 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
30214
90c42e40
SN
302152017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30216
30217 * math/Makefile (type-float-routines): Add e_logf_data.
30218 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
30219 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
30220 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
30221 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
30222 * sysdeps/i386/fpu/e_logf_data.c: New file.
30223 * sysdeps/ia64/fpu/e_logf_data.c: New file.
30224 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
30225
4088d8dd
L
302262017-09-28 H.J. Lu <hongjiu.lu@intel.com>
30227
30228 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
30229 undefined _DYNAMIC in PIE libc.a.
30230 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
30231 Likewse.
30232
4d3693ec
WD
302332017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
30234
30235 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
30236 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
30237 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
30238 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
30239 (__signbit): Remove.
30240 (__signbitl): Remove.
30241 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
30242 (__signbit): Remove.
30243 (__signbitl): Remove.
30244 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
30245 (__signbit): Remove.
30246 (__signbitl): Remove.
30247 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
30248 (__signbit): Remove.
30249 (__signbitl): Remove.
30250 * sysdeps/tile/bits/mathinline.h: Delete file.
30251 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
30252 (__signbit): Remove.
30253 (__signbitl): Remove.
30254
1e6d0723
WD
302552017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
30256
30257 * math/math.h: Improve handling of C99 isgreater macros.
30258 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
30259 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
30260 * sysdeps/powerpc/bits/mathinline.h: Likewise.
30261 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30262 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
30263
b2f03cf3
SN
302642017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
30265
30266 * sysdeps/aarch64/libm-test-ulps: Update.
30267
f124cb38
JM
302682017-09-28 Joseph Myers <joseph@codesourcery.com>
30269
30270 [BZ #22225]
30271 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30272 math_opt_barrier on argument when doing arithmetic on it.
30273 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30274 Likewise. Use math_force_eval not math_opt_barrier after
30275 arithmetic.
30276 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
30277 math_opt_barrier on argument when doing arithmetic on it.
30278 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
30279 Likewise.
30280
7edd0691
L
302812017-09-27 H.J. Lu <hongjiu.lu@intel.com>
30282
30283 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
30284 libc_hidden_def.
30285 (__freeifaddrs): Likewise.
30286
2c7bbfaf
ST
302872017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
30288
30289 * include/dirent.h (__dirfd): New declaration.
30290 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
30291 alias.
30292 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
30293 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
30294 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
30295 * include/unistd.h (__revoke): New declaration.
30296 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
30297 alias.
30298 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
30299 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
30300 revoke.
64a4af28
ST
30301 * include/dirent.h (__seekdir): New declaration.
30302 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
30303 redefine as weak alias.
30304 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
30305 of seekdir.
4009ddc6
ST
30306 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
30307 and use libc_hidden_def on them.
30308 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
30309 them.
30310 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
30311 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
30312 instead of getifaddrs and freeifaddrs.
2c7bbfaf 30313
825adeee
L
303142017-09-26 H.J. Lu <hongjiu.lu@intel.com>
30315
30316 [BZ #18822]
30317 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
30318 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
30319 (__dso_handle): Remove declaration.
30320 * dlfcn/tstatexit.c (__dso_handle): Removed.
30321 (main): Don't check __dso_handle.
30322 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
30323 (main): Don't check __dso_handle.
30324 * include/dso_handle.h: New file.
30325 * malloc/mtrace.c: Include <dso_handle.h>.
30326 (mtrace): Pass __dso_handle directly.
30327 * nptl/pthread_atfork.c: Include <dso_handle.h>.
30328 (__dso_handle): Remove declaration.
30329 (__pthread_atfork): Pass __dso_handle directly.
30330 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
30331 (__dso_handle): Removed.
30332 * posix/wordexp-test.c: Include <dso_handle.h>.
30333 (__dso_handle): Remove declaration.
30334 (__app_register_atfork): Pass __dso_handle directly.
30335 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
30336 (__dso_handle): Remove declaration.
30337 (at_quick_exit): Pass __dso_handle directly.
30338 * stdlib/atexit.c: Include <dso_handle.h>.
30339 (__dso_handle): Remove declaration.
30340 (atexit): Pass __dso_handle directly.
30341 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
30342 (__dso_handle): Removed.
30343
bfb0deb3
JM
303442017-09-26 Joseph Myers <joseph@codesourcery.com>
30345
30346 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
30347 using VDSO.
30348
cebcb9f8
AM
303492017-09-26 Alexey Makhalov <amakhalov@vmware.com>
30350
30351 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
30352 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
30353 values to correct default value for given type.
30354
592d5c75
L
303552017-09-26 H.J. Lu <hongjiu.lu@intel.com>
30356
30357 [BZ #22101]
30358 * elf/Makefile (tests): Add tst-debug1.
30359 ($(objpfx)tst-debug1): New.
30360 ($(objpfx)tst-debug1.out): Likewise.
30361 ($(objpfx)tst-debug1mod1.so): Likewise.
30362 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
30363 with p_filesz == 0.
30364 * elf/tst-debug1.c: New file.
30365
2d9193f2
JM
303662017-09-26 Joseph Myers <joseph@codesourcery.com>
30367
30368 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
30369 Define using __ifunc.
30370
4c5a7a02
TMQMF
303712017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30372
30373 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
30374 exp2f() values.
30375
12ef66c4
JM
303762017-09-26 Joseph Myers <joseph@codesourcery.com>
30377
30378 [BZ #22156]
30379 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
30380
44dade71
FW
303812017-09-26 Florian Weimer <fweimer@redhat.com>
30382
30383 * resolv/Makefile (tests-internal): Fix typo in comment.
30384
eaca16f1
FW
303852017-09-26 Florian Weimer <fweimer@redhat.com>
30386
30387 * resolv/nss_dns/dns-host.c: Fix typo in comment.
30388
ccf970c7
AZ
303892017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30390
5f9f31ad
AZ
30391 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
30392 Use an union instead of a max_align_t array for __space,
30393 so that __space is the same size on all platforms.
30394 * malloc/scratch_buffer_grow_preserve.c
30395 (__libc_scratch_buffer_grow_preserve): Likewise.
30396
ccf970c7
AZ
30397 [BZ #22183]
30398 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
30399 version to 2.
30400 * posix/Makefile (routines): Add glob-lstat-compat and
30401 glob64-lstat-compat.
30402 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
30403 * posix/glob-lstat-compat.c: New file.
30404 * posix/glob64-lstat-compat.c: Likewise.
30405 * posix/tst-glob_lstat_compat.c: Likewise.
30406 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
30407 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
30408 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
30409 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
30410 Likewise.
30411 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
30412 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
30413 * posix/glob.c (glob_lstat): New function.
30414 (glob): Rename to __glob and add versioned symbol to 2.27.
30415 (glob_in_dir): Use glob_lstat.
30416 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
30417 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
30418 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
30419 2.27.
30420 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
30421 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
30422 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
30423 gl_lstat on glob call.
30424 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
30425 and glob64 symbols.
30426 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
30427 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
30428 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
30429 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
30430 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
30431 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
30432 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
30433 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
30434 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
30435 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
30436 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
30437 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
30438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
30439 Likewise.
30440 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
30441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
30442 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
30443 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
30444 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
30445 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
30446 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
30447 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
30448 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
30449 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
30450 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
30451 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
30452
b4396163
L
304532017-09-25 H.J. Lu <hongjiu.lu@intel.com>
30454
30455 * configure.ac (AS): Require binutils 2.25 or later.
30456 * configure: Regenerated.
30457
8f834987
PP
304582017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
30459
30460 [BZ #22207]
30461 * stdlib/test-atexit-race-common.c (do_test): Minimize required
30462 VM size.
30463
3de93d19
DD
304642017-09-25 DJ Delorie <dj@redhat.com>
30465
30466 [BZ #22161]
30467 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
30468 resetting timeout.
30469
9947638d
SL
304702017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
30471
30472 * sysdeps/ieee754/dbl-64/sincos32.h
30473 [SINCCOS32_H]: Remove define.
30474 [SINCOS32_H]: Define.
30475
f5f0f526
SN
304762017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30477
30478 * math/Versions (expf): New libm symbol at GLIBC_2.27.
30479 (exp2f): Likewise.
30480 * math/w_exp2f.c: New file.
30481 * math/w_expf.c: New file.
30482 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
30483 * math/w_expf_compat.c (__expf_compat): Likewise.
30484 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
30485 * sysdeps/ia64/fpu/e_expf.S: Likewise.
30486 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
30487 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
30488 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
30489 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
30490 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
30491 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
30492 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
30493 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
30494 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
30495 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
30496 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
30497 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
30498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
30499 Likewise.
30500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30501 Likewise.
30502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
30503 Likewise.
30504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
30505 Likewise.
30506 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
30507 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
30508 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
30509 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
30510 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
30511 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
30512 Likewise.
30513 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
30514 Likewise.
30515 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
30516 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
30517 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
30518
72aa6233
SN
305192017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30520
30521 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
30522 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
30523 (roundtoint, converttoint): Likewise.
30524 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
30525 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
30526 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
30527 * sysdeps/ieee754/flt-32/math_config.h: New file.
30528 * sysdeps/ieee754/flt-32/math_errf.c: New file.
30529 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
30530 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
30531 * sysdeps/i386/fpu/math_errf.c: New file.
30532 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
30533 * sysdeps/ia64/fpu/math_errf.c: New file.
30534 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
30535 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
30536
5e6f3253
ST
305372017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
30538
30539 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
30540 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
30541 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
30542 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
30543 to make sure that these symbols are defined.
b38a42a0
ST
30544 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
30545 of <limits.h>
30546 (__need_NULL): Do not define.
30547 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
30548 alignment.
30549 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
30550 CMGROUP_MAX, cmsgcred): Do not define.
30551 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
30552 NULL.
30553 * bits/socket.h: Likewise.
fcafcd16
ST
30554 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
30555 __gettimeofday instead of gettimeofday.
30556 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
30557 instead of settimeofday.
5e6f3253 30558
2f49ce7d
JM
305592017-09-22 Joseph Myers <joseph@codesourcery.com>
30560
30561 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
30562 (asinhf): Define using libm_alias_float.
30563 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
30564 (atanf): Define using libm_alias_float.
30565 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
30566 (cbrtf): Define using libm_alias_float.
30567 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
30568 (ceilf): Define using libm_alias_float.
30569 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
30570 <libm-alias-float.h>.
30571 (copysignf): Define using libm_alias_float.
30572 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
30573 (cosf): Define using libm_alias_float.
30574 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
30575 (erff): Define using libm_alias_float.
30576 (erfcf): Likewise.
30577 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
30578 (expm1f): Define using libm_alias_float.
30579 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
30580 (fabsf): Define using libm_alias_float.
30581 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
30582 (floorf): Define using libm_alias_float.
30583 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
30584 (frexpf): Define using libm_alias_float.
30585 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
30586 libm_alias_float.
30587 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
30588 <libm-alias-float.h>.
30589 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
30590 libm_alias_float.
30591 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
30592 <libm-alias-float.h>.
30593 (getpayloadf): Define using libm_alias_float.
30594 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
30595 <libm-alias-float.h>.
30596 (llrintf): Define using libm_alias_float.
30597 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
30598 <libm-alias-float.h>.
30599 (llroundf): Define using libm_alias_float.
30600 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
30601 (logbf): Define using libm_alias_float.
30602 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
30603 (lrintf): Define using libm_alias_float.
30604 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
30605 (lroundf): Define using libm_alias_float.
30606 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
30607 (modff): Define using libm_alias_float.
30608 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
30609 <libm-alias-float.h>.
30610 (nearbyintf): Define using libm_alias_float.
30611 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
30612 <libm-alias-float.h>.
30613 (nextafterf): Define using libm_alias_float.
30614 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
30615 <libm-alias-float.h>.
30616 (nextupf): Define using libm_alias_float.
30617 * sysdeps/ieee754/flt-32/s_remquof.c: Include
30618 <libm-alias-float.h>.
30619 (remquof): Define using libm_alias_float.
30620 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
30621 (rintf): Define using libm_alias_float.
30622 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
30623 <libm-alias-float.h>.
30624 (roundevenf): Define using libm_alias_float.
30625 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
30626 (roundf): Define using libm_alias_float.
30627 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
30628 using libm_alias_float.
30629 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
30630 <libm-alias-float.h>.
30631 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
30632 Define using libm_alias_float.
30633 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
30634 <libm-alias-float.h>.
30635 (sincosf): Define using libm_alias_float.
30636 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
30637 (sinf): Define using libm_alias_float.
30638 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
30639 (tanf): Define using libm_alias_float.
30640 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
30641 (tanhf): Define using libm_alias_float.
30642 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
30643 <libm-alias-float.h>.
30644 (totalorderf): Define using libm_alias_float.
30645 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
30646 <libm-alias-float.h>.
30647 (totalordermagf): Define using libm_alias_float.
30648 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
30649 (truncf): Define using libm_alias_float.
30650 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
30651 libm_alias_float.
30652 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
30653 libm_alias_float.
30654
c5c4a626
GG
306552017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30656
30657 [BZ #22146]
30658 math/math.h: Let fpclassify use the builtin in C++ mode, even
30659 when optimazing for size.
30660
23947846
JM
306612017-09-22 Joseph Myers <joseph@codesourcery.com>
30662
30663 * csu/Makefile (generated): Do not add version-info.h.
30664 (before-compile): Likewise.
30665 (all-Banner-files): Remove variable.
30666 ($(objpfx)version-info.h): Remove rule.
30667 * csu/version.c (banner): Do not include "version-info.h".
30668 * libidn/Banner: Remove.
30669 * manual/contrib.texi (Simon Josefsson): New entry.
30670
9ac3c682
GG
306712017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30672
30673 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
30674 Remove conditionals on LDBL_MANT_DIG.
30675 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
30676 (__ieee754_lgammal_r): Likewise.
30677
d2f0ed09
GG
306782017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30679
30680 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
30681 _Float128 and L().
30682 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
30683 _Float128 and L(). Replace _Float128 with long double and L(x)
30684 with xL, throughout the file.
30685 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
30686 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
30687 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
30688 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
30689
c5c2e667
GG
306902017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30691
30692 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
30693 sysdeps/ieee754/ldbl-128ibm.
30694 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
30695 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
30696 of including it. Keep _Float128 and L() intact. These will be
30697 reviewed by a separate patch.
30698 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
30699 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
30700 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
30701 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
30702
e010deb2
GG
307032017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30704
30705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
30706 (__finitef128): Define to __redirect___finitef128.
30707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
30708 (__isinff128): Define to __redirect___isinff128.
30709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
30710 (__isnanf128): Define to __redirect___isnanf128.
30711
ffa44804
GG
307122017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30713
30714 * sysdeps/powerpc/powerpc64le/Makefile
30715 (CFLAGS-tst-strtod-nan-locale.c): New variable.
30716 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
30717
e5e4d7cc
PP
307182017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
30719 Carlos O'Donell <carlos@redhat.com>
30720
30721 [BZ #22180]
30722 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
30723 * stdlib/test-dlclose-exit-race.c: New file.
30724 * stdlib/test-dlclose-exit-race-helper.c: New file.
30725 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
30726
c10c5267
JM
307272017-09-21 Joseph Myers <joseph@codesourcery.com>
30728
30729 * crypt/Banner: Remove file.
30730 * nptl/Banner: Likewise.
30731 * resolv/Banner: Likewise.
30732 * soft-fp/Banner: Likewise.
30733 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
30734 ($(objpfx)version.d): Remove dependency on banner.h.
30735 ($(objpfx)version.os): Likewise.
30736 * nptl/version.c (banner): Do not include banner.h.
30737 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
30738 Jelinek and BIND code.
30739
1cc9e59a
PP
307402017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
30741 Carlos O'Donell <carlos@redhat.com>
30742
30743 * support/xdlfcn.h: New file.
30744 * support/xdlfcn.c: New file.
30745 * support/Makefile (libsupport-routines): Add xdlfcn.
30746 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
30747
ae8372d7
JM
307482017-09-20 Joseph Myers <joseph@codesourcery.com>
30749
30750 [BZ #20142]
30751 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30752 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
30753 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
30754 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
30755 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
30756 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
30757 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
30758 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
30759
26e70aec 307602017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
b39d961c
TS
30761 Ricky Zhou <rickyz@google.com>
30762 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26e70aec
PP
30763
30764 [BZ #14333]
30765 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
30766 Remove atomics.
30767 (__new_exitfn): Fail registration when we finished at_exit processing.
30768 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
30769 * stdlib/on_exit.c (__on_exit): Likewise.
30770 * stdlib/exit.c (__exit_funcs_done): New variable.
30771 (__run_exit_handlers): Use __exit_funcs_lock.
30772 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
30773 declarations.
30774 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
30775 (test-cxa_atexit-race, test-on_exit-race): New tests.
30776 * stdlib/test-atexit-race-common.c: New file.
30777 * stdlib/test-atexit-race.c: New file.
30778 * stdlib/test-at_quick_exit-race.c: New file.
30779 * stdlib/test-cxa_atexit-race.c: New file.
30780 * stdlib/test-on_exit-race.c: New file.
30781
0525ce48
SN
307822017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
30783
30784 * benchtests/Makefile: Add exp2f and log2f benchmarks.
30785 * benchtests/exp2f-inputs: Copy of expf-inputs.
30786 * benchtests/log2f-inputs: Copy of logf-inputs.
30787
d82468d1
JM
307882017-09-19 Joseph Myers <joseph@codesourcery.com>
30789
30790 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
30791 Explicitly take address of first element of array arguments in
30792 call to INLINE_SYSCALL.
30793
43ffc53a
AS
307942017-09-19 Andreas Schwab <schwab@suse.de>
30795
30796 [BZ #22134]
30797 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
30798 execveat first.
30799 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
30800 unimplemented.
30801 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
30802 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
30803 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30804 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
30805 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30806 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
30807 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30808 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
30809 * posix/Makefile (tests): Add tst-fexecve.
30810 * posix/tst-fexecve.c: New file.
30811
a5dcc87e
WD
308122017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30813
30814 * benchtests/Makefile: Add logf benchmark.
30815 * benchtests/logf-inputs: Add reduced trace from wrf_r.
30816
7024d544
WD
308172017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30818
30819 * benchtests/Makefile: Add expf benchmark.
30820 * benchtests/expf-inputs: Add reduced trace from wrf_r.
30821
ca3a382e
WD
308222017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30823
30824 * csu/Makefile: Add -funwind-tables to libc-start.c.
30825 * debug/Makefile: Add -funwind-tables to backtrace.c.
30826 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
30827 * sysdeps/arm/Makefile: Likewise.
30828 * sysdeps/i386/Makefile: Likewise.
30829 * sysdeps/m68k/Makefile: Likewise.
30830 * sysdeps/mips/Makefile: Likewise.
30831 * sysdeps/nios2/Makefile: Likewise.
30832 * sysdeps/sh/Makefile: Likewise.
30833 * sysdeps/sparc/Makefile: Likewise.
30834
eb375def
JM
308352017-09-19 Joseph Myers <joseph@codesourcery.com>
30836
30837 * benchtests/Makefile (bench-math): Add trunc and truncf.
30838 (CFLAGS-bench-trunc.c): New variable.
30839 (CFLAGS-bench-truncf.c): Likewise.
30840 * benchtests/trunc-inputs: New file.
30841 * benchtests/truncf-inputs: Likewise.
30842
bd17ba29
RS
308432017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30844
30845 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
30846
92892fdb
JM
308472017-09-18 Joseph Myers <joseph@codesourcery.com>
30848
6d9b0b5a
JM
30849 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
30850 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
30851 redefine.
30852 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
30853 (exp10l): Define as weak alias.
30854 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
30855 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
30856 and redefine.
30857 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
30858 (remainderl): Define as weak alias.
30859
92892fdb
JM
30860 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
30861 (fmal): Define using libm_alias_ldouble.
30862 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
30863 (acoshl): Define using libm_alias_ldouble.
30864 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
30865 (acosl): Define using libm_alias_ldouble.
30866 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
30867 (asinl): Define using libm_alias_ldouble.
30868 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
30869 (atan2l): Define using libm_alias_ldouble.
30870 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
30871 (atanhl): Define using libm_alias_ldouble.
30872 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
30873 (coshl): Define using libm_alias_ldouble.
30874 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
30875 (exp10l): Define using libm_alias_ldouble.
30876 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
30877 (exp2l): Define using libm_alias_ldouble.
30878 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
30879 (expl): Define using libm_alias_ldouble.
30880 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
30881 (fmodl): Define using libm_alias_ldouble.
30882 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
30883 (hypotl): Define using libm_alias_ldouble.
30884 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
30885 (j0l): Define using libm_alias_ldouble.
30886 (y0l): Likewise.
30887 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
30888 (j1l): Define using libm_alias_ldouble.
30889 (y1l): Likewise.
30890 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
30891 (jnl): Define using libm_alias_ldouble.
30892 (ynl): Likewise.
30893 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
30894 (log10l): Define using libm_alias_ldouble.
30895 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
30896 (log2l): Define using libm_alias_ldouble.
30897 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
30898 (logl): Define using libm_alias_ldouble.
30899 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
30900 (powl): Define using libm_alias_ldouble.
30901 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
30902 (remainderl): Define using libm_alias_ldouble.
30903 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
30904 (sinhl): Define using libm_alias_ldouble.
30905 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
30906 (sqrtl): Define using libm_alias_ldouble.
30907 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
30908 (tgammal): Define using libm_alias_ldouble.
30909 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
30910 (exp10l): Do not use long_double_symbol here.
30911 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30912 [LIBM_SVID_COMPAT] (remainderl): Likewise.
30913 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
30914 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30915 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30916 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30917 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30918 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30919 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30920 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30921 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30922 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30923 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30924 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30925 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30926 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30927 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30928 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30929 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30930 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30931 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30932 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30933
6cd380dd
WB
309342017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
30935
30936 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
30937 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
30938
1c6d89e9
ST
309392017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
30940
30941 * io/read.c (read): Add libc_hidden_weak.
30942 * sysdeps/mach/hurd/read.c (read): Likewise.
30943 * io/write.c (write): Likewise.
30944 * sysdeps/mach/hurd/write.c (write): Likewise.
30945 * io/pread64.c (__pread64): Likewise.
30946 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
30947 * posix/pread64.c (__pread64): Add libc_hidden_def.
30948
06b1de23
SP
309492017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
30950
140647ea
SP
30951 * benchtests/scripts/compare_strings.py: New option -g.
30952 (draw_graph): Print a message that a graph is being generated.
30953 (process_results): Generate graph only if -g is passed.
30954 (main): Process option -g.
30955
5a6547b7
SP
30956 * benchtests/scripts/compare_strings.py (process_results):
30957 Better spacing for output.
30958
06b1de23
SP
30959 * benchtests/scripts/compare_strings.py: Use argparse.
30960 * benchtests/README: Document existence of compare_strings.py.
30961
c67a2328
JM
309622017-09-15 Joseph Myers <joseph@codesourcery.com>
30963
9ac44708
JM
30964 * math/s_fma.c: Include <libm-alias-double.h>.
30965 (fma): Define using libm_alias_double.
30966 * math/s_nextafter.c: Include <libm-alias-double.h>.
30967 (nextafter): Define using libm_alias_double.
30968 * math/w_acos_compat.c: Include <libm-alias-double.h>.
30969 (acos): Define using libm_alias_double.
30970 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
30971 (aocsh): Define using libm_alias_double.
30972 * math/w_asin_compat.c: Include <libm-alias-double.h>.
30973 (asin): Define using libm_alias_double.
30974 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
30975 (atan2): Define using libm_alias_double.
30976 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
30977 (atanh): Define using libm_alias_double.
30978 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
30979 (cosh): Define using libm_alias_double.
30980 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
30981 (exp10): Define using libm_alias_double.
30982 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
30983 (exp2): Define using libm_alias_double.
30984 * math/w_exp_compat.c: Include <libm-alias-double.h>.
30985 (exp): Define using libm_alias_double.
30986 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
30987 (fmod): Define using libm_alias_double.
30988 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
30989 (hypot): Define using libm_alias_double.
30990 * math/w_j0_compat.c: Include <libm-alias-double.h>.
30991 (j0): Define using libm_alias_double.
30992 (y0): Likewise.
30993 * math/w_j1_compat.c: Include <libm-alias-double.h>.
30994 (j1): Define using libm_alias_double.
30995 (y1): Likewise.
30996 * math/w_jn_compat.c: Include <libm-alias-double.h>.
30997 (jn): Define using libm_alias_double.
30998 (yn): Likewise.
30999 * math/w_log10_compat.c: Include <libm-alias-double.h>.
31000 (log10): Define using libm_alias_double.
31001 * math/w_log2_compat.c: Include <libm-alias-double.h>.
31002 (log2): Define using libm_alias_double.
31003 * math/w_log_compat.c: Include <libm-alias-double.h>.
31004 (log): Define using libm_alias_double.
31005 * math/w_pow_compat.c: Include <libm-alias-double.h>.
31006 (pow): Define using libm_alias_double.
31007 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
31008 (remainder): Define using libm_alias_double.
31009 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
31010 (sinh): Define using libm_alias_double.
31011 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
31012 (sqrt): Define using libm_alias_double.
31013 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
31014 (tgamma): Define using libm_alias_double.
31015 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
31016 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
31017 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
31018 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
31019 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
31020 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
31021 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
31022 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
31023 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
31024 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
31025 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
31026 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
31027 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
31028 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
31029 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
31030 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
31031 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
31032 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
31033 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
31034 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
31035 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
31036 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
31037 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
31038 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
31039 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
31040
c67a2328
JM
31041 * math/e_acoshl.c: Remove.
31042 * math/e_acosl.c: Likewise.
31043 * math/e_asinl.c: Likewise.
31044 * math/e_atan2l.c: Likewise.
31045 * math/e_atanhl.c: Likewise.
31046 * math/e_coshl.c: Likewise.
31047 * math/e_expl.c: Likewise.
31048 * math/e_fmodl.c: Likewise.
31049 * math/e_gammal_r.c: Likewise.
31050 * math/e_hypotl.c: Likewise.
31051 * math/e_j0l.c: Likewise.
31052 * math/e_j1l.c: Likewise.
31053 * math/e_jnl.c: Likewise.
31054 * math/e_lgammal_r.c: Likewise.
31055 * math/e_log10l.c: Likewise.
31056 * math/e_log2l.c: Likewise.
31057 * math/e_logl.c: Likewise.
31058 * math/e_powl.c: Likewise.
31059 * math/e_rem_pio2l.c: Likewise.
31060 * math/e_sinhl.c: Likewise.
31061 * math/e_sqrtf128.c: Likewise.
31062 * math/e_sqrtl.c: Likewise.
31063 * math/k_cosl.c: Likewise.
31064 * math/k_sinl.c: Likewise.
31065 * math/k_tanl.c: Likewise.
31066 * math/s_asinhl.c: Likewise.
31067 * math/s_atanl.c: Likewise.
31068 * math/s_cbrtl.c: Likewise.
31069 * math/s_erfl.c: Likewise.
31070 * math/s_expm1l.c: Likewise.
31071 * math/s_log1pl.c: Likewise.
31072 * math/s_tanhl.c: Likewise.
31073
61c45f25
TMQMF
310742017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31075
31076 [BZ #21745]
31077 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
31078 [$(subdir) = math] (sysdep_calls): New variable. Has the
31079 previous contents of sysdep_routines, but re-sorted..
31080 [$(subdir) = math] (sysdep_routines): Re-use the contents from
31081 sysdep_calls.
31082 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
31083 defined in sysdep_calls and replace by the respective m_* names.
31084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
31085 (compat_symbol): Undefine to avoid duplicated compat symbols in
31086 libc.
31087
5bcdb315
JM
310882017-09-15 Joseph Myers <joseph@codesourcery.com>
31089
31090 * math/s_fmaf.c: Include <libm-alias-float.h>.
31091 (fmaf): Define using libm_alias_float.
31092 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
31093 (acosf): Define using libm_alias_float.
31094 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
31095 (acoshf): Define using libm_alias_float.
31096 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
31097 (asinf): Define using libm_alias_float.
31098 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
31099 (atan2f): Define using libm_alias_float.
31100 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
31101 (atanhf): Define using libm_alias_float.
31102 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
31103 (coshf): Define using libm_alias_float.
31104 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
31105 (exp10f): Define using libm_alias_float.
31106 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
31107 (fmodf): Define using libm_alias_float.
31108 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
31109 (hypotf): Define using libm_alias_float.
31110 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
31111 (j0f): Define using libm_alias_float.
31112 (y0f): Likewise.
31113 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
31114 (j1f): Define using libm_alias_float.
31115 (y1f): Likewise.
31116 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
31117 (jnf): Define using libm_alias_float.
31118 (ynf): Likewise.
31119 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
31120 (log10f): Define using libm_alias_float.
31121 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
31122 (log2f): Define using libm_alias_float.
31123 * math/w_logf_compat.c: Include <libm-alias-float.h>.
31124 (logf): Define using libm_alias_float.
31125 * math/w_powf_compat.c: Include <libm-alias-float.h>.
31126 (powf): Define using libm_alias_float.
31127 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
31128 (remainderf): Define using libm_alias_float.
31129 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
31130 (sinhf): Define using libm_alias_float.
31131 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
31132 (sqrtf): Define using libm_alias_float.
31133 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
31134 (tgammaf): Define using libm_alias_float.
31135
01f28812
JM
311362017-09-14 Joseph Myers <joseph@codesourcery.com>
31137
31138 * include/math.h (roundeven): Change hidden_proto call to
31139 __roundeven.
31140 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
31141 alias.
31142 [NO_LONG_DOUBLE] (__j0l): New strong alias.
31143 (y0): Rename to __y0 and define as weak alias.
31144 [NO_LONG_DOUBLE] (__y0l): New strong alias.
31145 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
31146 alias.
31147 (y0f): Rename to __y0f and define as weak alias.
31148 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
31149 alias.
31150 [NO_LONG_DOUBLE] (__j1l): New strong alias.
31151 (y1): Rename to __y1 and define as weak alias.
31152 [NO_LONG_DOUBLE] (__y1l): New strong alias.
31153 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
31154 alias.
31155 (y1f): Rename to __y1f and define as weak alias.
31156 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
31157 alias.
31158 [NO_LONG_DOUBLE] (__jnl): New strong alias.
31159 (yn): Rename to __yn and define as weak alias.
31160 [NO_LONG_DOUBLE] (__ynl): New strong alias.
31161 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
31162 alias.
31163 (ynf): Rename to __ynf and define as weak alias.
31164 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
31165 (fromfp): Define as weak alias.
31166 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
31167 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
31168 (fromfpx): Define as weak alias.
31169 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
31170 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
31171 __getpayload and define as weak alias.
31172 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
31173 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
31174 __roundeven and define as weak alias.
31175 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
31176 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
31177 __setpayload.
31178 (setpayload): Define as weak alias.
31179 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
31180 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
31181 __setpayloadsig.
31182 (setpayloadsig): Define as weak alias.
31183 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
31184 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
31185 __totalorder and define as weak alias.
31186 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
31187 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
31188 to __totalordermag and define as weak alias.
31189 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
31190 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
31191 (ufromfp): Define as weak alias.
31192 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
31193 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
31194 __ufromfpx.
31195 (ufromfpx): Define as weak alias.
31196 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
31197 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
31198 Rename to __getpayload and define as weak alias.
31199 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
31200 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
31201 Rename to __roundeven and define as weak alias.
31202 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
31203 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
31204 Rename to __totalorder and define as weak alias.
31205 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
31206 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
31207 (totalordermag): Rename to __totalordermag and define as weak
31208 alias.
31209 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
31210 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
31211 macro.
31212 (__roundevenl): Likewise.
31213 (__totalorderl): Likewise.
31214 (__totalordermagl): Likewise
31215 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
31216 __fromfpf128.
31217 (fromfpf128): Define as weak alias.
31218 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
31219 __fromfpxf128.
31220 (fromfpxf128): Define as weak alias.
31221 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
31222 __setpayloadf128.
31223 (setpayloadf128): Define as weak alias.
31224 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
31225 __setpayloadsigf128.
31226 (setpayloadsigf128): Define as weak alias.
31227 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
31228 __ufromfpf128.
31229 (ufromfpf128): Define as weak alias.
31230 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
31231 __ufromfpxf128.
31232 (ufromfpxf128): Define as weak alias.
31233 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
31234 (fromfpf): Define as weak alias.
31235 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
31236 __fromfpxf.
31237 (fromfpxf): Define as weak alias.
31238 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
31239 __getpayloadf and define as weak alias.
31240 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
31241 __roundevenf and define as weak alias.
31242 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
31243 __setpayloadf.
31244 (setpayloadf): Define as weak alias.
31245 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
31246 __setpayloadsigf.
31247 (setpayloadsigf): Define as weak alias.
31248 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
31249 __totalorderf and define as weak alias.
31250 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
31251 Rename to __totalordermagf and define as weak alias.
31252 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
31253 __ufromfpf.
31254 (ufromfpf): Define as weak alias.
31255 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
31256 __ufromfpxf.
31257 (ufromfpxf): Define as weak alias.
31258 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
31259 __fromfpl.
31260 (fromfpl): Define as weak alias.
31261 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
31262 __fromfpxl.
31263 (fromfpxl): Define as weak alias.
31264 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
31265 to __getpayloadl and define as weak alias.
31266 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
31267 __roundevenl and define as weak alias.
31268 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
31269 __setpayloadl.
31270 (setpayloadl): Define as weak alias.
31271 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
31272 __setpayloadsigl.
31273 (setpayloadsigl): Define as weak alias.
31274 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
31275 to __totalorderl and define as weak alias.
31276 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
31277 Rename to __totalordermagl and define as weak alias.
31278 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
31279 __ufromfpl.
31280 (ufromfpl): Define as weak alias.
31281 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
31282 __ufromfpxl.
31283 (ufromfpxl): Define as weak alias.
31284 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
31285 __fromfpl.
31286 (fromfpl): Define as weak alias.
31287 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
31288 __fromfpxl.
31289 (fromfpxl): Define as weak alias.
31290 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
31291 Rename to __getpayloadl and define as weak alias.
31292 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
31293 to __roundevenl and define as weak alias. Call __roundeven
31294 instead of roundeven.
31295 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
31296 __setpayloadl.
31297 (setpayloadl): Define as weak alias.
31298 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
31299 __setpayloadsigl.
31300 (setpayloadsigl): Define as weak alias.
31301 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
31302 Rename to __totalorderl and define as weak alias.
31303 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
31304 Rename to __totalordermagl and define as weak alias.
31305 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
31306 __ufromfpl.
31307 (ufromfpl): Define as weak alias.
31308 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
31309 __ufromfpxl.
31310 (ufromfpxl): Define as weak alias.
31311 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
31312 __fromfpl.
31313 (fromfpl): Define as weak alias.
31314 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
31315 __fromfpxl.
31316 (fromfpxl): Define as weak alias.
31317 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
31318 __getpayloadl and define as weak alias.
31319 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
31320 __roundevenl and define as weak alias.
31321 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
31322 __setpayloadl.
31323 (setpayloadl): Define as weak alias.
31324 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
31325 __setpayloadsigl.
31326 (setpayloadsigl): Define as weak alias.
31327 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
31328 __totalorderl and define as weak alias.
31329 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
31330 Rename to __totalordermagl and define as weak alias.
31331 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
31332 __ufromfpl.
31333 (ufromfpl): Define as weak alias.
31334 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
31335 __ufromfpxl.
31336 (ufromfpxl): Define as weak alias.
31337
29c933fb
SP
313382017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
31339
503c92c3
SP
31340 * benchtests/bench-string.h (realloc_bufs): New function.
31341 (test_init): Call it.
31342 * benchtests/bench-memset-large.c (do_test): Likewise.
31343 * benchtests/bench-memset.c (do_test): Likewise.
31344
29c933fb
SP
31345 * benchtests/bench-memset-large.c: Print output in JSON
31346 format.
31347 * benchtests/bench-memset.c: Likewise.
31348
799c8d69
MF
313492017-09-14 Mike FABIAN <mfabian@redhat.com>
31350
31351 [BZ #21084]
31352 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
31353 * iconvdata/Makefile: Add IBM858.
31354 * iconvdata/gconv-modules: Likewise.
31355 * iconvdata/tst-tables.sh: Likewise.
31356 * iconvdata/ibm858.c: New file.
31357 * localedata/charmaps/IBM858: Likewise.
31358
c207f7ce 313592017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
31360
31361 [BZ #22023]
31362 * locales/niu_NZ (LC_TIME): copy "niu_NU".
31363 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
31364
f28a0926
AK
313652017-09-14 Mike FABIAN <mfabian@redhat.com>
31366
31367 [BZ #22112]
31368 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
31369 and add tel_int_fmt.
31370
02093e62
JM
313712017-09-14 Joseph Myers <joseph@codesourcery.com>
31372
31373 * sysdeps/generic/libm-alias-float128.h: New file.
31374 * sysdeps/generic/math-type-macros-float128.h: Include
31375 <libm-alias-float128.h>.
31376 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
31377
1aae75ef
JM
313782017-09-13 Joseph Myers <joseph@codesourcery.com>
31379
31380 * sysdeps/generic/libm-alias-ldouble.h: New file.
31381 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
31382 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
31383 * sysdeps/generic/math-type-macros-ldouble.h: Include
31384 <libm-alias-ldouble.h>.
31385 [!declare_mgen_alias] (declare_mgen_alias): Define to use
31386 libm_alias_ldouble.
31387
bcea7ad6
SN
313882017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
31389
31390 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
31391 * math/w_exp_compat.c: ... here.
31392 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
31393 * math/w_expf_compat.c: ... here.
31394 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
31395 * math/w_expl_compat.c: ... here.
31396 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
31397 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
31398 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
31399 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
31400
0fc56478
JM
314012017-09-13 Joseph Myers <joseph@codesourcery.com>
31402
31403 * math/w_scalbln_template.c (strong_alias): Do not undefine and
31404 redefine.
31405 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
31406 macro.
31407 (ldexpl): Only define as compat symbol for libc, not libm.
31408 (scalbnl): Define as compat symbol for libc here.
31409 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
31410 define for [IS_IN (libc)].
31411 (__ldexpl_2): Remove alias.
31412 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
31413 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
31414 name in long_double_symbol call.
31415 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
31416 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
31417 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
31418 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
31419 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
31420 Remove macro.
31421 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
31422 Define as compat symbol.
31423
3ca622e4
AZ
314242017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31425
31426 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
31427 * sysdeps/unix/sysv/linux/alpha/Makefile
31428 [$(subdir) = csu] (sysdep_routines): Remove rule.
31429
620ff9ee
JM
314302017-09-13 Joseph Myers <joseph@codesourcery.com>
31431
31432 * sysdeps/generic/libm-alias-double.h: New file.
31433 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
31434 * sysdeps/generic/math-type-macros-double.h: Include
31435 <libm-alias-double.h>.
31436 [declare_mgen_alias] (declare_mgen_alias): Define to use
31437 libm_alias_double.
31438 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
31439 (M_LIBM_NEED_COMPAT): Remove macro.
31440 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
31441 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
31442 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
31443 code.
31444 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31445 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31446 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31447 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31448 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31449 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31450 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31451 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31452 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31453 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31454 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31455 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31456 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31457 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31458 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31459 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31460 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31461 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31462 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31463 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31464 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31465 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31466 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31467 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31468 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31469 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31470 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
31471 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
31472 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
31473 macro.
31474 (declare_mgen_alias): New macro.
31475 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
31476 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
31477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
31478 (M_LIBM_NEED_COMPAT): Remove macro.
31479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
31480 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
31481 <first-versions.h>.
31482 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
31483 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
31484
a891caff
JM
314852017-09-12 Joseph Myers <joseph@codesourcery.com>
31486
31487 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
31488 (declare_mgen_alias_2): Remove.
31489 * sysdeps/generic/math-type-macros-double.h
31490 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
31491 Likewise.
31492 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
31493 alias.
31494 (ldexp): Define with declare_mgen_alias.
31495 (scalbn): Likewise.
31496
a1a78204
SE
314972017-09-12 Steve Ellcey <sellcey@cavium.com>
31498
31499 * grp/initgroups.c: Include config.h.
31500 (DEFAULT_CONFIG): New macro.
31501 (internal_getgrouplist): Use DEFAULT_CONFIG.
31502 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31503 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
31504 (DEFAULT_DEFCONFIG): New macro.
31505 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
31506 * nss/grp-lookup.c: Include config.h
31507 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
31508 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
31509 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
31510 * manual/nss.texi: Update default values section.
31511
ef8adeb0
L
315122017-09-12 H.J. Lu <hongjiu.lu@intel.com>
31513
31514 [BZ #21967]
31515 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
31516 New.
31517 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
31518 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
31519 Handle MathVec_Prefer_No_AVX512.
31520 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
31521 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
31522 is set.
31523
a166531f
ST
315242017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
31525
31526 * posix/sched_primax.c (__sched_get_priority_max): Add
31527 libc_hidden_def.
31528 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
31529 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
31530 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
31531 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
31532 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
31533 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
31534 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
31535 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
31536 Add aliases.
31537
4b7d1efb
JM
315382017-09-11 Joseph Myers <joseph@codesourcery.com>
31539
31540 * sysdeps/generic/libm-alias-float.h: New file.
31541 * sysdeps/generic/math-type-macros-float.h: Include
31542 <libm-alias-float.h>.
31543 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
31544
45ff3463
L
315452017-09-11 H.J. Lu <hongjiu.lu@intel.com>
31546
31547 [BZ #22093]
31548 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
31549 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
31550 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
31551 (HWCAP_IMPORTANT): Likewise.
31552 (HWCAP_X86_64): New enum.
31553 (HWCAP_X86_AVX512_1): Updated.
31554 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
31555 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
31556 (modules-names): Add x86_64/tst-x86_64mod-1.
31557 (LDFLAGS-tst-x86_64mod-1.so): New.
31558 ($(objpfx)tst-x86_64-1): Likewise.
31559 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
31560 (tst-x86_64-1-clean): Likewise.
31561 * sysdeps/x86_64/tst-x86_64-1.c: New file.
31562 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
31563
891abfd3
SP
315642017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
31565
31566 * po/sv.po: Update translations.
31567 * po/fr.po: Likewise.
31568
00c3da43
ST
315692017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31570
31571 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
31572 seconds.
3bdfd9fb
ST
31573 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
31574 seconds.
65b22ebc 31575 * elf/rtld-Rules: Fix $(error) use.
00c3da43 31576
96480903
MF
315772017-09-09 Mike FABIAN <mfabian@redhat.com>
31578
31579 [BZ #14925]
31580 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
31581 * locale/iso-639.def: Change “Bengali” to “Bangla”.
31582 * localedata/locales/bn_BD: “Bengali” was still used in some
31583 comments. Change it to “Bangla”.
31584
4c03a696
MT
315852017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
31586
31587 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
31588
9c9ec581
SE
315892017-09-08 Steve Ellcey <sellcey@cavium.com>
31590
31591 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
31592 thunderx2t99p1 to list of cpu names.
31593 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
31594 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
31595
f00bce74
SE
315962017-09-08 Steve Ellcey <sellcey@cavium.com>
31597
31598 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
31599 Use strcmp instead of tunable_is_name.
31600
27342d17
JM
316012017-09-08 Joseph Myers <joseph@codesourcery.com>
31602
af1b7c8c
JM
31603 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31604 (F_GET_RW_HINT): New macro.
31605 [__USE_GNU] (F_SET_RW_HINT): Likewise.
31606 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
31607 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
31608 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
31609 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
31610 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
31611 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
31612 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
31613 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
31614
27342d17
JM
31615 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31616 (F_ADD_SEALS): New macro.
31617 [__USE_GNU] (F_GET_SEALS): Likewise.
31618 [__USE_GNU] (F_SEAL_SEAL): Likewise.
31619 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
31620 [__USE_GNU] (F_SEAL_GROW): Likewise.
31621 [__USE_GNU] (F_SEAL_WRITE): Likewise.
31622
c66c9082
AZ
316232017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31624
07b4f49d
AZ
31625 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
31626 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
31627 * posix/glob_internal.h (__glob_pattern_type):
31628 * posix/glob.c (glob):
31629 * posix/glob_pattern_p.c (__glob_pattern_p):
31630 Use them.
31631
116f1c64
AZ
31632 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
31633 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31634 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
31635 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
31636 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
31637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
31638 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
31639 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
31640 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
31641 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31642 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
31643 * sysdeps/wordsize-64/glob.c: Likewise.
31644 * sysdeps/wordsize-64/glob64.c: Likewise.
31645 * sysdeps/wordsize-64/globfree.c: Likewise.
31646 * sysdeps/wordsize-64/globfree64.c: Likewise.
31647 * sysdeps/unix/sysv/linux/glob.c: New file.
31648 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
31649 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
31650 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
31651 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
31652 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
31653 adds !GLOB_NO_OLD_VERSION as an extra condition.
31654 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
31655 using relative path instead of absolute one.
31656 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
31657 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31658 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31659 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
31660 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
31661 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
31662
ffca8901
AZ
31663 [BZ #1062]
31664 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
31665 (glob): Use the same scratch buffer for both getlogin_r and
31666 getpwnam_r. Don’t require preallocation of the login name. This
31667 simplifies storage allocation, and corrects the handling of
31668 long login names.
31669
5a79f975
AZ
31670 [BZ #1062]
31671 * posix/glob.c (glob): Port recent patches to platforms
31672 lacking getpwnam_r.
31673 (glob): Fix longstanding misuse of errno after getpwnam_r, which
31674 returns an error number rather than setting errno.
31675
e00f2425
AZ
31676 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
31677 instead of GCC extension.
31678 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
31679 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
31680 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
31681
5554304f
AZ
31682 [BZ #866]
31683 [BZ #1062]
31684 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
31685 * posix/bug-glob1.c: Remove file.
31686 * posix/tst-glob_symlinks.c: New file.
31687 * posix/glob.c (__lstat64): New macro.
31688 (is_dir): New function.
31689 (glob, glob_in_dir): Match symlinks even if they are dangling.
31690 (link_stat, link_exists_p): Remove. All uses removed.
31691
686f2ea1
AZ
31692 [BZ #1062]
31693 [BZ #19971]
31694 * posix/glob.c (struct readdir_result): Remove skip_entry member.
31695 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
31696 All uses removed.
31697
c66c9082 31698 [BZ #1062]
914c9994 31699 CVE-2017-15671
c66c9082
AZ
31700 * posix/Makefile (routines): Add globfree, globfree64, and
31701 glob_pattern_p.
31702 * posix/flexmember.h: New file.
31703 * posix/glob_internal.h: Likewise.
31704 * posix/glob_pattern_p.c: Likewise.
31705 * posix/globfree.c: Likewise.
31706 * posix/globfree64.c: Likewise.
31707 * sysdeps/gnu/globfree64.c: Likewise.
31708 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
31709 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
31710 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
31711 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
31712 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
31713 * sysdeps/wordsize-64/globfree.c: Likewise.
31714 * sysdeps/wordsize-64/globfree64.c: Likewise.
31715 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
31716 [NDEBUG): Remove comments.
31717 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
31718 (dirent_type): New type. Use uint_fast8_t not
31719 uint8_t, as C99 does not require uint8_t.
31720 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
31721 (struct readdir_result): Use dirent_type. Do not define skip_entry
31722 unless it is needed; this saves a byte on platforms lacking d_ino.
31723 (readdir_result_type, readdir_result_skip_entry):
31724 New functions, replacing ...
31725 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
6b5c8607 31726 these functions, which were removed. This makes the callers
c66c9082
AZ
31727 easier to read. All callers changed.
31728 (D_INO_TO_RESULT): Now empty if there is no d_ino.
31729 (size_add_wrapv, glob_use_alloca): New static functions.
31730 (glob, glob_in_dir): Check for size_t overflow in several places,
31731 and fix some size_t checks that were not quite right.
31732 Remove old code using SHELL since Bash no longer
31733 uses this.
31734 (glob, prefix_array): Separate MS code better.
31735 (glob_in_dir): Remove old Amiga and VMS code.
31736 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
31737 separate files.
31738 (glob_in_dir): Do not rely on undefined behavior in accessing
31739 struct members beyond their bounds. Use a flexible array member
31740 instead
31741 (link_stat): Rename from link_exists2_p and return -1/0 instead of
31742 0/1. Caller changed.
31743 (glob): Fix memory leaks.
31744 * posix/glob64 (globfree64): Move to separate file.
31745 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
31746 (globfree64): Remove hidden alias.
31747 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
31748 oldglob.
31749 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
31750 separate file.
31751 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
31752 define.
31753 Move compat code to separate file.
31754 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
31755 separate file.
31756
78bfa877
L
317572017-09-07 H.J. Lu <hongjiu.lu@intel.com>
31758
31759 * resolv/tst-resolv-qtypes.c (domain): Changed to
31760 "const char domain[] =".
31761
05f0011f
JM
317622017-09-07 Joseph Myers <joseph@codesourcery.com>
31763
85bec0f2
JM
31764 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
31765 version to 3.1.6.
31766
5c23ee6e
JM
31767 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
31768 (TCP_MD5SIG_EXT): Likewise.
31769 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
31770 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
31771 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
31772
05f0011f
JM
31773 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
31774
7c9c5be9
MF
317752017-09-07 Mike FABIAN <mfabian@redhat.com>
31776
31777 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
31778
c207f7ce 317792017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
31780
31781 [BZ #22100]
31782 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
31783
507fe027
ST
317842017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
31785
31786 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
31787 before assuming that the file is empty. Avoid testing buffer content
31788 when nread == 0.
31789
65687ac7
AZ
317902017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31791
7bbbb4b9 31792 [BZ #18858]
65687ac7
AZ
31793 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
31794 Remove define.
31795 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
31796 Likewise.
31797 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
31798 Likewise.
31799 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
31800 Likewise.
31801 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
31802 Likewise.
31803 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
31804 Likewise.
31805 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
31806 Likewise.
31807
ab5ac271
FW
318082017-09-06 Florian Weimer <fweimer@redhat.com>
31809
31810 * malloc/dynarray_emplace_enlarge.c
31811 (__libc_dynarray_emplace_enlarge): Add missing else.
31812
a8304730
FW
318132017-09-06 Florian Weimer <fweimer@redhat.com>
31814
31815 [BZ #22096]
31816 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
31817 case of failure to obtain the global conf object.
31818
5670c4ab
FW
318192017-09-06 Florian Weimer <fweimer@redhat.com>
31820
31821 [BZ #22095]
31822 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
31823 dynarray allocation failure.
31824
c77eb969
FW
318252017-09-06 Florian Weimer <fweimer@redhat.com>
31826
31827 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
31828 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
31829 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
31830 New functions.
31831 (response): Call them. Add 'p', '6' flag processing.
31832 (test_reverse): New function.
31833 (test_get2_any): Call it.
31834 (test_no_inet6): Add 'p' test.
31835 (test_inet6): Likewise.
31836
5e9c4d17
FW
318372017-09-06 Florian Weimer <fweimer@redhat.com>
31838
31839 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
31840 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
31841 the QNAME.
31842 (test_gai): Adjust query names. Add additional tests.
31843 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
31844 test_get2. Adjust query names. Add additional tests.
31845 (test_no_inet6): New function, extracted from threadfunc.
31846 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
31847 Add additional tests.
31848
2ae5be04
MF
318492017-09-06 Mike FABIAN <mfabian@redhat.com>
31850
31851 [BZ #22070]
31852 * localedata/unicode-gen/utf8_gen.py: Set the width for
31853 characters with Prepended_Concatenation_Mark property to 1
31854 * localedata/charmaps/UTF-8: Updated using the improved script.
31855
af83ed5c
MF
318562017-09-06 Mike FABIAN <mfabian@redhat.com>
31857
31858 [BZ #21750]
31859 * localedata/unicode-gen/utf8_gen.py: Improve the script to
31860 use the range notation for all ranges of neighbouring characters
31861 with the same width.
31862
4f3647e4
JM
318632017-09-05 Joseph Myers <joseph@codesourcery.com>
31864
31865 * sysdeps/generic/math-type-macros-double.h: Include
31866 <math-svid-compat.h>.
31867 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31868 * sysdeps/generic/math-type-macros-float.h: Include
31869 <math-svid-compat.h>.
31870 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31871 * sysdeps/generic/math-type-macros-ldouble.h: Include
31872 <math-svid-compat.h>.
31873 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31874 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
31875 condition.
31876 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
31877 * math/w_acosf_compat.c: Likewise.
31878 * math/w_acosh_compat.c: Likewise.
31879 * math/w_acoshf_compat.c: Likewise.
31880 * math/w_acoshl_compat.c: Likewise.
31881 * math/w_acosl_compat.c: Likewise.
31882 * math/w_asin_compat.c: Likewise.
31883 * math/w_asinf_compat.c: Likewise.
31884 * math/w_asinl_compat.c: Likewise.
31885 * math/w_atan2_compat.c: Likewise.
31886 * math/w_atan2f_compat.c: Likewise.
31887 * math/w_atan2l_compat.c: Likewise.
31888 * math/w_atanh_compat.c: Likewise.
31889 * math/w_atanhf_compat.c: Likewise.
31890 * math/w_atanhl_compat.c: Likewise.
31891 * math/w_cosh_compat.c: Likewise.
31892 * math/w_coshf_compat.c: Likewise.
31893 * math/w_coshl_compat.c: Likewise.
31894 * math/w_exp10_compat.c: Likewise.
31895 * math/w_exp10f_compat.c: Likewise.
31896 * math/w_exp10l_compat.c: Likewise.
31897 * math/w_exp2_compat.c: Likewise.
31898 * math/w_exp2f_compat.c: Likewise.
31899 * math/w_exp2l_compat.c: Likewise.
31900 * math/w_fmod_compat.c: Likewise.
31901 * math/w_fmodf_compat.c: Likewise.
31902 * math/w_fmodl_compat.c: Likewise.
31903 * math/w_hypot_compat.c: Likewise.
31904 * math/w_hypotf_compat.c: Likewise.
31905 * math/w_hypotl_compat.c: Likewise.
31906 * math/w_j0_compat.c: Likewise.
31907 * math/w_j0f_compat.c: Likewise.
31908 * math/w_j0l_compat.c: Likewise.
31909 * math/w_j1_compat.c: Likewise.
31910 * math/w_j1f_compat.c: Likewise.
31911 * math/w_j1l_compat.c: Likewise.
31912 * math/w_jn_compat.c: Likewise.
31913 * math/w_jnf_compat.c: Likewise.
31914 * math/w_jnl_compat.c: Likewise.
31915 * math/w_lgamma_r_compat.c: Likewise.
31916 * math/w_lgammaf_r_compat.c: Likewise.
31917 * math/w_lgammal_r_compat.c: Likewise.
31918 * math/w_log10_compat.c: Likewise.
31919 * math/w_log10f_compat.c: Likewise.
31920 * math/w_log10l_compat.c: Likewise.
31921 * math/w_log2_compat.c: Likewise.
31922 * math/w_log2f_compat.c: Likewise.
31923 * math/w_log2l_compat.c: Likewise.
31924 * math/w_log_compat.c: Likewise.
31925 * math/w_logf_compat.c: Likewise.
31926 * math/w_logl_compat.c: Likewise.
31927 * math/w_pow_compat.c: Likewise.
31928 * math/w_powf_compat.c: Likewise.
31929 * math/w_powl_compat.c: Likewise.
31930 * math/w_remainder_compat.c: Likewise.
31931 * math/w_remainderf_compat.c: Likewise.
31932 * math/w_remainderl_compat.c: Likewise.
31933 * math/w_sinh_compat.c: Likewise.
31934 * math/w_sinhf_compat.c: Likewise.
31935 * math/w_sinhl_compat.c: Likewise.
31936 * math/w_sqrt_compat.c: Likewise.
31937 * math/w_sqrtf_compat.c: Likewise.
31938 * math/w_sqrtl_compat.c: Likewise.
31939 * math/w_tgamma_compat.c: Likewise.
31940 * math/w_tgammaf_compat.c: Likewise.
31941 * math/w_tgammal_compat.c: Likewise.
31942 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
31943 [LIBM_SVID_COMPAT].
31944 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
31945 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
31946 [LIBM_SVID_COMPAT].
31947 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
31948 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
31949 [LIBM_SVID_COMPAT].
31950 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
31951 * sysdeps/i386/fpu/w_sqrt.c: New file.
31952 * sysdeps/ia64/fpu/w_acos.c: Likewise.
31953 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
31954 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
31955 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
31956 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
31957 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
31958 * sysdeps/ia64/fpu/w_asin.c: Likewise.
31959 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
31960 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
31961 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
31962 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
31963 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
31964 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
31965 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
31966 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
31967 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
31968 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
31969 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
31970 * sysdeps/ia64/fpu/w_exp.c: Likewise.
31971 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
31972 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
31973 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
31974 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
31975 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
31976 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
31977 * sysdeps/ia64/fpu/w_expf.c: Likewise.
31978 * sysdeps/ia64/fpu/w_expl.c: Likewise.
31979 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
31980 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
31981 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
31982 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
31983 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
31984 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
31985 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
31986 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
31987 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
31988 * sysdeps/ia64/fpu/w_log.c: Likewise.
31989 * sysdeps/ia64/fpu/w_log10.c: Likewise.
31990 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
31991 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
31992 * sysdeps/ia64/fpu/w_log2.c: Likewise.
31993 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
31994 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
31995 * sysdeps/ia64/fpu/w_logf.c: Likewise.
31996 * sysdeps/ia64/fpu/w_logl.c: Likewise.
31997 * sysdeps/ia64/fpu/w_pow.c: Likewise.
31998 * sysdeps/ia64/fpu/w_powf.c: Likewise.
31999 * sysdeps/ia64/fpu/w_powl.c: Likewise.
32000 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
32001 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
32002 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
32003 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
32004 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
32005 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
32006 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
32007 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
32008 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
32009 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
32010 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
32011 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
32012 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
32013 [LIBM_SVID_COMPAT].
32014 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
32015 * sysdeps/ieee754/k_standard.c: Likewise.
32016 * sysdeps/ieee754/k_standardf.c: Likewise.
32017 * sysdeps/ieee754/k_standardl.c: Likewise.
32018 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
32019 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
32020 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
32021 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
32022 long_double_symbol call on [LIBM_SVID_COMPAT].
32023 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
32024 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
32025 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
32026 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
32027 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
32028 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
32029 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
32030 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
32031 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
32032 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
32033 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
32034 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
32035 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
32036 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
32037 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
32038 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
32039 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
32040 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
32041 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
32042 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
32043 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
32044 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
32045
05b38d64
SE
320462017-09-05 Steve Ellcey <sellcey@cavium.com>
32047
32048 * include/shlib-compat.h (TEST_COMPAT): New Macro.
32049 * malloc/tst-mallocstate.c: Convert from test-skeleton
32050 to test-driver. Ifdef code using TEST_COMPAT macro.
32051 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
32052 * math/test-matherr.c: Likewise.
32053
99d67918
JM
320542017-09-05 Joseph Myers <joseph@codesourcery.com>
32055
32056 [BZ #22086]
32057 * debug/pcprofiledump.c (main): Use byte-swapped mask when
32058 comparing word with byte-swapped constant.
32059
c207f7ce 320602017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
32061
32062 [BZ #20498]
32063 * locale/iso-639.def: add Miskito.
32064 * localedata/SUPPORTED: Add miq_NI/UTF-8.
32065 * localedata/locales/miq_NI: New file.
32066
0a587a8a
L
320672017-09-04 H.J. Lu <hongjiu.lu@intel.com>
32068
32069 [BZ #18822]
32070 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
32071 (__mkdir): Likewise.
32072 * io/chmod.c (__chmod): Add libc_hidden_def.
32073 * io/mkdir.c (__mkdir): Likewise.
32074 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
32075 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
32076 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
32077 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
32078
f3a129b8
JM
320792017-09-04 Joseph Myers <joseph@codesourcery.com>
32080
1650e192
JM
32081 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
32082 version to 4.13.
32083
f3a129b8
JM
32084 [BZ #22082]
32085 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
32086 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
32087
b38042f5
FW
320882017-09-04 Florian Weimer <fweimer@redhat.com>
32089
32090 * math/math.h: Issue warning if log is defined.
32091
059b6404
JM
320922017-09-04 Joseph Myers <joseph@codesourcery.com>
32093
32094 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
32095 kernel version to 4.13.
32096
b794e16b
ST
320972017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
32098
32099 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
32100 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
32101 parameter.
01969395
ST
32102 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
32103 just <bits/types.h>.
dd2b31de 32104 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 32105 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 32106 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 32107 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
32108 * misc/preadv2.c: Include <errno.h>.
32109 * misc/preadv64v2.c: Include <errno.h>.
32110 * misc/pwritev2.c: Include <errno.h>.
32111 * misc/pwritev64v2.c: Include <errno.h>.
32112 * sysdeps/posix/preadv2.c: Include <errno.h>.
32113 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
32114 Fix <unistd.h> inclusion.
32115 * sysdeps/posix/pwritev2.c: Include <errno.h>.
32116 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
32117 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
32118 __strtoul_internal): New functions.
127e7773
ST
32119 * sysdeps/posix/pause.c: Include <sigsetops.h>.
32120 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
32121 * sysdeps/mach/hurd/i386/Makefile
32122 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
32123 [$(subdir) = csu] (sysdep-only-routines): Likewise.
32124 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
32125 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
32126 __feraiseexcept_renamed to feraiseexcept instead of
32127 __GI_feraiseexcept.
56bf5497 32128 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 32129 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
32130 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
32131 RWF_NOWAIT): Define to 0 if undefined already.
32132 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
32133 boils down to 0.
6547ec0a
ST
32134 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
32135 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 32136
5a80d39d
JM
321372017-09-01 Joseph Myers <joseph@codesourcery.com>
32138
32139 * manual/math.texi (pow10): Do not document.
32140 (pow10f): Likewise.
32141 (pow10l): Likewise.
32142 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
32143 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
32144 * math/libm-test-exp10.inc (pow10_test): Remove.
32145 (do_test): Do not call pow10.
32146 * math/w_exp10_compat.c (pow10): Make into compat symbol.
32147 [NO_LONG_DOUBLE] (pow10l): Likewise.
32148 * math/w_exp10f_compat.c (pow10f): Likewise.
32149 * math/w_exp10l_compat.c (pow10l): Likewise.
32150 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
32151 (pow10): Make into compat symbol.
32152 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
32153 (pow10f): Make into compat symbol.
32154 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
32155 (pow10l): Make into compat symbol.
32156 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
32157 pow10.
32158 (CFLAGS-nldbl-pow10.c): Remove variable..
32159 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
32160 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
32161 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
32162 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
32163 Undefine and redefine.
32164 (pow10l): Make into compat symbol.
32165 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
32166 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
32167 * sysdeps/arm/libm-test-ulps: Likewise.
32168 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
32169 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
32170 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
32171 * sysdeps/microblaze/libm-test-ulps: Likewise.
32172 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
32173 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32174 * sysdeps/nios2/libm-test-ulps: Likewise.
32175 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32176 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
32177 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32178 * sysdeps/sh/libm-test-ulps: Likewise.
32179 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32180 * sysdeps/tile/libm-test-ulps: Likewise.
32181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32182
3824fc38
PP
321832017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
32184
32185 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
32186
b3008279
L
321872017-09-01 H.J. Lu <hongjiu.lu@intel.com>
32188
32189 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
32190 "../ChangeLog.old/ChangeLog.8".
32191 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
32192 "../ChangeLog.old/ChangeLog.14".
32193
136fa185
L
321942017-09-01 H.J. Lu <hongjiu.lu@intel.com>
32195
32196 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
32197 Threads Library.
32198
c18d50a2
JM
321992017-09-01 Joseph Myers <joseph@codesourcery.com>
32200
32201 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
32202
bedbd859
L
322032017-09-01 H.J. Lu <hongjiu.lu@intel.com>
32204
32205 * csu/version.c (banner): Remove "by Roland McGrath et al.".
32206 * nptl/Banner: Remove "by Ulrich Drepper et al.".
32207
50c66c7a
PP
322082017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
32209
32210 * stdlib/tst-atexit-common.c (do_test): Test support for at least
32211 32 atexit handlers.
32212
a617bd11
ZW
322132017-09-01 Zack Weinberg <zackw@panix.com>
32214
32215 * math/math.h (HUGE_VAL): Improve commentary.
32216
e0d2eb5a
AZ
322172017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32218 Andreas Schwab <schwab@suse.de>
32219
32220 [BZ #21530]
32221 * include/stdio.h (__gen_tempfd): New function.
32222 * stdio-common/Makefile (routines): Add gentempfd.
32223 * stdio-common/gentempfd.c: New file.
32224 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
32225 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
32226 unnamed file first.
32227
f4a6be25
FW
322282017-09-01 Florian Weimer <fweimer@redhat.com>
32229
32230 [BZ #21915]
32231 [BZ #21922]
32232 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
32233 result to determine success or failure, not the errno value.
32234 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
32235 (tst-nss-files-hosts-erange): Link with -ldl.
32236 * nss/tst-nss-files-hosts-erange.c: New file.
32237 * nss/tst-resolv-basic.c (response): Handle nodata.example.
32238 (do_test): Add NO_DATA tests.
32239 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
32240 (do_test): Call it.
32241
5f8340f5
FW
322422017-09-01 Florian Weimer <fweimer@redhat.com>
32243
32244 [BZ #21922]
32245 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
32246 coming from gethostbyname2_r.
32247
65329bd2
FW
322482017-09-01 Florian Weimer <fweimer@redhat.com>
32249
32250 * support/namespace.h (struct support_chroot_configuration): Add
32251 hosts, host_conf.
32252 (struct support_chroot): Add path_hosts, path_host_conf.
32253 * support/support_chroot.c (write_file): New function.
32254 (support_chroot_create): Call it to process /etc/resolv.conf,
32255 /etc/hosts, /etc/host.conf.
32256 (support_chroot_free): Update.
32257
a2881ef0
FW
322582017-09-01 Florian Weimer <fweimer@redhat.com>
32259
32260 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
32261 status indicates it is set.
32262
ad816a5e
FW
322632017-09-01 Florian Weimer <fweimer@redhat.com>
32264
63b52889 32265 [BZ #20532]
ad816a5e
FW
32266 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
32267 function lookup failures more reliable.
32268
53250a21
FW
322692017-09-01 Florian Weimer <fweimer@redhat.com>
32270
32271 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
32272 (getcanonname): Likewise.
32273 (gaih_inet): Likewise.
32274
924b121c
FW
322752017-09-01 Florian Weimer <fweimer@redhat.com>
32276
32277 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
32278 (getcanonname): Likewise.
32279 (gaih_inet): Likewise.
32280
d9ff799a 322812017-08-31 Steve Ellcey <sellcey@cavium.com>
6b5c8607 32282 Richard Henderson <rth@twiddle.net>
d9ff799a
SE
32283
32284 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
32285 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
32286 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
32287 (IREG_SIZE, OREG_SIZE): New macros.
32288 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
32289 (IREG_SIZE, OREG_SIZE): New macros.
32290 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
32291 (IREG_SIZE): New macro.
32292 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
32293 (IREG_SIZE): New macro.
32294 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
32295 New includes.
32296 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
32297 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
32298 (__CONCATX): Handle exceptions correctly on large values that may
32299 set FE_INVALID.
32300 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
32301 Initialize if not already set.
b39d961c 32302 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
d9ff799a 32303
102dde84
AZ
323042017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32305
32306 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
32307 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
32308 Likewise.
32309 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
32310 Likewise.
32311 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
32312 Likewise.
32313 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
32314 Likewise.
32315 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
32316 Likewise.
32317 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
32318 Likewise.
32319 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
32320 Likewise.
32321 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
32322 (NO_CANCELLATION): Likewise.
32323 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
32324 Likewise.
32325 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
32326 Likewise.
32327 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
32328 Likewise.
32329 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
32330 (NO_CANCELLATION): Likewise.
32331 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
32332 (NO_CANCELLATION): Likewise.
32333 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
32334 Likewise
32335 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
32336 Likewise.
32337 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
32338 Likewise.
32339 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
32340 Likewise.
32341 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
32342 hidden prototype.
32343 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
32344 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
32345
9eee633b
SE
323462017-08-31 Steve Ellcey <sellcey@cavium.com>
32347
32348 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
32349 in resolver call.
32350
65284eb7
FW
323512017-08-31 Florian Weimer <fweimer@redhat.com>
32352
32353 * include/libc-symbols.h (internal_function): Remove.
32354
41ad5ca6
FW
323552017-08-31 Florian Weimer <fweimer@redhat.com>
32356
32357 * stdlib/fmtmsg.c (internal_addseverity): Remove
32358 internal_function.
32359
2fa6d086
FW
323602017-08-31 Florian Weimer <fweimer@redhat.com>
32361
32362 * stdio-common/printf_fp.c (group_number): Remove
32363 internal_function.
32364 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
32365
b41bd5bc
FW
323662017-08-31 Florian Weimer <fweimer@redhat.com>
32367
32368 * posix/fnmatch.c (internal_function): Remove definition.
32369 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
32370 * posix/regcomp.c (peek_token, init_word_char)
32371 (duplicate_node_closure, fetch_token, peek_token)
32372 (peek_token_bracket, build_range_exp, build_collating_symbol):
32373 Likewise.
32374 * posix/regex_internal.c (re_string_construct_common)
32375 (create_ci_newstate, create_cd_newstate, re_string_allocate)
32376 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
32377 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
32378 (re_string_translate_buffer, re_string_reconstruct)
32379 (re_string_peek_byte_case, re_string_fetch_byte_case)
32380 (re_string_destruct, re_string_context_at, re_node_set_alloc)
32381 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
32382 (re_node_set_add_intersect, re_node_set_init_union)
32383 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
32384 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
32385 (re_dfa_add_node, calc_state_hash, re_acquire_state)
32386 (re_acquire_state_context): Likewise.
32387 * posix/regex_internal.h (internal_function): Remove definition.
32388 (re_string_realloc_buffers, build_wcs_buffer)
32389 (build_wcs_upper_buffer, build_upper_buffer)
32390 (re_string_translate_buffer, re_string_context_at)
32391 (re_string_char_size_at, re_string_wchar_at)
32392 (re_string_elem_size_at): Likewise.
32393 * posix/regexec.c (match_ctx_init, match_ctx_clean)
32394 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
32395 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
32396 (re_search_internal, re_search_2_stub, re_search_stub)
32397 (re_copy_regs, prune_impossible_nodes, check_matching)
32398 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
32399 (free_fail_stack_return, sift_states_iter_mb)
32400 (sift_states_backward, build_sifted_states)
32401 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
32402 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
32403 (check_subexp_limits, sift_states_bkref, merge_state_array)
32404 (find_recover_state, transit_state, merge_state_with_log)
32405 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
32406 (transit_state_mb, transit_state_bkref, get_subexp)
32407 (get_subexp_sub, find_subexp_node, check_arrival)
32408 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
32409 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
32410 (check_node_accept_bytes, find_collation_sequence_value)
32411 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
32412 (acquire_init_state_context, check_halt_node_context)
32413 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
32414 (sub_epsilon_src_nodes): Likewise.
32415 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
32416 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
32417 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
32418 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
32419 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
32420 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
32421 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
32422 * sysdeps/posix/ttyname.c (getttyname): Likewise.
32423 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
32424 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
32425 (PREADV): Likewise.
32426 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
32427 (PREADV): Likewise.
32428 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
32429 (PWRITEV): Likewise.
32430 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
32431 (PWRITEV): Likewise.
32432 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
32433 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
32434
83b09837
FW
324352017-08-31 Florian Weimer <fweimer@redhat.com>
32436
32437 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
32438 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
32439 Remove internal_function.
32440 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
32441 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
32442 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
32443 (__deallocate_stack, __libc_pthread_init)
32444 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
32445 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
32446 (__libc_disable_asynccancel, __librt_disable_asynccancel):
32447 Likewise.
32448 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
32449 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
32450 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
32451 Likewise.
32452 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
32453 (__pthread_mutex_unlock_usercnt): Likewise.
32454
116ac301
FW
324552017-08-31 Florian Weimer <fweimer@redhat.com>
32456
32457 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
32458 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
32459 (fts_safe_changedir): Remove internal_function.
32460 * io/ftw.c (internal_function): Remove definition.
32461 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
32462
9da93bd7
FW
324632017-08-31 Florian Weimer <fweimer@redhat.com>
32464
32465 * inet/deadline.c (__deadline_current_time)
32466 (__deadline_from_timeval, __deadline_to_ms): Remove
32467 internal_function.
32468 * inet/getnameinfo.c (nrl_domainname): Likewise.
32469 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
32470 * inet/inet6_option.c (add_pad): Likewise.
32471 * inet/net-internal.h (__deadline_current_time)
32472 (__deadline_from_timeval, __deadline_to_ms): Likewise.
32473 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
32474 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
32475 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
32476
a60eca2e
JM
324772017-08-31 Joseph Myers <joseph@codesourcery.com>
32478
c0c49d60
JM
32479 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
32480 include <bits/nan.h>.
32481 * math/Makefile (headers): Remove bits/nan.h.
32482 * bits/nan.h: Remove.
32483 * sysdeps/ieee754/bits/nan.h: Likewise.
32484 * sysdeps/mips/bits/nan.h: Likewise.
32485
5ef1b213
JM
32486 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
32487 not include <bits/inf.h>.
32488 * math/Makefile (headers): Remove bits/inf.h.
32489 * bits/inf.h: Remove.
32490 * sysdeps/ieee754/bits/inf.h: Likewise.
32491
a60eca2e
JM
32492 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
32493 bits/huge_vall.h or bits/huge_val_flt128.h.
32494 (HUGE_VAL): Define directly here.
32495 [__USE_ISOC99] (HUGE_VALF): Likewise.
32496 [__USE_ISOC99] (HUGE_VALL): Likewise.
32497 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32498 (HUGE_VAL_F128): Likewise.
32499 * math/Makefile (headers): Remove bits/huge_val.h,
32500 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
32501 * bits/huge_val.h: Remove.
32502 * bits/huge_val_flt128.h: Likewise.
32503 * bits/huge_valf.h: Likewise.
32504 * bits/huge_vall.h: Likewise.
32505 * sysdeps/ia64/bits/huge_vall.h: Likewise.
32506 * sysdeps/ieee754/bits/huge_val.h: Likewise.
32507 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
32508 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
32509 * sysdeps/sh/bits/huge_val.h: Likewise.
32510 * sysdeps/sparc/bits/huge_vall.h: Likewise.
32511 * sysdeps/x86/bits/huge_vall.h: Likewise.
32512
17e00cc6
FW
325132017-08-31 Florian Weimer <fweimer@redhat.com>
32514
32515 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
32516 internal_function.
32517 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
32518 Likewise.
32519 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
32520 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
32521 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
32522 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
32523 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32524 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
32525 * elf/dl-libc.c (dlerror_run): Likewise.
32526 * elf/dl-load.c (add_name_to_object, decompose_rpath)
32527 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
32528 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
32529 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
32530 Likewise.
32531 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
32532 (_dl_higher_prime_number, _dl_strtoul): Likewise.
32533 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
32534 * elf/dl-profile.c (_dl_start_profile): Likewise.
32535 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
32536 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
32537 Likewise.
32538 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
32539 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
32540 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
32541 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
32542 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
32543 (_dl_allocate_tls_storage): Likewise.
32544 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
32545 (_dl_check_all_versions): Likewise.
32546 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
32547 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
32548 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
32549 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
32550 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
32551 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
32552 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
32553 internal_function from __dl_start.
32554 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
32555 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
32556 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
32557 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
32558 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
32559 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
32560 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
32561 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
32562 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
32563 (_dl_next_ld_env_entry, _dl_important_hwcaps)
32564 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
32565 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
32566 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
32567 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
32568 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
32569 Likewise.
32570 (struct rtld_global_ro): Remove internal_function from the
32571 _dl_lookup_symbol_x member.
32572 (_dl_symbol_value): Remove. No longer defined anywhere.
32573 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
32574 internal_function.
32575 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
32576 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
32577 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
32578 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
32579 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
32580 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
32581 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
32582 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
32583 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
32584 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
32585 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
32586 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
32587
8d2f9410
FW
325882017-08-31 Florian Weimer <fweimer@redhat.com>
32589
32590 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
32591 Remove internal_function.
32592 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
32593 Likewise.
32594 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
32595 Likewise.
32596
86e4919f
FW
325972017-08-31 Florian Weimer <fweimer@redhat.com>
32598
32599 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
32600 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
32601 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
32602
59bd52b0
FW
326032017-08-31 Florian Weimer <fweimer@redhat.com>
32604
32605 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
32606 (__gai_enqueue_request): Remove internal_function.
32607 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
32608 (__gai_remove_request, __gai_notify, __gai_notify_only)
32609 (__gai_sigqueue): Likewise.
32610 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
32611 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
32612 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
32613 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32614 Likewise.
32615
fc3d9497
FW
326162017-08-31 Florian Weimer <fweimer@redhat.com>
32617
32618 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
32619 * include/dirent.h (__opendirat, __getdents, __getdents64)
32620 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
32621 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
32622 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32623 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
32624 Likewise.
32625 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
32626
18c54fac
FW
326272017-08-31 Florian Weimer <fweimer@redhat.com>
32628
32629 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
32630 internal_function.
32631 (GETCWD_RETURN_TYPE): Likewise.
32632
7e01f080
FW
326332017-08-31 Florian Weimer <fweimer@redhat.com>
32634
32635 * include/time.h (__tz_compute, __strptime_internal): Remove
32636 internal_function.
32637 * time/strptime_l.c (__strptime_internal): Likewise.
32638 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
32639
d7ccc6c9
FW
326402017-08-31 Florian Weimer <fweimer@redhat.com>
32641
32642 * iconv/gconv.c (__gconv): Remove internal_function.
32643 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
32644 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
32645 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
32646 (__gconv_release_cache): Likewise.
32647 * iconv/gconv_close.c (__gconv_close): Likewise.
32648 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
32649 (read_conf_file, __gconv_get_path): Likewise.
32650 * iconv/gconv_db.c (derivation_lookup, add_derivation)
32651 (__gconv_release_step, gen_steps, increment_counter)
32652 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
32653 (__gconv_close_transform, free_modules_db): Likewise.
32654 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
32655 Likewise.
32656 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
32657 (__gconv_find_transform, __gconv_lookup_cache)
32658 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
32659 (__gconv_close_transform, __gconv_release_cache)
32660 (__gconv_loaded_object, __gconv_release_shlib)
32661 (__gconv_compare_alias): Likewise.
32662 * iconv/gconv_open.c (__gconv_open): Likewise.
32663 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
32664 * iconv/iconvconfig.c (add_module): Likewise.
32665 * intl/dcigettext.c (plural_lookup, guess_category_value)
32666 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
32667 * intl/eval-plural.h (plural_eval): Likewise.
32668 * intl/finddomain.c (_nl_find_domain): Likewise.
32669 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
32670 (_nl_load_domain, _nl_find_msg): Likewise.
32671 (internal_function): Remove definition.
32672 * intl/loadinfo.h (internal_function): Likewise.
32673 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
32674 internal_function.
32675 * intl/localealias.c (internal_function): Remove definition.
32676 (read_alias_file): Remove internal_function.
32677 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
32678 * intl/plural-exp.h (internal_function): Remove definition.
32679 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
32680 internal_function.
32681 * intl/plural.c: Regenerate.
32682 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
32683 * locale/coll-lookup.c (__collidx_table_lookup)
32684 (__collseq_table_lookup): Likewise.
32685 * locale/coll-lookup.h (__collidx_table_lookup)
32686 (__collseq_table_lookup): Likewise.
32687 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
32688 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32689 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
32690 (_nl_unload_locale): Likewise.
32691 * locale/localeinfo.h (struct __locale_data): Remove
32692 internal_function from cleanup member.
32693 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
32694 (_nl_remove_locale, _nl_load_locale_from_archive)
32695 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
32696 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
32697 (_nl_cleanup_time): Remove internal_function.
32698 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
32699 (_nl_parse_alt_digit): Likewise.
32700 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
32701 (_nl_select_era_entry): Likewise.
32702 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
32703 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
32704 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
32705 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
32706 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 32707
dab0eece
FW
327082017-08-31 Florian Weimer <fweimer@redhat.com>
32709
32710 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
32711 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
32712 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
32713 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
32714 Likewise.
32715 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
32716 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
32717 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
32718 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
32719 Likewise.
32720 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
32721
ab5bf7cf
FW
327222017-08-31 Florian Weimer <fweimer@redhat.com>
32723
32724 * misc/getttyent.c (skip, value): Remove internal_function.
32725 * misc/syslog.c (openlog_internal): Likewise.
32726 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
32727
75b3047e
FW
327282017-08-31 Florian Weimer <fweimer@redhat.com>
32729
32730 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
32731 (__nss_rewrite_field): Remove internal_function.
32732 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32733 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
32734 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32735 * nss/nsswitch.c (nss_parse_file, nss_getline)
32736 (nss_parse_service_list, nss_new_service): Likewise.
32737 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
32738 * nss/valid_field.c (__nss_valid_field): Likewise.
32739 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
32740
0c71122c
FW
327412017-08-31 Florian Weimer <fweimer@redhat.com>
32742
32743 * malloc/arena.c (__malloc_fork_lock_parent)
32744 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
32745 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
32746 internal_function from defintions.
32747 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
32748 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
32749 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
32750 internal_function from declarations.
32751 * malloc/malloc.c (internal_function): Do not define.
32752 (mem2mem_check): Remove internal_function from declaration.
32753 (munmap_chunk, mremap_chunk): Remove internal_function.
32754 * malloc/mtrace.c (tr_where): Likewise.
32755
ca4ec803
FW
327562017-08-31 Florian Weimer <fweimer@redhat.com>
32757
32758 * include/rpc/pmap_clnt.h (__get_socket): Remove
32759 internal_function.
32760 * sunrpc/auth_des.c (synchronize): Likewise.
32761 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
32762 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
32763 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
32764 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
32765 (key_call): Likewise.
32766 * sunrpc/pm_getport.c (__get_socket): Likewise.
32767 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
32768 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
32769 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
32770 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
32771 (invalidate): Likewise.
32772 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
32773 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
32774 (set_input_fragment, get_input_bytes): Likewise.
32775
24cffce7
FW
327762017-08-31 Florian Weimer <fweimer@redhat.com>
32777
32778 * malloc/malloc.c (_int_free): Remove locked variable and related
32779 asserts.
32780
ecd0747d
L
327812017-08-31 H.J. Lu <hongjiu.lu@intel.com>
32782
32783 [BZ #22051]
32784 * Makerules (build-module-helper-objlist): Filter out
32785 $(elf-objpfx)sofini.os.
32786 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
32787 needed.
32788
5f0704b6
FW
327892017-08-31 Florian Weimer <fweimer@redhat.com>
32790
32791 * libio/fcloseall.c: Assume weak_alias is defined.
32792 * libio/feof.c: Likewise.
32793 * libio/fileno.c: Likewise.
32794 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
32795 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
32796 definitions.
32797 (_IO_file_open): Call __open directly.
32798 (_IO_new_file_sync): Assume ESPIPE is defined.
32799 (_IO_file_seekoff_maybe_mmap): Call __read directly.
32800 (_IO_new_file_write): Call __write directly.
32801 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
32802 * libio/ftello64.c (__ftello64): Assume EIO is defined.
32803 * libio/genops.c: Assume _LIBC is defined.
32804 (save_for_backup): Remove internal_function.
32805 * libio/getc.c: Assume weak_alias is defined.
32806 * libio/getwc.c: Likewise.
32807 * libio/iofclose.c: Assume _LIBC is defined.
32808 * libio/iofdopen.c: Likewise.
32809 (_IO_fcntl): Remove macro definition.
32810 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
32811 Call __fcntl directly.
32812 * libio/iofflush.c: Assume weak_alias is defined.
32813 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
32814 defined.
32815 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
32816 * libio/iofgets.c: Likewise.
32817 * libio/iofopen.c: Assume _LIBC is defined.
32818 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
32819 * libio/iofputs.c: Assume weak_alias is defined.
32820 * libio/iofread.c: Likewise.
32821 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
32822 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
32823 * libio/ioftell.c: Assume weak_alias is defined.
32824 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
32825 * libio/iofwide.c: Assume _LIBC is defined.
32826 (_IO_fwide): Drop SHARED conditional because it is implied by
32827 SHLIB_COMPAT.
32828 * libio/iofwrite.c: Assume weak_alias is defined.
32829 * libio/iogetdelim.c: Likewise.
32830 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
32831 * libio/iogetwline.c (wmemcpy): Remove macro definition.
32832 (_IO_getwline): Call __wmemcpy directly.
32833 * libio/iopopen.c: Assume _LIBC is defined.
32834 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
32835 (_IO_close): Remove macro definitions.
32836 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
32837 _exit directly.
32838 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
32839 directly.
32840 * libio/ioputs.c: Assume weak_alias is defined.
32841 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
32842 * libio/iosetbuffer.c: Assume weak_alias is defined.
32843 * libio/iosetvbuf.c: Likewise.
32844 * libio/ioungetc.c: Likewise.
32845 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
32846 libc_hidden_def, libc_hidden_weak, NULL are defined.
32847 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
32848 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
32849 defined.
32850 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
32851 definitions.
32852 (_IO_old_file_init_internal): Drop SHARED conditional because it
32853 is implied by SHLIB_COMPAT.
32854 (_IO_old_file_fopen): Call __open directly.
32855 (_IO_old_file_sync): Assume ESPIPE is defined.
32856 (_IO_old_file_write): Call __write directly.
32857 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
32858 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
32859 Call __fcntl directly.
32860 * libio/oldiofgetpos.c: Assume weak_alias is defined.
32861 (_IO_old_fgetpos): Assume EIO is defined.
32862 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
32863 (_IO_old_fgetpos64): Assume EIO is defined.
32864 * libio/oldiofsetpos.c: Assume weak_alias is defined.
32865 (_IO_old_fsetpos): Assume EIO is defined.
32866 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
32867 (_IO_old_fsetpos64): Assume EIO is defined.
32868 * libio/oldiopopen.c: Assume _LIBC is defined.
32869 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
32870 (_IO_close): Remove macro definitions.
32871 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
32872 directly.
32873 (_IO_old_proc_close): Call __close, __waitpid directly.
32874 * libio/put.c: Assume weak_alias is defined.
32875 * libio/stdfiles.c: Assume _LIBC is defined.
32876 * libio/stdio.c: Likewise.
32877 * libio/wfileops.c: Likewise.
32878 (_IO_wfile_sync): Assume ESPIPE is defined.
32879 * libio/wgenops.c: Assume _LIBC is defined.
32880 (save_for_wbackup): Remove internal_function.
32881
5129873a
FW
328822017-08-31 Florian Weimer <fweimer@redhat.com>
32883
32884 * malloc/malloc.c (top_check): Change return type to void. Remove
32885 internal_function.
32886 * malloc/hooks.c (top_check): Likewise.
32887 (malloc_check, realloc_check, memalign_check): Adjust.
32888
4fa9b3bf
JM
328892017-08-30 Joseph Myers <joseph@codesourcery.com>
32890
32891 [BZ #21457]
32892 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
32893 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
32894 sigcontext and namespace requirements.
32895 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
32896 * sysdeps/m68k/sys/ucontext.h: Likewise.
32897 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
32898 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
32899 <bits/sigcontext.h>.
32900 (__ctx): Define earlier.
32901 (mcontext_t): Define structure contents rather than using struct
32902 sigcontext.
32903 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
32904 __glibc_reserved1 instead of __reserved.
32905 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
32906 <bits/sigcontext.h>.
32907 (__ctx): Define earlier.
32908 (mcontext_t): Define structure contents rather than using struct
32909 sigcontext.
32910 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
32911 mcontext_t instead of struct sigcontext.
32912 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
32913 <bits/sigcontext.h>.
32914 (__ctx): Define earlier.
32915 (mcontext_t): Define structure contents rather than using struct
32916 sigcontext.
32917 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
32918 <bits/sigcontext.h>.
32919 (__ctx): Define earlier.
32920 (mcontext_t): Define structure contents rather than using struct
32921 sigcontext.
32922 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
32923 mcontext_t instead of struct sigcontext.
32924 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
32925 mcontext_t instead of struct sigcontext.
32926 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
32927 <bits/sigcontext.h>.
32928 (__ctx): New macro.
32929 (struct __ia64_fpreg_mcontext): New type.
32930 (mcontext_t): Define structure contents rather than using struct
32931 sigcontext.
32932 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
32933 (uc_sigmask): Define using __ctx.
32934 (uc_stack): Likewise.
32935 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
32936 <bits/sigcontext.h>.
32937 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32938 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
32939 <bits/sigcontext.h>.
32940 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
32941 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
32942 <bits/sigcontext.h>.
32943 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
32944 <bits/sigcontext.h>.
32945 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
32946 <bits/sigcontext.h>.
32947 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
32948 <bits/sigcontext.h>.
32949 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
32950 <bits/sigcontext.h>.
32951 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
32952 <bits/sigcontext.h>.
32953 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
32954 <bits/sigcontext.h>.
32955 (__ctx): Define earlier.
32956 (mcontext_t): Define structure contents rather than using struct
32957 sigcontext.
32958 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
32959 <bits/sigcontext.h>. Include <bits/types.h>.
32960 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
32961 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
32962 (test-xfail-XPG42/ucontext.h/conform): Likewise.
32963 (test-xfail-UNIX98/signal.h/conform): Likewise.
32964 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
32965 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
32966 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
32967 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
32968 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
32969 (test-xfail-POSIX2008/signal.h/conform): Likewise.
32970 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
32971 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
32972 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
32973
5898f454
FW
329742017-08-30 Florian Weimer <fweimer@redhat.com>
32975
32976 * malloc/dynarray_emplace_enlarge.c
32977 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
32978 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
32979 * malloc/tst-dynarray.c (test_long_overflow): New function.
32980 (do_test): Call it.
32981
a9da0bb2
FW
329822017-08-30 Florian Weimer <fweimer@redhat.com>
32983
32984 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
32985 (set_arena_corrupt): Remove definitions.
32986 (mtrim): Do not check for corrupt arena.
32987 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
32988 Likewise.
32989
ac3ed168
FW
329902017-08-30 Florian Weimer <fweimer@redhat.com>
32991
32992 [BZ #21754]
32993 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
32994 check_action.
32995 (ptmalloc_init): Do not set or use check_action.
32996 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
32997 call to malloc_printerr. Remove return statement.
32998 (free_check): Likewise. Remove arena unlock.
32999 (top_check): Update comment. Adjust call to malloc_printerr.
33000 Remove heap repair code.
33001 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
33002 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
33003 (sysmalloc): Adjust call to malloc_printerr.
33004 (munmap_chunk, __libc_realloc): Likewise. Remove return
33005 statement.
33006 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
33007 Remove errout label and corresponding gotos.
33008 (_int_free): Likewise. Remove arena unlock.
33009 (do_set_mallopt_check): Do not set check_action.
33010 (malloc_printerr): Adjust parameter list. Do not mark arena as
33011 corrupt.
33012 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
33013 comment.
33014 * manual/probes.texi (Memory Allocation Probes): Remove
33015 memory_mallopt_check_action.
33016
44bcba80
SE
330172017-08-30 Steve Ellcey <sellcey@cavium.com>
33018
33019 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
33020 Use pointer to uint64_t instead of long int for sp.
33021
ec2c1fce
FW
330222017-08-30 Florian Weimer <fweimer@redhat.com>
33023
33024 [BZ #21754]
33025 * malloc/malloc.c (malloc_printerr): Always terminate the process,
33026 without printing a backtrace. Do not leak any information in the
33027 error message.
33028 * manual/memory.texi (Heap Consistency Checking): Update.
33029 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
33030
9ce673b6
FW
330312017-08-30 Florian Weimer <fweimer@redhat.com>
33032
33033 Do not scale NPTL tests with available number of CPUs.
33034 * nptl/tst-cond16.c (count): Set to constant value of 8.
33035 * nptl/tst-cond18.c (count): Likewise.
33036
2f1aef19
JM
330372017-08-29 Joseph Myers <joseph@codesourcery.com>
33038
33039 [BZ #22035]
33040 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
33041 Define to take a second argument that is a macro that
33042 concatentates a suffix, not the suffix itself.
33043 (__CONCAT_d): New macro.
33044 (__CONCAT_f): Likewise.
33045 (__CONCAT_l): Likewise.
33046
8325b477
PP
330472017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
33048
33049 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
33050 by child.
33051
319cbbf6
AZ
330522017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33053 Aurelien Jarno <aurelien@aurel32.net>
33054 Maciej W. Rozycki <macro@imgtec.com>
33055
33056 [BZ #21956]
33057 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
33058 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
33059 `mips16-syscall6' and `mips16-syscall7'.
33060 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
33061 (CFLAGS-mips16-syscall7.c): Remove.
33062 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
33063 Remove `__mips16_syscall5', `__mips16_syscall6' and
33064 `__mips16_syscall7'.
33065 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
33066 (__mips16_syscall0): Rename `__mips16_syscall_return' to
33067 `__mips_syscall_return'.
33068 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
33069 (__mips16_syscall1): Likewise.
33070 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
33071 (__mips16_syscall2): Likewise.
33072 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
33073 (__mips16_syscall3): Likewise.
33074 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
33075 (__mips16_syscall4): Likewise.
33076 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
33077 Remove.
33078 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
33079 Remove.
33080 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
33081 Remove.
33082 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
33083 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
33084 `__mips16_syscall5'. Remove prototype.
33085 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
33086 `__mips16_syscall6'. Remove prototype.
33087 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
33088 `__mips16_syscall7'. Remove prototype.
33089 (__nomips16, __mips16_syscall_return): Move to...
33090 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
33091 (__nomips16, __mips_syscall_return): ... here.
33092 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
33093 `__mips16_syscall_return' to `__mips_syscall_return'.
33094 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
33095 `internal_syscall##nr'.
33096 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
33097 `internal_syscall##nr'.
33098 (FORCE_FRAME_POINTER): Remove.
33099 (__mips_syscall5): New prototype.
33100 (internal_syscall5): Rewrite to call `__mips_syscall5'.
33101 (__mips_syscall6): New prototype.
33102 (internal_syscall6): Rewrite to call `__mips_syscall6'.
33103 (__mips_syscall7): New prototype.
33104 (internal_syscall7): Rewrite to call `__mips_syscall7'.
33105 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
33106 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
33107 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
33108 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
33109 (sysdep_routines): Add libc-do-syscall.
33110 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
33111 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
33112
01b87c65
AZ
331132017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33114
33115 [BZ #21672]
33116 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
33117 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
33118 (advise_stack_range): New function.
33119 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
33120 stack non required to advise_stack_range at allocatestack.c
33121
16f138a4
SN
331222017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
33123
33124 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
33125
251bccfa
FW
331262017-08-29 Florian Weimer <fweimer@redhat.com>
33127
33128 [BZ #22026]
33129 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
33130 __end_fct. Mangle __end_fct after setting it to NULL.
33131 * iconv/Makefile (tests): Add tst-gconv-init-failure.
33132 (modules-names, modules-names-tests): Add
33133 tst-gconv-init-failure-mod.
33134 (gconv-modules): New target.
33135 (tst-gconv-init-failure-mod.so): Link against libsupport.
33136 (tst-gconv-init-failure): Depend on gconv-modules,
33137 tst-gconv-init-failure-mod.so.
33138 * iconv/tst-gconv-init-failure-mod.c: New file.
33139 * iconv/tst-gconv-init-failure.c: Likewise.
33140 * iconv/test-gconv-modules: Likewise.
33141
e7c18b9d
FW
331422017-08-29 Florian Weimer <fweimer@redhat.com>
33143
33144 [BZ #22025]
33145 * iconv/gconv_db.c (free_derivation): Remove redundant
33146 parentheses.
33147 (gen_steps): Unconditionally mangle __btowc_fct after
33148 initialization.
33149 (increment_counter): Likewise. Do not call init_fct for internal
33150 modules.
33151
7daada03
JM
331522017-08-29 Joseph Myers <joseph@codesourcery.com>
33153
33154 [BZ #22028]
33155 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
33156 (_MSUF_): Remove macro.
33157 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
33158 Likewise.
33159 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
33160 (__REDIRFROM_X): New macro.
33161 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
33162 Likewise.
33163 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
33164 (__REDIRTO_X): Likewise.
33165 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
33166 arguments.
33167 (__MATH_REDIRCALL_2): Likewise.
33168 (__MATH_REDIRCALL_INTERNAL): Likewise.
33169 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
33170 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
33171 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
33172 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
33173 * math/test-finite-macros.c: New file.
33174 * math/Makefile (tests): Add test-finite-macros.
33175 (CFLAGS-test-finite-macros.c): New variable.
33176
1cf1232c
PF
331772017-08-29 Patsy Franklin <pfrankli@redhat.com>
33178 Jeff Law <law@redhat.com>
33179
33180 [BZ #22025]
33181 Mangle NULL pointers in iconv/gconv.
33182 * iconv/gconv_cache.c (find_module): Demangle init_fct before
33183 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
33184 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
33185 is non-NULL before demangling the end_fct. Check for NULL
33186 end_fct after demangling.
33187 (__gconv_release_step): Demangle the end_fct before checking
33188 it for NULL. Remove assert on __shlibc_handle != NULL.
33189 (gen_steps): Don't check btowc_fct for NULL before mangling.
33190 Demangle init_fct before checking for NULL.
33191 (increment_counter): Likewise.
33192 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
33193 end_fct for NULL before mangling.
33194 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
33195 for NULL.
33196
c207f7ce 331972017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
33198
33199 [BZ #21971]
33200 * locale/iso-639.def: add Morisyen.
33201
42496114
GG
332022017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33203
33204 [BZ #21930]
33205 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
33206 (iszero): New C++ implementation that does not use
33207 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
33208 signaling nans are enabled, since __builtin_types_compatible_p
33209 is a C-only feature.
33210 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
33211 defined, include ieee754_float128.h for access to the union and
33212 member ieee854_float128.ieee.
33213 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
33214 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
33215 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
33216 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
33217 options of test-math-zero on powerpc64le.
33218
5e2bc4ff
L
332192017-08-28 H.J. Lu <hongjiu.lu@intel.com>
33220
33221 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
33222 Change double to float.
33223
a48c0fb4
JM
332242017-08-28 Joseph Myers <joseph@codesourcery.com>
33225
33226 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
33227 unconditional.
33228 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
33229 conditional code; define contents only for [LIBM_SVID_COMPAT].
33230
ee17d4e9
FW
332312017-08-28 Florian Weimer <fweimer@redhat.com>
33232
33233 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
33234 (abi-lp64_be-options): Remove.
33235 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
33236 (abi-hard-options): Likewise.
33237 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
33238 (abi-o32_hard-options, abi-o32_soft_2008-options)
33239 (abi-o32_hard_2008-options, abi-n32_soft-options)
33240 (abi-n32_hard-options, abi-n32_soft_2008-options)
33241 (abi-n32_hard_2008-options, abi-n64_soft-options)
33242 (abi-n64_hard-options, abi-n64_soft_2008-options)
33243 (abi-n64_hard_2008-options): Likewise.
33244 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
33245 (abi-64-v1-options, abi-64-v2-options): Likewise.
33246 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
33247 (abi-64-options): Likewise.
33248 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
33249 (abi-64-options): Likewise.
33250 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
33251 (abi-64-options): Likewise.
33252 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
33253 (abi-64-options, abi-x32-options): Likewise.
33254
2dba5ce7
FW
332552017-08-28 Florian Weimer <fweimer@redhat.com>
33256
33257 Store supported list of SYS_* system calls in the source tree.
33258 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
33259 (bits/syscall.h): Generate from list file.
33260 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
33261 [$(subdir) = misc] (tests): Add tst-syscall-list.
33262 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
33263 [$(subdir) = misc] (tst-syscall-list-macros.list)
33264 [$(subdir) = misc] (tst-syscall-list-nr.list)
33265 (tst-syscall-list-sys.list): Helper targets for new
33266 tst-syscall-list test.
33267 [$(subdir) = misc] (tst-syscall-list.out): Run test script
33268 tst-syscall-list.sh.
33269 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
33270 target. Do not include bits/syscall.d.
33271 [$(subdir) = misc] (generated): Do not update.
33272 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
33273 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
33274 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
33275 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
33276
5f3b183d
PP
332772017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
33278
33279 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
33280 (tst-cxa_atexit, tst-on_exit): Likewise.
33281 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
33282 tst-cxa_atexit, and tst-on_exit.
33283 * stdlib/tst-atexit-common.c: New file.
33284 * stdlib/tst-atexit.c: New file.
33285 * stdlib/tst-at_quick_exit.c: New file.
33286 * stdlib/tst-cxa_atexit.c: New file.
33287 * stdlib/tst-on_exit.c: New file.
33288
2ef8d469
ST
332892017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
33290
33291 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
33292 * mach/stack_chk_fail_local.c: New file.
33293 * hurd/stack_chk_fail_local.c: New file.
33294 * mach/Machrules ($(interface-library)-routines): Add
33295 stack_chk_fail_local.
99ee4d26
ST
33296 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
33297 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
33298 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
33299 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
33300 * hurd/Makefile (CFLAGS-hurdstartup.o,
33301 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 33302
7ab70c98
L
333032017-08-25 H.J. Lu <hongjiu.lu@intel.com>
33304
33305 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
33306 (index_cpu_*, index_arch_*): Removed.
33307
39e7a5a6
SN
333082017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
33309
33310 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
33311 Use uint64_t instead of unsigned long.
33312
bba5c930
JM
333132017-08-25 Joseph Myers <joseph@codesourcery.com>
33314
a6ccdb08
JM
33315 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
33316 [__HAVE_DISTINCT_FLOAT128].
33317
23761119
JM
33318 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
33319 of <bits/math-finite.h>.
33320 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
33321 inclusion of <bits/math-finite.h>.
33322 * math/bits/math-finite.h (__REDIRTO_X): Do not define
33323 conditionally on [__MATH_DECLARING_LDOUBLE && defined
33324 __NO_LONG_DOUBLE_MATH].
33325 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
33326 (__MATH_REDIRCALL_2): Likewise.
33327 (__MATH_REDIRCALL_INTERNAL): Likewise.
33328 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
33329 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
33330 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
33331
bba5c930
JM
33332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
33333 Remove file.
33334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
33335 Likewise.
33336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
33337 Likewise.
33338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
33339 Likewise.
33340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
33341 Likewise.
33342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
33343 Likewise.
33344 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
33345 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
33346 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
33347 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
33348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
33349 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
33350 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
33351 w_sqrtf_compat-ppc32.
33352
3d7b66f6
GG
333532017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33354
33355 * math/math.h [defined __cplusplus] (issignaling): In the long
33356 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
33357 is not defined. Call __issignaling, otherwise.
33358
ebd6f007
AZ
333592017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33360
33361 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
33362 syscall definitions and replace __builtin_expect with __glibc_likely.
33363 * sysdeps/unix/syscall-template.S: Update comment about cancellable
33364 syscall.
6b5c8607 33365 (SYSCALL_CANCELLABLE): Removedefinition
ebd6f007
AZ
33366 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
33367 definition.
33368 (PSEUDO_END): Likewise.
33369 [IS_IN (libpthread)] (CENABLE): Likewise.
33370 [IS_IN (libpthread)] (CDISABLE): Likewise.
33371 [IS_IN (libc)] (CENABLE): Likewise.
33372 [IS_IN (libc)] (CENABLE): Likewise.
33373 [IS_IN (librt)] (CDISABLE): Likewise.
33374 [IS_IN (librt)] (CDISABLE): Likewise.
33375 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33376 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
33377 definition.
33378 (PSEUDO_END): Likewise.
33379 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
33380 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
33381 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
33382 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
33383 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
33384 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
33385 (CENABLE): Likewise.
33386 (CDISABLE): Likewise.
33387 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33388 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
33389 defintion.
33390 (PSEUDO_END): Likewise.
33391 [IS_IN (libpthread)] (CENABLE): Likewise.
33392 [IS_IN (libpthread)] (CDISABLE): Likewise.
33393 [IS_IN (libc)] (CENABLE): Likewise.
33394 [IS_IN (libc)] (CENABLE): Likewise.
33395 [IS_IN (librt)] (CDISABLE): Likewise.
33396 [IS_IN (librt)] (CDISABLE): Likewise.
33397 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33398 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
33399 definition.
33400 (PSEUDO_END): Likewise.
33401 [IS_IN (libpthread)] (CENABLE): Likewise.
33402 [IS_IN (libpthread)] (CDISABLE): Likewise.
33403 [IS_IN (libc)] (CENABLE): Likewise.
33404 [IS_IN (libc)] (CENABLE): Likewise.
33405 [IS_IN (librt)] (CDISABLE): Likewise.
33406 [IS_IN (librt)] (CDISABLE): Likewise.
33407 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33408 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
33409 definition.
33410 (PSEUDO_END): Likewise.
33411 [IS_IN (libpthread)] (CENABLE): Likewise.
33412 [IS_IN (libpthread)] (CDISABLE): Likewise.
33413 [IS_IN (libc)] (CENABLE): Likewise.
33414 [IS_IN (libc)] (CENABLE): Likewise.
33415 [IS_IN (librt)] (CDISABLE): Likewise.
33416 [IS_IN (librt)] (CDISABLE): Likewise.
33417 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33418 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
33419 definition.
33420 (PSEUDO_END): Likewise.
33421 [IS_IN (libpthread)] (CENABLE): Likewise.
33422 [IS_IN (libpthread)] (CDISABLE): Likewise.
33423 [IS_IN (libc)] (CENABLE): Likewise.
33424 [IS_IN (libc)] (CENABLE): Likewise.
33425 [IS_IN (librt)] (CDISABLE): Likewise.
33426 [IS_IN (librt)] (CDISABLE): Likewise.
33427 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33428 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
33429 definition.
33430 (PSEUDO_END): Likewise.
33431 [IS_IN (libpthread)] (CENABLE): Likewise.
33432 [IS_IN (libpthread)] (CDISABLE): Likewise.
33433 [IS_IN (libc)] (CENABLE): Likewise.
33434 [IS_IN (libc)] (CENABLE): Likewise.
33435 [IS_IN (librt)] (CDISABLE): Likewise.
33436 [IS_IN (librt)] (CDISABLE): Likewise.
33437 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33438 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
33439 definition.
33440 (PSEUDO_END): Likewise.
33441 [IS_IN (libpthread)] (CENABLE): Likewise.
33442 [IS_IN (libpthread)] (CDISABLE): Likewise.
33443 [IS_IN (libc)] (CENABLE): Likewise.
33444 [IS_IN (libc)] (CENABLE): Likewise.
33445 [IS_IN (librt)] (CDISABLE): Likewise.
33446 [IS_IN (librt)] (CDISABLE): Likewise.
33447 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33448 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
33449 Remove definition.
33450 (PSEUDO_END): Likewise.
33451 [IS_IN (libpthread)] (CENABLE): Likewise.
33452 [IS_IN (libpthread)] (CDISABLE): Likewise.
33453 [IS_IN (libc)] (CENABLE): Likewise.
33454 [IS_IN (libc)] (CENABLE): Likewise.
33455 [IS_IN (librt)] (CDISABLE): Likewise.
33456 [IS_IN (librt)] (CDISABLE): Likewise.
33457 (SINGLE_THREAD_P): Likewise.
33458 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
33459 definition.
33460 (PSEUDO_END): Likewise.
33461 [IS_IN (libpthread)] (CENABLE): Likewise.
33462 [IS_IN (libpthread)] (CDISABLE): Likewise.
33463 [IS_IN (libc)] (CENABLE): Likewise.
33464 [IS_IN (libc)] (CENABLE): Likewise.
33465 [IS_IN (librt)] (CDISABLE): Likewise.
33466 [IS_IN (librt)] (CDISABLE): Likewise.
33467 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33468 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
33469 definition.
33470 (PSEUDO_END): Likewise.
33471 [IS_IN (libpthread)] (CENABLE): Likewise.
33472 [IS_IN (libpthread)] (CDISABLE): Likewise.
33473 [IS_IN (libc)] (CENABLE): Likewise.
33474 [IS_IN (libc)] (CENABLE): Likewise.
33475 [IS_IN (librt)] (CDISABLE): Likewise.
33476 [IS_IN (librt)] (CDISABLE): Likewise.
33477 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33478 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
33479 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
33480 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
33481 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
33482 definition.
33483 (PSEUDO_END): Likewise.
33484 [IS_IN (libpthread)] (CENABLE): Likewise.
33485 [IS_IN (libpthread)] (CDISABLE): Likewise.
33486 [IS_IN (libc)] (CENABLE): Likewise.
33487 [IS_IN (libc)] (CENABLE): Likewise.
33488 [IS_IN (librt)] (CDISABLE): Likewise.
33489 [IS_IN (librt)] (CDISABLE): Likewise.
33490 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33491 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
33492 definition.
33493 (PSEUDO_END): Likewise.
33494 [IS_IN (libpthread)] (CENABLE): Likewise.
33495 [IS_IN (libpthread)] (CDISABLE): Likewise.
33496 [IS_IN (libc)] (CENABLE): Likewise.
33497 [IS_IN (libc)] (CENABLE): Likewise.
33498 [IS_IN (librt)] (CDISABLE): Likewise.
33499 [IS_IN (librt)] (CDISABLE): Likewise.
33500 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33501 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
33502 definition.
33503 (PSEUDO_END): Likewise.
33504 [IS_IN (libpthread)] (CENABLE): Likewise.
33505 [IS_IN (libpthread)] (CDISABLE): Likewise.
33506 [IS_IN (libc)] (CENABLE): Likewise.
33507 [IS_IN (libc)] (CENABLE): Likewise.
33508 [IS_IN (librt)] (CDISABLE): Likewise.
33509 [IS_IN (librt)] (CDISABLE): Likewise.
33510 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33511 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
33512 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33513 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
33514 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
33515 definition.
33516 (PSEUDO_END): Likewise.
33517 [IS_IN (libpthread)] (CENABLE): Likewise.
33518 [IS_IN (libpthread)] (CDISABLE): Likewise.
33519 [IS_IN (libc)] (CENABLE): Likewise.
33520 [IS_IN (libc)] (CENABLE): Likewise.
33521 [IS_IN (librt)] (CDISABLE): Likewise.
33522 [IS_IN (librt)] (CDISABLE): Likewise.
33523 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33524 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
33525 definition.
33526 (PSEUDO_END): Likewise.
33527 [IS_IN (libpthread)] (CENABLE): Likewise.
33528 [IS_IN (libpthread)] (CDISABLE): Likewise.
33529 [IS_IN (libc)] (CENABLE): Likewise.
33530 [IS_IN (libc)] (CENABLE): Likewise.
33531 [IS_IN (librt)] (CDISABLE): Likewise.
33532 [IS_IN (librt)] (CDISABLE): Likewise.
33533 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33534
8aa48656
SN
335352017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
33536
33537 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
33538
fcaaca41
L
335392017-08-23 H.J. Lu <hongjiu.lu@intel.com>
33540
33541 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33542
376b40a2
L
335432017-08-23 H.J. Lu <hongjiu.lu@intel.com>
33544
33545 [BZ #21982]
33546 * string/stratcliff.c (do_test): Declare size, nchars, inner,
33547 middle and outer with size_t instead of int. Repleace %d and
33548 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
33549 "MAX (outer, nchars - 64)" to support unsigned outer and
33550 nchars. Also exit loop when outer == 0.
33551
2b0b9a1c
AZ
335522017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33553
33554 * include/fcntl.h (__fcntl_nocancel): Remove definition.
33555 * include/signal.h (__sigsuspend_nocancel): Likewise.
33556 * include/time.h (__nanosleep_nocancel): Likewise.
33557 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
33558 * login/utmp_file.c: Include non cancellable syscall header.
33559 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
33560 prototype.
33561
b9eaca8f
L
335622017-08-23 H.J. Lu <hongjiu.lu@intel.com>
33563
33564 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
33565 .byte sequences with AVX512F instructions.
33566 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
33567 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
33568 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
33569 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
33570 Likewise.
33571 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
33572 Likewise.
33573
5a706f64
SE
335742017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
33575 Steve Ellcey <sellcey@cavium.com>
33576
33577 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
33578 Use PTR_REG macro in cmp instruction.
33579
b513da7e
GG
335802017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33581
33582 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
33583 Change the return type of the ifunc resolver to match the return
33584 type of the target function.
33585
78ca091c
AZ
335862017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33587
b70b6026
AZ
33588 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
33589 (preadv64): Likewise.
33590 (pwrite64(: Likewise.
33591 (pwritev64): Likewise.
33592
78ca091c
AZ
33593 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
33594 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
33595 (LOAD_ARGS_0): Likewise.
33596 (LOAD_ARGS_1): Likewise.
33597 (LOAD_ARGS_2): Likewise.
33598 (LOAD_ARGS_3): Likewise.
33599 (LOAD_ARGS_4): Likewise.
33600 (LOAD_ARGS_5): Likewise.
33601 (LOAD_ARGS_6): Likewise.
33602 (LOAD_REGS_0): Likewise.
33603 (LOAD_REGS_1): Likewise.
33604 (LOAD_REGS_2): Likewise.
33605 (LOAD_REGS_3): Likewise.
33606 (LOAD_REGS_4): Likewise.
33607 (LOAD_REGS_5): Likewise.
33608 (LOAD_REGS_6): Likewise.
33609 (ASM_ARGS_0): Likewise.
33610 (ASM_ARGS_1): Likewise.
33611 (ASM_ARGS_2): Likewise.
33612 (ASM_ARGS_3): Likewise.
33613 (ASM_ARGS_4): Likewise.
33614 (ASM_ARGS_5): Likewise.
33615 (ASM_ARGS_6): Likewise.
33616 (LOAD_ARGS_TYPES_1): Likewise.
33617 (LOAD_ARGS_TYPES_2): Likewise.
33618 (LOAD_ARGS_TYPES_3): Likewise.
33619 (LOAD_ARGS_TYPES_4): Likewise.
33620 (LOAD_ARGS_TYPES_5): Likewise.
33621 (LOAD_ARGS_TYPES_6): Likewise.
33622 (LOAD_REGS_TYPES_1): Likewise.
33623 (LOAD_REGS_TYPES_2): Likewise.
33624 (LOAD_REGS_TYPES_3): Likewise.
33625 (LOAD_REGS_TYPES_4): Likewise.
33626 (LOAD_REGS_TYPES_5): Likewise.
33627 (LOAD_REGS_TYPES_6): Likewise.
33628 (TYPEFY): New define.
33629 (ARGIFY): Likewise.
33630 (internal_syscall0): Likewise.
33631 (internal_syscall1): Likewise.
33632 (internal_syscall2): Likewise.
33633 (internal_syscall3): Likewise.
33634 (internal_syscall4): Likewise.
33635 (internal_syscall5): Likewise.
33636 (internal_syscall6): Likewise.
33637 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
33638 (INTERNAL_SYSCALL_NCS): Remove define.
33639 (internal_syscall1): Add define.
33640
453a493d
GG
336412017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33642
33643 * math/w_remainder_compat.c: Remove duplicate inclusion of
33644 math-svid-compat.h.
33645 * math/w_remainderf_compat.c: Likewise.
33646 * math/w_remainderl_compat.c: Likewise.
33647
f2f048a5
GG
336482017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33649
33650 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33651
d9bef9c0
JM
336522017-08-22 Joseph Myers <joseph@codesourcery.com>
33653
33654 [BZ #21684]
33655 * math/tgmath.h (__floating_type): Simplify definitions.
33656 (__real_integer_type): New macro.
33657 (__complex_integer_type): Likewise.
33658 (__expr_is_real): Likewise.
33659 (__tgmath_real_type_sub): Update comment to describe handling of
33660 complex types.
33661 (__tgmath_complex_type_sub): New macro.
33662 (__tgmath_complex_type): Likewise.
33663 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33664 (__TGMATH_CF128): Use __expr_is_real.
33665 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
33666 __expr_is_real.
33667 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33668 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
33669 * math/gen-tgmath-tests.py (Type.create_type): Create complex
33670 integer types.
33671
08d6eb46
AZ
336722017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33673
988f991b
AZ
33674 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
33675 macro.
33676 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
33677 alias.
33678 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
33679 Likewise.
33680
6f33fd04
AZ
33681 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
33682 nanosleep_not_cancel with __nanosleep_nocancel.
33683 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
33684 (__nanosleep_nocancel): New macro.
33685 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
33686 function.
33687 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
33688 macro.
33689 (__nanosleep_nocancel): New prototype.
33690
08d6eb46
AZ
33691 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
33692 pause_not_cancel with __pause_nocancel.
33693 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
33694 (__pause_nocancel): New macro.
33695 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
33696 macro.
33697 (__pause_nocancel): New prototype.
33698 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
33699
ee4e992e
MS
337002017-08-22 Martin Sebor <msebor@redhat.com>
33701
33702 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
33703 to return a pointer to the same type as the target function.
33704
20962acb
L
337052017-08-22 H.J. Lu <hongjiu.lu@intel.com>
33706
33707 [BZ #18822]
33708 [BZ #21986]
33709 * include/printf.h (__printf_fphex): Add attribute_hidden.
33710 (__guess_grouping): New prototype.
33711 * stdio-common/printf_fp.c (__guess_grouping): Removed.
33712 * stdio-common/reg-printf.c (__register_printf_specifier): Add
33713 libc_hidden_proto and libc_hidden_def.
33714 * stdlib/strfmon_l.c (__guess_grouping): Removed.
33715 (__vstrfmon_l): Remove the third argument passed to
33716 __guess_grouping.
33717
a16e8bc0
GG
337182017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33719
33720 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
33721 definition for issignaling that does not rely on __MATH_TG,
33722 since __MATH_TG uses __builtin_types_compatible_p, which is only
33723 available in C mode.
33724 (CFLAGS-test-math-issignaling.cc): New variable.
33725 * math/Makefile [CXX] (tests): Add test-math-issignaling.
33726 * math/test-math-issignaling.cc: New test for C++ implementation
33727 of type-generic issignaling.
33728 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
33729 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
33730 options of test-math-issignaling on powerpc64le.
33731
8d2ec553
L
337322017-08-22 H.J. Lu <hongjiu.lu@intel.com>
33733
33734 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33735 building libc.a.
33736 (hidden_proto): Likewise.
33737 (hidden_tls_proto): Likewise.
33738 (__hidden_proto): Likewise.
33739
a4d57b79
FW
337402017-08-22 Florian Weimer <fweimer@redhat.com>
33741
33742 math: Statically link tests of internal functionality.
33743 * math/Makefile (tests): Remove atest-exp, atest-sincos,
33744 atest-exp2.
33745 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
33746 (gmp-objs): Remove assignment.
33747 (atest-exp, atest-sincos, atest-exp2): Remove targets.
33748
75dfe623
JM
337492017-08-22 Joseph Myers <joseph@codesourcery.com>
33750
80f91666
JM
33751 [BZ #21987]
33752 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
33753 and copy to ...
33754 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
33755 ... here.
33756 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
33757 ... and here.
33758
75dfe623
JM
33759 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
33760 variable definitions above inclusion of ../Rules.
33761
ea99fcd0
JM
337622017-08-21 Joseph Myers <joseph@codesourcery.com>
33763
33764 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
33765 case calling __builtin_unreachable.
33766
19926de9
AZ
337672017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33768
a8410a5f
AZ
33769 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
33770 __waitpid_nocancel.
33771 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
33772 (__waitpid_nocancel): New macro.
33773 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
33774 macro.
33775 (__waitpid_nocancel): Replace macro with a function.
33776 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
33777 function.
33778
7369800c
AZ
33779 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
33780 __fcntl_nocancel.
33781 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
33782 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
33783
19926de9
AZ
33784 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
33785 __writev_nocancel_nostatus.
33786 (write_call_graph): Likewise.
33787 (write_bb_counts): Likewise.
33788 * resolv/herror.c (herror): Likewise.
33789 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
33790 macro.
33791 (__writev_nocancel_nostatus): New macro.
33792 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
33793 Remove macro.
33794 (__writev_nocancel_nostatus): New function.
33795
813378e9
JM
337962017-08-21 Joseph Myers <joseph@codesourcery.com>
33797
df1deda6
JM
33798 Revert:
33799 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33800
33801 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33802 building libc.a.
33803 (hidden_proto): Likewise.
33804 (hidden_tls_proto): Likewise.
33805 (__hidden_proto): Likewise.
33806
831bbd55
JM
33807 [BZ #21973]
33808 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
33809 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
33810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
33811 Likewise.
33812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
33813 Likewise.
33814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
33815 Likewise.
33816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
33817 Likewise.
33818 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
33819 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
33820 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
33821 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
33822 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
33823 GLIBC_2.0 sqrtl symbol.
33824
813378e9
JM
33825 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
33826 [__USE_MISC] (_LIB_VERSION): Likewise.
33827 [__USE_MISC] (struct exception): Likewise.
33828 [__USE_MISC] (matherr): Likewise.
33829 [__USE_MISC] (DOMAIN): Likewise.
33830 [__USE_MISC] (SING): Likewise.
33831 [__USE_MISC] (OVERFLOW): Likewise.
33832 [__USE_MISC] (UNDERFLOW): Likewise.
33833 [__USE_MISC] (TLOSS): Likewise.
33834 [__USE_MISC] (PLOSS): Likewise.
33835 [__USE_MISC] (HUGE): Likewise.
33836 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
33837 * math/math-svid-compat.h: New file.
33838 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
33839 and matherrl.
33840 * include/math.h [!_ISOMAC] (__matherr): Remove.
33841 * manual/arith.texi (FP Exceptions): Do not document matherr.
33842 * math/Makefile (tests): Change test-matherr to test-matherr-3.
33843 (tests-internal): New variable.
33844 (install-lib): Do not add libieee.a.
33845 (non-lib.a): Likewise.
33846 (extra-objs): Do not add libieee.a and ieee-math.o.
33847 (CPPFLAGS-s_lib_version.c): Remove variable.
33848 ($(objpfx)libieee.a): Remove rule.
33849 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
33850 * math/ieee-math.c: Remove.
33851 * math/libm-test-support.c (matherr): Remove.
33852 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
33853 and license notices. Include <math-svid-compat.h> and
33854 <shlib-compat.h>.
33855 (matherr): Undefine as macro. Use compat_symbol_reference.
33856 (_LIB_VERSION): Likewise.
33857 * math/test-matherr-2.c: New file.
33858 * math/test-matherr-3.c: Likewise.
33859 * sysdeps/generic/math_private.h (__kernel_standard): Remove
33860 declaration.
33861 (__kernel_standard_f): Likewise.
33862 (__kernel_standard_l): Likewise.
33863 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
33864 <math_private.h>. Include <math-svid-compat.h>.
33865 (_LIB_VERSION): Undefine as macro.
33866 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
33867 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
33868 [LIBM_SVID_COMPAT], use compat_symbol.
33869 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
33870 <math_private.h>. Include <math-svid-compat.h>.
33871 (matherr): Undefine as macro.
33872 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
33873 compat_symbol.
33874 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
33875 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
33876 compat_symbol_reference.
33877 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
33878 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
33879 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
33880 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
33881 (MATHERR_D): Remove declaration.
33882 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
33883 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
33884 [LIBM_BUILD] (pmatherrf): Likewise.
33885 [LIBM_BUILD] (pmatherr): Likewise.
33886 [LIBM_BUILD] (pmatherrl): Likewise.
33887 (DOMAIN): Likewise.
33888 (SING): Likewise.
33889 (OVERFLOW): Likewise.
33890 (UNDERFLOW): Likewise.
33891 (TLOSS): Likewise.
33892 (PLOSS): Likewise.
33893 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
33894 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
33895 compat_symbol.
33896 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
33897 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
33898 compat_symbol.
33899 * math/lgamma-compat.h: Include <math-svid-compat.h>.
33900 * math/w_acos_compat.c: Likewise.
33901 * math/w_acosf_compat.c: Likewise.
33902 * math/w_acosh_compat.c: Likewise.
33903 * math/w_acoshf_compat.c: Likewise.
33904 * math/w_acoshl_compat.c: Likewise.
33905 * math/w_acosl_compat.c: Likewise.
33906 * math/w_asin_compat.c: Likewise.
33907 * math/w_asinf_compat.c: Likewise.
33908 * math/w_asinl_compat.c: Likewise.
33909 * math/w_atan2_compat.c: Likewise.
33910 * math/w_atan2f_compat.c: Likewise.
33911 * math/w_atan2l_compat.c: Likewise.
33912 * math/w_atanh_compat.c: Likewise.
33913 * math/w_atanhf_compat.c: Likewise.
33914 * math/w_atanhl_compat.c: Likewise.
33915 * math/w_cosh_compat.c: Likewise.
33916 * math/w_coshf_compat.c: Likewise.
33917 * math/w_coshl_compat.c: Likewise.
33918 * math/w_exp10_compat.c: Likewise.
33919 * math/w_exp10f_compat.c: Likewise.
33920 * math/w_exp10l_compat.c: Likewise.
33921 * math/w_exp2_compat.c: Likewise.
33922 * math/w_exp2f_compat.c: Likewise.
33923 * math/w_exp2l_compat.c: Likewise.
33924 * math/w_fmod_compat.c: Likewise.
33925 * math/w_fmodf_compat.c: Likewise.
33926 * math/w_fmodl_compat.c: Likewise.
33927 * math/w_hypot_compat.c: Likewise.
33928 * math/w_hypotf_compat.c: Likewise.
33929 * math/w_hypotl_compat.c: Likewise.
33930 * math/w_j0_compat.c: Likewise.
33931 * math/w_j0f_compat.c: Likewise.
33932 * math/w_j0l_compat.c: Likewise.
33933 * math/w_j1_compat.c: Likewise.
33934 * math/w_j1f_compat.c: Likewise.
33935 * math/w_j1l_compat.c: Likewise.
33936 * math/w_jn_compat.c: Likewise.
33937 * math/w_jnf_compat.c: Likewise.
33938 * math/w_jnl_compat.c: Likewise.
33939 * math/w_lgamma_main.c: Likewise.
33940 * math/w_lgamma_r_compat.c: Likewise.
33941 * math/w_lgammaf_main.c: Likewise.
33942 * math/w_lgammaf_r_compat.c: Likewise.
33943 * math/w_lgammal_main.c: Likewise.
33944 * math/w_lgammal_r_compat.c: Likewise.
33945 * math/w_log10_compat.c: Likewise.
33946 * math/w_log10f_compat.c: Likewise.
33947 * math/w_log10l_compat.c: Likewise.
33948 * math/w_log2_compat.c: Likewise.
33949 * math/w_log2f_compat.c: Likewise.
33950 * math/w_log2l_compat.c: Likewise.
33951 * math/w_log_compat.c: Likewise.
33952 * math/w_logf_compat.c: Likewise.
33953 * math/w_logl_compat.c: Likewise.
33954 * math/w_pow_compat.c: Likewise.
33955 * math/w_powf_compat.c: Likewise.
33956 * math/w_powl_compat.c: Likewise.
33957 * math/w_remainder_compat.c: Likewise.
33958 * math/w_remainderf_compat.c: Likewise.
33959 * math/w_remainderl_compat.c: Likewise.
33960 * math/w_scalb_compat.c: Likewise.
33961 * math/w_scalbf_compat.c: Likewise.
33962 * math/w_scalbl_compat.c: Likewise.
33963 * math/w_sinh_compat.c: Likewise.
33964 * math/w_sinhf_compat.c: Likewise.
33965 * math/w_sinhl_compat.c: Likewise.
33966 * math/w_sqrt_compat.c: Likewise.
33967 * math/w_sqrtf_compat.c: Likewise.
33968 * math/w_sqrtl_compat.c: Likewise.
33969 * math/w_tgamma_compat.c: Likewise.
33970 * math/w_tgammaf_compat.c: Likewise.
33971 * math/w_tgammal_compat.c: Likewise.
33972 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
33973 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
33974 * sysdeps/ieee754/k_standard.c: Likewise.
33975 * sysdeps/ieee754/k_standardf.c: Likewise.
33976 * sysdeps/ieee754/k_standardl.c: Likewise.
33977 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
33978 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
33979 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
33980 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
33981 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
33982 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
33983 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
33984 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
33985 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
33986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
33987 Likewise.
33988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
33989 Likewise.
33990 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
33991 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
33992 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
33993 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
33994
4504783c
FW
339952017-08-21 Florian Weimer <fweimer@redhat.com>
33996
33997 [BZ #21864]
33998 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
33999 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
34000 Move before inclusion of ../Rules.
34001
b5889d25
FW
340022017-08-21 Florian Weimer <fweimer@redhat.com>
34003
34004 [BZ #21972]
34005 * assert/assert.h (assert): Use static_cast (bool) for C++.
34006 Use the ternary operator in the warning branch for GNU C.
34007 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
34008 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
34009 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
34010 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
34011 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
34012
41e673c1
L
340132017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34014
34015 [BZ #18822]
34016 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34017 (__syscall_clock_gettime): Add attribute_hidden.
34018 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
34019 (__start_context): Likewise.
34020
568ff429
L
340212017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34022
34023 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
34024 building libc.a.
34025 (hidden_proto): Likewise.
34026 (hidden_tls_proto): Likewise.
34027 (__hidden_proto): Likewise.
34028
7c41b4a1
L
340292017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34030
34031 * include/libc-symbols.h (attribute_hidden): Enable hidden
34032 visibility in libc.a compiled with PIE.
34033
483d7068
L
340342017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34035
34036 [BZ #18822]
34037 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
34038 Add attribute_hidden.
34039
340402017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34041
34042 [BZ #21864]
34043 * Makerules (all-nonlib): Add $(others-extras).
34044 * catgets/Makefile (others-extras): New.
34045 * elf/Makefile (others-extras): Likewise.
34046 * nss/Makefile (others-extras): Likewise.
34047
54e4b8f2
L
340482017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34049
34050 [BZ #18822]
34051 * csu/libc-start.c (__libc_multiple_libcs): Removed.
34052 * elf/dl-open.c: Include <libc-internal.h>.
34053 (__libc_multiple_libcs): Removed.
34054 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
34055 <hp-timing.h>.
34056 * include/libc-internal.h (__libc_multiple_libcs): New.
34057 * misc/sbrk.c: Include <libc-internal.h>.
34058 (__libc_multiple_libcs): Removed.
34059
1dbbb1ec
L
340602017-08-21 H.J. Lu <hongjiu.lu@intel.com>
34061
34062 [BZ #18822]
34063 * grp/initgroups.c (__nss_group_database): Removed.
34064 (__nss_initgroups_database): Likewise.
34065 * nscd/gai.c (__nss_hosts_database): Likewise.
34066 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
34067 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
34068 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
34069 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
34070 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
34071 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
34072 attribute_hidden.
34073 * nss/nsswitch.c (__nss_database_custom): Define only if
34074 USE_NSCD is defined.
34075 (__nss_configure_lookup): Use __nss_database_custom only if
34076 USE_NSCD is defined.
34077 * nss/nsswitch.h (__nss_database_custom): Declare only if
34078 USE_NSCD is defined. Add attribute_hidden.
34079 (__nss_setent): Add attribute_hidden.
34080 (__nss_endent): Likewise.
34081 (__nss_getent_r): Likewise.
34082 (__nss_getent): Likewise.
34083 (DEFINE_DATABASE): Declare __nss_##arg##_database.
34084
2585d7b8
L
340852017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34086
34087 [BZ #18822]
34088 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
34089 libc_hidden_proto and libc_hidden_def.
34090
c8dfa99c
L
340912017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34092
34093 [BZ #18822]
34094 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
34095 Add libc_hidden_proto.
34096 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
34097 Add libc_hidden_def.
34098
7ed87317
L
340992017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34100
34101 [BZ #21974]
34102 * gmon/Makefile (routines): Remove bb_init_func and
34103 bb_exit_func.
34104 (elide-routines.os): Removed.
9476b904
L
34105 * gmon/bb_exit_func.c: Likewise.
34106 * gmon/bb_init_func.c: Likewise.
7ed87317
L
34107 * include/sys/gmon.h (__bb): Likewise.
34108 (__bb_init_func): Likewise.
34109 (__bb_exit_func): Likewise.
91695eb1 34110 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 34111
94e6ba15
L
341122017-08-20 H.J. Lu <hongjiu.lu@intel.com>
34113
34114 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
34115 * include/setjmp.h (____longjmp_chk): Here. Add
34116 attribute_hidden.
34117
7550717e
L
341182017-08-19 H.J. Lu <hongjiu.lu@intel.com>
34119
34120 [BZ #18822]
34121 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
34122 attribute_hidden.
34123 (__strspn_sse2): Likewise.
34124
0bb2fabc
AZ
341252017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34126
c181840c
AZ
34127 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
34128 (close_not_cancel_no_status): Likewise.
34129 (__close_nocancel): New macro.
34130 (__close_nocancel_nostatus): Likewise.
34131 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
34132 macro.
34133 (close_not_cancel): Likewise.
34134 (close_not_cancel_no_status): Likewise.
34135 (__close_nocancel): New prototype.
34136 (__close_nocancel_nostatus): New function.
34137 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
34138 * catgets/open_catalog.c (__open_catalog): Replace
34139 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
34140 * gmon/gmon.c (write_gmon): Likewise.
34141 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
34142 * intl/loadmsgcat.c (close): Likewise.
34143 * io/ftw.c (open_dir_stream): Likewise.
34144 (ftw_startup): Likewise.
34145 * libio/fileops.c (_IO_file_open): Likewise.
34146 (_IO_file_close_mmap): Likewise.
34147 (_IO_file_close): Likewise.
34148 * libio/iopopen.c (_IO_dup2): Likewise.
34149 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34150 * locale/loadlocale.c (_nl_load_locale): Likewise.
34151 * login/utmp_file.c (pututline_file): Likewise.
34152 (endutent_file): Likewise.
34153 * misc/daemon.c (daemon): Likewise.
34154 * nscd/nscd_getai.c (__nscd_getai): Likewise.
34155 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34156 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
34157 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34158 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34159 * nscd/nscd_helper.c (open_socket): Likewise.
34160 (__nscd_open_socket): Likewise.
34161 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
34162 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
34163 (__nscd_innetgr): Likewise.
34164 * nss/nss_db/db-open.c (internal_setent): Likewise.
34165 * resolv/res-close.c (__res_iclose): Likewise.
34166 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
34167 * sysdeps/posix/closedir.c (__closedir): Likewise.
34168 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
34169 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34170 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
34171 (opendir_tail): Likewise.
34172 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34173 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
34174 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
34175 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
34176 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34177 (gethostid): Likewise.
34178 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34179 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34180 Likewise.
34181 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34182 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
34183 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34184 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34185 Likewise.
34186 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
34187 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
34188 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34189 Likewise.
34190 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
34191 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34192 Likewise.
34193 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34194 Likewise.
34195 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
34196 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34197 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34198 __close_nocancel.
34199
0bb2fabc
AZ
34200 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
34201 (openat_not_cancel_3): Likewise.
34202 (openat64_not_cancel_3): Likewise).
34203 (openat_not_cancel_3): Likewise).
34204 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
34205 macro.
34206 (openat_not_cancel_3): Likewise.
34207 (openat64_not_cancel): Likewise.
34208 (openat64_not_cancel_3): Likewise.
34209 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
34210 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
34211 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
34212 __open{64}_nocancel.
34213 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34214 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34215 * sysdeps/posix/opendir.c (__opendirat): Likewise.
34216
65a086db
L
342172017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34218
34219 [BZ #18822]
34220 * include/argz.h (__argz_create_sep): New function prototype.
34221 (__argz_append): Likewise.
34222 (__argz_add): Likewise.
34223 (__argz_add_sep): Likewise.
34224 (__argz_delete): Likewise.
34225 (__argz_insert): Likewise.
34226 (__argz_replace): Likewise.
34227 * string/argz.h (__argz_create_sep): Removed.
34228 (__argz_append): Likewise.
34229 (__argz_add): Likewise.
34230 (__argz_add_sep): Likewise.
34231 (__argz_delete): Likewise.
34232 (__argz_insert): Likewise.
34233 (__argz_replace): Likewise.
34234
62753d2c
L
342352017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34236
34237 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
34238 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
34239 (GNU_PROPERTY_STACK_SIZE): Likewie.
34240 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
34241 (GNU_PROPERTY_LOPROC): Likewise.
34242 (GNU_PROPERTY_HIPROC): Likewise.
34243 (GNU_PROPERTY_LOUSER): Likewise.
34244 (GNU_PROPERTY_HIUSER): Likewise.
34245 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
34246 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
34247 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
34248 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
34249 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
34250 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
34251 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
34252 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
34253 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
34254 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
34255 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
34256 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
34257 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
34258 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
34259 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
34260 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
34261 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
34262 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
34263 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
34264 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
34265 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
34266 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
34267 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
34268
6913ad65
GG
342692017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34270
34271 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
34272 in C++ mode.
34273
47a67213
GG
342742017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34275
34276 [BZ #21930]
34277 * math/math.h (isinf): Check if in C or C++ mode before using
34278 __builtin_types_compatible_p, since this is a C mode feature.
34279
a748eb31
AZ
342802017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34281
c647fb88
AZ
34282 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
34283 (__write_nocancel): New macro.
34284 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
34285 Rewrite as a function prototype.
34286 (write_not_cancel): Remove macro.
34287 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
34288 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
34289 (write_gmon): Likewise.
34290 * libio/fileops.c (_IO_new_file_write): Likewise.
34291 * login/utmp_file.c (pututline_file): Likewise.
34292 (updwtmp_file): Likewise.
34293 * stdio-common/psiginfo.c (psiginfo): Likewise.
34294 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34295 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34296 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34297 Likewise.
34298 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34299 Likewise.
34300
a748eb31
AZ
34301 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
34302 (__read_nocancel): New macro.
34303 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34304 __read_nocancel.
34305 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
34306 macro.
34307 (__read_nocancel): New prototype.
34308 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
34309 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
34310 with __read_nocancel.
34311 * intl/loadmsgcat.c (read): Likewise.
34312 * libio/fileops.c (_IO_file_read): Likewise.
34313 * locale/loadlocale.c (_nl_load_locale): Likewise.
34314 * login/utmp_file.c (getutent_r_file): Likewise.
34315 (internal_getut_r): Likewise.
34316 (getutline_r_file): Likewise.
34317 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
34318 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
34319 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34320 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34321 Likewise.
34322 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
34323 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34324 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34325 Likewise.
34326 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34327 Likewise.
34328 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34329 Likewise.
34330 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34331 Likewise.
34332 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34333
098b9dd4
L
343342017-08-18 H.J. Lu <hongjiu.lu@intel.com>
34335
34336 [BZ #21966]
34337 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
34338 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
34339 usable.
34340
a3fe6a20
DD
343412017-08-17 DJ Delorie <dj@redhat.com>
34342
34343 * bug17079.c: Update to new test harness.
34344 * test-digits-dots.c: Likewise.
34345 * test-netdb.c: Likewise.
34346 * tst-field.c: Likewise.
34347 * tst-nss-getpwent.c: Likewise.
34348 * tst-nss-static.c: Likewise.
34349 * tst-nss-test1.c: Likewise.
34350 * tst-nss-test2.c: Likewise.
34351 * tst-nss-test3.c: Likewise.
34352 * tst-nss-test4.c: Likewise.
34353 * tst-nss-test5.c: Likewise.
34354
c2284574
AZ
343552017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34356
34357 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
34358 (open_not_cancel_2): Likewise.
34359 (open_nocancel): New macro.
34360 (open64_nocancel): Likewise.
34361 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
34362 (open_not_cancel_2): Likewise.
34363 (__open_nocancel): New prototype.
34364 (__open64_nocancel): Likewise.
34365 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
34366 __open_nocancel.
34367 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
34368 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
34369 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
34370 with __open_nocancel.
34371 * csu/check_fds.c (check_one_fd): Likewise.
34372 * gmon/gmon.c (write_gmon): Likewise.
34373 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
34374 * intl/loadmsgcat.c (open): Likewise.
34375 * libio/fileops.c (_IO_file_open): Likewise.
34376 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34377 * locale/loadlocale.c (_nl_load_locale): Likewise.
34378 * login/utmp_file.c (setutent_file): Likewise.
34379 * misc/daemon.c (daemon): Likewise.
34380 * nss/nss_db/db-open.c (internal_setent): Likewise.
34381 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34382 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
34383 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
34384 (__opendir): Likewise.
34385 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
34386 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
34387 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
34388 (gethostid): Likewise.
34389 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
34390 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34391 Likewise.
34392 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34393 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
34394 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
34395 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
34396 Likewise.
34397 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
34398 Likewise.
34399 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
34400 Likewise.
34401 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
34402 Likewise.
34403 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
34404 Likewise.
34405 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
34406 Likewise.
34407 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
34408 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
34409
d4505b89
WD
344102017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
34411
34412 * benchtests/bench-skeleton.c (main): Add support for
34413 latency benchmarking.
34414 * benchtests/scripts/bench.py: Add support for latency benchmarking.
34415
34d6a3cb
L
344162017-08-17 H.J. Lu <hongjiu.lu@intel.com>
34417
34418 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
34419 the startup object.
34420
038d1caf
FW
344212017-08-17 Florian Weimer <fweimer@redhat.com>
34422
34423 * include/sys/socket.h (__opensock): Remove internal_function.
34424 * socket/opensock.c (__opensock): Likewise.
34425 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
34426
67f0aff0
JM
344272017-08-16 Joseph Myers <joseph@codesourcery.com>
34428
34429 [BZ #21944]
34430 * signal/bits/types/__sigval_t.h: New file.
34431 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
34432 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
34433 and define sigval_t using __sigval_t.
34434 * include/bits/types/__sigval_t.h: New file.
34435 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
34436 instead of <bits/types/__sigval_t.h>.
34437 (struct sigevent): Use __sigval_t instead of sigval_t.
34438 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
34439 instead of <bits/types/__sigval_t.h>.
34440 (siginfo_t): Use __sigval_t instead of sigval_t.
34441 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
34442 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
34443 (struct sigevent): Use __sigval_t instead of sigval_t.
34444 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
34445 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
34446 (siginfo_t): Use __sigval_t instead of sigval_t.
34447 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
34448
87e7bf4d
L
344492017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34450
34451 * NEWS: Remove "[Add new features here]" for 2.27.
34452
5047057f
JM
344532017-08-16 Joseph Myers <joseph@codesourcery.com>
34454
34455 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
34456 libc.so.
34457
20c7b195
L
344582017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34459
34460 * NEWS: Mention x86-64 FMA optimization.
34461
24a2e658
L
344622017-08-16 H.J. Lu <hongjiu.lu@intel.com>
34463
34464 [BZ #21912]
34465 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34466 Add e_expf-fma.
34467 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
34468 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
34469 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
34470
eedca977
AS
344712017-08-16 Andreas Schwab <schwab@suse.de>
34472
403143e1
FW
34473 [BZ #16750]
34474 CVE-2009-5064
eedca977
AS
34475 * elf/ldd.bash.in: Never run file directly.
34476
f59f7adb
L
344772017-08-15 H.J. Lu <hongjiu.lu@intel.com>
34478
34479 [BZ #21955]
34480 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
34481 (L(SP_INF_0)): Likewise.
34482
6b11a6ad
FW
344832017-08-15 Florian Weimer <fweimer@redhat.com>
34484
34485 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
34486 run-built-tests.
34487
bbf5c438
FW
344882017-08-15 Florian Weimer <fweimer@redhat.com>
34489
34490 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
34491 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
34492 BROKEN_THREAD_SIGNALS code.
34493 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
34494 request_list): Remove caller_pid member used for
34495 BROKEN_THREAD_SIGNALS.
34496 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
34497 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
34498 Remove BROKEN_THREAD_SIGNALS support.
34499 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
34500 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
34501
6014c65d
FW
345022017-08-15 Florian Weimer <fweimer@redhat.com>
34503
34504 * gmon/Makefile (tests): Add tst-gmon.
34505 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
34506 Set.
34507 (tests-special): Add tst-gmon-prof.out.
34508 (tst-gmon.out): Depend on clean-tst-gmon-data.
34509 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
34510 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
34511 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
34512 startup object.
34513 * aclocal.m4 (GPROF): Set and substitute.
34514 * config.amke.in (GPROF): Set.
34515 * configure: Regenerate.
34516
ee72219a
GR
345172017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
34518
34519 * elf/elf.h A (NT_PPC_TAR): New macro.
34520 (NT_PPC_PPR): Likewise.
34521 (NT_PPC_DSCR): Likewise.
34522 (NT_PPC_EBB): Likewise.
34523 (NT_PPC_PMU): Likewise.
34524 (NT_PPC_TM_CGPR): Likewise.
34525 (NT_PPC_TM_CFPR): Likewise.
34526 (NT_PPC_TM_CVMX): Likewise.
34527 (NT_PPC_TM_CVSX): Likewise.
34528 (NT_PPC_TM_SPR): Likewise.
34529 (NT_PPC_TM_CTAR): Likewise.
34530 (NT_PPC_TM_CPPR): Likewise.
34531 (NT_PPC_TM_CDSCR): Likewise.
34532
4ebf934e
FW
345332017-08-15 Florian Weimer <fweimer@redhat.com>
34534
34535 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
34536 regparm (2) instead of internal_function.
34537 (_MCOUNT_DECL): Adjust.
34538
e9f57484
SL
345392017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
34540
34541 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
34542 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
34543
88ff4d55
JM
345442017-08-14 Joseph Myers <joseph@codesourcery.com>
34545
34546 * conform/data/sys/wait.h-data (si_value): Do not expect for
34547 XPG42.
34548
c88ffc23
FW
345492017-08-14 Florian Weimer <fweimer@redhat.com>
34550
34551 [BZ #21962]
34552 NSS: Create stubs for accidentally exported lookup functions.
34553 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
34554 Remove declaration.
34555 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
34556 (ether_hostton): Call __nss_ethers_lookup2 instead.
34557 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
34558 (ether_ntohost): Call __nss_ethers_lookup2 instead.
34559 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
34560 (setup): Call __nss_netgroup_lookup2 instead.
34561 * nss/Makefile (routines): Add compat-lookup.
34562 * nss/Versions (GLIBC_2.27): Add symbol version.
34563 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
34564 (DB_COMPAT_FCT): Remove.
34565 * nss/compat-lookup.c: New file.
34566 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
34567 from databases.def.
34568 * nss/service-lookup.c (NO_COMPAT): Remove definition.
34569 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
34570 (netname2user): Call __nss_publickey_lookup2 instead.
34571 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
34572 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
34573 instead.
34574
35a29136 345752017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
34576 Sergei Trofimovich <slyfox@inbox.ru>
34577
34578 [BZ #21908]
34579 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
34580 Rename to MMAP2_PAGE_UNIT.
34581 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
34582 __OFF_T_MATCHES_OFF64_T is not defined.
34583 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
34584 uint64_t.
34585 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
34586 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
34587
fbdc1e3e
FW
345882017-08-14 Florian Weimer <fweimer@redhat.com>
34589
34590 i386: Do not set internal_function.
34591 * config.h.in (USE_REGPARMS, internal_function): Remove.
34592 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
34593 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
34594
b3f85fd2
FW
345952017-08-14 Florian Weimer <fweimer@redhat.com>
34596
34597 * elf/dl-init.c (_dl_init): Remove internal_function.
34598 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
34599 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
34600
630bf491
FW
346012017-08-14 Florian Weimer <fweimer@redhat.com>
34602
34603 * elf/rtld.c (_dl_start): Remove internal_function.
34604 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
34605 _dl_start.
34606
9fa7449b
FW
346072017-08-14 Florian Weimer <fweimer@redhat.com>
34608
34609 * elf/dl-fini.c (_dl_fini): Remove internal_function
34610 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
34611
73322d5f
L
346122017-08-14 H.J. Lu <hongjiu.lu@intel.com>
34613
d863cd71 34614 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
73322d5f
L
34615 (bit_cpu_SHSTK): Likewise.
34616 (index_cpu_IBT): Likewise.
34617 (index_cpu_SHSTK): Likewise.
34618 (reg_IBT): Likewise.
34619 (reg_SHSTK): Likewise.
34620 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
34621 Handle index_cpu_IBT and index_cpu_SHSTK.
34622
dbc303ef
MF
346232017-08-14 Mike FABIAN <mfabian@redhat.com>
34624
34625 [BZ #19982]
34626 * po/fr.po: Fix spelling mistake.
34627
3012cfb0
FW
346282017-08-13 Florian Weimer <fweimer@redhat.com>
34629
34630 * elf/dl-addr.c (_dl_addr): Remove internal_function.
34631 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
34632 (_dl_catch_error, _dl_receive_error): Likewise.
34633 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
34634 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
34635 (_dl_deallocate_tls): Likewise.
34636 * include/dlfcn.h (_dl_addr): Likewise.
34637 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
34638 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
34639 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
34640 Likewise.
34641
52bcdf26
FW
346422017-08-13 Florian Weimer <fweimer@redhat.com>
34643
34644 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
34645 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
34646 internal_function.
34647 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
34648
e1d2ae8d
FW
346492017-08-13 Florian Weimer <fweimer@redhat.com>
34650
34651 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
34652 internal_function.
34653 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
34654 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
34655 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
34656 internal_function from _dl_make_stack_executable_hook member.
34657 (_dl_make_stack_executable): Remove internal_function.
34658 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
34659 Likewise.
34660 * sysdeps/unix/sysv/linux/dl-execstack.c
34661 (_dl_make_stack_executable): Likewise.
34662
c4ce0382
FW
346632017-08-13 Florian Weimer <fweimer@redhat.com>
34664
34665 * sysdeps/unix/sysv/linux/netlinkaccess.h
34666 (__netlink_assert_response): Remove internal_function.
34667 * sysdeps/unix/sysv/linux/netlink_assert_response.c
34668 (__netlink_assert_response): Likewise.
34669
c4d767f7
FW
346702017-08-13 Florian Weimer <fweimer@redhat.com>
34671
34672 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
34673 internal_function.
34674 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
34675
b2297409
FW
346762017-08-13 Florian Weimer <fweimer@redhat.com>
34677
34678 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
34679 internal_function.
34680 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
34681 * inet/netgroup.h (__internal_setnetgrent)
34682 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
34683 * inet/getnetgrent_r.c (__internal_setnetgrent)
34684 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
34685 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
34686 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
34687 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
34688 * nss/nsswitch.h (db_lookup_function): Likewise.
34689
1b0bfc69
FW
346902017-08-13 Florian Weimer <fweimer@redhat.com>
34691
34692 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
34693 Remove internal_function.
34694 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
34695 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
34696 message argument on the stack.
34697 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
34698 Likeweise.
34699
a6bd8722
MF
347002017-08-12 Mike FABIAN <mfabian@redhat.com>
34701
34702 Adapt test case data to the changes in the thousands
34703 separators.
34704
34705 [BZ #20756]
34706 * localedata/tst-langinfo.sh: Adapt test case data.
34707 * stdlib/tst-strfmon_l.c: Likewise.
34708 * stdlib/tst-strtod4.c: Likewise.
34709 * stdlib/tst-strtod5i.c: Likewise.
34710
8b2c63e4
FW
347112017-08-11 Florian Weimer <fweimer@redhat.com>
34712
34713 [BZ #21242]
34714 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
34715 Suppress pedantic warning resulting from statement expression.
34716 (__ASSERT_FUNCTION): Add missing __extension__.
34717
61c98291
SP
347182017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
34719
86c6519e
SP
34720 * benchtests/bench-memmove-large.c: Print output in JSON
34721 format.
34722 * benchtests/bench-memmove.c: Likewise.
34723
61c98291
SP
34724 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
34725 * benchtests/bench-memchr.c (do_one_test): Likewise.
34726 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
34727 * benchtests/bench-memcpy.c (do_one_test): Likewise.
34728 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
34729 * benchtests/bench-memmove.c (do_one_test): Likewise.
34730 * benchtests/bench-memset-large.c (do_one_test): Likewise.
34731 * benchtests/bench-memset.c (do_one_test): Likewise.
34732 * benchtests/bench-string.h (test_init): Remove memsets.
34733
925733a9
RJ
347342017-08-10 Rical Jasan <ricaljasan@pacific.net>
34735
34736 * manual/lang.texi
34737 (Computing the Width of an Integer Data Type): Rename section to
34738 "Width of an Integer Type". Remove inaccurate statement regarding
34739 lack of C language facilities for determining width of integer
34740 types, and reorder content to improve flow and context of
34741 discussion.
34742
4fcdfbfc
RJ
347432017-08-10 Rical Jasan <ricaljasan@pacific.net>
34744
34745 * lang.texi (va_copy): Change standard from ISO to C99.
34746 (__va_copy): Add standard and header annotation.
34747 Update description for clarity of origins and current use.
34748
4d98ace9
GG
347492017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34750
34751 [BZ #21941]
34752 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
34753 xssqrtqp requires operands to be in Vector Registers
34754 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
34755 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
34756 (__ieee754_sqrtf128): Likewise.
34757
92236903
WD
347582017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
34759
34760 * sysdeps/aarch64/memcmp.S (memcmp):
34761 Rewrite of optimized memcmp.
34762
2449ae7b
FW
347632017-08-10 Florian Weimer <fweimer@redhat.com>
34764
34765 Introduce ld.so exceptions.
34766 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
34767 (_dl_exception_create, _dl_exception_create_format)
34768 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
34769 (_dl_catch_exception): Declare.
34770 (_dl_catch_error): Update comment.
34771 * elf/dl-error-skeleton.c (struct catch): Replace objname,
34772 errstring, malloced members with exception member.
34773 (_dl_out_of_memory): Remove.
34774 (fatal_error): New function, extracted from _dl_signal_error.
34775 (_dl_signal_exception, _dl_signal_cexception): New functions.
34776 (_dl_signal_error): Call _dl_exception_create to allocate an
34777 exception object.
34778 (_dl_catch_exception): New function, based on _dl_catch_error.
34779 (_dl_catch_error): Implement using _dl_catch_exception.
34780 * elf/dl-exception.c: New file.
34781 * elf/Makefile (dl-routines): Add dl-exception.
34782 (elide-routines.os): Likewise.
34783 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
34784 _dl_exception_create_format, _dl_exception_free.
34785 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
34786 _dl_signal_exception.
34787 * elf/dl-lookup.c (make_string): Remove.
34788 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
34789 _dl_signal_cexception, _dl_exception_free.
34790 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
34791 _dl_signal_exception.
34792 * elf/dl-sym.c (do_sym): Likewise.
34793 * elf/dl-version.c (make_string): Remove.
34794 (match_symbol): Use _dl_exception_create_format,
34795 _dl_signal_cexception, _dl_exception_free.
34796 (_dl_check_map_versions): Likewise.
34797 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
34798 _dl_catch_exception.
34799 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
34800 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
34801 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
34802 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
34803 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
34804 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
34805 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
34806 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
34807 Likewise.
34808 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
34809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
34810 (ld.so): Likewise.
34811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
34812 (ld.so): Likewise.
34813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
34814 Likewise.
34815 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
34816 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
34817 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
34818 Likewise.
34819 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
34820 Likewise.
34821 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
34822
f87cc2bf
FW
348232017-08-10 Florian Weimer <fweimer@redhat.com>
34824
34825 * inet/net-internal.h (__inet6_scopeid_pton): Remove
34826 attribute_hidden, internal_function.
34827 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
34828 internal_function.
34829
eac43cbb
FW
348302017-08-10 Florian Weimer <fweimer@redhat.com>
34831
34832 * malloc/malloc.c (get_max_fast): Reimplement as an inline
34833 function which calls __builtin_unreachable.
34834
bd80111e
MF
348352017-08-10 Mike FABIAN <mfabian@redhat.com>
34836
34837 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
34838 Indian monetary formatting
34839 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
34840 test cases.
34841
60e2846e
DL
348422017-08-09 Dmitry V. Levin <ldv@altlinux.org>
34843
68dc02d1
DL
34844 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
34845 Fix typo in comment.
34846
60e2846e
DL
34847 [BZ #21928]
34848 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
34849 PTRACE_SEIZE_DEVEL): Remove.
34850 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
34851 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34852 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34853 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34854 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34855
3d452dab
JM
348562017-08-09 Joseph Myers <joseph@codesourcery.com>
34857
24d9f53a
JM
34858 * posix/bits/types.h (__qaddr_t): Remove.
34859
3d452dab
JM
34860 [BZ #21457]
34861 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
34862 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34863 __glibc_reserved1.
34864 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
34865 (ucontext_t): Use __ctx with uc_flags.
34866 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
34867 (__ctxt): Likewise.
34868 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34869 __glibc_reserved1.
34870 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
34871 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34872 __glibc_reserved1.
34873 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
34874 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34875 __glibc_reserved1.
34876 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
34877 macro.
34878 (ucontext_t): Use __ctx with uc_flags.
34879 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
34880 (ucontext_t): Use __ctx with uc_flags.
34881 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
34882 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
34883 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
34884 (ucontext_t): Use __ctx with uc_flags.
34885 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
34886 undefine further down.
34887 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34888 __glibc_reserved1.
34889 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
34890 undefine further down.
34891 (ucontext_t): Use __ctx with uc_flags.
34892 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
34893 undefine further down.
34894 (ucontext_t): Use __ctx with uc_flags.
34895 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
34896 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
34897 Rename uc_pad to __glibc_reserved1.
34898 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
34899 undefine further down.
34900 (ucontext_t): Use __ctx with uc_flags.
34901 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
34902 further down.
34903 (ucontext_t): Use __ctx with uc_flags.
34904 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
34905 __ctx with uc_flags.
34906 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
34907 (ucontext_t): Use __ctx with uc_flags.
34908 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
34909 __ctx with uc_flags.
34910
30161498
FW
349112017-08-09 Florian Weimer <fweimer@redhat.com>
34912
34913 [BZ #21932]
34914 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
34915 before early return.
34916
5797b410
AS
349172017-08-09 Andreas Schwab <schwab@suse.de>
34918
139237a4 34919 [BZ #21041]
5797b410
AS
34920 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
34921 renamed alias.
34922
139237a4 34923 [BZ #21041]
40c06a3d
AS
34924 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
34925 tst-compat-forwarder.
34926 (modules-names): Add tst-compat-forwarder-mod.
34927 ($(objpfx)tst-compat-forwarder): Depend on
34928 $(objpfx)tst-compat-forwarder-mod.so.
34929 * nptl/tst-compat-forwarder.c: New file.
34930 * nptl/tst-compat-forwarder-mod.c: New file.
34931
36ada5f6
SP
349322017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
34933
0e02b510
SP
34934 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
34935 comments.
34936
36ada5f6
SP
34937 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
34938 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
34939 memcpy_falkor.
34940 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
34941 Bump.
34942 (__libc_ifunc_impl_list): Add __memcpy_falkor.
34943 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
34944 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
34945 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
34946 Add falkor.
34947 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
34948 New macro.
34949
9995c839
AZ
349502017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34951
34952 [BZ #759]
34953 * manual/setjmp.texi (getcontex): Document uc_stack value
34954 compatibility differences.
34955
f17a4233
JM
349562017-08-08 Joseph Myers <joseph@codesourcery.com>
34957
34958 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
34959 (old_malloc_hook): Likewise.
34960 (old_memalign_hook): Likewise.
34961 (old_realloc_hook): Likewise.
34962 (struct hdr): Likewise.
34963 (flood): Likewise.
34964 (freehook): Likewise.
34965 (mallochook): Likewise.
34966 (memalignhook): Likewise.
34967 (reallochook): Likewise.
34968 (mprobe): Likewise.
34969 * malloc/mtrace.c (mallwatch): Likewise.
34970 (tr_old_free_hook): Likewise.
34971 (tr_old_malloc_hook): Likewise.
34972 (tr_old_realloc_hook): Likewise.
34973 (tr_old_memalign_hook): Likewise.
34974 (tr_where): Likewise.
34975 (lock_and_info): Likewise.
34976 (tr_freehook): Likewise.
34977 (tr_mallochook): Likewise.
34978 (tr_reallochook): Likewise.
34979 (tr_memalignhook): Likewise.
34980 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
34981 * misc/mmap.c (__mmap): Likewise.
34982 * misc/mmap64.c (__mmap64): Likewise.
34983 * misc/mprotect.c (__mprotect): Likewise.
34984 * misc/msync.c (msync): Likewise.
34985 * misc/munmap.c (__munmap): Likewise.
34986 * posix/posix_madvise.c (posix_madvise): Likewise.
34987 * socket/send.c (__send): Likewise.
34988 * socket/sendto.c (__sendto): Likewise.
34989 * socket/setsockopt.c (__setsockopt): Likewise.
34990 * string/memcmp.c (__ptr_t): Remove macro.
34991 (MEMCMP): Use void * instead of ptr_t.
34992 * string/memrchr.c (__ptr_t): Remove macro.
34993 (__memrchr): Use void * instead of ptr_t.
34994 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
34995 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
34996 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
34997 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
34998 * sysdeps/mach/msync.c (msync): Likewise.
34999 * sysdeps/mach/munmap.c (__munmap): Likewise.
35000 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
35001 Likewise.
35002 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
35003 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
35004 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
35005 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
35006 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
35007 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
35008 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
35009 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
35010 Likewise.
35011 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
35012 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
35013 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
35014 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
35015 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
35016 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
35017 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
35018 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
35019 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
35020 Likewise.
35021 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
35022 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
35023 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
35024 (MEMCMP): Use void * instead of ptr_t.
35025 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
35026 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
35027
0df595b2
FW
350282017-08-08 Florian Weimer <fweimer@redhat.com>
35029
35030 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
35031 return statement.
35032
086df229
L
350332017-08-08 H.J. Lu <hongjiu.lu@intel.com>
35034
35035 [BZ #21913]
35036 * csu/libc-tls.c: Include <startup.h> first.
35037 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
35038 * elf/dl-tunables.c: Include <startup.h> first.
35039 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
35040 * sysdeps/generic/startup.h: New file.
35041 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
35042 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
35043 (I386_USE_SYSENTER): New. Defined to 0.
35044
fc5ad702
AS
350452017-08-08 Andreas Schwab <schwab@suse.de>
35046
35047 [BZ #21041]
35048 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
35049 * nptl/pt-system.c (system): Likewise.
35050
852d6312
AZ
350512017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35052
35053 [BZ #21780]
35054 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
35055 EOPNOTSUPP.
35056 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
35057 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
35058 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
35059 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
35060 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
35061 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
35062 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
35063
8b164787
JM
350642017-08-07 Joseph Myers <joseph@codesourcery.com>
35065
cd65836b
JM
35066 [BZ #21899]
35067 * bits/sigaction.h (struct sigaction): Define sa_handler and
35068 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
35069 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35070 [__USE_XOPEN_EXTENDED].
35071 (SA_RESTART): Likewise.
35072 (SA_NODEFER): Likewise.
35073 (SA_RESETHAND): Likewise.
35074 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
35075 (struct sigaction): Define sa_handler and sa_sigaction using union
35076 also for [__USE_XOPEN_EXTENDED].
35077 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35078 [__USE_XOPEN_EXTENDED].
35079 (SA_RESTART): Likewise.
35080 (SA_NODEFER): Likewise.
35081 (SA_RESETHAND): Likewise.
35082 * sysdeps/unix/sysv/linux/bits/sigaction.h
35083 (struct sigaction): Define sa_handler and sa_sigaction using union
35084 also for [__USE_XOPEN_EXTENDED].
35085 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35086 [__USE_XOPEN_EXTENDED].
35087 (SA_RESTART): Likewise.
35088 (SA_NODEFER): Likewise.
35089 (SA_RESETHAND): Likewise.
35090 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
35091 (struct sigaction): Define sa_handler and sa_sigaction using union
35092 also for [__USE_XOPEN_EXTENDED].
35093 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35094 [__USE_XOPEN_EXTENDED].
35095 (SA_RESTART): Likewise.
35096 (SA_NODEFER): Likewise.
35097 (SA_RESETHAND): Likewise.
35098 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
35099 (struct sigaction): Define sa_handler and sa_sigaction using union
35100 also for [__USE_XOPEN_EXTENDED].
35101 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35102 [__USE_XOPEN_EXTENDED].
35103 (SA_RESTART): Likewise.
35104 (SA_NODEFER): Likewise.
35105 (SA_RESETHAND): Likewise.
35106 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
35107 (struct sigaction): Define sa_handler and sa_sigaction using union
35108 also for [__USE_XOPEN_EXTENDED].
35109 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35110 [__USE_XOPEN_EXTENDED].
35111 (SA_RESTART): Likewise.
35112 (SA_NODEFER): Likewise.
35113 (SA_RESETHAND): Likewise.
35114 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
35115 (struct sigaction): Define sa_handler and sa_sigaction using union
35116 also for [__USE_XOPEN_EXTENDED].
35117 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35118 [__USE_XOPEN_EXTENDED].
35119 (SA_RESTART): Likewise.
35120 (SA_NODEFER): Likewise.
35121 (SA_RESETHAND): Likewise.
35122 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
35123 (struct sigaction): Define sa_handler and sa_sigaction using union
35124 also for [__USE_XOPEN_EXTENDED].
35125 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35126 [__USE_XOPEN_EXTENDED].
35127 (SA_RESTART): Likewise.
35128 (SA_NODEFER): Likewise. Define directly rather than as alias.
35129 (SA_RESETHAND): Likewise.
35130 (SA_INTERRUPT): Define only for [__USE_MISC].
35131 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
35132 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
35133 [__USE_MISC].
35134 (SA_STACK): Define only for [__USE_MISC].
35135 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
35136 (struct sigaction): Define sa_handler and sa_sigaction using union
35137 also for [__USE_XOPEN_EXTENDED].
35138 (SA_ONSTACK): Change [__USE_UNIX98] condition to
35139 [__USE_XOPEN_EXTENDED].
35140 (SA_RESTART): Likewise.
35141 (SA_NODEFER): Likewise.
35142 (SA_RESETHAND): Likewise.
35143 (SA_NOPTRACE): Define only for [__USE_MISC].
35144
d9fee042
JM
35145 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
35146 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
35147 (struct catalog_info): Likewise.
35148 * inet/htontest.c (lo): Likewise.
35149 (foo): Likewise.
35150 * inet/inet_lnaof.c (inet_lnaof): Likewise.
35151 * inet/inet_net.c (inet_network): Likewise.
35152 * inet/inet_netof.c (inet_netof): Likewise.
35153 * inet/rcmd.c (__ivaliduser): Likewise.
35154 (iruserok): Likewise.
35155 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
35156 * locale/programs/locale-spec.c (locale_special): Likewise.
35157 * nis/nis_findserv.c (struct findserv_req): Likewise.
35158 (__nis_findfastest_with_timeout): Likewise.
35159 * nss/test-netdb.c (test_network): Likewise.
35160 * resolv/inet_neta.c (inet_neta): Likewise.
35161 * resolv/ns_date.c (ns_datetosecs): Likewise.
35162 (SECS_PER_DAY): Likewise.
35163 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
35164 Likewise.
35165 * resolv/res_comp.c (__putlong): Likewise.
35166 (__putshort): Likewise.
35167 (_getlong): Likewise.
35168 (_getshort): Likewise.
35169 * resolv/res_debug.c (p_time): Likewise.
35170 (precsize_ntoa): Likewise.
35171 (precsize_aton): Likewise.
35172 (latlon2ul): Likewise.
35173 (loc_aton): Likewise.
35174 (loc_ntoa): Likewise.
35175 * resolv/res_hconf.c (struct netaddr): Likewise.
35176 (_res_hconf_reorder_addrs): Likewise.
35177 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
35178 (clnttcp_control): Likewise.
35179 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
35180 (clntudp_control): Likewise.
35181 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
35182 (clntunix_control): Likewise.
35183 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
35184 * sunrpc/rpc/auth.h (union des_block): Likewise.
35185 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
35186 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
35187 (xdrrec_create): Likewise.
35188 (xdrrec_endofrecord): Likewise.
35189 (flush_out): Likewise.
35190 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
35191 (xdrstdio_putlong): Likewise.
35192 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
35193 Likewise.
35194
8b164787
JM
35195 * misc/sys/cdefs.h (__long_double_t): Remove.
35196 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
35197 instead of __long_double_t,
35198 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
35199
7ee38e60
SP
352002017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
35201
dd3e86ad
SP
35202 * benchtests/scripts/compare_strings.py: Avoid display error when
35203 running on a text terminal.
35204
b115e819
SP
35205 * benchtests/scripts/compare_strings.py (main): Add an
35206 optional -base option.
35207 (process_results): New argument base_func.
35208
7ee38e60
SP
35209 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
35210 hardcoding memcpy.
35211 * benchtests/bench-memcpy-large.c (test_name): Likewise.
35212 * benchtests/bench-memcpy-random.c (test_name): Likewise.
35213
d5afb385
AS
352142017-08-07 Andreas Schwab <schwab@suse.de>
35215
35216 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
35217 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
35218 * intl/Makefile ($(objpfx)tst-gettext.out)
35219 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
35220 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
35221 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
35222 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
35223 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
35224 * posix/Makefile ($(objpfx)globtest.out)
35225 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
35226 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
35227 ($(objpfx)tst-printf.out): Likewise.
35228 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
35229 ($(objpfx)tst-setcontext3.out): Likewise.
35230
57a72fa3
L
352312017-08-07 H.J. Lu <hongjiu.lu@intel.com>
35232
35233 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35234 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
35235 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
35236 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
35237 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
35238 and mptan-fma.
35239 (CFLAGS-doasin-fma.c): New.
35240 (CFLAGS-dosincos-fma.c): Likewise.
35241 (CFLAGS-e_asin-fma.c): Likewise.
35242 (CFLAGS-e_atan2-fma.c): Likewise.
35243 (CFLAGS-e_exp-fma.c): Likewise.
35244 (CFLAGS-e_log-fma.c): Likewise.
35245 (CFLAGS-e_pow-fma.c): Likewise.
35246 (CFLAGS-halfulp-fma.c): Likewise.
35247 (CFLAGS-mpa-fma.c): Likewise.
35248 (CFLAGS-mpatan-fma.c): Likewise.
35249 (CFLAGS-mpatan2-fma.c): Likewise.
35250 (CFLAGS-mpexp-fma.c): Likewise.
35251 (CFLAGS-mplog-fma.c): Likewise.
35252 (CFLAGS-mpsqrt-fma.c): Likewise.
35253 (CFLAGS-mptan-fma.c): Likewise.
35254 (CFLAGS-s_atan-fma.c): Likewise.
35255 (CFLAGS-sincos32-fma.c): Likewise.
35256 (CFLAGS-slowexp-fma.c): Likewise.
35257 (CFLAGS-slowpow-fma.c): Likewise.
35258 (CFLAGS-s_sin-fma.c): Likewise.
35259 (CFLAGS-s_tan-fma.c): Likewise.
35260 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
35261 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
35262 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
35263 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
35264 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
35265 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
35266 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
35267 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
35268 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
35269 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
35270 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
35271 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
35272 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
35273 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
35274 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
35275 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
35276 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
35277 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
35278 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
35279 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
35280 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
35281 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
35282 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
35283 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
35284 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
35285 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35286 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35287 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
35288 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35289 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35290 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35291
219dd320
JM
352922017-08-04 Joseph Myers <joseph@codesourcery.com>
35293
35294 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
35295 (min_of_type_f): New macro.
35296 (min_of_type_): Likewise.
35297 (min_of_type_l): Likewise.
35298 (min_of_type_f128): Likewise.
35299 (min_of_type): Define using __MATH_TG and taking an expression
35300 argument.
35301 (math_check_force_underflow): Pass expression instead of type to
35302 min_of_type.
35303 (math_check_force_underflow_nonneg): Likewise.
35304
64d4dea6
L
353052017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35306
35307 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
35308 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
35309 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
35310
973da22a
L
353112017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35312
35313 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35314 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
35315 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
35316 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
35317 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
35318 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
35319 memcpy_chk-nonshared, mempcpy_chk-nonshared,
35320 memmove_chk-nonshared and memset_chk-nonshared
35321 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
35322 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
35323 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
35324 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
35325 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
35326 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
35327 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
35328 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
35329 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
35330 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
35331 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
35332 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
35333 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
35334 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
35335 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
35336 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
35337 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
35338 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
35339 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
35340 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
35341 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
35342 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
35343 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
35344 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
35345 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
35346 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
35347 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
35348 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
35349 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
35350 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
35351 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
35352 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
35353 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
35354 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
35355 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
35356 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
35357 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
35358 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
35359 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
35360 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
35361 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
35362 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
35363 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
35364 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
35365 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
35366 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
35367 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
35368 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
35369 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
35370 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
35371 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
35372 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
35373 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
35374 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
35375 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
35376 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
35377 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
35378 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
35379 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
35380 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
35381 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
35382 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
35383 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
35384 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
35385 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
35386 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
35387 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
35388 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
35389 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
35390 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
35391 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
35392 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35393 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35394 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35395 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35396 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35397 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35398 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35399 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35400 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35401 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35402 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35403 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35404 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35405 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35406 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35407 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35408 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35409 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35410 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35411 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35412 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35413 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35414 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35415 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35416 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35417 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35418 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35419 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35420 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35421 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35422 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35423 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35424 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35425 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35426 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35427 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35428 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35429
8537e0f6
L
354302017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35431
35432 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
35433 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
35434 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
35435 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
35436 svml_d_log2_core-sse2, svml_d_log4_core-sse,
35437 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
35438 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
35439 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
35440 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
35441 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
35442 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
35443 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
35444 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
35445 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
35446 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
35447 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
35448 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
35449 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
35450 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
35451 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
35452 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
35453 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
35454 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
35455 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
35456 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
35457 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
35458 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
35459 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
35460 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
35461 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
35462 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
35463 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
35464 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
35465 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
35466 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
35467 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
35468 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
35469 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
35470 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
35471 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
35472 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
35473 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
35474 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
35475 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
35476 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
35477 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
35478 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
35479 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
35480 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
35481 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
35482 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
35483 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
35484 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
35485 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
35486 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
35487 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
35488 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
35489 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
35490 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
35491 ...
35492 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
35493 Don't include <sysdep.h> nor <init-arch.h>.
35494 (_ZGVbN2v_cos): Removed.
35495 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
35496 ...
35497 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
35498 Don't include <sysdep.h> nor <init-arch.h>.
35499 (_ZGVdN4v_cos): Removed.
35500 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
35501 ...
35502 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
35503 Don't include <sysdep.h> nor <init-arch.h>.
35504 (_ZGVeN8v_cos): Removed.
35505 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
35506 ...
35507 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
35508 Don't include <sysdep.h> nor <init-arch.h>.
35509 (_ZGVbN2v_exp): Removed.
35510 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
35511 ...
35512 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
35513 Don't include <sysdep.h> nor <init-arch.h>.
35514 (_ZGVdN4v_exp): Removed.
35515 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
35516 ...
35517 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
35518 Don't include <sysdep.h> nor <init-arch.h>.
35519 (_ZGVeN8v_exp): Removed.
35520 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
35521 ...
35522 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
35523 Don't include <sysdep.h> nor <init-arch.h>.
35524 (_ZGVbN2v_log): Removed.
35525 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
35526 ...
35527 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
35528 Don't include <sysdep.h> nor <init-arch.h>.
35529 (_ZGVdN4v_log): Removed.
35530 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
35531 ...
35532 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
35533 Don't include <sysdep.h> nor <init-arch.h>.
35534 (_ZGVeN8v_log): Removed.
35535 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
35536 ...
35537 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
35538 Don't include <sysdep.h> nor <init-arch.h>.
35539 (_ZGVbN2vv_pow): Removed.
35540 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
35541 ...
35542 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
35543 Don't include <sysdep.h> nor <init-arch.h>.
35544 (_ZGVdN4vv_pow): Removed.
35545 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
35546 ...
35547 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
35548 Don't include <sysdep.h> nor <init-arch.h>.
35549 (_ZGVeN8vv_pow): Removed.
35550 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
35551 ...
35552 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
35553 Don't include <sysdep.h> nor <init-arch.h>.
35554 (_ZGVbN2v_sin): Removed.
35555 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
35556 ...
35557 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
35558 Don't include <sysdep.h> nor <init-arch.h>.
35559 (_ZGVbN4v_sin): Removed.
35560 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
35561 ...
35562 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
35563 Don't include <sysdep.h> nor <init-arch.h>.
35564 (_ZGVbN8v_sin): Removed.
35565 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
35566 ...
35567 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
35568 Don't include <sysdep.h> nor <init-arch.h>.
35569 (_ZGVbN2vvv_sincos): Removed.
35570 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
35571 ...
35572 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
35573 Don't include <sysdep.h> nor <init-arch.h>.
35574 (_ZGVdN4vvv_sincos): Removed.
35575 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
35576 ...
35577 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
35578 Don't include <sysdep.h> nor <init-arch.h>.
35579 (_ZGVeN8vvv_sincos): Removed.
35580 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
35581 ...
35582 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
35583 Don't include <sysdep.h> nor <init-arch.h>.
35584 (_ZGVeN16v_cosf): Removed.
35585 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
35586 ...
35587 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
35588 Don't include <sysdep.h> nor <init-arch.h>.
35589 (_ZGVbN4v_cosf): Removed.
35590 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
35591 ...
35592 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
35593 Don't include <sysdep.h> nor <init-arch.h>.
35594 (_ZGVdN8v_cosf): Removed.
35595 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
35596 ...
35597 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
35598 Don't include <sysdep.h> nor <init-arch.h>.
35599 (_ZGVeN16v_expf): Removed.
35600 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
35601 ...
35602 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
35603 Don't include <sysdep.h> nor <init-arch.h>.
35604 (_ZGVbN4v_expf): Removed.
35605 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
35606 ...
35607 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
35608 Don't include <sysdep.h> nor <init-arch.h>.
35609 (_ZGVdN8v_expf): Removed.
35610 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
35611 ...
35612 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
35613 Don't include <sysdep.h> nor <init-arch.h>.
35614 (_ZGVeN16v_logf): Removed.
35615 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
35616 ...
35617 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
35618 Don't include <sysdep.h> nor <init-arch.h>.
35619 (_ZGVbN4v_logf): Removed.
35620 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
35621 ...
35622 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
35623 Don't include <sysdep.h> nor <init-arch.h>.
35624 (_ZGVdN8v_logf): Removed.
35625 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
35626 ...
35627 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
35628 Don't include <sysdep.h> nor <init-arch.h>.
35629 (_ZGVeN16vv_powf): Removed.
35630 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
35631 ...
35632 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
35633 Don't include <sysdep.h> nor <init-arch.h>.
35634 (_ZGVbN4vv_powf): Removed.
35635 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
35636 ...
35637 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
35638 Don't include <sysdep.h> nor <init-arch.h>.
35639 (_ZGVdN8vv_powf): Removed.
35640 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
35641 ...
35642 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
35643 Don't include <sysdep.h> nor <init-arch.h>.
35644 (_ZGVeN16vvv_sincosf): Removed.
35645 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
35646 ...
35647 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
35648 Don't include <sysdep.h> nor <init-arch.h>.
35649 (_ZGVbN4vvv_sincosf): Removed.
35650 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
35651 ...
35652 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
35653 Don't include <sysdep.h> nor <init-arch.h>.
35654 (_ZGVdN8vvv_sincosf): Removed.
35655 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
35656 ...
35657 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
35658 Don't include <sysdep.h> nor <init-arch.h>.
35659 (_ZGVeN16v_sinf): Removed.
35660 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
35661 ...
35662 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
35663 Don't include <sysdep.h> nor <init-arch.h>.
35664 (_ZGVbN4v_sinf): Removed.
35665 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
35666 ...
35667 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
35668 Don't include <sysdep.h> nor <init-arch.h>.
35669 (_ZGVdN8v_sinf): Removed.
35670
10a87ca4
L
356712017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35672
35673 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35674 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
35675 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
35676 s_rint-sse4_1 and s_rintf-sse4_1.
35677 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
35678 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
35679 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
35680 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
35681 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
35682 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
35683 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
35684 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
35685 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
35686 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
35687 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
35688 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35689 (__ceil): Removed.
35690 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
35691 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
35692 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35693 (__ceilf): Removed.
35694 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
35695 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
35696 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35697 (__floor): Removed.
35698 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
35699 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
35700 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35701 (__floorf): Removed.
35702 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
35703 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
35704 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35705 (__nearbyint): Removed.
35706 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
35707 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
35708 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35709 (__nearbyintf): Removed.
35710 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
35711 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
35712 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35713 (__rint): Removed.
35714 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
35715 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
35716 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35717 (__rintf): Removed.
35718
1e8e527d
L
357192017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35720
35721 * sysdeps/i386/start.S (_start): Check Check PIC instead of
35722 SHARED. Avoid dynamic relocation against main in static PIE.
35723
e13daad7
L
357242017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35725
35726 [BZ #21815]
35727 * elf/Makefile (CFLAGS-tst-prelink.c): New.
35728 (LDFLAGS-tst-prelink): Likewise.
35729
627c69c8
L
357302017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35731
35732 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
35733 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
35734 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
35735 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
35736 (INTERNAL_SYSCALL_NCS): Likewise.
35737 (LOADARGS_1): Likewise.
35738 (LOADARGS_5): Likewise.
35739 (RESTOREARGS_1): Likewise.
35740 (RESTOREARGS_5): Likewise.
35741
fc11ff8d
L
357422017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35743
35744 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
35745 (MEMPCPY_SYMBOL): Likewise.
35746 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
35747 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
35748 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
35749 in libc.a.
35750 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35751 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
35752 Likewise.
35753 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
35754 (__hidden_ver1): Don't use in libc.a.
35755 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
35756 (__mempcpy): Don't create a weak alias in libc.a.
35757 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
35758 libc.a.
35759 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
35760 (__hidden_ver1): Don't use in libc.a.
35761
19f1a11e
L
357622017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35763
35764 * config.make.in (have-insert): New.
35765 * configure.ac (libc_cv_insert): New. Set to yes if linker
35766 supports INSERT in linker script.
35767 (AC_SUBST(libc_cv_insert): New.
35768 * configure: Regenerated.
35769 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
35770 if $(have-insert) == yes.
35771
3093fd5e
L
357722017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35773
35774 * elf/Makefile (tests): Add vismain only if
35775 $(have-protected-data) == yes.
35776 (tests-pie): Likewise.
35777
d2cf37c0
L
357782017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35779
35780 [BZ #21871]
35781 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
35782 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
35783
c8a0e6ec
L
357842017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35785
35786 [BZ #21790]
35787 * sysdeps/i386/i586/memset.S
35788 (__memset_zero_constant_len_parameter): Removed.
35789 * sysdeps/i386/i686/memset.S
35790 (__memset_zero_constant_len_parameter): Likewise.
35791 * sysdeps/i386/i686/multiarch/memset_chk.S
35792 (__memset_zero_constant_len_parameter): Likewise.
35793 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
35794 Likewise.
35795
2b34e271
AJ
357962017-08-03 Aurelien Jarno <aurelien@aurel32.net>
35797
35798 * stdlib/getentropy.c (getentropy): Change return type to int.
35799
144bdab0
AJ
358002017-08-03 Aurelien Jarno <aurelien@aurel32.net>
35801
35802 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
35803
24ab7723
JM
358042017-08-03 Joseph Myers <joseph@codesourcery.com>
35805
35806 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
35807 u_intN_t.
35808 * math/s_nexttowardf.c (__nexttowardf): Likewise.
35809 * sysdeps/generic/math_private.h (ieee_double_shape_type):
35810 Likewise.
35811 (ieee_float_shape_type): Likewise.
35812 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
35813 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
35814 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
35815 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35816 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
35817 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
35818 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
35819 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
35820 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
35821 Likewise.
35822 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
35823 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
35824 (__ieee754_yn): Likewise.
35825 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
35826 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
35827 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
35828 Likewise.
35829 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
35830 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
35831 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
35832 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
35833 (__erfc): Likewise.
35834 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
35835 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
35836 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
35837 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
35838 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
35839 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
35840 Likewise.
35841 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
35842 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
35843 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
35844 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
35845 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
35846 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
35847 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
35848 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
35849 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
35850 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
35851 (__issignaling): Likewise.
35852 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
35853 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
35854 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
35855 Likewise.
35856 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35857 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
35858 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
35859 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
35860 Likewise.
35861 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
35862 Likewise.
35863 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
35864 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
35865 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
35866 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
35867 (__erfcf): Likewise.
35868 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
35869 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
35870 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
35871 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
35872 Likewise.
35873 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
35874 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
35875 Likewise.
35876 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
35877 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
35878 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
35879 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
35880 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
35881 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
35882 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
35883 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
35884 Likewise.
35885 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
35886 Likewise.
35887 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
35888 Likewise.
35889 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
35890 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
35891 Likewise.
35892 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
35893 Likewise.
35894 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
35895 (__ieee754_ynl): Likewise.
35896 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
35897 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
35898 Likewise.
35899 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
35900 Likewise.
35901 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
35902 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
35903 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35904 Likewise.
35905 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
35906 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
35907 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
35908 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
35909 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
35910 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
35911 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
35912 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
35913 Likewise.
35914 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
35915 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
35916 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
35917 Likewise.
35918 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
35919 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
35920 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
35921 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
35922 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
35923 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
35924 Likewise.
35925 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
35926 Likewise.
35927 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35928 Likewise.
35929 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35930 Likewise.
35931 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
35932 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
35933 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35934 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
35935 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
35936 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
35937 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
35938 Likewise.
35939 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
35940 Likewise.
35941 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
35942 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35943 Likewise.
35944 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
35945 (__ieee754_remainderl): Likewise.
35946 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35947 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35948 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
35949 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
35950 Likewise.
35951 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
35952 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35953 Likewise.
35954 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35955 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
35956 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
35957 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
35958 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
35959 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
35960 Likewise.
35961 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
35962 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
35963 (__ieee754_y0l): Likewise.
35964 (pzero): Likewise.
35965 (qzero): Likewise.
35966 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
35967 (__ieee754_y1l): Likewise.
35968 (pone): Likewise.
35969 (qone): Likewise.
35970 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
35971 (__ieee754_ynl): Likewise.
35972 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
35973 (__ieee754_lgammal_r): Likewise.
35974 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
35975 Likewise.
35976 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
35977 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
35978 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
35979 (__erfcl): Likewise.
35980 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
35981 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
35982 Likewise.
35983 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
35984 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
35985 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
35986 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
35987 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
35988 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35989 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35990 Likewise.
35991 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
35992 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
35993 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
35994 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
35995 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35996 Likewise.
35997 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
35998 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
35999 Likewise.
36000 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
36001 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
36002 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
36003 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
36004 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
36005
964263bb
FW
360062017-08-03 Florian Weimer <fweimer@redhat.com>
36007
36008 [BZ #21885]
36009 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
36010 on memory allocation failure.
36011
e98c925f
AM
360122017-08-03 Alan Modra <amodra@gmail.com>
36013
36014 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
36015 tst-tlsopt-powerpc.c with function name change and no test harness.
36016 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
36017 Call tls_get_addr_opt_test.
36018 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
36019 (modules-names): Add mod-tlsopt-powerpc.
36020 (mod-tlsopt-powerpc.so-no-z-defs): Define.
36021 (tst-tlsopt-powerpc): Depend on .so.
36022 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
36023 define. Expand use in TLS_GD and TLS_LD.
36024
8ee1abdb
ST
360252017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36026
36027 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
36028 function.
3da5756e 36029 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 36030
42df8d59
JM
360312017-08-02 Joseph Myers <joseph@codesourcery.com>
36032
36033 [BZ #21686]
36034 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
36035 comparing size with that of double.
36036 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
36037 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
36038 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
36039 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
36040 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36041 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
36042 unsigned __int128 types.
36043
b7f95f49
SE
360442017-08-02 Steve Ellcey <sellcey@cavium.com>
36045
36046 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
36047 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
36048 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
36049 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
36050 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
36051
5b736bc9
L
360522017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36053
36054 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
36055
dfc93c41
L
360562017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36057
36058 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
36059 of SHARED.
36060 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
36061 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36062 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36063 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36064 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36065 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36066 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36067
2fee621d
JM
360682017-08-02 Joseph Myers <joseph@codesourcery.com>
36069
36070 [BZ #21685]
36071 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
36072 bit-field expressions passed to sizeof or typeof.
36073 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36074 (__TGMATH_F128): Likewise.
36075 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
36076 (__TGMATH_CF128): Likewise.
36077 (__TGMATH_UNARY_REAL_ONLY): Likewise.
36078 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
36079 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
36080 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
36081 (__TGMATH_BINARY_REAL_ONLY): Likewise.
36082 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
36083 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
36084 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
36085 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
36086 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
36087 (__TGMATH_UNARY_REAL_IMAG): Likewise.
36088 (__TGMATH_UNARY_IMAG): Likewise.
36089 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
36090 (__TGMATH_BINARY_REAL_IMAG): Likewise.
36091 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
36092 type.
36093 (define_vars_for_type): Handle bit_field type specially.
36094 (Tests.__init__): Declare structure with bit-field element.
36095
b358255f
L
360962017-08-02 H.J. Lu <hongjiu.lu@intel.com>
36097
36098 [BZ #21791]
36099 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
36100 (MEMCPY_CHK): Define only if SHARED is defined.
36101 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
36102 Likewise.
36103 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
36104 Likewise.
edf66db1
SP
36105
36106See ChangeLog.18 for earlier changes.