]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
586f9dc4b81588332801534455a4547fdf44f7de
[thirdparty/glibc.git] / ChangeLog
1 2019-08-15 Joseph Myers <joseph@codesourcery.com>
2
3 * math/bits/mathcalls.h
4 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
5 (totalorder): Take pointer arguments.
6 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
7 (totalordermag): Likewise.
8 * manual/arith.texi (totalorder): Likewise.
9 (totalorderf): Likewise.
10 (totalorderl): Likewise.
11 (totalorderfN): Likewise.
12 (totalorderfNx): Likewise.
13 (totalordermag): Likewise.
14 (totalordermagf): Likewise.
15 (totalordermagl): Likewise.
16 (totalordermagfN): Likewise.
17 (totalordermagfNx): Likewise.
18 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): Remove macro.
19 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder): Likewise.
20 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag): Likewise.
21 * math/Versions (GLIBC_2.31): Add totalorder, totalorderf,
22 totalorderl, totalordermag, totalordermagf, totalordermagl,
23 totalorderf32, totalorderf64, totalorderf32x, totalordermagf32,
24 totalordermagf64, totalordermagf32x, totalorderf64x,
25 totalordermagf64x, totalorderf128 and totalordermagf128.
26 * math/Makefile (libm-test-funcs-noauto): Add compat_totalorder
27 and compat_totalordermag.
28 (libm-test-funcs-compat): New variable.
29 (libm-tests-compat): Likewise.
30 (tests): Do not include compat tests.
31 (tests-internal): Add compat tests.
32 ($(foreach t,$(libm-tests-base),
33 $(objpfx)$(t)-compat_totalorder.o)): Depend
34 on $(objpfx)libm-test-totalorder.c.
35 ($(foreach t,$(libm-tests-base),
36 $(objpfx)$(t)-compat_totalordermag.o): Depend on
37 $(objpfx)libm-test-totalordermag.c.
38 (tgmath3-macros): Remove totalorder and totalordermag.
39 * math/libm-test-compat_totalorder.inc: New file.
40 * math/libm-test-compat_totalordermag.inc: Likewise.
41 * math/libm-test-driver.c (struct test_ff_i_data): Update comment.
42 (RUN_TEST_fpfp_b): New macro.
43 (RUN_TEST_LOOP_fpfp_b): Likewise.
44 * math/libm-test-totalorder.inc (totalorder_test_data): Use
45 TEST_fpfp_b.
46 (totalorder_test): Condition on [!COMPAT_TEST].
47 (do_test): Likewise.
48 * math/libm-test-totalordermag.inc (totalordermag_test_data): Use
49 TEST_fpfp_b.
50 (totalordermag_test): Condition on [!COMPAT_TEST].
51 (do_test): Likewise.
52 * math/gen-tgmath-tests.py (Tests.add_all_tests): Remove
53 totalorder and totalordermag.
54 * math/test-tgmath.c (NCALLS): Change to 132.
55 (F(compile_test)): Do not call totalorder or totalordermag.
56 (F(totalorder)): Remove.
57 (F(totalordermag)): Likewise.
58 * include/float.h (__STDC_WANT_IEC_60559_TYPES_EXT__): Do not
59 define if [__STDC_WANT_IEC_60559_TYPES_EXT__].
60 * include/setjmp.h [!_ISOMAC] (STR_HELPER): Rename to
61 SJSTR_HELPER.
62 [!_ISOMAC] (STR): Rename to SJSTR. Update call to STR_HELPER.
63 [!_ISOMAC] (TEST_SIZE): Update call to STR.
64 [!_ISOMAC] (TEST_ALIGN): Likewise.
65 [!_ISOMAC] (TEST_OFFSET): Likewise.
66 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include <shlib-compat.h>
67 and <first-versions.h>.
68 (__totalorder): Take pointer arguments. Add symbol versions and
69 compat symbols.
70 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
71 <shlib-compat.h> and <first-versions.h>.
72 (__totalordermag): Take pointer arguments. Add symbol versions
73 and compat symbols.
74 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
75 <shlib-compat.h> and <first-versions.h>.
76 (__totalorder): Take pointer arguments. Add symbol versions and
77 compat symbols.
78 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
79 <shlib-compat.h> and <first-versions.h>.
80 (__totalordermag): Take pointer arguments. Add symbol versions
81 and compat symbols.
82 * sysdeps/ieee754/float128/float128_private.h
83 (__totalorder_compatl): New macro.
84 (__totalordermag_compatl): Likewise.
85 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include <shlib-compat.h>
86 and <first-versions.h>.
87 (__totalorderf): Take pointer arguments. Add symbol versions and
88 compat symbols.
89 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
90 <shlib-compat.h> and <first-versions.h>.
91 (__totalordermagf): Take pointer arguments. Add symbol versions
92 and compat symbols.
93 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
94 <shlib-compat.h> and <first-versions.h>.
95 (__totalorderl): Take pointer arguments. Add symbol versions and
96 compat symbols.
97 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
98 <shlib-compat.h> and <first-versions.h>.
99 (__totalordermagl): Take pointer arguments. Add symbol versions
100 and compat symbols.
101 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
102 <shlib-compat.h>.
103 (__totalorderl): Take pointer arguments. Add symbol versions and
104 compat symbols.
105 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
106 <shlib-compat.h>.
107 (__totalordermagl): Take pointer arguments. Add symbol versions
108 and compat symbols.
109 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
110 <shlib-compat.h> and <first-versions.h>.
111 (__totalorderl): Take pointer arguments. Add symbol versions and
112 compat symbols.
113 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
114 <shlib-compat.h> and <first-versions.h>.
115 (__totalordermagl): Take pointer arguments. Add symbol versions
116 and compat symbols.
117 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c (totalorderl): Take
118 pointer arguments.
119 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c (totalordermagl):
120 Likewise.
121 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
122 (do_test): Update calls to totalorderl and totalordermagl.
123 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
124 Update calls to totalorderl and totalordermagl.
125 * sysdeps/mach/hurd/i386/libm.abilist: Update.
126 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
127 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
128 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
129 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
130 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
131 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
132 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
133 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
134 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
135 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
136 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
137 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
138 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
140 Likewise.
141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
142 Likewise.
143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libm.abilist:
144 Likewise.
145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libm.abilist:
146 Likewise.
147 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
148 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
149 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
150 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
151 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
152 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
153 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
154 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
155
156 2019-08-15 Florian Weimer <fweimer@redhat.com>
157
158 [BZ #24899]
159 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Add
160 __attribute_nonstring__ to ut_line, ut_id, ut_user, ut_host.
161 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmpx):
162 Likewise.
163 * sysdeps/gnu/bits/utmp.h (struct utmp): Add
164 __attribute_nonstring__ to ut_id.
165 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmp):
166 Likewise.
167
168 2019-08-15 Florian Weimer <fweimer@redhat.com>
169
170 [BZ #24880]
171 * login/utmp_file.c (file_locking_failed): Use struct flock64.
172 (file_locking_unlock): Likewise.
173
174 2019-08-15 Florian Weimer <fweimer@redhat.com>
175
176 [BZ #24879]
177 login: Disarm timer after utmp lock acquisition.
178 * login/utmp_file.c (struct file_locking): Remove.
179 (try_file_lock): Adjust.
180 (file_lock_restore): Remove function.
181 (__libc_getutent_r): .
182 (internal_getut_r): Likewise.
183 (__libc_getutline_r): Likewise.
184 (__libc_pututline): Likewise.
185 (__libc_updwtmp): Likewise.
186
187 2019-08-15 Florian Weimer <fweimer@redhat.com>
188
189 nptl: Remove pthread_self compatibility symbol from libpthread.
190 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_self,
191 pthread_equal.
192 * nptl/Makefile (libpthread-routines): Remove compat-pthread_self.
193 * nptl/compat-pthread_self.c: Remove file.
194 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
195 Remove pthread_self.
196 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
197 Likewise.
198 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
199 Likewise.
200 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
201 Likewise.
202 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
203 Likewise.
204 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
205 Likewise.
206 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
207 (GLIBC_2.4): Likewise.
208 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
209 (GLIBC_2.0): Likewise.
210 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
211 (GLIBC_2.18): Likewise.
212 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
213 (GLIBC_2.0): Likewise.
214 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
215 (GLIBC_2.0): Likewise.
216 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
217 Likewise.
218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
219 (GLIBC_2.0): Likewise.
220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
221 (GLIBC_2.3): Likewise.
222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
223 (GLIBC_2.17): Likewise.
224 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
225 (GLIBC_2.0): Likewise.
226 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
227 (GLIBC_2.2): Likewise.
228 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
229 Likewise.
230 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
231 (GLIBC_2.0): Likewise.
232 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
233 (GLIBC_2.2): Likewise.
234 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
235 (GLIBC_2.2.5): Likewise.
236 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
237 (GLIBC_2.16): Likewise.
238
239 2019-08-15 Florian Weimer <fweimer@redhat.com>
240
241 nptl: Move pthread_attr_destroy implementation into libc.
242 * nptl/Makefile (routines): Add pthread_attr_destroy.
243 (libpthread-routines): Remove pthread_attr_destroy.
244 * nptl/Versions (libpthread GLIBC_2.0): Remove
245 pthread_attr_destroy.
246 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Check for
247 libc compat version instead of libpthread compat version.
248 * nptl/forward.c (pthread_attr_destroy): Remove definition.
249 * nptl/nptl-init.c (pthread_functions): Remove initializer for
250 ptr_pthread_attr_destroy.
251 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
252 Remove ptr_pthread_attr_destroy member.
253 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
254 Remove pthread_attr_destroy.
255 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
256 Likewise.
257 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
258 Likewise.
259 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
260 Likewise.
261 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
262 Likewise.
263 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
264 Likewise.
265 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
266 Likewise.
267 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
268 (GLIBC_2.4): Likewise.
269 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
270 (GLIBC_2.0): Likewise.
271 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
272 (GLIBC_2.18): Likewise.
273 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
274 (GLIBC_2.0): Likewise.
275 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
276 (GLIBC_2.0): Likewise.
277 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
278 Likewise.
279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
280 (GLIBC_2.0): Likewise.
281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
282 (GLIBC_2.3): Likewise.
283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
284 (GLIBC_2.17): Likewise.
285 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
286 (GLIBC_2.27): Likewise.
287 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
288 (GLIBC_2.0): Likewise.
289 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
290 (GLIBC_2.2): Likewise.
291 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
292 Likewise.
293 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
294 (GLIBC_2.0): Likewise.
295 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
296 (GLIBC_2.2): Likewise.
297 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
298 (GLIBC_2.2.5): Likewise.
299 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
300 (GLIBC_2.16): Likewise.
301
302 2019-08-15 Andreas Schwab <schwab@suse.de>
303
304 * sysdeps/i386/fpu/libm-test-ulps: Update.
305
306 2019-08-15 Florian Weimer <fweimer@redhat.com>
307
308 * malloc/Makefile (tests): Only add tst-mxfast for
309 $(have-tunables).
310 * malloc/tst-mxfast.c: Fix copyright year.
311 (do_test): Fix GNU style issues. Use TEST_COMPARE instead of
312 assert for checks.
313
314 2019-08-15 Florian Weimer <fweimer@redhat.com>
315
316 * login/utmp_file.c (__libc_updwtmp): Unlock the right file
317 descriptor.
318 * login/Makefile (tests): Add tst-updwtmpx.
319 * login/tst-updwtmpx.c: New file.
320
321 2019-08-15 Florian Weimer <fweimer@redhat.com>
322
323 nptl: Move pthread_equal implementation into libc.
324 * nptl/Makefile (routines): Add pthread_equal.
325 * nptl/forward.c (pthread_equal): Remove definition.
326 * nptl/nptl-init.c (pthread_functions): Remove initializer for
327 ptr_pthread_equal.
328 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
329 Remove ptr_pthread_equal member.
330 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
331 Remove pthread_equal.
332 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
333 Likewise.
334 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
335 Likewise.
336 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
337 Likewise.
338 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
339 Likewise.
340 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
341 Likewise.
342 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
343 Likewise.
344 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
345 (GLIBC_2.4): Likewise.
346 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
347 (GLIBC_2.0): Likewise.
348 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
349 (GLIBC_2.18): Likewise.
350 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
351 (GLIBC_2.0): Likewise.
352 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
353 (GLIBC_2.0): Likewise.
354 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
355 Likewise.
356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
357 (GLIBC_2.0): Likewise.
358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
359 (GLIBC_2.3): Likewise.
360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
361 (GLIBC_2.17): Likewise.
362 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
363 (GLIBC_2.27): Likewise.
364 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
365 (GLIBC_2.0): Likewise.
366 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
367 (GLIBC_2.2): Likewise.
368 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
369 Likewise.
370 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
371 (GLIBC_2.0): Likewise.
372 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
373 (GLIBC_2.2): Likewise.
374 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
375 (GLIBC_2.2.5): Likewise.
376 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
377 (GLIBC_2.16): Likewise.
378
379 2019-08-14 Florian Weimer <fweimer@redhat.com>
380
381 * support/support_descriptors.c: Include <support/descriptors.h>.
382
383 2019-08-14 Feng Xue <fxue@os.amperecomputing.com>
384
385 * sysdeps/aarch64/multiarch/memset_base64.S (DC_ZVA_THRESHOLD):
386 Disable DC ZVA code if this macro is defined as zero.
387 * sysdeps/aarch64/multiarch/memset_emag.S (DC_ZVA_THRESHOLD):
388 Change to zero to disable using DC ZVA.
389
390 2019-08-13 Joseph Myers <joseph@codesourcery.com>
391
392 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT):
393 Update comment.
394 (__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X): New macro.
395 * bits/math-finite.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]: Change
396 to [__GLIBC_USE (IEC_60559_FUNCS_EXT_C2X)].
397 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]:
398 Likewise.
399
400 2019-08-13 Florian Weimer <fweimer@redhat.com>
401
402 * login/utmp_file.c (LOCK_FILE, LOCKING_FAILED, UNLOCK_FILE):
403 Remove macros.
404 (struct file_locking): New.
405 (try_file_lock, file_unlock, file_lock_restore): New functions.
406 (__libc_getutent_r): Use the new functions.
407 (internal_getut_r): Likewise.
408 (__libc_getutline_r): Likewise.
409 (__libc_pututline): Likewise.
410 (__libc_updwtmp): Likewise.
411
412 2019-08-13 Joseph Myers <joseph@codesourcery.com>
413
414 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): Update
415 comment.
416 (__GLIBC_USE_IEC_60559_BFP_EXT_C2X): New macro.
417 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Change to
418 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)].
419 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
420 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
421 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
422 * stdlib/bits/stdlib-ldbl.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
423 Likewise.
424 * stdlib/stdint.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
425 * stdlib/stdlib.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
426 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
427 Likewise.
428 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
429 Likewise.
430 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
431 Likewise.
432 * sysdeps/csky/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
433 Likewise.
434 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
435 Likewise.
436 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
437 Likewise.
438 * sysdeps/m68k/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
439 Likewise.
440 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE
441 (IEC_60559_BFP_EXT)]: Likewise.
442 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
443 Likewise.
444 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
445 Likewise.
446 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
447 Likewise.
448 * sysdeps/riscv/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
449 Likewise.
450 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
451 Likewise.
452 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
453 Likewise.
454 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
455 Likewise.
456 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
457 Likewise.
458 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
459 Likewise, except for totalorder, totalordermag, getpayload,
460 setpayload and setpayloadsig.
461 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise,
462 except for totalorder and totalordermag.
463
464 * string/string.h (memccpy): Also declare if [__GLIBC_USE (ISOC2X)].
465 (strdup): Likewise.
466 (strndup): Likewise.
467
468 * include/features.h (_ISOC2X_SOURCE): New feature test macro.
469 Undefine and define to 1 if [_GNU_SOURCE].
470 (__GLIBC_USE_ISOC2X): New macro. Undefine and redefine depending
471 on [_ISOC2X_SOURCE] and [__STDC_VERSION__ > 201710L].
472 (__USE_ISOC11): Also define to 1 if [_ISOC2X_SOURCE].
473 (__USE_ISOC99): Likewise.
474 (__USE_ISOC95): Likewise.
475 * manual/creature.texi (_ISOC2X_SOURCE): Document.
476
477 2019-08-13 Florian Weimer <fweimer@redhat.com>
478
479 * login/getutid_r.c (__getutid_r): _HAVE_UT_ID and _HAVE_UT_TYPE
480 are always true.
481 * login/getutmp.c (getutmp): _HAVE_UT_TYPE, _HAVE_UT_PID,
482 _HAVE_UT_ID, _HAVE_UT_HOST, _HAVE_UT_TV are always true.
483 * login/getutmpx.c (getutmpx): Likewise.
484 * login/login.c (login): _HAVE_UT_TYPE, _HAVE_UT_PID are always
485 true.
486 * login/logout.c (logout): _HAVE_UT_TYPE, _HAVE_UT_HOST,
487 _HAVE_UT_TV are always true.
488 * login/logwtmp.c (logwtmp): _HAVE_UT_PID, _HAVE_UT_TYPE,
489 _HAVE_UT_HOST, _HAVE_UT_TV are always true.
490 * login/tst-utmp.c: _HAVE_UT_TYPE, _HAVE_UT_TV are always true.
491 * login/utmp_file.c (__libc_setutent): _HAVE_UT_TYPE, _HAVE_UT_ID
492 are always true.
493 (internal_getut_r): _HAVE_UT_TYPE is always true.
494 (__libc_pututline): Likewise.
495 * login/programs/utmpdump.c (print_entry): Assume that
496 _HAVE_UT_TYPE, _HAVE_UT_PID, _HAVE_UT_ID, _HAVE_UT_HOST,
497 _HAVE_UT_TV are always true.
498 * sysdeps/generic/utmp-equal.h (__utmp_equal): _HAVE_UT_TYPE,
499 _HAVE_UT_ID are always true.
500 * sysdeps/gnu/bits/utmp.h: Move to ...
501 * bits/utmp.h: ... here, replacing the old file.
502
503 2019-08-12 Florian Weimer <fweimer@redhat.com>
504
505 * elf/Makefile (tests): Unconditionally add tst-dlopen-aout.
506 [$(build-hardcoded-path-in-tests)] (tst-dlopen-aout-no-pie): Do
507 not set.
508 * elf/tst-dlopen-aout.c: Do not included <assert.h>.
509 (do_test): Open the executable using an absolute path. Print
510 error message to standard output.
511
512 2019-08-09 DJ Delorie <dj@redhat.com>
513
514 * elf/dl-tunables.list: Add glibc.malloc.mxfast.
515 * manual/tunables.texi: Document it.
516 * malloc/malloc.c (do_set_mxfast): New.
517 (__libc_mallopt): Call it.
518 * malloc/arena.c: Add mxfast tunable.
519 * malloc/tst-mxfast.c: New.
520 * malloc/Makefile: Add it.
521
522 2019-08-08 Niklas Hambüchen <mail@nh2.me>
523 Carlos O'Donell <carlos@redhat.com>
524
525 [BZ #24026]
526 * malloc/malloc.c (__malloc_info): Account for top chunk.
527
528 2019-08-07 Joseph Myers <joseph@codesourcery.com>
529
530 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
531 (SYNC_FILE_RANGE_WRITE_AND_WAIT): New macro.
532
533 2019-08-06 Joseph Myers <joseph@codesourcery.com>
534
535 * io/fcntl.h [__USE_GNU] (AT_RECURSIVE): New macro.
536
537 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
538
539 * sysdeps/unix/sysv/linux/s390/init-first.c (VDSO_SETUP): New define.
540
541 2019-08-05 Joseph Myers <joseph@codesourcery.com>
542
543 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU] (CLONE_PIDFD):
544 New macro.
545
546 2019-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
547
548 [BZ #19767]
549 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (ALWAYS_USE_VSYSCALL):
550 Remove definition.
551 * sysdeps/unix/sysv/linux/arm/sysdep.h (ALWAYS_USE_VSYSCALL):
552 Likewise.
553 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
554 Likewise.
555 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (ALWAYS_USE_VSYSCALL):
556 Likewise.
557 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
558 (ALWAYS_USE_VSYSCALL): Likewise.
559 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
560 (ALWAYS_USE_VSYSCALL): Likewise.
561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
562 (ALWAYS_USE_VSYSCALL): Likewise.
563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
564 (ALWAYS_USE_VSYSCALL): Likewise.
565 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
566 Likewise.
567 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
568 (ALWAYS_USE_VSYSCALL): Likewise.
569 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
570 (ALWAYS_USE_VSYSCALL): Likewise.
571 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
572 Likewise.
573 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
574 Likewise.
575 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Remove #if USE_VSYSCALL.
576 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Likewise.
577 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL,
578 USE_VSYSCALL): Remove defitions.
579
580 [BZ #19767]
581 * sysdeps/unix/sysv/linux/sparc/init-first.c: Remove #ifdef SHARED.
582 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
583 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
584 Define.
585
586 [BZ #19767]
587 * sysdeps/unix/sysv/linux/s390/init-first.c: Remove #ifdef SHARED.
588 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
589 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
590 (ALWAYS_USE_VSYSCALL): Define.
591 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
592 (ALWAYS_USE_VSYSCALL): Likewise.
593
594 [BZ #19767]
595 * sysdeps/unix/sysv/linux/riscv/init-first.c: Remove #ifdef SHARED.
596 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
597 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
598 Define.
599
600 * sysdeps/sh/libm-test-ulps: Update.
601
602 2019-08-05 Florian Weimer <fweimer@redhat.com>
603
604 [BZ #23518]
605 * login/uptmp-private.h (struct ufuncs): Remove definition.
606 (__libc_utmp_file_functions, __libc_utmp_unknown_functions)
607 (__libc_utmp_jump_table): Remove declarations.
608 (__libc_setutent, __libc_getutent_r, __libc_getutid_r)
609 (__libc_getutline_r, __libc_pututline, __libc_endutent)
610 (__libc_updwtmp): Declare.
611 * login/getutent_r.c (__libc_utmp_unknown_functions)
612 (__libc_utmp_jump_table, setutent_unknown, getutent_r_unknown)
613 (getutid_r_unknown, getutline_r_unknown, pututline_unknown)
614 (endutent_unknown): Remove definitions.
615 (__setutent): Call __libc_setutent.
616 (__getutent_r): Call __libc_getutent_r.
617 (__pututline): Call __libc_pututline.
618 (__endutent): Call __libc_endutent.
619 * login/getutid_r.c (__getutid_r): Call __libc_getutid_r.
620 * login/getutline_r.c (__getutline_r): Call __libc_getutline_r.
621 * login/updwtmp.c (__updwtmp): Call __libc_updwtmp.
622 * login/utmp_file.c (__libc_utmp_file_functions): Remove definition
623 (__libc_setutent): Rename from stetutent_file. Drop static.
624 (maybe_setutent): New function.
625 (__libc_getutent_r): Rename from getutent_r_file. Drop static.
626 Check for initialization.
627 (__libc_getutid_r): Rename from getutid_r_file. Drop static.
628 Check for initialization.
629 (__libc_getutline_r): Rename from getutline_r_file. Drop static.
630 Check for initialization.
631 (__libc_pututline): Rename from pututline_file. Drop static.
632 Check for initialization.
633 (__libc_endutent): Rename from endutent_file. Drop static. Check
634 for initialization.
635 (__libc_updwtmp): Rename from updwtmp_file. Drop static.
636 * login/utmpname.c (__utmpname): Call __libc_endutent.
637 * sysdeps/unix/getlogin_r (__getlogin_r): Call __libc_setutent,
638 __libc_getutlien_r, __libc_endutent.
639 * manual/users.texi (Who Logged In, Manipulating the Database):
640 Adjust.
641
642 2019-08-05 Alexandra Hajkova <ahajkova@redhat.com>
643
644 * elf/tst-ldconfig-bad-aux-cache.c: Use support_capture_subprocess.
645
646 2019-08-02 Joseph Myers <joseph@codesourcery.com>
647
648 * sysdeps/unix/sysv/linux/syscall-names.list: Update comment.
649
650 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
651 kernel version number to 5.2.
652
653 2019-08-01 Raoni Fassina Firmino <raoni@linux.ibm.com>
654
655 * sysdeps/powerpc/powerpc64/power8/memchr.S: Update power8
656 mnemonics and set .machine power8.
657 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
658 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Likewise.
659 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
660 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
661 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
662 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
663 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
664 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
665 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
666 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
667
668 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
669
670 * sysdeps/hppa/fpu/libm-test-ulps: Update.
671
672 2019-08-01 Florian Weimer <fweimer@redhat.com>
673
674 [BZ #24867]
675 * malloc/malloc.c (__malloc_info): Remove unwanted leading
676 whitespace.
677
678 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
679
680 [BZ #15813]
681 sysdeps/posix/tempname.c (__gen_tempname): get entropy on each
682 attempt.
683
684 2019-08-01 Carlos O'Donell <carlos@redhat.com>
685
686 * version.h (RELEASE): Set to "stable".
687 (VERSION): Set to "2.30".
688 * include/features.h (__GLIBC_MINOR__): Set to 2.30.
689
690 * manual/install.texi: Update component versions.
691 * INSTALL: Regenerate.
692 * NEWS: Update.
693
694 2019-07-31 Carlos O'Donell <carlos@redhat.com>
695
696 * po/be.po: Update translations.
697 * po/bg.po: Likewise.
698 * po/ca.po: Likewise.
699 * po/cs.po: Likewise.
700 * po/da.po: Likewise.
701 * po/de.po: Likewise.
702 * po/el.po: Likewise.
703 * po/eo.po: Likewise.
704 * po/es.po: Likewise.
705 * po/fi.po: Likewise.
706 * po/fr.po: Likewise.
707 * po/gl.po: Likewise.
708 * po/hr.po: Likewise.
709 * po/hu.po: Likewise.
710 * po/ia.po: Likewise.
711 * po/id.po: Likewise.
712 * po/it.po: Likewise.
713 * po/ja.po: Likewise.
714 * po/ko.po: Likewise.
715 * po/lt.po: Likewise.
716 * po/nb.po: Likewise.
717 * po/nl.po: Likewise.
718 * po/pl.po: Likewise.
719 * po/pt_BR.po: Likewise.
720 * po/ru.po: Likewise.
721 * po/rw.po: Likewise.
722 * po/sk.po: Likewise.
723 * po/sl.po: Likewise.
724 * po/sv.po: Likewise.
725 * po/tr.po: Likewise.
726 * po/uk.po: Likewise.
727 * po/vi.po: Likewise.
728 * po/zh_CN.po: Likewise.
729 * po/zh_TW.po: Likewise.
730
731 2019-07-31 Florian Weimer <fweimer@redhat.com>
732
733 [BZ #24583]
734 [BZ #24677]
735 iconv, libio: Revert reference counting changes.
736 * iconv/gconv_cache.c (__gconv_release_cache): Unconditionally
737 free the steps array.
738 * libio/Makefile (tests): Remove tst-wfile-gconv.
739 (tests-container): Do not add tst-wfile-ascii.
740 (tst-wfile-gconv-ENV): Do not set.
741 (generated): Do not add tst-wfile-gconv.mtrace,
742 tst-wfile-gconv.check.
743 [($run-built-tests)] (tests-special): Do not add
744 tst-wfile-gconv-mem.out.
745 (tst-wfile-gconv.out, tst-wfile-gconv-mem.out): Remove targets.
746 * libio/iofclose.c (_IO_new_fclose): Call __gconv_release_step
747 instead of __wcsmbs_clone_conv.
748 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Remove definition.
749 * wcsmbs/wcsmbsload.h (__wcsmbs_clone_conv): Remove declaration.
750
751 2019-07-30 Joseph Myers <joseph@codesourcery.com>
752
753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
754 (__CONTEXT_FUNC_NAME): Restore setting of r31.
755
756 2019-07-30 Florian Weimer <fweimer@redhat.com>
757
758 * nptl/tst-pthread-getattr.c (allocate_and_test): Change return
759 type to uintptr_t. Update comment.
760 (check_stack_top): Adjust.
761
762 2019-07-29 Florian Weimer <fweimer@redhat.com>
763
764 Linux: Move declaration of getdents64 to <dirent.h>.
765 * bits/dirent_ext.h: New file.
766 * dirent/Makefile (headers): Add bits/dirent_ext.h.
767 * dirent/dirent.h: Include <bits/dirent_ext.h>.
768 * sysdeps/unix/sysv/linux/bits/dirent_ext.h: New file.
769 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Remove
770 declaration.
771 * manual/filesys.texi (Low-level Directory Access): Update header
772 to dirent.h.
773
774 2019-07-29 DJ Delorie <dj@redhat.com>
775 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
776
777 [BZ #24794]
778 * Makeconfig (all-subdirs): Improved source comments.
779 * Makefile (testroot.pristine/install.stamp): Pass
780 subdirs='$(sorted-subdirs)' to make install.
781
782 2019-07-25 Florian Weimer <fweimer@redhat.com>
783
784 [BZ #24677]
785 * iconv/gconv_cache.c (__gconv_release_cache): Check reference
786 counter before freeing array.
787
788 2019-07-24 H.J. Lu <hongjiu.lu@intel.com>
789
790 [BZ #24603]
791 * sysdeps/x86_64/configure.ac: Check if -mprefer-vector-width=128
792 works.
793 * sysdeps/x86_64/configure: Regenerated.
794 * sysdeps/x86_64/fpu/Makefile (CFLAGS-branred.c): New. Set
795 to -mprefer-vector-width=128 if supported.
796
797 2019-07-24 Florian Weimer <fweimer@redhat.com>
798
799 * scripts/build-many-glibcs.py (Context.checkout): Default to
800 Linux 5.2.
801
802 2019-07-24 Florian Weimer <fweimer@redhat.com>
803
804 [BZ #24532]
805 Linux: Use in-tree copy of SO_ constants for !__USE_MISC.
806 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == socket]
807 (sysdep_headers): Add bits/socket-constants.h.
808 (tests-special): Add tst-socket-consts.out.
809 (tst-socket-consts.out): New target.
810 * sysdeps/unix/sysv/linux/bits/socket.h: Remove macro tracking
811 around <asm/unistd.h>.
812 [__USE_MISC]: Include <bits/types/time_t.h> before <asm/socket.h>.
813 [!__USE_MISC]: Include <sys/socket-constants.h> instead of
814 <asm/socket.h>.
815 * sysdeps/unix/sysv/linux/bits/tst-socket-consts.py: New file.
816 * sysdeps/unix/sysv/linux/bits/socket-constants.h: Likewise.
817 * sysdeps/unix/sysv/linux/alpha/bits/socket-constants.h: Likewise.
818 * sysdeps/unix/sysv/linux/hppa/bits/socket-constants.h: Likewise.
819 * sysdeps/unix/sysv/linux/mips/bits/socket-constants.h: Likewise.
820 * sysdeps/unix/sysv/linux/powerpc/bits/socket-constants.h:
821 Likewise.
822 * sysdeps/unix/sysv/linux/sparc/bits/socket-constants.h: Likewise.
823
824 2019-07-23 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
825
826 [BZ #24794]
827 * Makefile (testroot.pristine/install.stamp): Pass
828 subdirs='$(all-subdirs)' to make install.
829
830 * Makefile (testroot.pristine/install.stamp): Execute ld.so with
831 the same arguments used in all tests.
832
833 2019-07-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
834
835 * NEWS: Mention the AArch64 IFUNC resolver ABI change.
836
837 2019-07-20 Egor Kobylkin <egor@kobylkin.com>
838
839 [BZ #2872]
840 * locale/C-translit.h.in: Add Cyrillic transliteration.
841
842 2019-07-19 Florian Weimer <fweimer@redhat.com>
843
844 * sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
845 from Linux 5.2.
846 (fsconfig): Add system call name.
847 (fsmount): Likewise.
848 (fsopen): Likewise.
849 (fspick): Likewise.
850 (move_mount): Likewise.
851 (open_tree): Likewise.
852
853 2019-07-18 Carlos O'Donell <carlos@redhat.com>
854
855 * po/libc.pot: Regenerate.
856
857 2019-07-18 Mike Crowe <mac@mcrowe.com>
858
859 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
860 functions recently added to sysdeps/nptl/pthread.h:
861 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
862 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
863
864 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
865 pthread_cond_clockwait forwarding functions. There are no internal
866 users, so it is unnecessary to expose these functions in libc.so.
867 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
868 unnecessary ptr___pthread_cond_clockwait member.
869 * nptl/nptl-init.c (pthread_functions): Remove assignment of
870 removed member.
871
872 2019-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
873
874 [BZ #21897]
875 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
876 begin with an uppercase letter now.
877 (abmon): Likewise.
878 (mon): Update from CLDR, reword February from "Kudo" to
879 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
880 and August from "Liiqen" to "Leqeeni".
881 * localedata/locales/aa_ER (mon): Update from CLDR, reword
882 April from "Agda Baxisso" to "Agda Baxis" and August from
883 "Leqeeni" to "Liiqen".
884 * localedata/locales/aa_ER@saaho (mon): Likewise.
885 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
886 abbreviated February from "Kud" to "Nah".
887 (mon): Update from CLDR, reword February from "Kudo" to
888 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
889
890 2019-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
891
892 [BZ #23996]
893 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
894
895 2019-07-17 PanderMusubi <pander@users.sourceforge.net>
896
897 [BZ #23996]
898 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
899 name_mrs, name_miss, and name_ms.
900 * localedata/locales/nl_NL (LC_NAME): Likewise.
901
902 2019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
903
904 [BZ #24200]
905 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
906 * localedata/locales/en_IE (first_weekday): Likewise.
907
908 2019-07-12 Mike Crowe <mac@mcrowe.com>
909
910 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
911 that is only useful if futex_supports_exact_relative_timeouts ()
912 returns false.
913 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
914 Likewise.
915 * sysdeps/nptl/futex-internal.h: Remove comment about relative
916 timeouts potentially being imprecise since it's no longer true.
917 Remove declaration of futex_supports_exact_relative_timeouts.
918 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
919 of futex_supports_exact_relative_timeouts.
920
921 * NEWS: Mention recently-added pthread_cond_clockwait,
922 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
923 sem_clockwait functions.
924
925 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
926 works like pthread_mutex_timedlock but takes a clockid parameter to
927 measure the abstime parameter against.
928 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
929 * nptl/DESIGN-systemtap-probes.txt: Likewise.
930 * nptl/pthread_mutex_timedlock.c
931 (__pthread_mutex_clocklock_common): Rename from
932 __pthread_mutex_timedlock and add clockid parameter. Pass this
933 parameter to lll_clocklock and lll_clocklock_elision in place of
934 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
935 LIBC_PROBE and validate clockid parameter before calling
936 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
937 implementation to add LIBC_PROBE and calls
938 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
939 clockid.
940 * nptl/Makefile: Add tst-mutex11.c.
941 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
942 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
943 clockid parameters to pthread_mutex_clocklock.
944 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
945 clockid parameter to indicate which clock to be used. Call
946 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
947 (do_test): Call do_test_clock to separately test
948 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
949 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
950 * nptl/tst-mutex9.c: Likewise.
951 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
952 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
953 Likewise.
954 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
955 Likewise.
956 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
957 Likewise.
958 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
959 Likewise.
960 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
961 Likewise.
962 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
963 Likewise.
964 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
965 Likewise.
966 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
967 (GLIBC_2.30): Likewise.
968 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
969 (GLIBC_2.30): Likewise.
970 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
971 (GLIBC_2.30): Likewise.
972 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
973 (GLIBC_2.30): Likewise.
974 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
975 (GLIBC_2.30): Likewise.
976 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
977 Likewise.
978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
979 (GLIBC_2.30): Likewise.
980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
981 (GLIBC_2.30): Likewise.
982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
983 (GLIBC_2.30): Likewise.
984 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
985 (GLIBC_2.30): Likewise.
986 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
987 (GLIBC_2.30): Likewise.
988 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
989 (GLIBC_2.30): Likewise.
990 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
991 Likewise.
992 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
993 (GLIBC_2.30): Likewise.
994 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
995 (GLIBC_2.30): Likewise.
996 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
997 (GLIBC_2.30): Likewise.
998 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
999 (GLIBC_2.30): Likewise.
1000
1001 nptl: Rename lll_timedlock to lll_clocklock and add clockid
1002 parameter to indicate the clock that the abstime parameter should
1003 be measured against in preparation for adding
1004 pthread_mutex_clocklock.
1005 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
1006 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
1007 from __lll_timedlock and add clockid parameter.
1008 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
1009 Likewise.
1010 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
1011 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
1012 rather than __gettimeofday so that clockid can be used. This means
1013 that conversion from struct timeval is no longer required.
1014 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
1015 Likewise.
1016 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
1017 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
1018 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
1019 from lll_timedlock_elision, add clockid parameter and use
1020 meaningful names for other parameters. (__pthread_mutex_timedlock):
1021 Pass CLOCK_REALTIME where necessary to lll_clocklock and
1022 lll_clocklock_elision.
1023 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
1024 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
1025 clockid parameter. (__lll_clocklock_elision): Rename from
1026 __lll_timedlock_elision and add clockid parameter.
1027 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1028 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
1029 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
1030 (__lll_lock_elision): Call __lll_clocklock_elision rather than
1031 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
1032 (LLL_LOCK): Likewise.
1033 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1034 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
1035
1036 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
1037 pthread_rwlock_clockwrlock which behave like
1038 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
1039 respectively, except they always measure abstime against the
1040 supplied clockid. The functions currently support CLOCK_REALTIME
1041 and CLOCK_MONOTONIC and return EINVAL if any other clock is
1042 specified.
1043 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
1044 pthread_wrlock_clockwrlock.
1045 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
1046 pthread_rwlock_clockwrlock.c.
1047 * nptl/pthread_rwlock_clockrdlock.c: Implement
1048 pthread_rwlock_clockrdlock.
1049 * nptl/pthread_rwlock_clockwrlock.c: Implement
1050 pthread_rwlock_clockwrlock.
1051 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
1052 clockid parameter and verify that it indicates a supported clock on
1053 entry so that we fail even if it doesn't end up being used. Pass
1054 that clock on to futex_abstimed_wait when necessary.
1055 (__pthread_rwlock_wrlock_full): Likewise.
1056 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
1057 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
1058 be used because there's no timeout.
1059 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
1060 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
1061 be used because there is no timeout.
1062 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1063 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
1064 uses that clock.
1065 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1066 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
1067 uses that clock.
1068 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
1069 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
1070 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
1071 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
1072 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
1073 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
1074 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
1075 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1076 (GLIBC_2.30): Likewise.
1077 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1078 (GLIBC_2.30): Likewise.
1079 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1080 (GLIBC_2.30): Likewise.
1081 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1082 (GLIBC_2.30): Likewise.
1083 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1084 (GLIBC_2.30): Likewise.
1085 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
1086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1087 (GLIBC_2.30): Likewise.
1088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1089 (GLIBC_2.30): Likewise.
1090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1091 (GLIBC_2.30): Likewise.
1092 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1093 (GLIBC_2.30): Likewise.
1094 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1095 (GLIBC_2.30): Likewise.
1096 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1097 (GLIBC_2.30): Likewise.
1098 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
1099 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1100 (GLIBC_2.30): Likewise.
1101 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1102 (GLIBC_2.30): Likewise.
1103 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1104 (GLIBC_2.30): Likewise.
1105 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1106 (GLIBC_2.30): Likewise.
1107 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
1108 pthread_rwlock_clockwrlock timeout tests to match the existing
1109 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
1110 * nptl/tst-rwlock14.c (do_test): Likewise.
1111 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
1112 ancillary output throughout. (tf): Accept thread_args structure so
1113 that rwlock, a clockid and function name can be passed to the
1114 thread. (do_test_clock): Rename from do_test. Accept clockid
1115 parameter to specify test clock. Use the magic clockid value of
1116 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
1117 pthread_rwlock_timedwrlock should be tested, otherwise pass the
1118 specified clockid to pthread_rwlock_clockrdlock and
1119 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
1120 (do_test): Call do_test_clock to test each clockid in turn.
1121 * nptl/tst-rwlock7.c: Likewise.
1122 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
1123 thread_args structure so that the (now int) thread number, the
1124 clockid and the function name can be passed to the thread.
1125 (do_test_clock): Renamed from do_test. Pass the necessary
1126 thread_args when creating the reader and writer threads. Use
1127 xpthread_create and xpthread_join.
1128 (do_test): Call do_test_clock to test each clockid in turn.
1129 * manual/threads.texi: Add documentation for
1130 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
1131
1132 nptl: pthread_rwlock: Move timeout validation into _full functions
1133 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
1134 Check validity of abstime parameter.
1135 (__pthread_rwlock_rwlock_full): Likewise.
1136 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1137 Remove check for validity of abstime parameter.
1138 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1139 Likewise.
1140
1141 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
1142 like pthread_cond_timedwait except it always measures abstime
1143 against the supplied clockid.
1144 * nptl/Makefile: Add tst-cond26 and tst-cond27
1145 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
1146 * sysdeps/nptl/pthread.h: Likewise
1147 * nptl/forward.c: Add __pthread_cond_clockwait
1148 * nptl/forward.c: Likewise
1149 * nptl/pthreadP.h: Likewise
1150 * sysdeps/nptl/pthread-functions.h: Likewise
1151 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
1152 clockid parameter and comment describing why we don't need to check
1153 its value. Use that value when calling
1154 futex_abstimed_wait_cancelable rather than reading the clock from
1155 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
1156 (__pthread_cond_timedwait): Read clock from flags and pass it to
1157 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
1158 function with weak alias from pthread_cond_clockwait.
1159 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
1160 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
1161 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
1162 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
1163 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
1164 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
1165 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
1166 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1167 (GLIBC_2.30): Likewise.
1168 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1169 (GLIBC_2.30): Likewise.
1170 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1171 (GLIBC_2.30): Likewise.
1172 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1173 (GLIBC_2.30): Likewise.
1174 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1175 (GLIBC_2.30): Likewise.
1176 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
1177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1178 (GLIBC_2.30): Likewise.
1179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1180 (GLIBC_2.30): Likewise.
1181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1182 (GLIBC_2.30): Likewise.
1183 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1184 (GLIBC_2.30): Likewise.
1185 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1186 (GLIBC_2.30): Likewise.
1187 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1188 (GLIBC_2.30): Likewise.
1189 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
1190 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1191 (GLIBC_2.30): Likewise.
1192 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1193 (GLIBC_2.30): Likewise.
1194 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1195 (GLIBC_2.30): Likewise.
1196 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1197 (GLIBC_2.30): Likewise.
1198 * nptl/tst-cond11.c (run_test): Support testing
1199 pthread_cond_clockwait too by using a special magic
1200 CLOCK_USE_ATTR_CLOCK value to determine whether to call
1201 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
1202 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
1203 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
1204 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
1205 clocks to pthread_cond_clockwait.
1206 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
1207 struct timespec and pthread_cond_clockwait.
1208 * manual/threads.texi: Document pthread_cond_clockwait.
1209
1210 nptl: Add POSIX-proposed sem_clockwait which behaves just like
1211 sem_timedwait, but measures abstime against the specified clock.
1212 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
1213 clockid parameters to indicate the clock which abstime should be
1214 measured against.
1215 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
1216 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
1217 __new_sem_wait_slow.
1218 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
1219 on sem_timedwait.c.
1220 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
1221 sem_clockwait.c to match those used for sem_timedwait.c.
1222 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
1223 * nptl/Versions (GLIBC_2.30): Likewise.
1224 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
1225 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
1226 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
1227 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
1228 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
1229 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
1230 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
1231 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1232 (GLIBC_2.30): Likewise.
1233 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1234 (GLIBC_2.30): Likewise.
1235 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1236 (GLIBC_2.30): Likewise.
1237 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1238 (GLIBC_2.30): Likewise.
1239 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1240 (GLIBC_2.30): Likewise.
1241 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
1242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1243 (GLIBC_2.30): Likewise.
1244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1245 (GLIBC_2.30): Likewise.
1246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1247 (GLIBC_2.30): Likewise.
1248 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1249 (GLIBC_2.30): Likewise.
1250 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1251 (GLIBC_2.30): Likewise.
1252 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1253 (GLIBC_2.30): Likewise.
1254 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
1255 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1256 (GLIBC_2.30): Likewise.
1257 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1258 (GLIBC_2.30): Likewise.
1259 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1260 (GLIBC_2.30): Likewise.
1261 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1262 (GLIBC_2.30): Likewise.
1263 * nptl/tst-sem17.c: Add new test for passing invalid clock to
1264 sem_clockwait.
1265 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
1266 tests to also test sem_clockwait.
1267 * manual/threads.texi: Document sem_clockwait.
1268
1269 nptl: Add clockid parameter to futex timed wait calls
1270 * sysdeps/nptl/lowlevellock-futex.h,
1271 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
1272 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
1273 takes a clockid rather than a special clockbit.
1274 * sysdeps/nptl/lowlevellock-futex.h: Add
1275 lll_futex_supported_clockid so that client functions can check
1276 whether their clockid parameter is valid even if they don't
1277 ultimately end up calling lll_futex_clock_wait_bitset.
1278 * sysdeps/nptl/futex-internal.h,
1279 sysdeps/unix/sysv/linux/futex-internal.h
1280 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
1281 clockid_t parameter to indicate which clock the absolute time
1282 passed should be measured against. Pass that clockid onto
1283 lll_futex_clock_wait_bitset. Add invalid clock as reason for
1284 returning -EINVAL.
1285 * sysdeps/nptl/futex-internal.h,
1286 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
1287 futex_abstimed_supported_clockid so that client functions can check
1288 whether their clockid parameter is valid even if they don't
1289 ultimately end up calling futex_abstimed_wait.
1290 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
1291 code to calculate relative timeout for
1292 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
1293 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
1294 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
1295 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
1296 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
1297 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
1298 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
1299
1300 2019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1301
1302 [BZ #24699]
1303 * posix/tst-mmap-offset.c: Mention BZ #24699.
1304 (do_test_bz21270): Rename to do_test_large_offset and use
1305 mmap64_maximum_offset to check for maximum expected offset value.
1306 * sysdeps/generic/mmap_info.h: New file.
1307 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
1308 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
1309 __NR_mmap2 is used.
1310
1311 2019-07-10 DJ Delorie <dj@redhat.com>
1312 Sergei Trofimovich <slyfox@inbox.ru>
1313
1314 [BZ #24696]
1315 [BZ #24695]
1316 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
1317 mappings.
1318 * nss/tst-nss-db-endgrent.c: New.
1319 * nss/tst-nss-db-endgrent.root: New.
1320 * nss/tst-nss-db-endpwent.c: New.
1321 * nss/tst-nss-db-endpwent.root: New.
1322 * nss/Makefile: Add new tests.
1323 * support/links-dso-program-c.c: Add selinux dependency.
1324 * support/links-dso-program.cc: Add selinux dependency.
1325 * support/Makefile: Build those with -lselinux if enabled.
1326
1327 2019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
1328
1329 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
1330 DT_AARCH64_VARIANT_PCS check.
1331 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
1332 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
1333 variant_pcs.
1334
1335 2019-07-10 Andreas Schwab <schwab@suse.de>
1336
1337 [BZ #23352]
1338 * malloc/malloc.h (__malloc_check_init): Don't declare.
1339 * include/malloc.h (__malloc_check_init): Likewise.
1340 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
1341 * manual/memory.texi (__malloc_check_init): Don't mention it.
1342
1343 2019-07-10 Mao Han <han_mao@c-sky.com>
1344
1345 * locale/Makefile: Fix tst-locale-locpath arguments passing.
1346
1347 2019-07-09 Paul A. Clarke <pc@us.ibm.com>
1348
1349 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
1350 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
1351
1352 2019-07-08 DJ Delorie <dj@redhat.com>
1353
1354 [BZ #23501]
1355 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
1356 * io/tst-ftw-lnk.c: New test.
1357 * io/Makefile: Run it.
1358
1359 2019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1360
1361 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
1362 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
1363 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
1364 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
1365 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
1366 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
1367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
1368 Adjust implementation path.
1369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
1370 Adjust implementation path.
1371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
1372 Adjust implementation path.
1373 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1374 (libm-sysdep_routines): Add s_log* objects.
1375 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
1376 CFLAGS-s_logb-power7.c): New fule.
1377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
1378 to ...
1379 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
1380 ... here.
1381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
1382 to ...
1383 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
1384 ... here.
1385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
1386 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
1387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
1388 to ...
1389 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
1390 ... here.
1391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
1392 to ...
1393 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
1394 ... here.
1395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
1396 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
1397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
1398 to ...
1399 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
1400 ... here.
1401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
1402 to ...
1403 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
1404 ... here.
1405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
1406 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
1407 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
1408 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
1409 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1410 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1411
1412 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
1413 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
1414 powerpc32 integer 0 converting to -0.
1415
1416 * benchtests/Makefile (bench-math): Add logb.
1417 * benchtests/logb-inputs: New file.
1418 * benchtests/logbf-inputs: New file.
1419
1420 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
1421 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
1422 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
1423 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
1424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1425 Adjust include.
1426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1427 Likewise.
1428 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
1429 sysdep_routines): Add s_modf* objects.
1430 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
1431 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
1432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
1433 to ...
1434 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
1435 ... here.
1436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
1437 to ...
1438 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
1439 ... here.
1440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
1441 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
1442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
1443 to ...
1444 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
1445 ... here.
1446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
1447 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
1448 ... here.
1449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
1450 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
1451
1452 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
1453 twoM500, twoM600, two60factor, pdnum): Remove.
1454 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
1455 (__ieee754_hypot): Replace static variables with inline definition,
1456 remove ununsed branches.
1457 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1458 (libm-sysdep_routines): Remove e_hypot-* objects.
1459 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
1460 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
1461 file.
1462 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
1463 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
1464 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
1465 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
1466 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
1467
1468 * benchtests/Makefile (bench-math): Add hypot.
1469 * benchtests/hypot-inputs: New file.
1470
1471 2019-07-08 Vincent Chen <vincentc@andestech.com>
1472
1473 * sysdeps/unix/sysv/linux/dl-vdso.h
1474 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
1475
1476 2019-07-04 Andreas Schwab <schwab@suse.de>
1477
1478 [BZ #24484]
1479 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
1480
1481 2019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
1482
1483 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
1484 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
1485 * sysdeps/aarch64/sys/ifunc.h: New file.
1486 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
1487 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
1488
1489 2019-07-01 Florian Weimer <fweimer@redhat.com>
1490
1491 [BZ #20188]
1492 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
1493 Replace __vfork with __libpthread_version_placeholder for
1494 GLIBC_2.1.2.
1495 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
1496 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
1497 libpthread-compat.
1498 * nptl/pt-vfork.c: Remove file.
1499 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
1500 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
1501 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
1502 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
1503 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
1504 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
1505 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
1506 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
1507 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
1508 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
1509 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
1510 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
1511 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
1512 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1513 Remove vfork, __vfork.
1514 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1515 Remove vfork.
1516 (GLIBC_2.1.2): Replace __vfork with
1517 __libpthread_version_placeholder.
1518 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1519 Remove vfork, __vfork.
1520 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1521 Likewise.
1522 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1523 Remove vfork.
1524 (GLIBC_2.1.2): Replace __vfork with
1525 __libpthread_version_placeholder.
1526 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1527 Remove vfork.
1528 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1529 (GLIBC_2.4): Remove vfork, __vfork.
1530 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1531 (GLIBC_2.0): Remove vfork.
1532 (GLIBC_2.1.2): Replace __vfork with
1533 __libpthread_version_placeholder.
1534 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1535 (GLIBC_2.18): Remove vfork, __vfork.
1536 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1537 (GLIBC_2.0): Remove vfork.
1538 (GLIBC_2.2): Remove __vfork.
1539 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
1540 (GLIBC_2.2): Remove vfork, __vfork.
1541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
1542 (GLIBC_2.0): Remove vfork.
1543 (GLIBC_2.1.2): Replace __vfork with
1544 __libpthread_version_placeholder.
1545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1546 (GLIBC_2.3): Remove vfork, __vfork.
1547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1548 (GLIBC_2.17): Likewise.
1549 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1550 (GLIBC_2.0): Remove vfork.
1551 (GLIBC_2.1.2): Replace __vfork with
1552 __libpthread_version_placeholder.
1553 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1554 (GLIBC_2.2): Remove vfork, __vfork.
1555 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1556 Likewise.
1557 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1558 (GLIBC_2.0): Remove vfork.
1559 (GLIBC_2.1.2): Replace __vfork with
1560 __libpthread_version_placeholder.
1561 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1562 (GLIBC_2.2): Remove vfork, __vfork.
1563 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1564 (GLIBC_2.2.5): Likewise.
1565 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1566 (GLIBC_2.16): Likewise.
1567 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
1568 Remove __errno_location.
1569
1570 2019-07-02 Florian Weimer <fweimer@redhat.com>
1571
1572 [BZ #24757]
1573 * malloc/Depend: Add nptl and htl, due to potential indirect
1574 libpthread dependency of memusagestat.
1575
1576 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
1577
1578 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
1579 warning.
1580
1581 2019-07-01 Florian Weimer <fweimer@redhat.com>
1582
1583 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
1584 variant for arm-linux-gnueabi.
1585
1586 2019-07-01 H.J. Lu <hongjiu.lu@intel.com>
1587
1588 [BZ #24259]
1589 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
1590 relocation.
1591 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
1592 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
1593 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
1594 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
1595 and tst-cet-legacy-mod-6c.
1596 (CFLAGS-tst-cet-legacy-5a.c): New.
1597 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
1598 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
1599 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
1600 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
1601 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
1602 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
1603 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
1604 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
1605 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
1606 ($(objpfx)tst-cet-legacy-5a): Likewise.
1607 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
1608 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
1609 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
1610 ($(objpfx)tst-cet-legacy-5b): Likewise.
1611 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
1612 (tst-cet-legacy-5b-ENV): Likewise.
1613 ($(objpfx)tst-cet-legacy-6a): Likewise.
1614 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
1615 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
1616 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
1617 ($(objpfx)tst-cet-legacy-6b): Likewise.
1618 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
1619 (tst-cet-legacy-6b-ENV): Likewise.
1620 * sysdeps/x86/tst-cet-legacy-5.c: New file.
1621 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
1622 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
1623 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
1624 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
1625 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
1626 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
1627 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
1628 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
1629 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
1630 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
1631 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
1632 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
1633 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
1634
1635 2019-06-30 Paul A. Clarke <pc@us.ibm.com>
1636
1637 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
1638 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
1639 (__fegetround_ISA300) New.
1640 (__fegetround_ISA2) New.
1641 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
1642 (_FPU_MFFS): Move implementation...
1643 (_FPU_GETCW): Here.
1644 (_FPU_MFFSL): Move implementation....
1645 (_FPU_GET_RC_ISA300): Here. New.
1646 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
1647 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
1648 (fegetenv_status): New.
1649 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
1650 instead of fegetenv_register().
1651 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
1652
1653 2019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
1654
1655 * benchtests/bench-math-inlines.c: Increase iterations.
1656 * benchtests/bench-memcmp.c: Likewise.
1657 * benchtests/bench-rawmemchr.c: Likewise.
1658 * benchtests/bench-strcmp.c: Likewise.
1659 * benchtests/bench-strcpy_chk.c: Likewise.
1660 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
1661 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
1662 (INNER_LOOP_ITERS_SMALL): Likewise.
1663 * benchtests/bench-strncat.c: Increase iterations.
1664 * benchtests/bench-strncmp.c: Increase iterations.
1665 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
1666 * benchtests/bench-strrchr.c: Increase iterations.
1667 * benchtests/bench-strstr.c: Keep iterations unchanged.
1668 * benchtests/bench-strtod.c: Increase iterations.
1669
1670 2019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
1671
1672 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
1673 with INNER_LOOP_ITERS_LARGE.
1674 * benchtests/bench-memchr.c: Likewise.
1675 * benchtests/bench-rawmemchr.c: Likewise.
1676 * benchtests/bench-strcat.c: Likewise.
1677 * benchtests/bench-strchr.c: Likewise.
1678 * benchtests/bench-string.h: Likewise.
1679 * benchtests/bench-strlen.c: Likewise.
1680 * benchtests/bench-strncpy.c: Likewise.
1681 * benchtests/bench-strnlen.c: Likewise.
1682
1683 2019-06-28 Florian Weimer <fweimer@redhat.com>
1684
1685 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
1686 Use mmap instead of malloc. malloc with M_PERTURB writes to the
1687 entire allocated memory range.
1688
1689 2019-06-28 Tobias Klauser <tklauser@distanz.ch>
1690
1691 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
1692 (prepare_version_base): New helper inline function.
1693 (prepare_version): New macro replacing PREPARE_VERSION.
1694 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
1695
1696 2019-06-28 Florian Weimer <fweimer@redhat.com>
1697
1698 [BZ #24741]
1699 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
1700 mismatch in a versioned symbol reference.
1701 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
1702 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
1703 tst-sonamemove-dlopen.
1704 (module-names): Add tst-sonamemove-linkmod1,
1705 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
1706 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
1707 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
1708 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
1709 (tst-sonamemove-runmod1.so): Link against
1710 tst-sonamemove-runmod2.so.
1711 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
1712 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
1713 tst-sonamemove-runmod2.so.
1714 (tst-sonamemove-dlopen): Link with -ldl.
1715 (tst-sonamemove-dlopen.out): Likewise.
1716 * elf/tst-sonamemove-link.c: New file.
1717 * elf/tst-sonamemove-dlopen.c: Likewise.
1718 * elf/tst-sonamemove-linkmod1.c: Likewise.
1719 * elf/tst-sonamemove-linkmod1.map: Likewise.
1720 * elf/tst-sonamemove-runmod1.c: Likewise.
1721 * elf/tst-sonamemove-runmod1.map: Likewise.
1722 * elf/tst-sonamemove-runmod2.c: Likewise.
1723 * elf/tst-sonamemove-runmod2.map: Likewise.
1724
1725 2019-06-28 Florian Weimer <fweimer@redhat.com>
1726
1727 * support/xdlfcn.h (xdlvsym): Declare function.
1728 * support/xdlfcn.c (xdlvsym): Define funciton.
1729
1730 2019-06-28 Florian Weimer <fweimer@redhat.com>
1731
1732 [BZ #24744]
1733 io: Remove the copy_file_range emulation.
1734 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
1735 not define and call copy_file_range_compat.
1736 * io/Makefile (tests-static, tests-internal): Do not add
1737 tst-copy_file_range-compat.
1738 * io/copy_file_range-compat.c: Remove file.
1739 * io/copy_file_range.c (copy_file_range): Define as stub.
1740 * io/tst-copy_file_range-compat.c: Remove file.
1741 * io/tst-copy_file_range.c (xdevfile): Remove variable.
1742 (typical_sizes): Update comment. Remove 16K sizes.
1743 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
1744 Remove variables.
1745 (find_maximum_offset, pipe_as_source, pipe_as_destination)
1746 (delayed_write_failure_beginning, delayed_write_failure_end)
1747 (cross_device_failure, enospc_failure_1, enospc_failure)
1748 (oappend_failure): Remove functions.
1749 (tests): Adjust test case list.
1750 (do_test): Remove file system search code. Check for ENOSYS from
1751 copy_file_range. Do not free xdevfile.
1752 * manual/llio.texi (Copying File Data): Document ENOSYS error from
1753 copy_file_range. Do not document the EXDEV error, which future
1754 kernels may not report. Update the wording to reflect that
1755 further errors are possible.
1756 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1757 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
1758 not undefine.
1759 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1760 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
1761 Likewise.
1762 * sysdeps/unix/sysv/linux/kernel-features.h
1763 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
1764 Remove definition.
1765 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1766 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
1767 not undefine.
1768 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1769 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
1770 Likewise.
1771
1772 2019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
1773
1774 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
1775 used as a mask for the mode argument of __vfprintf_internal.
1776 * stdio-common/printf-parse.h (printf_arg): New union member:
1777 pa_float128.
1778 * stdio-common/vfprintf-internal.c
1779 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
1780 (PARSE_FLOAT_VA_ARG): Likewise.
1781 (SETUP_FLOAT128_INFO): Likewise.
1782 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
1783 SETUP_FLOAT128_INFO.
1784 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
1785 floating-point value to the new union member, pa_float128.
1786 (printf_positional): Zero-initialize args_value[cnt] with memset.
1787
1788 2019-06-27 Florian Weimer <fweimer@redhat.com>
1789
1790 [BZ #24740]
1791 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
1792 buffer size if necessary.
1793 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
1794 Likewise.
1795 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
1796 New function.
1797 (large_buffer_checks): Likewise.
1798 (do_test): Call large_buffer_checks.
1799
1800 2019-06-26 H.J. Lu <hongjiu.lu@intel.com>
1801
1802 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
1803 * sysdeps/x86/dl-lookupcfg.h: Here.
1804 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
1805
1806 2019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1807
1808 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1809 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
1810 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
1811 file.
1812 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
1813 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
1814 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
1815 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
1816 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
1817
1818 * sysdeps/powerpc/powerpc32/fpu/Makefile
1819 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
1820 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
1821 and fctidz optimization.
1822 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
1823 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
1824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1825 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
1826 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
1827 CFLAGS-s_lround-power5+.c): New rule.
1828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
1829 New file.
1830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
1831 Likewise.
1832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
1833 Likewise.
1834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
1835 Likewise.
1836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
1837 Likewise.
1838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1839 Remove file.
1840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1841 Likewise.
1842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1843 Likewise.
1844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1845 Likewise.
1846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1847 Likewise.
1848 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1849 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
1850 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1851 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
1852 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1853 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1854 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
1855
1856 2019-06-26 Vincent Chen <vincentc@andestech.com>
1857
1858 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
1859 specific system calls, fp_udfiex_crtl and udftrap.
1860
1861 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
1862
1863 * nptl/tst-eintr1.c (tf1): Add return statement.
1864 (do_test): Remove unused th variable.
1865
1866 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
1867
1868 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
1869 Return error if get_character fails.
1870
1871 2019-06-25 Stefan Liebler <stli@linux.ibm.com>
1872
1873 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1874
1875 2019-06-24 Rafal Luzynski <digitalfreak@lingonborough.com>
1876
1877 [BZ #24652]
1878 * localedata/locales/szl_PL (day): Use the correct Unicode
1879 sequences instead of non-ASCII characters.
1880
1881 2019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
1882
1883 [BZ #24652]
1884 * localedata/locales/szl_PL (abday): Spelling corrections.
1885 (day): Likewise.
1886 (abmon): Likewise.
1887 (mon): Rename to...
1888 (alt_mon): This, then apply spelling corrections.
1889 (mon): New entry, month names in the genitive case.
1890
1891 2019-06-21 Rafal Luzynski <digitalfreak@lingonborough.com>
1892
1893 [BZ #23831]
1894 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
1895 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
1896 (thousands_sep): Likewise.
1897 (grouping): Set to 3;3.
1898
1899 2019-06-21 Tobias Klauser <tklauser@distanz.ch>
1900
1901 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
1902 PREPARE_VERSION_KNOWN.
1903 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
1904 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
1905 define.
1906 (VDSO_HASH_LINUX_2_6_39): Likewise.
1907 (VDSO_NAME_LINUX_4_9): Likewise.
1908 (VDSO_HASH_LINUX_4_9): Likewise.
1909 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
1910 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1911 (_libc_vdso_platform_setup): Likewise.
1912 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
1913 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
1914 Likewise.
1915 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
1916 Likewise.
1917
1918 2019-06-20 Mike Crowe <mac@mcrowe.com>
1919
1920 * nptl/eintr.c: Use libsupport.
1921 * nptl/tst-eintr1.c: Likewise.
1922 * nptl/tst-eintr2.c: Likewise.
1923 * nptl/tst-eintr3.c: Likewise.
1924 * nptl/tst-eintr4.c: Likewise.
1925 * nptl/tst-eintr5.c: Likewise.
1926 * nptl/tst-mutex-errorcheck.c: Likewise.
1927 * nptl/tst-mutex5.c: Likewise.
1928
1929 * support/test-driver.h: Add verbose_printf macro.
1930
1931 * support/xtime.h: Add xclock_now() helper function.
1932
1933 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
1934 Florian Weimer <fweimer@redhat.com>
1935
1936 [BZ #24228]
1937 * libio/genops.c (_IO_unbuffer_all)
1938 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
1939 buffers and access _IO_FILE_complete members of legacy libio streams.
1940 * libio/tst-bz24228.c: New file.
1941 * libio/tst-bz24228.map: Likewise.
1942 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
1943 [build-shared] (generated): Add tst-bz24228.mtrace and
1944 tst-bz24228.check.
1945 [run-built-tests && build-shared] (tests-special): Add
1946 $(objpfx)tst-bz24228-mem.out.
1947 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
1948 ($(objpfx)tst-bz24228-mem.out): New rule.
1949
1950 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
1951
1952 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
1953 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
1954 (__FPU_MFFSL): Likewise.
1955 (_FPU_SETCW): Likewise.
1956
1957 2019-06-19 Stan Shebs <stanshebs@google.com>
1958 Raoni Fassina Firmino <raoni@linux.ibm.com>
1959
1960 [BZ #24640]
1961 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
1962 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
1963 static-linking version.
1964 * sysdeps/unix/sysv/linux/powerpc/Makefile
1965 (tests-static): Add test-gettimebasefreq-static.
1966 (tests): Likewise.
1967 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
1968 New file.
1969
1970 2019-06-19 Rafal Luzynski <digitalfreak@lingonborough.com>
1971
1972 [BZ #24614]
1973 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
1974 between the currency symbol and the minus sign).
1975 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
1976
1977 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
1978
1979 [BZ #24556]
1980 * string/test-strcasestr.c (check_result): Add NULL check.
1981 * nss/tst-field.c (check_rewrite): Likewise.
1982 * benchtests/bench-strstr.c (do_one_test): Likewise.
1983 * string/test-strstr.c (check_result): Likewise.
1984 * argp/argp-test.c (popt): Increase size of buf to 12.
1985 * benchtests/bench-malloc-simple.c (bench):
1986 Do not initialize tests array out of bounds.
1987
1988 2019-06-19 Florian Weimer <fweimer@redhat.com>
1989
1990 [BZ #24166]
1991 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
1992 dls_serpath field.
1993
1994 2019-06-18 Florian Weimer <fweimer@redhat.com>
1995
1996 [BZ #24323]
1997 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
1998 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
1999 fail when called from dlopen.
2000 * elf/Makefile [have-fpie && build-shared] (tests): Add
2001 tst-dlopen-pie.
2002 (tst-dlopen-pie): Link with -ldl.
2003 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
2004 * elf/tst-dlopen-pie.c (do_test): New file.
2005
2006 2019-06-17 Rafal Luzynski <digitalfreak@lingonborough.com>
2007
2008 [BZ #24614]
2009 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
2010 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
2011 between the currency symbol and the minus sign).
2012 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
2013 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
2014
2015 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2016
2017 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
2018 sysdep-rtld-routines): Remove rules.
2019 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
2020 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
2021 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
2022 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
2023 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
2024 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
2025 vDSO path for SHARED.
2026 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
2027 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
2028 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2029 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
2030 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
2031 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
2032
2033 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2034 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
2035 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
2036 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
2037 CFLAGS-s_llround-power5+.c): New rule.
2038 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
2039 New file.
2040 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
2041 Likewise.
2042 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
2043 Likewise.
2044 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
2045 Likewise.
2046 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
2047 Likewise.
2048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
2049 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
2050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
2051 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
2052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
2053 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
2054 * sysdeps/powerpc/powerpc64/fpu/Makefile
2055 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
2056 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2057 (libm-sysdep_routines): Remove s_llround-* objects.
2058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
2059 file.
2060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
2061 Likewise.
2062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
2063 Likewise.
2064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
2065 Likewise.
2066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
2067 Likewise.
2068 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2069 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2070 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
2071 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
2072 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
2073 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
2074 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
2075 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
2076 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2077 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
2078 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2079 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
2080 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2081 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
2082
2083 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
2084 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
2085 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
2086 * sysdeps/powerpc/powerpc32/fpu/Makefile
2087 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
2088 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
2089 optimization.
2090 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
2091 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
2092 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
2093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2094 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
2095 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
2096 CFLAGS-s_lrint-ppc32.c): New rule.
2097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2098 Remove file.
2099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2100 Likewise.
2101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2102 Likewise.
2103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2104 Likewise.
2105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2106 Likewise.
2107 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2108 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2109 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2110 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
2112 New file.
2113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
2114 Likewise.
2115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
2116 Likewise.
2117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
2118 Likewise.
2119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
2120 Likewise.
2121
2122 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2123 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
2124 s_llrint-ppc64.
2125 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
2126 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
2127 file.
2128 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
2129 Likewise.
2130 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
2131 Likewise.
2132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
2133 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
2134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
2135 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
2136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
2137 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
2138 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
2139 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
2140 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2141 (libm-sysdep_routines): Remove s_llrint-* objects.
2142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
2143 file.
2144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
2145 Likewise.
2146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
2147 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
2148 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
2149 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
2150 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
2151 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
2152 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2153 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
2154 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2155 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
2156
2157 2019-06-14 Florian Weimer <fweimer@redhat.com>
2158
2159 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
2160 argument to __glibc_has_include to inhibit macro expansion.
2161
2162 2019-06-14 Florian Weimer <fweimer@redhat.com>
2163
2164 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
2165 function-like macro, so that __has_include can inhibit expansion
2166 of its argument.
2167
2168 2019-06-13 Joseph Myers <joseph@codesourcery.com>
2169
2170 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
2171 New macro.
2172
2173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2174 Allow memset in libc.so.
2175
2176 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2177
2178 * sysdeps/aarch64/dl-dtprocnum.h: New file.
2179 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
2180 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
2181 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
2182 symbols at load time.
2183 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
2184
2185 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2186
2187 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
2188 (DT_AARCH64_VARIANT_PCS): Define.
2189
2190 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2191
2192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2193 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
2194 objects.
2195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2196 Remove file.
2197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
2198 Likewise.
2199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
2200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2201 Likewise.
2202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
2203 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2204 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
2205 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
2206 Remove s_finite* objects.
2207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
2208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
2209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
2210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
2212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
2213 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2214 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
2215 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2216 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
2217
2218 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
2219 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
2220
2221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2222 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
2223 objects.
2224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
2225 Remove file.
2226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
2227 Likewise.
2228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
2229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2230 Likewise.
2231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
2232 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2233 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
2234 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
2235 Remove s_isinf* and s_isinf* objects.
2236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
2237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
2238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
2239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
2241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
2242 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2243 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
2244 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2245 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
2246
2247 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
2248 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
2249
2250 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
2251 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
2252 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2254 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
2255 s_isnanf-* objects.
2256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
2257 Remove file
2258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
2259 Likewise.
2260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
2261 Likewise.
2262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
2263 Likewise.
2264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
2265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
2266 Likewise.
2267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2268 Likewise.
2269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
2270 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2271 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
2272 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2273 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
2274 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2275 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
2276 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
2277 Remove s_isnan-* and s_isnanf-* objects.
2278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
2279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
2280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
2281 Likewise.
2282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
2283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
2284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
2285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
2287 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2288 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2289 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2290 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2291 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2292 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
2293 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2294 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
2295
2296 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
2297 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
2298
2299 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
2300 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
2301 CFLAGS-bench-isfinite.c): New rule.
2302 * benchtests/isnan-input: New file.
2303 * benchtests/isinf-input: New file.
2304 * benchtests/isfinite-input: New file.
2305
2306 * sysdeps/powerpc/fpu/s_copysign.c: New file.
2307 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
2308 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
2309 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
2310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2311 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
2312 s_copysign-ppc32.
2313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2314 Remove file.
2315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2316 Likewise.
2317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2318 Likewise.
2319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
2320 Likewise.
2321 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2322 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
2323 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
2324 Remove s_copysign-power6 s_copysign-ppc64.
2325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
2326 Remove file.
2327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
2328 Likewise.
2329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
2331 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2332 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
2333 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2334 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
2335
2336 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
2337 round_to_integer_float, round_mode): Add RINT handling.
2338 (reset_fenv_mode): New symbol.
2339 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
2340 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
2341 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
2342 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2343 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2344 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2345
2346 2019-06-12 Florian Weimer <fweimer@redhat.com>
2347
2348 [BZ #24632]
2349 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
2350 * libio/freopen.c (freopen): Use it.
2351
2352 2019-06-12 Florian Weimer <fweimer@redhat.com>
2353
2354 Linux: Deprecate sysctl.
2355 * include/sysctl.h (__sysctl): Remove declaration.
2356 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
2357 check.
2358 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
2359 (sysctl): Add deprecation attribute.
2360 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
2361 directly, to avoid the deprecation warning. Do not include
2362 <string.h>.
2363 (__sysctl): Remove hidden alias.
2364
2365 2019-06-12 Florian Weimer <fweimer@redhat.com>
2366
2367 Linux: Use kernel headers for statx definitions if available.
2368 * include/bits/statx-generic.h: New file.
2369 * include/bits/types/struct_statx.h: Likewise.
2370 * include/bits/types/struct_statx_timestamp.h: Likewise.
2371 * io/Makefile (headers): Add bits/statx-generic.h.
2372 * io/bits/statx-generic.h: New file. Partly copied from
2373 io/bits/statx.h.
2374 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
2375 define original_statx.
2376 * io/bits/types/struct_statx.h: Likewise.
2377 * io/bits/types/struct_statx_timestamp.h: Likewise.
2378 (statx_generic): Use original_statx.
2379 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
2380 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
2381
2382 2019-06-12 Florian Weimer <fweimer@redhat.com>
2383
2384 * misc/sys/cdefs.h (__glibc_has_include): Define.
2385
2386 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2387
2388 * string/memmem.c (__memmem): Rewrite to improve performance.
2389
2390 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2391
2392 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
2393 warning.
2394 (two_way_long_needle): Block inlining.
2395 * string/strstr.c (strstr2): Add new function.
2396 (strstr3): Likewise.
2397 (STRSTR): Completely rewrite strstr to improve performance.
2398
2399 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
2400
2401 * benchtests/bench-strstr.c (test_hard_needle): New function.
2402
2403 2019-06-10 Joseph Myers <joseph@codesourcery.com>
2404
2405 * malloc/tst-calloc.c: Include <libc-diag.h>.
2406 (null_test): Ignore -Wunused-result around calls to calloc.
2407 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
2408 (do_test): Ignore -Wunused-result around call to malloc.
2409
2410 2019-06-07 Florian Weimer <fweimer@redhat.com>
2411
2412 Linux: Add getdents64 system call.
2413 * include/dirnent.h (getdents): Add comment and change buffer
2414 argument type to void *.
2415 (getdents64): Likewise. Add hidden prototype.
2416 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
2417 getdents64.
2418 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
2419 Add tst-getdents64.
2420 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
2421 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
2422 argument type to void *.
2423 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
2424 Add hidden definition and getdents64 alias.
2425 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
2426 Likewise.
2427 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
2428 * manual/filesys.texi (Accessing Directories): Add Low-level
2429 Directory Access node reference.
2430 (Opening a Directory): Cross-reference it.
2431 (Low-level Directory Access): New node.
2432 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
2433 getdents64.
2434 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2435 Likewise.
2436 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2437 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
2438 Likewise.
2439 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
2440 Likewise.
2441 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
2442 Likewise.
2443 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
2444 Likewise.
2445 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2446 Likewise.
2447 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2448 Likewise.
2449 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2450 Likewise.
2451 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2452 (GLIBC_2.30): Likewise.
2453 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2454 (GLIBC_2.30): Likewise.
2455 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2456 (GLIBC_2.30): Likewise.
2457 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2458 (GLIBC_2.30): Likewise.
2459 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2460 Likewise.
2461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2462 (GLIBC_2.30): Likewise.
2463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2464 (GLIBC_2.30): Likewise.
2465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2466 (GLIBC_2.30): Likewise.
2467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2468 (GLIBC_2.30): Likewise.
2469 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2470 Likewise.
2471 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2472 Likewise.
2473 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2474 Likewise.
2475 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2476 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2477 Likewise.
2478 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2479 Likewise.
2480 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2481 Likewise.
2482 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2483 Likewise.
2484
2485 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
2486
2487 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
2488 (__FPU_MFFS): New.
2489 (__FPU_MFFSL): New.
2490 (_FPU_GET_RC): New.
2491 (_FPU_GETCW): Use __FPU_MFFS().
2492 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
2493
2494 2019-06-06 Florian Weimer <fweimer@redhat.com>
2495
2496 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
2497 internal GCC preprocessor identifier __has_include__.
2498
2499 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
2500
2501 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
2502 with call to equivalent function.
2503
2504 2019-06-04 Florian Weimer <fweimer@redhat.com>
2505
2506 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
2507 (do_release_shlib): Adjust for __twalk_r.
2508 (__gconv_release_shlib): Call __twalk_r.
2509
2510 2019-06-04 Andreas Schwab <schwab@suse.de>
2511
2512 [BZ #18830]
2513 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
2514 no irreversible characters occurred.
2515 * iconv/gconv_simple.c (internal_ucs4_loop)
2516 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
2517 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
2518 (ucs4_internal_loop_single, internal_ucs4le_loop)
2519 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
2520 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
2521 (ucs4le_internal_loop_single): Add const to outend.
2522 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
2523 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
2524 * iconv/Makefile (tests): Add tst-iconv7.
2525 * iconv/tst-iconv7.c: New file.
2526
2527 2019-06-03 Joseph Myers <joseph@codesourcery.com>
2528
2529 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
2530
2531 2019-06-01 Florian Weimer <fweimer@redhat.com>
2532
2533 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
2534 * sysdeps/unix/sysv/linux/arm/Makefile
2535 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
2536 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
2537 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
2538 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
2539 compatibility symbols.
2540
2541 2019-05-31 Florian Weimer <fweimer@redhat.com>
2542
2543 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
2544 system calls for the arm architecture: breakpoint, get_tls,
2545 set_tls, usr26, usr32.
2546
2547 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
2548
2549 * sysdeps/powerpc/Makefile
2550 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
2551 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
2552 Declare '.machine power7' to get support for ldbrx.
2553 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
2554 directive based on the directory of the file.
2555 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2556 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2557 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
2558 '.machine' directive.
2559 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
2560 (VADDUQM_V7_V8): Remove.
2561 (__STRCASECMP): Replace macros with actual instructions.
2562 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
2563 '.machine' directive.
2564 (VCLZD_V8_v7): Remove.
2565 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
2566
2567 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2568
2569 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
2570 Remove file.
2571 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
2572
2573 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2574
2575 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
2576 NEARBYINT handling.
2577 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
2578 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
2579 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
2580 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
2581 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
2582 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2583
2584 2019-05-28 mansayk <6688000@gmail.com>
2585
2586 [BZ #24370]
2587 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
2588
2589 2019-05-28 mansayk <6688000@gmail.com>
2590
2591 [BZ #24369]
2592 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
2593 (abmon): Likewise, but remove the trailing dots.
2594
2595 2019-05-28 Joseph Myers <joseph@codesourcery.com>
2596
2597 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
2598
2599 2019-05-27 Florian Weimer <fweimer@redhat.com>
2600
2601 * nptl/nptl-init.c: Add comment.
2602
2603 2019-05-24 Florian Weimer <fweimer@redhat.com>
2604
2605 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
2606 struct in_addr/struct in6_addr alignment.
2607
2608 2019-05-23 Joseph Myers <joseph@codesourcery.com>
2609
2610 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2611 (F_SEAL_FUTURE_WRITE): New macro.
2612
2613 2019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
2614
2615 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
2616 * elf/tst-ldconfig-bad-aux-cache.c: New file.
2617 * elf/tst-ldconfig_aux-cache.root: New directory.
2618 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
2619 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
2620 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
2621
2622 2019-05-22 Zack Weinberg <zackw@panix.com>
2623
2624 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
2625 host type.
2626 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
2627 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
2628
2629 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
2630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
2631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
2632 Delete.
2633
2634 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
2635 Issue an #error if used with a compiler in SPE-float mode.
2636 * sysdeps/powerpc/powerpc32/__longjmp_common.S
2637 * sysdeps/powerpc/powerpc32/setjmp_common.S
2638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
2639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
2640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
2641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
2642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
2643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2644 Remove code to preserve SPE register state.
2645
2646 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2647 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
2648 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
2649 Remove __SPE__ ifndefs.
2650
2651 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
2652
2653 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
2654 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
2655 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
2656 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
2657 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
2658 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
2659 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
2660 (INNER_LOOP_ITERS_MEDIUM): New define.
2661 (INNER_LOOP_ITERS_SMALL): New define.
2662 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
2663 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
2664 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
2665 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
2666 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
2667
2668 2019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
2669
2670 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
2671 New define.
2672 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
2673 (SEMTIMEDOP_IPC_ARGS): Likewise.
2674
2675 2019-05-21 Florian Weimer <fweimer@redhat.com>
2676
2677 [BZ #24584]
2678 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
2679 before updating __counter field and release it afterwards. Add
2680 overflow check.
2681 * iconv/gconv.h (struct __gconv_step): Mention synchronization
2682 requirement for __counter member.
2683
2684 2019-05-21 Florian Weimer <fweimer@redhat.com>
2685
2686 [BZ #24583]
2687 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
2688 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
2689 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
2690 instead of __gconv_release_step.
2691 * libio/Makefile (tests): Add tst-wfile-gconv.
2692 (tests-container): Add tst-wfile-ascii.
2693 (tst-wfile-gconv-ENV): Enable mtrace.
2694 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
2695 (tests-special): Add tst-wfile-gconv-mem.out.
2696 (tst-wfile-gconv.out): Depend on locales.
2697 (tst-wfile-gconv-mem.out): Add mtrace rule.
2698 * libio/tst-wfile-ascii.c: New file.
2699 * libio/tst-wfile-gconv.c: Likewise.
2700
2701 2019-05-20 Florian Weimer <fweimer@redhat.com>
2702
2703 [BZ #24588]
2704 libio: Remove codecvt vtable.
2705 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
2706 __libio_codecvt.
2707 * libio/iofgetpos.c (_IO_new_fgetpos): Call
2708 __libio_codecvt_encoding.
2709 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
2710 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
2711 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
2712 * libio/iofwide.c (__libio_codecvt): Remove variable.
2713 (_IO_fwide): Do not copy __libio_codecvt.
2714 (__libio_codecvt_out): Rename from do_out and export.
2715 (do_unshift): Remove function.
2716 (__libio_codecvt_in): Rename from do_in and export.
2717 (__libio_codecvt_encoding): Rename from do_encoding and export.
2718 (do_always_noconv): Remove function.
2719 (__libio_codecvt_length): Rename from do_length and export.
2720 (do_max_length): Remove function.
2721 * libio/libio.h (enum __codecvt_result): Remove definition; moved
2722 to libioP.h.
2723 (struct _IO_codecvt): Remove fields __codecvt_destr,
2724 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
2725 __codecvt_do_encoding, __codecvt_do_always_noconv,
2726 __codecvt_do_length, __codecvt_do_max_length.
2727 * libio/libioP.h (enum __codecvt_result): Define; moved from
2728 libio.h.
2729 (__libio_codecvt_out, __libio_codecvt_in)
2730 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
2731 functions.
2732 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
2733 (_IO_wfile_underflow): Call __libio_codecvt_in.
2734 (_IO_wfile_underflow): Likewise.
2735 (_IO_wfile_underflow_mmap): Likewise.
2736 (_IO_wfile_sync): Call __libio_codecvt_encoding,
2737 __libio_codecvt_length.
2738 (adjust_wide_data): Call __libio_codecvt_encoding,
2739 __libio_codecvt_in.
2740 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
2741 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
2742 __libio_codecvt_length.
2743
2744 2019-05-20 Florian Weimer <fweimer@redhat.com>
2745
2746 * support/support.h (support_sbindir_prefix): Declare.
2747 (support_install_rootsbindir): Update comment.
2748 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
2749 * support/support_paths.c (support_sbindir_prefix): Define.
2750
2751 2019-05-20 Mike Crowe <mac@mcrowe.com>
2752
2753 * support/timespec.c: Add backslash to correct newline in failure
2754 message.
2755
2756 * support/timespec.h: Correct confusing comment.
2757
2758 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2759
2760 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
2761 define.
2762 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
2763 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
2764 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
2765 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
2766
2767 [BZ #24570]
2768 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
2769 usage.
2770
2771 2019-05-20 Joseph Myers <joseph@codesourcery.com>
2772
2773 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
2774 (NT_ARM_PACG_KEYS): Likewise.
2775
2776 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
2777
2778 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
2779 (tcache_put): Remove redundant assert.
2780 (tcache_get): Remove redundant asserts.
2781 (__libc_malloc): Check tcache count is not zero.
2782 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
2783
2784 2019-05-17 Florian Weimer <fweimer@redhat.com>
2785
2786 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
2787
2788 2019-05-16 Joseph Myers <joseph@codesourcery.com>
2789
2790 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2791 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
2792 0x050100].
2793 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
2794 Likewise.
2795 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2796 (__ASSUME_STATX): Likewise.
2797
2798 2019-05-16 Florian Weimer <fweimer@redhat.com>
2799
2800 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
2801 flags argument.
2802 (LINE_PARSER): Do not map IPv4 addresses.
2803 (internal_nis_gethostent_r): Remove flags argument. Adjust call
2804 to parse_line.
2805 (_nss_nis_gethostent_r): Always pass AF_INET to
2806 internal_nis_gethostent_r.
2807 (internal_gethostbyname2_r): Remove flags argument. Adjust call
2808 to parse_line.
2809 (_nss_nis_gethostbyname2_r): Adjust call to
2810 internal_nis_gethostent_r.
2811 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
2812 call to internal_nis_gethostent_r.
2813 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
2814 from parse_line.
2815 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
2816 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
2817 Remove flags argument. Do not map IPv4 addresses.
2818 (internal_nisplus_gethostent_r): Adjust call to
2819 _nss_nisplus_parse_hostent.
2820 (internal_gethostbyname2_r): Remove flags argument. Adjust call
2821 to _nss_nisplus_parse_hostent.
2822 (_nss_nisplus_gethostbyname2_r): Adjust call to
2823 internal_gethostbyname2_r.
2824 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
2825 Adjust call to internal_gethostbyname2_r.
2826 (_nss_nisplus_gethostbyaddr_r): Adjust call to
2827 _nss_nisplus_parse_hostent.
2828 (_nss_nisplus_gethostbyname4_r): Adjust call to
2829 internal_gethostbyname2_r.
2830
2831 2019-05-16 Florian Weimer <fweimer@redhat.com>
2832
2833 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
2834 Remove flags.
2835 (LINE_PARSER): Remove address mapping.
2836 (EXTRA_ARGS_VALUE): Remove flags argument.
2837 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
2838 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
2839 gethostbyname3_multi.
2840 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
2841 _nss_files_gethostbyname3_r.
2842 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
2843
2844 2019-05-16 Florian Weimer <fweimer@redhat.com>
2845
2846 * support/support_test_compare_blob.c (report_blob): Report
2847 incorrect NULL blobs.
2848
2849 2019-05-15 Mark Wielaard <mark@klomp.org>
2850
2851 [BZ# 24476]
2852 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
2853 __libc_once_get (once) and static_buf == NULL.
2854 (__dlerror): Check we have a valid key, set result to static_buf
2855 otherwise.
2856
2857 2019-05-15 Andreas Schwab <schwab@suse.de>
2858
2859 [BZ #20568]
2860 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
2861 __codecvt_do_length.
2862 * libio/Makefile (tests): Add tst-wfile-sync.
2863 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
2864 * libio/tst-wfile-sync.c: New file.
2865 * libio/tst-wfile-sync.input: New file.
2866
2867 2019-05-15 Florian Weimer <fweimer@redhat.com>
2868
2869 nss: Turn __nss_database_lookup into a compatibility symbol.
2870 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
2871 __nss_database_lookup.
2872 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
2873 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
2874 __nss_database_lookup.
2875 (__nss_next): Move to …
2876 * nss/compat-lookup.c (nss_next): … here. Change it to fail
2877 unconditionally.
2878 (__nss_database_lookup): New function.
2879 * nss/Versions (GLIBC_2.0): Update comment.
2880 (GLIBC_PRIVATE): Export __nss_database_lookup2.
2881 * grp/initgroups.c (internal_getgrouplist): Call
2882 __nss_database_lookup2 instead of __nss_database_lookup.
2883 * nscd/aicache.c (addhstaiX): Likewise.
2884 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2885 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2886 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
2887 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
2888 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
2889 Likewise.
2890 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
2891 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
2892 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2893
2894 2019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
2895
2896 * support/support.h (support_install_rootsbindir): New variable.
2897 * support/support_paths.c: Likewise.
2898 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
2899
2900 2019-05-15 Florian Weimer <fweimer@redhat.com>
2901
2902 * iconv/gconv.h (__gconv_transliterate): Move declaration …
2903 * iconv/gconv_int.h (__gconv_transliterate): … here.
2904 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
2905 * iconv/skeleton.c: Likewise.
2906
2907 2019-05-14 Florian Weimer <fweimer@redhat.com>
2908
2909 Linux: Add the tgkill function.
2910 * bits/signal_ext.h: New file.
2911 * manual/signal.texi (Signaling Another Process): Document tgkill.
2912 * signal/Makefile (headers): Add bits/signal_ext.h.
2913 * signal/signal.h: Include <bits/signal_ext.h>.
2914 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
2915 (tst-tgkill): Link with libpthread.
2916 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
2917 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
2918 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
2919 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
2920 tgkill.
2921 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2922 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2923 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
2924 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2925 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2926 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2927 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2928 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2929 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2930 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2931 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
2932 Likewise.
2933 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2934 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2935 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2937 Likewise.
2938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2939 Likewise.
2940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
2941 Likewise.
2942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
2943 Likewise.
2944 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
2945 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2946 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2947 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2948 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2949 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2950 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2951 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2952
2953 2019-05-14 Carlos O'Donell <carlos@redhat.com>
2954
2955 * manual/search.texi (Tree Search Function): Adjust twalk_r
2956 documentation.
2957
2958 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2959
2960 [BZ #24544]
2961 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
2962 pre-defined value.
2963
2964 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
2965 * support/support.h (support_bindir_prefix): New variable.
2966 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
2967
2968 * config.make.in (bindir): New variable.
2969
2970 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
2971 (lll_trylock): Call __lll_trylock.
2972 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
2973 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
2974 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
2975 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2976 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
2977 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
2978 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2979 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2980 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
2981 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
2982 lowlevellock-futex.h.
2983
2984 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
2985 initialization for LLL_LOCK_INITIALIZER different than 0.
2986 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
2987 Assume LLL_LOCK_INITIALIZER being 0.
2988 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
2989 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
2990 Likewise.
2991 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
2992 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
2993
2994 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
2995 Optimize futex call and add systemtap probe.
2996
2997 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
2998 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
2999 __libc_disable_asynccancel, __librt_enable_asynccancel,
3000 __libc_disable_asynccancel, __librt_enable_asynccancel,
3001 __librt_disable_asynccancel): Move to ...
3002 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
3003 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
3004 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
3005 * sysdeps/generic/single-thread.h: New file.
3006 * sysdeps/unix/sysdep.h: Include single-thread.h.
3007 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
3008 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3009
3010 2019-05-08 Mike FABIAN <mfabian@redhat.com>
3011
3012 [BZ #24535]
3013 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
3014 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
3015 Unicode 12.1.0.
3016 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
3017 * localedata/unicode-gen/PropList.txt: Likewise.
3018 * localedata/unicode-gen/UnicodeData.txt: Likewise.
3019 * localedata/charmaps/UTF-8: Regenerate.
3020 * localedata/locales/i18n_ctype: Likewise.
3021 * localedata/locales/tr_TR: Likewise.
3022 * localedata/locales/translit_circle: Likewise.
3023 * localedata/locales/translit_cjk_compat: Likewise.
3024 * localedata/locales/translit_combining: Likewise.
3025 * localedata/locales/translit_compat: Likewise.
3026 * localedata/locales/translit_font: Likewise.
3027 * localedata/locales/translit_fraction: Likewise.
3028
3029 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
3030
3031 [BZ #24531]
3032 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
3033 (do_set_tcache_count): Only update if count is small enough.
3034 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
3035
3036 2019-05-10 Florian Weimer <fweimer@redhat.com>
3037
3038 * nptl/sem_close.c (struct walk_closure): Define.
3039 (walker): Adjust for __twalk_r.
3040 (sem_close): Call __twalk_r.
3041
3042 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3043
3044 * support/timespec.c (test_timespec_before_impl,
3045 test_timespec_equal_or_after_impl): print timespec member as intmax_t
3046 insted of long int.
3047
3048 2019-05-09 Mike Crowe <mac@mcrowe.com>
3049
3050 * nptl/tst-abstime.c: Use libsupport.
3051
3052 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
3053 small bug where only tv.tv_usec was checked which could cause an
3054 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
3055 than a second.
3056
3057 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
3058 libsupport.
3059
3060 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
3061 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
3062
3063 * nptl/tst-cond11.c: Use libsupport.
3064
3065 * support/timespec.h: New file. Provide timespec helper functions
3066 along with macros in the style of those in check.h.
3067 * support/timespec.c: New file. Implement check functions declared
3068 in support/timespec.h.
3069 * support/timespec-add.c: New file from gnulib containing
3070 timespec_add implementation that handles overflow.
3071 * support/timespec-sub.c: New file from gnulib containing
3072 timespec_sub implementation that handles overflow.
3073 * support/README: Mention timespec.h.
3074
3075 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
3076
3077 [BZ #24537]
3078 * nptl/Makefile: Move tst-eintr1 to xtests.
3079
3080 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3081
3082 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
3083 TRUNC handling.
3084 (round_mode): Add definition for TRUNC.
3085 * sysdeps/powerpc/fpu/s_trunc.c: New file.
3086 * sysdeps/powerpc/fpu/s_truncf.c: New file.
3087 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
3088 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3089 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
3090 Likewise.
3091 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
3092 Likewise.
3093 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
3094 Likewise.
3095 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
3096 Likewise.
3097 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
3098 file.
3099 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
3100 Likewise.
3101 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
3102 Likewise.
3103 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
3104 Likewise.
3105 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
3106 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
3107 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
3108 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
3109 s_truncf-power5+, and s_truncf-ppc64.
3110 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
3111 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
3112 file.
3113 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
3114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
3115 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
3116 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
3117 file.
3118 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
3119 Likewise.
3120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
3121 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
3122 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3123 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
3124 s_truncf-power5+, and s_truncf-ppc64.
3125 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
3126 file.
3127 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
3128 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
3129 Likewise.
3130 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
3131 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3132 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3133 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
3134 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
3135
3136 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
3137 ROUND handling.
3138 (round_mode): Add definition for ROUND.
3139 (round_to_integer_float): Likewise.
3140 * sysdeps/powerpc/fpu/s_round.c: New file.
3141 * sysdeps/powerpc/fpu/s_roundf.c: New file.
3142 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
3143 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3144 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
3145 Likewise.
3146 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
3147 Likewise.
3148 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
3149 Likewise.
3150 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
3151 Likewise.
3152 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
3153 file.
3154 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
3155 Likewise.
3156 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
3157 Likewise.
3158 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
3159 Likewise.
3160 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
3161 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
3162 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
3163 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
3164 s_roundf-power5+, and s_roundf-ppc64.
3165 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
3166 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
3167 file.
3168 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
3169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
3170 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
3171 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
3172 file.
3173 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
3174 Likewise.
3175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
3176 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
3177 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3178 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
3179 s_roundf-power5+, and s_roundf-ppc64.
3180 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
3181 file.
3182 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
3183 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
3184 Likewise.
3185 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
3186 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3187 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3188 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
3189 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
3190
3191 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
3192 Add FLOOR option.
3193 (round_mode): Add definition for FLOOR.
3194 * sysdeps/powerpc/fpu/s_floor.c: New file.
3195 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
3196 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
3197 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
3199 Remove file.
3200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
3201 Likewise
3202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
3203 Likewise.
3204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
3205 Likewise.
3206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
3207 New file.
3208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
3209 Likewise.
3210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
3211 Likewise.
3212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
3213 Likewise.
3214 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
3215 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
3216 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3217 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
3218 s_floorf-power5+, and s_floorf-ppc64.
3219 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
3220 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
3221 file.
3222 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
3223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
3224 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
3225 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
3226 file.
3227 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
3228 Likewise.
3229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
3230 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
3231 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3232 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
3233 s_floorf-power5+, and s_floorf-ppc64.
3234 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
3235 file.
3236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
3237 file.
3238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
3239 Likewise.
3240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
3241 Likewise.
3242 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3243 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3244 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
3245 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
3246
3247 2019-05-08 Mike Crowe <mac@mcrowe.com>
3248
3249 * support/xclock_gettime.c (xclock_gettime): New file. Provide
3250 clock_gettime wrapper for use in tests that fails the test rather
3251 than returning failure.
3252
3253 * support/xtime.h: New file to declare xclock_gettime.
3254
3255 * support/Makefile: Add xclock_gettime.c.
3256
3257 * support/README: Mention xtime.h.
3258
3259 2019-05-08 Florian Weimer <fweimer@redhat.com>
3260
3261 malloc/tst-mallocfork2: Use process-shared barriers.
3262 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
3263 (signal_count, sigusr1_sender_pid): Remove.
3264 (iterations): Define constant.
3265 (shared): New variable.
3266 (sigusr1_received): Update comment.
3267 (sigusr1_handler): Do not send SIGSTOP to the sender process.
3268 (signal_sender): Optional use barriers to avoid sending signals
3269 during irrelevant times.
3270 (do_it): Initialize variable shared. Use xfork for error
3271 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
3272 the iteration count, independent of signal delivery. Check for
3273 deadlocks in fork. Introduce barriers for reducing signal
3274 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
3275 replaced by the barriers. Count signals during fork/free/malloc
3276 and report them.
3277 * malloc/Makefile (tst-mallocfork): Link with libpthread.
3278
3279 2019-05-07 Joseph Myers <joseph@codesourcery.com>
3280
3281 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3282 version to 5.1.
3283 (clock_adjtime64) New syscall.
3284 (clock_getres_time64) Likewise.
3285 (clock_gettime64) Likewise.
3286 (clock_nanosleep_time64) Likewise.
3287 (clock_settime64) Likewise.
3288 (futex_time64) Likewise.
3289 (io_pgetevents_time64) Likewise.
3290 (io_uring_enter) Likewise.
3291 (io_uring_register) Likewise.
3292 (io_uring_setup) Likewise.
3293 (mq_timedreceive_time64) Likewise.
3294 (mq_timedsend_time64) Likewise.
3295 (pidfd_send_signal) Likewise.
3296 (ppoll_time64) Likewise.
3297 (pselect6_time64) Likewise.
3298 (recvmmsg_time64) Likewise.
3299 (rt_sigtimedwait_time64) Likewise.
3300 (sched_rr_get_interval_time64) Likewise.
3301 (semtimedop_time64) Likewise.
3302 (timer_gettime64) Likewise.
3303 (timer_settime64) Likewise.
3304 (timerfd_gettime64) Likewise.
3305 (timerfd_settime64) Likewise.
3306 (utimensat_time64) Likewise.
3307
3308 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
3309 version to 9 branch.
3310
3311 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
3312
3313 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
3314 __memmove_thunderx2 to the list of implementations
3315 * sysdeps/aarch64/multiarch/memmove.c: Likewise
3316 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
3317 (__memmove_thunderx2): Rewritten using SIMD ld/st
3318 (__memcpy_thunderx2): Fixed handling overlapping cases.
3319 Used ldp/stp instead of ldr/str if possible. Made loops
3320 tails branchless.
3321
3322 2019-05-03 Florian Weimer <fweimer@redhat.com>
3323
3324 * misc/tst-tsearch.c (walk_tree): Add more error checking.
3325
3326 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3327
3328 [BZ #24506]
3329 * elf/tst-pldd.c (in_str_list): New function.
3330 (do_test): Add default names for ld and libc as one option.
3331
3332 2019-05-02 Florian Weimer <fweimer@redhat.com>
3333
3334 misc: Add twalk_r function.
3335 * include/search.h (__twalk_r): Declare.
3336 * manual/examples/twalk.c: New file.
3337 * manual/search.texi (Tree Search Function): Document twalk_r.
3338 * misc/Versions (2.30): Export twalk_r.
3339 (GLIBC_PRIVATE): Export __twalk_r.
3340 * misc/search.h [__USE_GNU] (twalk_r): Declare.
3341 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
3342 (twalk_r): Add weak alias.
3343 * misc/tst-tsearch.c (struct walk_trace_element): Define.
3344 (walk_trace): New variable.
3345 (struct twalk_with_twalk_r_closure): Define.
3346 (twalk_with_twalk_r_action): New function.
3347 (twalk_with_twalk_r): Likewise.
3348 (walk_action): Call walk_trace_add.
3349 (walk_tree_with): Rename from walk_tree. Add walk argument.
3350 (walk_tree): New function.
3351 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
3352 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
3353 Likewise.
3354 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3355 Likewise.
3356 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3357 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
3358 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
3359 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
3360 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
3361 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3362 Likewise.
3363 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3364 Likewise.
3365 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3366 Likewise.
3367 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3368 (GLIBC_2.30): Likewise.
3369 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3370 (GLIBC_2.30): Likewise.
3371 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3372 (GLIBC_2.30): Likewise.
3373 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3374 (GLIBC_2.30): Likewise.
3375 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3376 Likewise.
3377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3378 (GLIBC_2.30): Likewise.
3379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3380 (GLIBC_2.30): Likewise.
3381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3382 (GLIBC_2.30): Likewise.
3383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3384 (GLIBC_2.30): Likewise.
3385 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3386 Likewise.
3387 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3388 Likewise.
3389 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3390 Likewise.
3391 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3392 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3393 Likewise.
3394 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3395 Likewise.
3396 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3397 Likewise.
3398 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3399 Likewise.
3400
3401 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
3402
3403 Make mktime etc. compatible with __time64_t
3404 Keep these functions compatible with Gnulib while adding
3405 __time64_t support. The basic idea is to move private API
3406 declarations from include/time.h to time/mktime-internal.h, since
3407 the former file cannot easily be shared with Gnulib whereas the
3408 latter can.
3409 Also, do some other minor cleanup while in the neighborhood.
3410 * include/time.h: Include stdbool.h, time/mktime-internal.h.
3411 (__mktime_internal): Move this prototype to time/mktime-internal.h,
3412 since Gnulib needs it.
3413 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
3414 Move these macros to time/mktime-internal.h, since Gnulib needs them.
3415 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
3416 (in_time_t_range): New static function.
3417 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
3418 so that glibc users are not tempted to use __time64_t.
3419 * time/mktime-internal.h: Rewrite so that it does both glibc
3420 and Gnulib work. Include time.h if not _LIBC.
3421 (mktime_offset_t) [!_LIBC]: Define for gnulib.
3422 (__time64_t): New type or macro, moved here from
3423 posix/bits/types.h.
3424 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
3425 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
3426 from include/time.h.
3427 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
3428 New macros, taken from GNulib.
3429 (__mktime_internal): New prototype, moved here from include/time.h.
3430 * time/mktime.c (mktime_min, mktime_max, convert_time)
3431 (ranged_convert, __mktime_internal, __mktime64):
3432 * time/timegm.c (__timegm64):
3433 Use __time64_t, not time_t.
3434 * time/mktime.c: Stop worrying about whether time_t is floating-point.
3435 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
3436 Rename from mktime.
3437 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
3438 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
3439 for libc_hidden_def.
3440 Include errno.h.
3441 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
3442 Rename from timegm.
3443 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
3444
3445 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
3446
3447 [BZ #19444]
3448 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
3449 from `-Wmaybe-uninitialized'.
3450 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
3451
3452 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3453
3454 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
3455 function.
3456 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
3457 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
3458 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
3459 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
3460 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
3461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3462 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
3463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
3464 Remove file.
3465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
3466 Likewise.
3467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
3468 Likewise.
3469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
3470 Likewise.
3471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
3472 New file.
3473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
3474 Likewise.
3475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
3476 Likewise.
3477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
3478 Likewise.
3479 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
3480 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
3481 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
3482 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
3483 Likewise.
3484 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
3485 Likewise.
3486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
3487 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
3488 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
3489 file.
3490 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
3491 Likewise.
3492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
3493 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
3494 * here.
3495 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3496 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
3497 s_ceilf-power5+, and s_ceilf-ppc64.
3498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
3499 file.
3500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
3501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
3502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
3503 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
3504 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
3505 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
3506 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
3507
3508 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
3509 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
3510 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
3511
3512 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
3513
3514 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
3515 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
3516 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
3517 (sem_getvalue): Likewise.
3518
3519 2019-04-26 Florian Weimer <fweimer@redhat.com>
3520
3521 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
3522 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
3523
3524 2019-04-26 Florian Weimer <fweimer@redhat.com>
3525
3526 Makeconfig: Move -Wl,-rpath-link options before library references.
3527 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
3528 (link-libc): Remove $(link-libc-rpath-link).
3529
3530 2019-04-25 Florian Weimer <fweimer@redhat.com>
3531
3532 * Makeconfig (+link-pie-before-libc): Remove $(CC).
3533 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
3534 (+link-static-before-libc): Remove $(CC).
3535 (+link-static, +link-static-tests): Add $(CC).
3536 (+link-before-libc): Remove $(CC).
3537 (+link, +link-pie, +link-pie-printers): Add $(CC).
3538
3539 2019-04-26 Florian Weimer <fweimer@redhat.com>
3540
3541 * Makeconfig (+link-pie-before-libc): Remove $(CC).
3542 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
3543 (+link-static-before-libc): Remove $(CC).
3544 (+link-static, +link-static-tests): Add $(CC).
3545 (+link-before-libc): Remove $(CC).
3546 (+link, +link-pie, +link-pie-printers): Add $(CC).
3547
3548 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
3549
3550 [BZ#24484]
3551 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
3552
3553 2019-04-25 Florian Weimer <fweimer@redhat.com>
3554
3555 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
3556 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
3557 (bench-link-targets): New variable.
3558 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
3559
3560 2019-04-25 Florian Weimer <fweimer@redhat.com>
3561
3562 Also enable BIND_NOW for programs if --enable-bind-now.
3563 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
3564 (+link-pie): Use $(link-extra-flags).
3565 (+link-static): Likewise.
3566 [! $(build-pie-default)] (+link): Likewise.
3567 * manual/install.texi (Configuring and compiling): Update
3568 --enable-bind-now description.
3569 * INSTALL: Regenerated.
3570
3571 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
3572
3573 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
3574 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
3575
3576 2019-04-24 Mike Frysinger <vapier@gentoo.org>
3577
3578 [BZ #18465]
3579 * malloc/Makefile (others): Add memusagestat.
3580 ($(objpfx)memusagestat): Delete rule.
3581 (LDLIBS-memusagestat): New variable.
3582
3583 2019-04-24 Florian Weimer <fweimer@redhat.com>
3584
3585 * locale/Makefile (tests-special): Guard setting by
3586 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
3587 to run while cross-compiling.
3588
3589 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3590
3591 [BZ #18035]
3592 * elf/Makefile (tests-container): Add tst-pldd.
3593 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
3594 (E(find_maps)): Avoid use alloca, use default read file operations
3595 instead of explicit LFS names, and fix infinite loop.
3596 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
3597 (get_process_info): Use _Static_assert instead of assert, use default
3598 directory operations instead of explicit LFS names, and free some
3599 leadek pointers.
3600 * elf/tst-pldd.c: New file.
3601
3602 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
3603
3604 * malloc/arena.c (do_set_mallopt_check): Removed.
3605
3606 2019-04-23 Florian Weimer <fweimer@redhat.com>
3607
3608 locale: Add LOCPATH diagnostics to the locale program.
3609 * locale/programs/locale.c (setlocale_failed): New variable.
3610 (try_setlocale): New function.
3611 (quote_string): Likewise.
3612 (setlocale_diagnostics): Likewise.
3613 (main): Call try_setlocale instead of setlocale. Call
3614 setlocale_diagnostics.
3615 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
3616 (tst-locale-locpath.out): New target.
3617 * locale/tst-locale-locpath.sh: New file.
3618
3619 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3620
3621 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
3622 to 2.30 notes.
3623
3624 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3625
3626 [BZ #23741]
3627 * malloc/hooks.c (malloc_check, realloc_check): Use
3628 __builtin_add_overflow on overflow check and adapt to
3629 checked_request2size change.
3630 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
3631 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
3632 allocation size to PTRDIFF_MAX.
3633 (REQUEST_OUT_OF_RANGE): Remove macro.
3634 (checked_request2size): Change to inline function and limit maximum
3635 requested size to PTRDIFF_MAX.
3636 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
3637 maximum allocation size to PTRDIFF_MAX.
3638 (_mid_memalign): Use _int_memalign call for overflow check.
3639 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
3640 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
3641 limit maximum requested size to PTRDIFF_MAX.
3642 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
3643 valloc, pvalloc): Add __attribute_alloc_size__.
3644 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
3645 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
3646 larger than PTRDIFF_MAX.
3647 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
3648 around tests of malloc with negative sizes.
3649 * malloc/tst-posix_memalign.c (do_test): Likewise.
3650 * malloc/tst-pvalloc.c (do_test): Likewise.
3651 * malloc/tst-valloc.c (do_test): Likewise.
3652 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
3653 with resulting size allocation larger than PTRDIFF_MAX with
3654 reallocarray_nowarn.
3655 (reallocarray_nowarn): New function.
3656 * NEWS: Mention the malloc function semantic change.
3657
3658 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3659
3660 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
3661 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
3662
3663 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
3664 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
3665 * sysdeps/powerpc/fpu/s_fma.c: New file.
3666 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
3667
3668 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
3669 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
3670
3671 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
3672 the magic flag store.
3673 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
3674 Likewise.
3675 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
3676 Likewise.
3677 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
3678 Remove rt_sigreturn call.
3679
3680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3681 Remove rt_sigreturn call.
3682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3683 Likewise.
3684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
3685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
3686
3687 * support/Makefile (libsupport-routines): Add support_subprocess,
3688 xposix_spawn, xposix_spawn_file_actions_addclose, and
3689 xposix_spawn_file_actions_adddup2.
3690 (tst-support_capture_subprocess-ARGS): New rule.
3691 * support/capture_subprocess.h (support_capture_subprogram): New
3692 prototype.
3693 * support/support_capture_subprocess.c (support_capture_subprocess):
3694 Refactor to use support_subprocess and support_capture_poll.
3695 (support_capture_subprogram): New function.
3696 * support/tst-support_capture_subprocess.c (write_mode_to_str,
3697 str_to_write_mode, test_common, parse_int, handle_restart,
3698 do_subprocess, do_subprogram, do_multiple_tests): New functions.
3699 (do_test): Add support_capture_subprogram tests.
3700 * support/subprocess.h: New file.
3701 * support/support_subprocess.c: Likewise.
3702 * support/xposix_spawn.c: Likewise.
3703 * support/xposix_spawn_file_actions_addclose.c: Likewise.
3704 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
3705 * support/xspawn.h: Likewise.
3706
3707 2019-04-17 Mike Gerow <gerow@google.com>
3708
3709 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
3710 groups limit.
3711
3712 2019-04-11 Florian Weimer <fweimer@redhat.com>
3713
3714 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
3715 domain with empty string.
3716 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3717
3718 2019-04-11 Florian Weimer <fweimer@redhat.com>
3719
3720 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
3721 comment.
3722 (alloc_buffer_next): Change return type to non-const. Update
3723 comment.
3724
3725 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
3726
3727 * manual/time.texi (Formatting Calendar Time): Add missing percent
3728 sign to conversion specifier.
3729
3730 2019-04-09 Carlos O'Donell <carlos@redhat.com>
3731 Kwok Cheung Yeung <kcy@codesourcery.com>
3732
3733 [BZ #16573]
3734 * malloc/mtrace.c: Define prototypes for all hooks.
3735 (set_default_hooks): New function.
3736 (set_trace_hooks): Likewise.
3737 (save_default_hooks): Likewise.
3738 (tr_freehook): Use new s*_hooks functions.
3739 (tr_mallochook): Likewise.
3740 (tr_reallochook): Likewise.
3741 (tr_memalignhook): Likewise.
3742 (mtrace): Likewise.
3743 (muntrace): Likewise.
3744
3745 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
3746
3747 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
3748 (generic_stpcpy): New function.
3749 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
3750 (generic_stpncpy): New function.
3751 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
3752 (generic_strcat): New function.
3753 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
3754 (generic_strcpy): New function.
3755 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
3756 (STUPID_STRNCAT): Remove function.
3757 (generic_strncat): New function.
3758 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
3759 (STUPID_STRNCPY): Remove function.
3760 (generic_strncpy): New function.
3761 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
3762 (generic_strnlen): New function.
3763 (memchr_strnlen): New function.
3764 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
3765 (memchr_strlen): Likewise.
3766
3767 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
3768
3769 * benchtests/bench-strstr.c (input): Add realistic input text.
3770 (stupid_strstr): Remove function.
3771 (basic_strstr): Add function.
3772 (twoway_strstr): Add function.
3773 (do_one_test): Add result checking.
3774 (do_test): Use new input text. Remove accidental early matches.
3775 (test_main): Improve range of tests, reduce unaligned cases.
3776
3777 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
3778
3779 * benchtests/bench-memmem.c (simple_memmem): Remove function.
3780 (basic_memmem): Add function.
3781 (twoway_memmem): Add function.
3782
3783 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
3784
3785 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
3786 * benchtests/bench-malloc-thread.c: Likewise.
3787 * benchtests/bench-skeleton.c: Likewise.
3788 * benchtests/bench-strtod.c: Likewise.
3789 * benchtests/bench-timing.h: Likewise.
3790
3791 2019-04-08 Florian Weimer <fweimer@redhat.com>
3792
3793 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
3794 definitions.
3795 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
3796 RES_INSECURE2 security checks.
3797 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
3798 RES_INSECURE2 handling.
3799
3800 2019-04-08 Florian Weimer <fweimer@redhat.com>
3801
3802 resolv: Remove support for RES_USE_INET6 and the inet6 option.
3803 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
3804 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
3805 GETHOSTBYNAME.
3806 * resolv/Makefile (tests): Remove tst-res_use_inet6.
3807 (tests-internal): Update justification for tst-resolv-res_init,
3808 tst-resolv-res_init-thread.
3809 (tst-res_use_inet6): Remove target.
3810 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
3811 * resolv/res_debug.c (p_option): Remove "inet6" support.
3812 * resolv/res_init.c (res_setoptions): Likewise.
3813 * resolv/res_use_inet6.h: Remove file.
3814 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
3815 definition.
3816 (res_use_inet6): Always return false.
3817 * resolv/resolv.h (RES_USE_INET6): Remove definition.
3818 * resolv/resolv_context.h: Adjust file comment.
3819 (struct resolv_context): Update comment on __next field.
3820 (__resolv_context_put): Update comment.
3821 * resolv/tst-res_use_inet6.c: Remove file.
3822 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
3823 "inet6" support.
3824 (test_cases): Adjust test case.
3825 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
3826 (thread_byname2_af_inet6): Use old byname_inet6 code.
3827 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
3828 (gai): Remove do_inet6 argument.
3829 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
3830 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
3831 (thread_gai_unspec_inet6): Remove functions.
3832 (do_test): Adjust thread_funcs.
3833 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
3834 RES_USE_INET6 flag.
3835 (gaih_inet): Do not disable RES_USE_INET6 flag.
3836
3837 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
3838
3839 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
3840 and remove redundant code.
3841
3842 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3843
3844 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
3845 New rule.
3846 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
3847 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
3848 Likewise.
3849 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
3850 Likewise.
3851 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
3852 Likewise.
3853 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3854 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
3855 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
3856 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
3857 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3858 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
3859 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3860 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
3861 wcsrchr-power7.
3862 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
3863 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
3864 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3865 Remove wcsrchr optimizations.
3866 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3867
3868 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
3869 the loop unroll.
3870
3871 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
3872 New rule.
3873 * sysdeps/powerpc/power6/wcschr.c: Remove file.
3874 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
3875 Likewise.
3876 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
3877 Likewise.
3878 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
3879 Likewise.
3880 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3881 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
3882 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
3883 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
3884 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3885 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
3886 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3887 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
3888 wcschr-power7.
3889 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
3890 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
3891 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3892 Remove wcschr optimizations.
3893 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3894
3895 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
3896 the loop unroll.
3897
3898 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
3899 New rule.
3900 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
3901 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
3902 Likewise.
3903 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
3904 Likewise.
3905 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
3906 Likewise.
3907 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3908 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
3909 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
3910 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
3911 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3912 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
3913 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3914 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
3915 wcscpy-power7.
3916 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
3917 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
3918 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3919 Remove wcscpy optimizations.
3920 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3921
3922 * include/loop_unroll.h: New file.
3923 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
3924 besides generic implementation.
3925
3926 2019-04-03 DJ Delorie <dj@redhat.com>
3927
3928 * time/tst-strftime3.c (tm_to_printed): Disable warning about
3929 snprintf truncating output.
3930
3931 2019-04-02 DJ Delorie <dj@redhat.com>
3932
3933 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
3934 warning.
3935
3936 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3937
3938 [BZ #22964]
3939 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
3940 era.
3941 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
3942 (mkreftable): Add rules for the new Japanese era and the new dates.
3943
3944 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
3945 Rafal Luzynski <digitalfreak@lingonborough.com>
3946
3947 * time/tst-strftime2.c (date_t): Explicitly define the type.
3948 (dates): Use natural month and year numbers to express a date.
3949 (is_before): New function to compare dates.
3950 (mkreftable): Minor improvements to simplify maintenance.
3951 (do_test): Reflect the changes in dates array.
3952
3953 [BZ #24293]
3954 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
3955 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
3956 * time/tst-strftime2.c (locales): Likewise.
3957 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
3958 2010-04-01, and 2011-04-01.
3959 (mkreftable): Add rules for the new locales and the new dates.
3960
3961 2019-04-01 Carlos O'Donell <carlos@redhat.com>
3962
3963 * localedata/locales/ja_JP: Add comments to era entries.
3964
3965 2019-04-01 DJ Delorie <dj@redhat.com>
3966
3967 [BZ #24394]
3968 * time/strptime_l.c (%Ey): Fix fencepost error.
3969 * time/tst-strftime3.c: New.
3970 * time/Makefile (tests): Add tst-strftime3.
3971
3972 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
3973
3974 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
3975 conditional branch to DIVBYZERO. Fix unwind info.
3976 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
3977 excb after conditional branch to $powerof2. Add missing unop
3978 instructions and .align directives and reorder instructions to
3979 match __divqu.
3980
3981 2019-04-01 Richard Henderson <rth@twiddle.net>
3982
3983 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
3984 Do not redefine.
3985 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
3986 Do not redefine.
3987
3988 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
3989
3990 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
3991 $libc_cv_riscv_float_abi in `test' invocation.
3992 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
3993
3994 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
3995
3996 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
3997 asm with builtin.
3998 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
3999 Likewise.
4000 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4001 (_GET_SI_FPSCR): Likewise.
4002 (_SET_SI_FPSCR): Likewise.
4003
4004 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4005
4006 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
4007 clang 2.8.
4008 (signbit): Use builtin for clang 3.3.
4009 (isinf): Use builtin for clang 3.7.
4010
4011 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4012
4013 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
4014
4015 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
4016
4017 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
4018 quote in printf.
4019
4020 2019-03-25 Mike Crowe <mac@mcrowe.com>
4021
4022 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
4023 pthread_rwlock_timedrdlock with calls to
4024 pthread_rwlock_timedwrlock to ensure that the latter is tested
4025 too. Use new function name in diagnostic messages too.
4026
4027 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
4028 (do_test) Use libsupport test macros rather than hand-coded
4029 conditionals and error messages. Ensure that sem_init returns zero
4030 rather than not -1. Use <support/test-driver.c> rather than
4031 test-skeleton.c.
4032
4033 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
4034 test macros rather than hand-coded conditionals and error messages.
4035 Use <support/test-driver.c> rather than test-skeleton.c.
4036
4037 2019-03-25 Joseph Myers <joseph@codesourcery.com>
4038
4039 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
4040
4041 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
4042 (NT_MIPS_MSA): Likewise.
4043
4044 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4045
4046 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
4047 * benchtests/README: Update description.
4048 * benchtests/bench-timing.h: Default to hp-timing.
4049 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
4050 HP_TIMING_PRINT): Remove.
4051 (HP_TIMING_NOW): Add generic implementation.
4052 (hp_timing_t): Change to uint64_t.
4053
4054 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
4055 HP_TIMING_INLINE.
4056 * nptl/descr.h: Likewise.
4057 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
4058 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
4059 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
4060 Abstract hp-timing usage with RTLD_* macros.
4061 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
4062 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
4063 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
4064 HP_TIMING_NONAVAIL): Likewise.
4065 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
4066 Likewise.
4067 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
4068 HP_SMALL_TIMING_AVAIL): Likewise.
4069 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
4070 HP_SMALL_TIMING_AVAIL): Likewise.
4071 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
4072 HP_SMALL_TIMING_AVAIL): Likewise.
4073 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
4074 HP_SMALL_TIMING_AVAIL): Likewise.
4075 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
4076 Likewise.
4077 * sysdeps/generic/hp-timing-common.h: Update comment with
4078 HP_TIMING_AVAIL removal.
4079
4080 * include/random-bits.h: New file.
4081 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
4082 (__res_context_mkquery): Remove usage hp-timing usage and replace with
4083 random_bits.
4084 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
4085 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
4086 Likewise.
4087
4088 * include/libc-internal.h (__get_clockfreq): Remove prototype.
4089 * rt/Makefile (clock-routines): Remove get_clockfreq.
4090 * rt/get_clockfreq.c: Remove file.
4091 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
4092 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
4093 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
4094 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
4095 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
4096
4097 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
4098 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
4099 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
4100 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
4101 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
4102
4103 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
4104 pthread_clock_settime.
4105 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
4106 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
4107 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
4108 * elf/rtld.c (_dl_start_final): Likewise.
4109 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
4110 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
4111 Remove.
4112 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
4113 (_dl_cpuclock_offset): Remove.
4114 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
4115 cpuclock_offset_ununsed.
4116 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
4117 cpuclock_offset set.
4118 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
4119 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4120 * nptl/pthread_clock_gettime.c: Remove file.
4121 * nptl/pthread_clock_settime.c: Likewise.
4122 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
4123 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
4124 and CLOCK_PROCESS_CPUTIME_ID support.
4125 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
4126 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
4127 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
4128 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
4129 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
4130 Likewise.
4131 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
4132
4133 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4134
4135 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
4136 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
4137 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
4138 New defines.
4139 * sysdeps/s390/memmem-arch13.S: New file.
4140 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
4141 if it is only used as fallback.
4142 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
4143 * sysdeps/s390/multiarch/ifunc-impl-list.c
4144 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
4145
4146 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4147
4148 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
4149 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
4150 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
4151 New defines.
4152 * sysdeps/s390/multiarch/ifunc-impl-list.c
4153 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
4154 * sysdeps/s390/strstr-arch13.S: New file.
4155 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
4156 if it is only used as fallback.
4157 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
4158
4159 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4160
4161 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
4162 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
4163 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
4164 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
4165 ifunc selector.
4166 * sysdeps/s390/multiarch/ifunc-impl-list.c
4167 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
4168 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
4169 S390_IS_ARCH13_MIE3): New defines.
4170
4171 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4172
4173 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
4174 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
4175 * sysdeps/s390/configure.ac: Add checks for arch13 support.
4176 * sysdeps/s390/configure: Regenerated.
4177
4178 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4179
4180 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
4181 Add vxe2, vxp, dflt, sort flags.
4182 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
4183 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
4184 capabilities.
4185 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
4186 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
4187 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
4188 HWCAP_S390_DFLT): Define.
4189
4190 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4191
4192 [BZ #24372]
4193 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
4194 of compiler warning.
4195 * locale/programs/ld-collate.c (collate_output): Likewise.
4196
4197 2019-03-21 DJ Delorie <dj@redhat.com>
4198
4199 [BZ #24372]
4200 * iconv/iconvconfig.c (write_output): Replace floating point math
4201 with integer math to avoid imprecise results.
4202 * locale/programs/ld-collate.c (collate_output): Likewise.
4203
4204 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
4205
4206 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
4207 Add HWCAP_S390_VX and HWCAP_S390_VXE.
4208
4209 2019-03-20 mansayk <6688000@gmail.com>
4210
4211 [BZ #24296]
4212 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
4213 (abday): Likewise, but remove the trailing dots.
4214
4215 2019-03-19 Joseph Myers <joseph@codesourcery.com>
4216
4217 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
4218 macro.
4219 (HWCAP_PACA): Likewise.
4220 (HWCAP_PACG): Likewise.
4221 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
4222 Increase to 32.
4223 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
4224
4225 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4226
4227 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
4228 should be handled.
4229
4230 2019-03-15 Joseph Myers <joseph@codesourcery.com>
4231
4232 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4233 version to 5.0.
4234 (old_getpagesize): New syscall.
4235
4236 2019-03-15 Felix Yan <felixonmars@archlinux.org>
4237
4238 [BZ #24293]
4239 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
4240 * localedata/locales/cmn_TW (era): Likewise.
4241 * localedata/locales/hak_TW (era): Likewise.
4242 * localedata/locales/lzh_TW (era): Likewise.
4243 * localedata/locales/nan_TW (era): Likewise.
4244
4245 2019-03-14 Adam Maris <amaris@redhat.com>
4246
4247 * malloc/malloc.c (_int_malloc): Check for large bin list
4248 corruption when inserting unsorted chunk.
4249
4250 2019-03-14 Florian Weimer <fweimer@redhat.com>
4251
4252 Remove obsolete, never-implemented XSI STREAMS declarations.
4253 * manual/terminal.texi (Allocation): Remove portability note and
4254 adjust example.
4255 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
4256 _SC_STREAMS.
4257 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
4258 * sysdeps/unix/inet/Subdirs (streams): Remove.
4259 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
4260 (conformtest-headers-UNIX98): Likewise.
4261 (conformtest-headers-XOPEN2K): Likewise.
4262 (conformtest-headers-POSIX2008): Likewise.
4263 * posix/compat-streams.c: New file.
4264 * posix/Makefile (routines): Add it.
4265 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
4266 getpmsg, isastream, putmsg, putpmsg.
4267 (GLIBC_2.30): New section.
4268 * bits/stropts.h: Remove file.
4269 * bits/xtitypes.h: Likewise.
4270 * conform/data/stropts.h-data: Likewise.
4271 * include/stropts.h: Likewise.
4272 * include/sys/stropts.h: Likewise.
4273 * include/xtitypes.h: Likewise.
4274 * streams/Makefile: Likewise.
4275 * streams/fattach.c: Likewise.
4276 * streams/fdetach.c: Likewise.
4277 * streams/getmsg.c: Likewise.
4278 * streams/getpmsg.c: Likewise.
4279 * streams/isastream.c: Likewise.
4280 * streams/putmsg.c: Likewise.
4281 * streams/putpmsg.c: Likewise.
4282 * streams/stropts.h: Likewise.
4283 * streams/sys/stropts.h: Likewise.
4284 * sysdeps/ia64/bits/xtitypes.h: Likewise.
4285 * sysdeps/s390/bits/xtitypes.h: Likewise.
4286 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
4287 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
4288 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
4289 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
4290 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
4291 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
4292 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
4293 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
4294 * sysdeps/x86/bits/xtitypes.h: Likewise.
4295
4296 2019-03-14 Florian Weimer <fweimer@redhat.com>
4297
4298 * nss/tst-nss-files-alias-truncated.c (do_test): Load
4299 libnss_files.
4300 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
4301 but not with libnss_files.
4302 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
4303
4304 2019-03-14 Zack Weinberg <zackw@panix.com>
4305
4306 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
4307 Specify encoding="utf-8" when opening headers to check.
4308
4309 2019-03-13 Joseph Myers <joseph@codesourcery.com>
4310
4311 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4312 version to 5.0.
4313 (Context.checkout_tar): Handle variable major version for Linux
4314 kernel.
4315
4316 2019-03-13 Florian Weimer <fweimer@redhat.com>
4317
4318 [BZ #24047]
4319 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
4320
4321 2019-03-13 Zack Weinberg <zackw@panix.com>
4322
4323 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
4324 Move to stdlib.
4325 * include/inttypes.h: Adjust to match.
4326 * include/stdint.h: New wrapper.
4327
4328 2019-03-13 Zack Weinberg <zackw@panix.com>
4329
4330 * scripts/check-obsolete-constructs.py: New test script.
4331 * scripts/check-installed-headers.sh: Remove tests for
4332 obsolete typedefs, superseded by check-obsolete-constructs.py.
4333 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
4334 as a special test. Update commentary.
4335 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
4336 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
4337 Update commentary.
4338 * posix/sys/types.h (__u_intN_t): Remove.
4339 (u_int8_t): Typedef using __uint8_t.
4340 (u_int16_t): Typedef using __uint16_t.
4341 (u_int32_t): Typedef using __uint32_t.
4342 (u_int64_t): Typedef using __uint64_t.
4343
4344 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
4345
4346 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
4347 call _dl_procinfo.
4348 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
4349 Ignore types other than AT_HWCAP.
4350 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
4351 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
4352 Likewise.
4353 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
4354 in the case of falling back to generic output mechanism.
4355 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
4356 Likewise.
4357
4358 2019-03-12 Florian Weimer <fweimer@redhat.com>
4359
4360 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
4361
4362 2019-03-12 Florian Weimer <fweimer@redhat.com>
4363
4364 [BZ #24047]
4365 resolv: Enable full ICMP errors for UDP DNS sockets
4366 * resolv/res_enable_icmp.c: New file.
4367 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
4368 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
4369 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
4370 socket.
4371
4372 2019-03-11 Mao Han <han_mao@c-sky.com>
4373
4374 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
4375 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
4376
4377 2019-03-11 Mao Han <han_mao@c-sky.com>
4378
4379 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
4380 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
4381 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
4382
4383 2019-03-11 Mao Han <han_mao@c-sky.com>
4384
4385 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
4386 directly.
4387 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
4388 definition.
4389
4390 2019-03-11 Mao Han <han_mao@c-sky.com>
4391
4392 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
4393 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
4394 in mcontext_t
4395
4396 2019-03-08 Mike FABIAN <mfabian@redhat.com>
4397
4398 [BZ #24307]
4399 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
4400 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
4401 Unicode 12.0.0.
4402 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
4403 * localedata/unicode-gen/PropList.txt: Likewise.
4404 * localedata/unicode-gen/UnicodeData.txt: Likewise.
4405 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
4406 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
4407 * localedata/charmaps/UTF-8: Regenerate.
4408 * localedata/locales/i18n_ctype: Likewise.
4409 * localedata/locales/tr_TR: Likewise.
4410 * localedata/locales/translit_circle: Likewise.
4411 * localedata/locales/translit_cjk_compat: Likewise.
4412 * localedata/locales/translit_combining: Likewise.
4413 * localedata/locales/translit_compat: Likewise.
4414 * localedata/locales/translit_font: Likewise.
4415 * localedata/locales/translit_fraction: Likewise.
4416
4417 2019-03-07 Joseph Myers <joseph@codesourcery.com>
4418
4419 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
4420 than after operators.
4421 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
4422 (setitimer_locked): Likewise.
4423 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
4424 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
4425 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
4426 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
4427 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
4428 (PPC_CPU_SUPPORTED): Likewise.
4429 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
4430 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
4431 (stat_overflow): Likewise.
4432 (statfs_overflow): Likewise.
4433 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
4434 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
4435 (eq_ttyname_r): Likewise.
4436 (run_chroot_tests): Likewise.
4437
4438 2019-03-07 Florian Weimer <fweimer@redhat.com>
4439
4440 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
4441 header check.
4442
4443 2019-03-07 Martin Liska <mliska@suse.cz>
4444
4445 * math/Makefile: Change location where math-vector-fortran.h is
4446 installed.
4447 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
4448 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
4449 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
4450 * scripts/check-installed-headers.sh: Skip Fortran header files.
4451 * scripts/check-wrapper-headers.py: Likewise.
4452
4453 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4454
4455 * nptl/nptl-init.c (__have_futex_clock_realtime,
4456 __have_futex_clock_realtime): Remove definition.
4457 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
4458 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
4459 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
4460 __ASSUME_FUTEX_CLOCK_REALTIME support.
4461 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
4462 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4463 * sysdeps/unix/sysv/linux/kernel-features.h
4464 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
4465 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
4466 Adjust comment.
4467
4468 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4469
4470 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
4471 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
4472 __GI___wcscpy and wcscpy.
4473
4474 2019-03-04 Florian Weimer <fweimer@redhat.com>
4475
4476 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
4477 declaration.
4478 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
4479 defined.
4480
4481 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
4482
4483 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
4484 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4485
4486 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
4487
4488 [BZ #24162]
4489 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
4490 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
4491
4492 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4493
4494 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
4495 tests.
4496 (do_test): Likewise.
4497 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
4498 (do_test_call_varg): Likewise.
4499 (do_test_call_rarg): Likewise.
4500 * sysdeps/ieee754/ldbl-opt/Makefile
4501 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
4502 tst-nldbl-error.
4503 ($(objpfx)tst-nldbl-warn.c): New rule.
4504 ($(objpfx)tst-nldbl-error.c): Likewise.
4505 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
4506 New variables.
4507
4508 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4509
4510 [BZ #23984]
4511 * include/bits/error-ldbl.h: New file.
4512 * include/error.h: Include stdarg.h. Declare internal functions
4513 __error_internal and __error_at_line_internal.
4514 * misc/Makefile (headers): Add bits/error-ldbl.h.
4515 * misc/bits/error-ldbl.h: New file.
4516 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
4517 avoid the inclusion of bits/error.h.
4518 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
4519 and __nldbl_error_at_line.
4520 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
4521 (__nldbl_error, __ndlbl_error_at_line): New functions.
4522 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
4523 Redirect error and error_at_line.
4524 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
4525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4526 Likewise.
4527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4528 Likewise.
4529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4530 Likewise.
4531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4532 Likewise.
4533 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4534 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4535 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4536
4537 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4538
4539 [BZ #23984]
4540 * include/bits/err-ldbl.h: New file.
4541 * include/err.h: Add prototypes for the internal functions:
4542 __vwarnx_internal and __vwarn_internal.
4543 * misc/Makefile (headers): Add bits/err-ldbl.h.
4544 * misc/bits/err-ldbl.h: New file.
4545 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
4546 defined, i.e.: when -mlong-double-64 is in use.
4547 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
4548 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
4549 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
4550 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
4551 (VA_CALL): New macro.
4552 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
4553 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
4554 functions.
4555 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
4556 declare prototypes for the new functions.
4557 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
4558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4559 Likewise.
4560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4561 Likewise.
4562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4563 Likewise.
4564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4565 Likewise.
4566 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4567 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4568 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4569
4570 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4571
4572 * sysdeps/ieee754/ldbl-opt/Makefile
4573 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
4574 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
4575 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
4576
4577 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4578
4579 [BZ #23983]
4580 * argp/Makefile (headers): Add bits/argp-ldbl.h.
4581 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
4582 * argp/bits/argp-ldbl.h: New file.
4583 * include/argp.h: Include stdarg.h. Add prototypes for internal
4584 functions: __argp_error_internal and __argp_failure_internal.
4585 * include/bits/argp-ldbl.h: New file.
4586 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
4587 __nldbl_argp_error and __nldbl_argp_failure.
4588 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
4589 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
4590 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
4591 Redirect argp_error and argp_failure calls.
4592 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
4593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4594 Likewise.
4595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4596 Likewise.
4597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4598 Likewise.
4599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4600 Likewise.
4601 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4602 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4603 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4604
4605 2019-03-01 Florian Weimer <fweimer@redhat.com>
4606
4607 [BZ #20419]
4608 * elf/tst-big-note-lib.S: Create a syntactically valid note.
4609 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
4610 code, to avoid creating an ABI tag note.
4611 (modules-names-nobuild): Add tst-big-note-lib.
4612
4613 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
4614
4615 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
4616 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
4617
4618 2019-03-01 Florian Weimer <fweimer@redhat.com>
4619
4620 [BZ #20271]
4621 * sysdeps/unix/sysv/linux/netlink_assert_response.c
4622 (__netlink_assert_response): Add additional missing newlines.
4623
4624 2019-02-28 Joseph Myers <joseph@codesourcery.com>
4625
4626 * sysdeps/powerpc/powerpc32/dl-machine.c
4627 (__elf_machine_fixup_plt): Use space before '('.
4628 (__process_machine_rela): Likewise.
4629 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
4630 Likewise.
4631 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
4632 Likewise.
4633 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
4634 Likewise.
4635 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
4636 (pattern): Likewise.
4637 (delta): Likewise.
4638 (check_result): Likewise.
4639 (check_excepts): Likewise.
4640 (check_op): Likewise.
4641 (fail_xr): Likewise.
4642 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
4643 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
4644 (SCNHSZ): Likewise.
4645 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
4646 Likewise.
4647 (ARGS): Likewise.
4648 (__makecontext): Likewise.
4649 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
4650 Likewise.
4651
4652 2019-02-28 Florian Weimer <fweimer@redhat.com>
4653
4654 [BZ #23937]
4655 elf: Add test with a local IFUNC resolver.
4656 * elf/ifuncmain9.c: New file.
4657 * elf/ifuncmain9pic.c: Likewise.
4658 * elf/ifuncmain9picstatic.c: Likewise.
4659 * elf/ifuncmain9pie.c: Likewise.
4660 * elf/ifuncmain9static.c: Likewise.
4661 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
4662 ifuncmain9static, ifuncmain9picstatic.
4663 * elf/Makefile [multi-arch && build-shared] (tests-internal):
4664 Add ifuncmain9, ifuncmain9pic.
4665 * elf/Makefile [multi-arch && build-shared && have-fpie]
4666 (ifunc-pie-tests): Add ifuncmain9pie.
4667 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
4668 (CFLAGS-ifuncmain9picstatic.c): Likewise.
4669 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
4670
4671 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
4672
4673 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
4674 * configure: Regenerated.
4675 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
4676
4677 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4678
4679 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
4680 symbol as __wcspcy instead of wcscpy.
4681
4682 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
4683
4684 * include/stdio.h (__renameat2): New hidden prototype.
4685 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
4686 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
4687 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
4688 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
4689
4690 2019-02-27 Joseph Myers <joseph@codesourcery.com>
4691
4692 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
4693 if statement.
4694
4695 * benchtests/bench-strcpy.c (do_test): Use space before '('.
4696 * benchtests/bench-string.h (cmdline_process_function): Likewise.
4697 * benchtests/bench-strlen.c (do_test): Likewise.
4698 (test_main): Likewise.
4699 * catgets/gencat.c (read_old): Likewise.
4700 * elf/cache.c (load_aux_cache): Likewise.
4701 * iconvdata/bug-iconv8.c (do_test): Likewise.
4702 * math/test-tgmath-ret.c (do_test): Likewise.
4703 * nis/nis_call.c (rec_dirsearch): Likewise.
4704 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4705 * nptl/tst-audit-threads.c (do_test): Likewise.
4706 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
4707 * nss/nss_test1.c (init): Likewise.
4708 * nss/test-netdb.c (test_hosts): Likewise.
4709 * posix/execvpe.c (maybe_script_execute): Likewise.
4710 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
4711 * stdio-common/tst-printf.c (do_test): Likewise.
4712 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
4713 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
4714 * stdlib/qsort.c (STACK_SIZE): Likewise.
4715 * stdlib/test-canon.c (do_test): Likewise.
4716 * stdlib/tst-swapcontext1.c (do_test): Likewise.
4717 * string/memcmp.c (OPSIZ): Likewise.
4718 * string/test-strcpy.c (do_test): Likewise.
4719 (do_random_tests): Likewise.
4720 * string/test-strlen.c (do_test): Likewise.
4721 (test_main): Likewise.
4722 * string/test-strrchr.c (do_test): Likewise.
4723 (do_random_tests): Likewise.
4724 * string/tester.c (test_memrchr): Likewise.
4725 (test_memchr): Likewise.
4726 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
4727 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
4728 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
4729 (read_encoded_value_with_base): Likewise.
4730 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
4731 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
4732 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
4733 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
4734 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
4735 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
4736 Likewise.
4737 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
4738 Likewise.
4739 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
4740 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
4741 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
4742 Likewise.
4743 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
4744 Likewise.
4745 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
4746 Likewise.
4747 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
4748 Likewise.
4749 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
4750 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
4751 (FP_XSTATE_MAGIC2_SIZE): Likewise.
4752 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
4753 * time/test_time.c (main): Likewise.
4754
4755 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4756
4757 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
4758
4759 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
4760 wmemcpy.
4761
4762 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
4763 wmemcpy.
4764
4765 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
4766
4767 * include/wchar.h (__wcscpy): New prototype.
4768 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
4769 (__wcscpy): Route internal symbol to generic implementation.
4770 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
4771 Add internal __wcscpy alias.
4772 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
4773 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
4774 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
4775 * wcsmbs/wcscpy.c (wcscpy): Add
4776 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
4777 use generic implementation.
4778 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
4779
4780 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
4781 wmemset.
4782
4783 * sysdeps/m68k/wcpcpy.c: Remove file.
4784 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
4785
4786 2019-02-26 Joseph Myers <joseph@codesourcery.com>
4787
4788 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
4789 than after operators.
4790 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
4791 * sysdeps/mach/hurd/getcwd.c
4792 (__hurd_canonicalize_directory_name_internal): Likewise.
4793 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
4794 (pthread_mutex_consistent): Likewise.
4795 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
4796 Likewise.
4797 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
4798 (__pthread_mutex_transfer_np): Likewise.
4799 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
4800 (__pthread_mutex_unlock): Likewise.
4801 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
4802 (mtx_owned_p): Likewise.
4803 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
4804 (pthread_mutexattr_getrobust): Likewise.
4805 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
4806 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
4807 Likewise.
4808 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
4809 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
4810 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
4811 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
4812 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
4813 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4814 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
4815 Likewise.
4816 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
4817 Likewise.
4818 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
4819 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
4820 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
4821 (____longjmp_chk): Likewise.
4822 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
4823 Likewise.
4824 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4825 (INTERNAL_SYSCALL): Likewise.
4826 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4827 (INTERNAL_SYSCALL): Likewise.
4828 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4829 (__get_clockfreq_via_cpuinfo): Likewise.
4830
4831 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
4832 comments.
4833 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
4834 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
4835 (WORD_COPY_BWD): Likewise.
4836 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
4837 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4838 Likewise.
4839 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
4840 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
4841 comment.
4842 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
4843
4844 2019-02-25 Joseph Myers <joseph@codesourcery.com>
4845
4846 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
4847 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
4848 rather than after operators.
4849 * elf/cache.c (print_cache): Likewise.
4850 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
4851 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
4852 * hurd/hurdinit.c (_hurd_setproc): Likewise.
4853 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
4854 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
4855 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
4856 (reauth_proc): Likewise.
4857 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
4858 (__file_name_split_at): Likewise.
4859 (__directory_name_split_at): Likewise.
4860 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
4861 * hurd/port2fd.c (_hurd_port2fd): Likewise.
4862 * iconv/gconv_dl.c (do_print): Likewise.
4863 * inet/netinet/in.h (struct sockaddr_in): Likewise.
4864 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
4865 * locale/setlocale.c (new_composite_name): Likewise.
4866 * malloc/memusagestat.c (main): Likewise.
4867 * misc/fstab.c (fstab_convert): Likewise.
4868 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
4869 Likewise.
4870 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
4871 (getgrent_next_file): Likewise.
4872 (internal_getgrnam_r): Likewise.
4873 (internal_getgrgid_r): Likewise.
4874 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
4875 Likewise.
4876 (internal_getgrent_r): Likewise.
4877 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
4878 (getpwent_next_nss): Likewise.
4879 (getpwent_next_file): Likewise.
4880 (internal_getpwnam_r): Likewise.
4881 (internal_getpwuid_r): Likewise.
4882 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
4883 Likewise.
4884 (getspent_next_nss): Likewise.
4885 (internal_getspnam_r): Likewise.
4886 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
4887 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
4888 * string/strchr.c (STRCHR): Likewise.
4889 * string/strchrnul.c (STRCHRNUL): Likewise.
4890 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
4891 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4892 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
4893 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
4894 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
4895 Likewise.
4896 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
4897 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
4898 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
4899 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
4900 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
4901 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
4902 (open_file): Likewise.
4903 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
4904 (pthread_mutexattr_setprotocol): Likewise.
4905 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
4906 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
4907 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
4908 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
4909 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
4910 Likewise.
4911 (elf_machine_rela): Likewise.
4912 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4913 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4914 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
4915 * sysdeps/posix/rename.c (rename): Likewise.
4916 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
4917 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
4918 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
4919 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
4920 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4921 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
4922 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
4923 Likewise.
4924 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
4925 Likewise.
4926 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
4927 * time/tzfile.c (__tzfile_compute): Likewise.
4928
4929 2019-02-22 Joseph Myers <joseph@codesourcery.com>
4930
4931 * benchtests/bench-memmem.c (simple_memmem): Break lines before
4932 rather than after operators.
4933 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
4934 * crypt/md5.c (md5_finish_ctx): Likewise.
4935 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
4936 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
4937 * elf/cache.c (load_aux_cache): Likewise.
4938 * elf/dl-load.c (open_verify): Likewise.
4939 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
4940 * elf/readelflib.c (process_elf_file): Likewise.
4941 * elf/rtld.c (dl_main): Likewise.
4942 * elf/sprof.c (generate_call_graph): Likewise.
4943 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
4944 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
4945 * hurd/dtable.c (reauth_dtable): Likewise.
4946 * hurd/getdport.c (__getdport): Likewise.
4947 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
4948 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
4949 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
4950 Likewise.
4951 * hurd/hurdioctl.c (fioctl): Likewise.
4952 * hurd/hurdselect.c (_hurd_select): Likewise.
4953 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
4954 (STOPSIGS): Likewise.
4955 * hurd/hurdstartup.c (_hurd_startup): Likewise.
4956 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
4957 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
4958 * hurd/msgportdemux.c (msgport_server): Likewise.
4959 * hurd/setauth.c (_hurd_setauth): Likewise.
4960 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
4961 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
4962 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
4963 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
4964 * login/tst-utmp.c (do_check): Likewise.
4965 (simulate_login): Likewise.
4966 * mach/lowlevellock.h (lll_lock): Likewise.
4967 (lll_trylock): Likewise.
4968 * math/test-fenv.c (ALL_EXC): Likewise.
4969 * math/test-fenvinline.c (ALL_EXC): Likewise.
4970 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
4971 * nis/nis_call.c (__do_niscall3): Likewise.
4972 * nis/nis_callback.c (cb_prog_1): Likewise.
4973 * nis/nis_defaults.c (searchaccess): Likewise.
4974 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4975 * nis/nis_ismember.c (internal_ismember): Likewise.
4976 * nis/nis_local_names.c (nis_local_principal): Likewise.
4977 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
4978 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
4979 Likewise.
4980 * nis/ypclnt.c (yp_match): Likewise.
4981 (yp_first): Likewise.
4982 (yp_next): Likewise.
4983 (yp_master): Likewise.
4984 (yp_order): Likewise.
4985 * nscd/hstcache.c (cache_addhst): Likewise.
4986 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4987 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
4988 (internal_getpwuid_r): Likewise.
4989 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
4990 * posix/glob.h (__GLOB_FLAGS): Likewise.
4991 * posix/regcomp.c (peek_token): Likewise.
4992 (peek_token_bracket): Likewise.
4993 (parse_expression): Likewise.
4994 * posix/regexec.c (sift_states_iter_mb): Likewise.
4995 (check_node_accept_bytes): Likewise.
4996 * posix/tst-spawn3.c (do_test): Likewise.
4997 * posix/wordexp-test.c (testit): Likewise.
4998 * posix/wordexp.c (parse_tilde): Likewise.
4999 (exec_comm): Likewise.
5000 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
5001 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
5002 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
5003 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
5004 * stdio-common/tst-fileno.c (do_test): Likewise.
5005 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
5006 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
5007 * stdlib/strtod_l.c (round_and_return): Likewise.
5008 (____STRTOF_INTERNAL): Likewise.
5009 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
5010 * string/strcspn.c (STRCSPN): Likewise.
5011 * string/test-memmem.c (simple_memmem): Likewise.
5012 * termios/tcsetattr.c (tcsetattr): Likewise.
5013 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
5014 * time/asctime.c (asctime_internal): Likewise.
5015 * time/strptime_l.c (__strptime_internal): Likewise.
5016 * time/sys/time.h (timercmp): Likewise.
5017 * time/tzfile.c (__tzfile_compute): Likewise.
5018
5019 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
5020
5021 [BZ #21915]
5022 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
5023
5024 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5025
5026 * argp/argp-help.c (__argp_error_internal): New function,
5027 renamed from __argp_error, but that takes a 'mode_flags'
5028 parameter to control the format of long double parameters.
5029 (__argp_error): Converted into a call __argp_error_internal.
5030 (__argp_failure_internal): New function, renamed from
5031 __argp_failure, but that takes a 'mode_flags' parameter.
5032 (__argp_failure): Converted into a call __argp_failure_internal.
5033 * misc/err.c (__vwarnx_internal): New function, renamed from
5034 vwarnx, but that takes a 'mode_flags' parameter.
5035 (vwarnx): Converted into a call to __vwarnx_internal.
5036 (__vwarn_internal): New function, renamed from vwarn, but that
5037 takes a 'mode_flags' parameter.
5038 (vwarn): Converted into a call to __vwarn_internal.
5039 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
5040 call to __vfxprintf with 'mode_flags'.
5041 (__error_internal): New function, renamed from error, but that
5042 takes a 'mode_flags' parameter.
5043 (error): Converted into a call to __error_internal.
5044 (__error_at_line_internal): New function, renamed from
5045 error_at_line, but that takes a 'mode_flags' parameter.
5046 (error_at_line): Converted into a call to
5047 __error_at_line_internal.
5048 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
5049 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
5050 Likewise.
5051
5052 2019-02-20 Martin Liska <mliska@suse.cz>
5053
5054 * math/Makefile: Install math-vector-fortran.h.
5055 * bits/math-vector-fortran.h: New file.
5056 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
5057
5058 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5059
5060 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
5061 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
5062
5063 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
5064
5065 * nptl/pthread_mutex_trylock.c: Fix comment.
5066
5067 2019-02-19 Carlos O'Donell <carlos@redhat.com>
5068
5069 * nptl/pthread_tryjoin.c: Fix comment.
5070
5071 2019-02-18 Joseph Myers <joseph@codesourcery.com>
5072
5073 [BZ #24231]
5074 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
5075 after R_SPARC_H34 case.
5076
5077 2019-02-18 Florian Weimer <fweimer@redhat.com>
5078
5079 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
5080 (getanswer): Do not call Dprintf.
5081 (res_gethostbyname2_context): Likewise.
5082 (res_gethostbyaddr_context): Likewise.
5083
5084 2019-02-18 Florian Weimer <fweimer@redhat.com>
5085
5086 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
5087 declaration.
5088 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
5089 Remove definitions.
5090 * libio/stdfiles.c: Update comment.
5091 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
5092 set _IO_stdin, _IO_stdout, _IO_stderr.
5093 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
5094 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
5095 inline function.
5096 (_IO_deallocate_file): New inline function.
5097 * libio/iolibio.h (_IO_vprintf): Remove definition.
5098 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
5099 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
5100 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
5101 _IO_legacy_file.
5102 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
5103 __builtin_expect. Use _IO_legacy_file.
5104
5105 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
5106
5107 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
5108 Initialize ctid with a known value and remove update of ctid
5109 after clone.
5110 (wait_tid): Adjust arguments and call futex_wait with ctid_val
5111 as assumed current value of ctid_ptr.
5112
5113 2019-02-16 Florian Weimer <fweimer@redhat.com>
5114
5115 Check that non-sysdeps headers have wrapper headers.
5116 * scripts/check-wrapper-headers.py: New file.
5117 * Makefile (tests-special): Add check-wrapper-headers.out.
5118 (check-wrapper-headers.out): New target.
5119 * Rules (tests-special): Add check-wrapper-headers.out.
5120 (check-wrapper-headers.out): New target.
5121
5122 2019-02-16 Florian Weimer <fweimer@redhat.com>
5123
5124 Add missing header wrappers under include/.
5125 * include/ar.h: New file.
5126 * include/bits/mqueue2.h: Likewise.
5127 * include/bits/stdio.h: Likewise.
5128 * include/bits/stdio2.h: Likewise.
5129 * include/fstab.h: Likewise.
5130 * include/fts.h: Likewise.
5131 * include/lastlog.h: Likewise.
5132 * include/netinet/icmp6.h: Likewise.
5133 * include/netinet/igmp.h: Likewise.
5134 * include/netinet/ip6.h: Likewise.
5135 * include/re_comp.h: Likewise.
5136 * include/regexp.h: Likewise.
5137 * include/rpcsvc/bootparam.h: Likewise.
5138 * include/rpcsvc/yp_prot.h: Likewise.
5139 * include/sys/random.h: Likewise.
5140 * include/sys/stropts.h: Likewise.
5141 * include/sys/ttychars.h: Likewise.
5142 * include/sys/vfs.h: Likewise.
5143 * include/wait.h: Likewise.
5144
5145 2019-02-16 Florian Weimer <fweimer@redhat.com>
5146
5147 * nptl_db/proc_service.h: Move to ...
5148 * sysdeps/nptl/proc_service.h: ... here.
5149 * nptl_db/thread_db.h: Move to ...
5150 * sysdeps/nptl/thread_db.h: ... here.
5151 * nptl/descr.h: Include <thread_db.h>.
5152
5153 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5154
5155 * io/Makefile (tests): Add tst-lockf.
5156 * io/lockf.c (lockf): Use __fcntl and only define for
5157 !__OFF_T_MATCHES_OFF64_T.
5158 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
5159 __OFF_T_MATCHES_OFF64_T case.
5160 * io/tst-lockf.c: New file.
5161 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
5162 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
5163 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
5164 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
5165 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
5166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
5167 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
5168 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
5169 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
5170
5171 2019-02-15 Florian Weimer <fweimer@redhat.com>
5172
5173 [BZ #24211]
5174 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
5175 pd->result after the thread descriptor has been freed.
5176
5177 2019-02-15 Joseph Myers <joseph@codesourcery.com>
5178
5179 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
5180 from function return type.
5181
5182 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
5183
5184 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5185
5186 * scripts/test_printers_common.py: Set TERM to a known harmless
5187 value.
5188
5189 2019-02-14 Joseph Myers <joseph@codesourcery.com>
5190
5191 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
5192 (xdr_u_int): Likewise.
5193 (xdr_enum): Likewise.
5194 (xdr_bytes): Reword fall-through comment.
5195 (xdr_string): Likewise.
5196
5197 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5198
5199 [BZ #2421]
5200 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
5201 (tests): Add tst-join8 tst-join9.
5202 * nptl/lll_timedwait_tid.c: Remove file.
5203 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
5204 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
5205 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
5206 * nptl/pthread_join_common.c (timedwait_tid): New function.
5207 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
5208 is set.
5209 * nptl/tst-join5.c (thread_join): New function.
5210 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
5211 check.
5212 * nptl/tst-join8.c: New file.
5213 * nptl/tst-join9.c: Likewise.
5214 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
5215 lll_futex_timed_wait_cancel): Add generic macros.
5216 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
5217 Remove definitions.
5218 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5219 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5220 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5221 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
5222 Remove function.
5223 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
5224 Likewise.
5225 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5226 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
5227 (lll_futex_timed_wait_cancel): New macro.
5228
5229 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
5230
5231 * benchtests/Makefile: Add malloc-simple benchmark.
5232 * benchtests/bench-malloc-simple.c: New benchmark.
5233
5234 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
5235
5236 * benchtests/bench-memmove.c (do_one_test): Remove unused
5237 ORIG_SRC.
5238 (do_test): Adjust.
5239 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
5240 ORIG_SRC.
5241 (do_test): Adjust.
5242
5243 2019-01-13 Jim Wilson <jimw@sifive.com>
5244
5245 [BZ #24040]
5246 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
5247 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
5248 (func): New.
5249 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
5250 call func directly.
5251 * nptl/Makefile (tests): Add tst-unwind-thread.
5252 (CFLAGS-tst-unwind-thread.c): Define.
5253 * nptl/tst-unwind-thread.c: New file.
5254 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
5255 as undefined.
5256
5257 2019-02-13 Joseph Myers <joseph@codesourcery.com>
5258
5259 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
5260 comment wording.
5261 * nis/nis_call.c (__do_niscall3): Likewise.
5262
5263 * catgets/gencat.c (normalize_line): Use braces around empty
5264 'else' body.
5265 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
5266 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
5267 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
5268 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
5269 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
5270 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
5271 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
5272 definition.
5273
5274 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
5275 execlp returns.
5276
5277 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
5278
5279 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
5280 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
5281 * benchtests/bench-strchr.c (stupid_strchr): Remove.
5282 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
5283 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
5284 * benchtests/bench-strlen.c (builtin_strlen): Remove.
5285 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
5286 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
5287 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
5288 * benchtests/bench-strspn.c (stupid_strspn): Remove.
5289 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
5290 * benchtests/bench-bcopy.c: Delete file.
5291 * benchtests/bench-bzero.c: Likewise.
5292 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
5293 (simple_memccpy): Remove.
5294 (generic_memccpy): Add function.
5295 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
5296 * benchtests/bench-memmove.c (simple_bcopy): Remove.
5297 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
5298 (generic_mempcpy): Add new function.
5299 * benchtests/bench-memset.c (simple_bzero): Remove.
5300 (builtin_bzero): Remove.
5301 (builtin_memset): Remove.
5302 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
5303 (generic_rawmemchr): Add new function.
5304
5305 2019-02-12 Florian Weimer <fweimer@redhat.com>
5306
5307 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
5308
5309 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5310
5311 [BZ #24122]
5312 * elf/Makefile (tests): Add tst-audit13.
5313 (modules-names): Add tst-audit13mod1.
5314 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
5315 rule.
5316 * elf/tst-audit13.c: New file.
5317 * elf/tst-audit13mod1.c: Likewise.
5318
5319 2019-02-12 Florian Weimer <fweimer@redhat.com>
5320
5321 [BZ #24122]
5322 * elf/rtld.c (unload_audit_module): New function.
5323 (report_audit_module_load_error): Likewise.
5324 (load_audit_module): Likewise. Extracted from dl_main. Call
5325 _dl_close if the laversion symbol cannot be found. Use early
5326 returns for error handling. Add malloc error check. Check for a
5327 zero return value from la_version. Remove spurious comment about
5328 static TLS initialization. Remove useless casts.
5329 (notify_audit_modules_of_loaded_object): New function. Extracted
5330 from dl_main.
5331 (load_audit_module): Likewise.
5332 (dl_main): Call load_audit_modules.
5333
5334 2019-02-12 Joseph Myers <joseph@codesourcery.com>
5335
5336 * elf/dl-exception.c (_dl_exception_create_format): Add
5337 fall-through comments.
5338 * elf/ldconfig.c (parse_conf_include): Likewise.
5339 * elf/rtld.c (print_statistics): Likewise.
5340 * locale/programs/charmap.c (parse_charmap): Likewise.
5341 * misc/mntent_r.c (__getmntent_r): Likewise.
5342 * posix/wordexp.c (parse_arith): Likewise.
5343 (parse_backtick): Likewise.
5344 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
5345 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
5346 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5347
5348 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
5349
5350 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
5351 Use float instead of double.
5352
5353 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
5354
5355 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
5356
5357 2019-02-08 Joseph Myers <joseph@codesourcery.com>
5358
5359 * sysdeps/powerpc/bits/mathinline.h: Remove.
5360
5361 2019-02-08 Florian Weimer <fweimer@redhat.com>
5362
5363 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
5364 * math/bits/math-finite.h: Move to ...
5365 * bits/math-finite.h: ... here.
5366
5367 2019-02-08 Florian Weimer <fweimer@redhat.com>
5368
5369 * sysdeps/generic/bits/unistd_ext.h: Move to ...
5370 * bits/unistd_ext.h: here.
5371
5372 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
5373
5374 [BZ #21915]
5375 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
5376 * nss/tst-nss-files-hosts-long.c: New file.
5377 * nss/tst-nss-files-hosts-long.root: New directory.
5378 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
5379 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
5380
5381 2019-02-08 Florian Weimer <fweimer@redhat.com>
5382
5383 * include/bits/unistd_ext.h: Remove file.
5384 * posix/bits/unistd_ext.h: Move to ...
5385 * sysdeps/generic/bits/unistd_ext.h: ... here.
5386
5387 2019-02-08 Florian Weimer <fweimer@redhat.com>
5388
5389 * include/bits/unistd_ext.h: New file.
5390
5391 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
5392
5393 * time/tst-strftime2.c: Use array_length macros instead of magic
5394 numbers.
5395
5396 2019-02-08 Florian Weimer <fweimer@redhat.com>
5397
5398 [BZ #24161]
5399 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
5400 argument.
5401 * nptl/register-atfork.c (__run_fork_handlers): Only perform
5402 locking if the new do_locking argument is true.
5403 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
5404 __run_fork_handlers.
5405
5406 2019-02-08 Florian Weimer <fweimer@redhat.com>
5407
5408 [BZ #6399]
5409 Linux: Add gettid system call wrapper.
5410 * posix/Makefile (headers): Add bits/unistd_ext.h.
5411 * posix/bits/unistd_ext.h: New file.
5412 * posix/unistd.h: Include it.
5413 * manual/process.texi (Process Identification): Document gettid.
5414 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
5415 tst-gettid, tst-gettid-kill.
5416 (tst-gettid): Link with $(shared-thread-library).
5417 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
5418 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
5419 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
5420 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
5421 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
5422 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
5423 Add gettid.
5424 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
5425 Likewise.
5426 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
5427 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
5428 Likewise.
5429 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
5430 Likewise.
5431 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
5432 Likewise.
5433 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
5434 Likewise.
5435 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
5436 Likewise.
5437 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
5438 Likewise.
5439 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
5440 Likewise.
5441 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5442 (GLIBC_2.30): Likewise.
5443 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5444 (GLIBC_2.30): Likewise.
5445 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5446 (GLIBC_2.30): Likewise.
5447 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5448 (GLIBC_2.30): Likewise.
5449 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
5450 Likewise.
5451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5452 (GLIBC_2.30): Likewise.
5453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5454 (GLIBC_2.30): Likewise.
5455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
5456 (GLIBC_2.30): Likewise.
5457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
5458 (GLIBC_2.30): Likewise.
5459 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
5460 Likewise.
5461 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
5462 Likewise.
5463 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
5464 Likewise.
5465 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
5466 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
5467 Likewise.
5468 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
5469 Likewise.
5470 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
5471 Likewise.
5472 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
5473 Likewise.
5474 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
5475
5476 2019-02-08 Florian Weimer <fweimer@redhat.com>
5477
5478 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
5479 compatibility symbols.
5480
5481 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
5482
5483 [BZ #24180]
5484 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5485 Add compiler barriers and comments.
5486
5487 2019-02-07 Florian Weimer <fweimer@redhat.com>
5488
5489 * include/array_length.h (array_length): Do not use a statement
5490 expression and _Static_assert, so that array_length can be used at
5491 file scope and as a constant expression.
5492
5493 2019-02-07 Florian Weimer <fweimer@redhat.com>
5494
5495 * support/xdlfcn.h (xdlmopen): Declare.
5496 * support/xdlmopen.c: New file.
5497 * support/Makefile (libsupport-routines): Add xdlmopen.
5498
5499 2019-02-06 Joseph Myers <joseph@codesourcery.com>
5500
5501 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
5502 before return type, without separate inline.
5503 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
5504 * elf/dl-tunables.h (tunable_is_name): Likewise.
5505 * malloc/malloc.c (do_set_trim_threshold): Likewise.
5506 (do_set_top_pad): Likewise.
5507 (do_set_mmap_threshold): Likewise.
5508 (do_set_mmaps_max): Likewise.
5509 (do_set_mallopt_check): Likewise.
5510 (do_set_perturb_byte): Likewise.
5511 (do_set_arena_test): Likewise.
5512 (do_set_arena_max): Likewise.
5513 (do_set_tcache_max): Likewise.
5514 (do_set_tcache_count): Likewise.
5515 (do_set_tcache_unsorted_limit): Likewise.
5516 * nis/nis_subr.c (count_dots): Likewise.
5517 * nptl/allocatestack.c (advise_stack_range): Likewise.
5518 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
5519 (do_sin): Likewise.
5520 (reduce_sincos): Likewise.
5521 (do_sincos): Likewise.
5522 * sysdeps/unix/sysv/linux/x86/elision-conf.c
5523 (do_set_elision_enable): Likewise.
5524 (TUNABLE_CALLBACK_FNDECL): Likewise.
5525
5526 2019-02-06 Florian Weimer <fweimer@redhat.com>
5527
5528 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
5529 (xdlsym): Use dlerror to detect a NULL symbol.
5530
5531 2019-02-06 Florian Weimer <fweimer@redhat.com>
5532
5533 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
5534 <stap-probe.h>.
5535 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5536
5537 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
5538
5539 * libio/tst-bz24153.c (wide): Use wide char format specifier.
5540
5541 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
5542
5543 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
5544 __wmemcmp and weak alias to wmemcmp.
5545
5546 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
5547
5548 [BZ #23403]
5549 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
5550 TLS_TCB_AT_TP tls variant.
5551 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
5552 Add alignment checks.
5553 * support/Makefile (libsupport-routines): Add xposix_memalign and
5554 xpthread_setstack.
5555 * support/support.h: Add xposix_memalign.
5556 * support/xthread.h: Add xpthread_attr_setstack.
5557 * support/xposix_memalign.c: New File.
5558 * support/xpthread_attr_setstack.c: Likewise.
5559
5560 2019-02-05 Florian Weimer <fweimer@redhat.com>
5561
5562 [BZ #24164]
5563 arm: Use "nr" constraint for Systemtap probes, to avoid the
5564 compiler using memory operands for constants, due to the "o"
5565 alternative in the default "nor" constraint.
5566 * include/stap-probe.h [USE_STAP_PROBE]: Include
5567 <stap-probe-machine.h>
5568 * sysdeps/generic/stap-probe-machine.h: New file.
5569 * sysdeps/arm/stap-probe-machine.h: Likewise.
5570
5571 2019-02-04 Joseph Myers <joseph@codesourcery.com>
5572
5573 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
5574 with 0, not tcache->entries[tc_idx].
5575
5576 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
5577 once.
5578
5579 2019-02-04 Andreas Schwab <schwab@suse.de>
5580
5581 [BZ #16976]
5582 [BZ #17396]
5583 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
5584 looking up collating elements match against (wide) character
5585 sequence instead of name. Correct alignment adjustment.
5586 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
5587 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
5588 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
5589 (LOCALES): Add cs_CZ.ISO-8859-2.
5590 * posix/tst-fnmatch4.c: New file.
5591 * posix/tst-fnmatch5.c: New file.
5592 * include/wchar.h (__wmemcmp): Declare.
5593 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
5594 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
5595 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
5596 * sysdeps/s390/wmemcmp.c: Likewise.
5597
5598 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
5599
5600 [BZ #24155]
5601 CVE-2019-7309
5602 * NEWS: Updated for CVE-2019-7309.
5603 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
5604 upper 32 bits of RDX register for x32. Use unsigned Jcc
5605 instructions, instead of signed.
5606 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
5607 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
5608
5609 2019-02-04 Florian Weimer <fweimer@redhat.com>
5610
5611 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
5612 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
5613 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
5614 Likewise.
5615 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
5616 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
5617 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
5618 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
5619 Likewise.
5620 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
5621 Likewise.
5622 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
5623 Likewise.
5624 (posix_spawn_file_actions_addopen): Likewise.
5625 (posix_spawn_file_actions_addclose): Likewise.
5626 (posix_spawn_file_actions_adddup2): Likewise.
5627 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
5628 qualifiers.
5629 (posix_spawn_file_actions_addfchdir_np): Likewise.
5630
5631 2019-02-04 David Newall <glibc@davidnewall.com>
5632
5633 elf: Implement --preload option for the dynamic linker.
5634 * elf/rtld.c (preloadarg): New variable.
5635 (handle_preload_list): Pass through “where” argument to
5636 do_preload.
5637 (dl_main): Handle "--preload" and add second call to
5638 handle_preload_list.
5639 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
5640 (tst-rtld-preload-OBJS): Set variable.
5641 (tst-rtld-preload.out): New target.
5642 * elf/tst-rtld-preload.sh: New file.
5643
5644 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
5645
5646 * Makefile (testrun.sh): Exit in case of incorrect argument.
5647
5648 2019-02-04 Florian Weimer <fweimer@redhat.com>
5649
5650 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
5651 alignment gaps.
5652
5653 2019-02-03 Florian Weimer <fweimer@redhat.com>
5654
5655 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
5656 implicit overflow checks.
5657
5658 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
5659
5660 * stdlib/isomac.c: Include <unistd.h>.
5661
5662 2019-02-03 Florian Weimer <fweimer@redhat.com>
5663
5664 * include/time.h (__tzfile_default): Use int, not long int, for
5665 the GMT offsets.
5666 * time/tzfile.c (struct ttinfo): Change type of the offset member
5667 to int.
5668 (__tzfile_read): Remove useless cast.
5669 (__tzfile_default): Adjust prototype.
5670 * time/tzset.c (tz_rule): Change type of the offset member to int.
5671 (parse_offset): Change the type of the sign variable to int.
5672
5673 2019-02-03 Florian Weimer <fweimer@redhat.com>
5674
5675 [BZ #24153]
5676 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
5677 * libio/getchar.c (getchar): Likewise.
5678 * libio/getchar_u.c (getchar_unlocked): Likewise.
5679 * libio/getwchar.c (getwchar): Likewise.
5680 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
5681 * libio/iogets.c (_IO_gets): Likewise.
5682 * libio/vscanf.c (_IO_vscanf): Likewise.
5683 * libio/vwscanf.c (__vwscanf): Likewise.
5684 * libio/tst-bz24153.c: New file.
5685 * libio/Makefile (tests): Add it.
5686
5687 2019-02-02 Florian Weimer <fweimer@redhat.com>
5688
5689 [BZ #14829]
5690 * manual/resource.texi (Basic Scheduling Functions): Add
5691 portability note. Change process to task throughout the section.
5692 Remove incorrect comment about sched_yield as it affects
5693 tasks/threads, not entire processes.
5694 * sysdeps/unix/sysv/linux/bits/posix_opt.h
5695 (_POSIX_PRIORITY_SCHEDULING): Update comment.
5696
5697 2019-02-01 Joseph Myers <joseph@codesourcery.com>
5698
5699 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
5700 * configure: Regenerated.
5701 * manual/install.texi (Tools for Compilation): Update minimum GCC
5702 version.
5703 * INSTALL: Regenerated.
5704
5705 2019-02-01 Florian Weimer <fweimer@redhat.com>
5706
5707 * support/support_test_compare_string.c
5708 (support_test_compare_string): Use "string" in error message.
5709 * support/tst-test_compare_string.c (do_test): Adjust.
5710
5711 2019-02-01 Florian Weimer <fweimer@redhat.com>
5712
5713 * support/support_format_address_family.c
5714 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
5715
5716 2019-02-01 Florian Weimer <fweimer@redhat.com>
5717
5718 * manual/socket.texi (Internet Address Formats): Clarify the byte
5719 order of struct sockaddr_in, struct sockaddr_in6. Document
5720 sin6_flowinfo and sin6_scope_id.
5721
5722 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
5723
5724 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
5725 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
5726 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
5727 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
5728 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
5729 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
5730
5731 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
5732
5733 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
5734 [!MEMCHR](MEMCHR): Set to __memchr.
5735 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
5736 Add memchr_generic and memchr_nosimd.
5737 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
5738 (__libc_ifunc_impl_list): Add memchr ifuncs.
5739 * sysdeps/aarch64/multiarch/memchr.c: New file.
5740 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
5741 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
5742
5743 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
5744
5745 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
5746 Add memset_emag.
5747 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
5748 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
5749 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
5750 Add IS_EMAG check for ifunc dispatch.
5751 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
5752 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
5753
5754 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
5755
5756 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
5757 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
5758 Add emag.
5759 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
5760 New macro.
5761
5762 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
5763
5764 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
5765
5766 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
5767
5768 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
5769 syscall-template file.
5770
5771 2019-01-31 Carlos O'Donell <carlos@redhat.com>
5772 Torvald Riegel <triegel@redhat.com>
5773 Rik Prohaska <prohaska7@gmail.com>
5774
5775 [BZ# 23844]
5776 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
5777 tst-rwlock-trywrlock-stall.
5778 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
5779 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
5780 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
5781 Set __wrphase_fute to 1 only if we started the write phase.
5782 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
5783 * nptl/tst-rwlock-trywrlock-stall.c: New file.
5784 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
5785 * support/xpthread_rwlock_destroy.c: New file.
5786 * support/xthread.h: Declare xpthread_rwlock_destroy.
5787
5788 2019-02-01 Joseph Myers <joseph@codesourcery.com>
5789
5790 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
5791 version to 4.0.2.
5792
5793 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5794
5795 [BZ #24051]
5796 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
5797 * libio/fileops.c (_IO_new_file_underflow): Likewise
5798 * libio/wfileops.c (_IO_wfile_underflow): Likewise
5799 * libio/putchar.c (putchar): Likewise.
5800 * libio/putchar_u.c (putchar_unlocked): Likewise.
5801 * libio/putwchar.c (putchar): Likewise.
5802 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
5803 * libio/tst-bz24051.c: New test.
5804 * libio/Makefile (tests): Add tst-bz24051
5805
5806 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
5807
5808 CVE-2019-9169
5809 regex: fix read overrun [BZ #24114]
5810 Problem found by AddressSanitizer, reported by Hongxu Chen in:
5811 https://debbugs.gnu.org/34140
5812 * posix/regexec.c (proceed_next_node):
5813 Do not read past end of input buffer.
5814
5815 2019-01-31 Florian Weimer <fweimer@redhat.com>
5816
5817 [BZ #24059]
5818 * nss/nss_files/files-alias.c (get_next_alias): Handle
5819 continuation line without newline at the end.
5820 * nss/tst-nss-files-alias-truncated.c: New file.
5821 * nss/Makefile [$(build-shared)] (tests): Add
5822 tst-nss-files-alias-truncated.
5823 (tst-nss-files-alias-truncated): Link with libnss_files.so.
5824 * support/namespace.h (struct support_chroot_configuration): Add
5825 aliases member.
5826 (struct support_chroot): Add path_aliases member.
5827 * support/support_chroot.c (support_chroot_create): Handle
5828 aliases.
5829 (support_chroot_free): Free path_aliases.
5830
5831 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
5832
5833 * version.h (RELEASE): Set to "development".
5834 (VERSION): Set to "2.29.9000".
5835 * NEWS: Add section for 2.30.
5836
5837 * version.h (RELEASE): Set to "stable".
5838 (VERSION): Set to "2.29".
5839 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
5840
5841 * NEWS: Add the list of bugs fixed in 2.29.
5842 * manual/contrib.texi: Update contributors list with some more
5843 names.
5844 * manual/install.texi: Update latest versions of packages
5845 tested.
5846 * INSTALL: Regenerated.
5847
5848 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
5849
5850 * po/be.po: Update translations.
5851 * po/bg.po: Likewise.
5852 * po/ca.po: Likewise.
5853 * po/cs.po: Likewise.
5854 * po/da.po: Likewise.
5855 * po/de.po: Likewise.
5856 * po/el.po: Likewise.
5857 * po/eo.po: Likewise.
5858 * po/es.po: Likewise.
5859 * po/fi.po: Likewise.
5860 * po/fr.po: Likewise.
5861 * po/gl.po: Likewise.
5862 * po/hr.po: Likewise.
5863 * po/hu.po: Likewise.
5864 * po/ia.po: Likewise.
5865 * po/id.po: Likewise.
5866 * po/it.po: Likewise.
5867 * po/ja.po: Likewise.
5868 * po/ko.po: Likewise.
5869 * po/lt.po: Likewise.
5870 * po/nb.po: Likewise.
5871 * po/nl.po: Likewise.
5872 * po/pl.po: Likewise.
5873 * po/pt_BR.po: Likewise.
5874 * po/ru.po: Likewise.
5875 * po/rw.po: Likewise.
5876 * po/sk.po: Likewise.
5877 * po/sl.po: Likewise.
5878 * po/sv.po: Likewise.
5879 * po/tr.po: Likewise.
5880 * po/uk.po: Likewise.
5881 * po/vi.po: Likewise.
5882 * po/zh_CN.po: Likewise.
5883 * po/zh_TW.po: Likewise.
5884
5885 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
5886
5887 [BZ #24130]
5888 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
5889 of $f3 register on $y_is_neg path.
5890
5891 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
5892
5893 [BZ #24110]
5894 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
5895 sigaltstack.ss_flags.
5896
5897 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
5898
5899 [BZ #23758]
5900 * manual/time.texi (strftime): Document "%Ey".
5901 * time/strftime_l.c (__strftime_internal): Set the default width
5902 padding with zero of "%Ey" to 2.
5903
5904 [BZ #24096]
5905 * manual/time.texi (strftime): Document "%EC" and "%EY".
5906 * time/Makefile (tests): Add tst-strftime2.
5907 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
5908 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
5909 override padding for "%Ey".
5910 If an optional flag ('_' or '-') is specified to "%EY", interpret the
5911 "%Ey" in the subformat as if decorated with that flag.
5912 * time/tst-strftime2.c: New file.
5913
5914 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5915
5916 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
5917 are not defined.
5918
5919 [BZ #24122]
5920 * elf/Makefile (tests): Add tst-audit13.
5921 (modules-names): Add tst-audit13mod1.
5922 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
5923 rule.
5924 * elf/rtld.c (dl_main): Handle invalid audit module version.
5925 * elf/tst-audit13.c: New file.
5926 * elf/tst-audit13mod1.c: Likewise.
5927
5928 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
5929
5930 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
5931 returned by __hurd_at_flags.
5932 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
5933 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
5934 directly instead of __hurd_file_name_lookup.
5935
5936 2019-01-21 Joseph Myers <joseph@codesourcery.com>
5937
5938 * scripts/build-many-glibcs.py (Context.checkout): Default
5939 binutils version to 2.32 branch.
5940
5941 2019-01-21 Florian Weimer <fweimer@redhat.com>
5942
5943 [BZ #20018]
5944 CVE-2016-10739
5945 resolv: Reject trailing characters in host names
5946 * include/arpa/inet.h (__inet_aton_exact): Declare.
5947 (inet_aton): Remove hidden prototype. No longer used internally.
5948 * nscd/gai.c (__inet_aton): Do not define.
5949 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
5950 * nss/digits_dots.c (__inet_aton): Likewise.
5951 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
5952 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
5953 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
5954 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
5955 (tst-resolv-trailing): Likewise.
5956 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
5957 libc.
5958 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
5959 Make static. Add endp parameter.
5960 (__inet_aton_exact): New function.
5961 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
5962 (__inet_addr): Call inet_aton_end.
5963 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
5964 not just IPv6. Call __inet_aton_exact.
5965 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
5966 (tests): Make const. Add additional test cases with trailing
5967 characters.
5968 (do_test): Use array_length.
5969 * resolv/tst-inet_aton_exact.c: New file.
5970 * resolv/tst-resolv-trailing.c: Likewise.
5971 * resolv/tst-resolv-nondecimal.c: Likewise.
5972 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
5973
5974 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5975
5976 [BZ# 24097]
5977 CVE-2019-6488
5978 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
5979 Clear the upper 32 bits of RSI register.
5980 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
5981 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
5982 and tst-size_t-wcsnlen.
5983 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
5984 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
5985
5986 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5987
5988 [BZ# 24097]
5989 CVE-2019-6488
5990 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
5991 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5992 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5993 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
5994 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
5995
5996 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
5997
5998 [BZ# 24097]
5999 CVE-2019-6488
6000 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
6001 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6002 * sysdeps/x86_64/strcmp.S: Likewise.
6003 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
6004 tst-size_t-strncmp and tst-size_t-wcsncmp.
6005 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
6006 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
6007 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
6008
6009 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6010
6011 [BZ# 24097]
6012 CVE-2019-6488
6013 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
6014 RDX_LP for length. Clear the upper 32 bits of RDX register.
6015 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
6016 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
6017 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
6018 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
6019
6020 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6021
6022 [BZ# 24097]
6023 CVE-2019-6488
6024 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
6025 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
6026 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
6027 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
6028
6029 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6030
6031 [BZ# 24097]
6032 CVE-2019-6488
6033 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
6034 length. Clear the upper 32 bits of RDX register.
6035 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6036 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
6037 Likewise.
6038 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6039 Likewise.
6040 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
6041 tst-size_t-wmemchr.
6042 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
6043
6044 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6045
6046 [BZ# 24097]
6047 CVE-2019-6488
6048 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
6049 length. Clear the upper 32 bits of RDX register.
6050 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6051 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6052 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
6053 tst-size_t-wmemcmp.
6054 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
6055 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
6056
6057 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6058
6059 [BZ# 24097]
6060 CVE-2019-6488
6061 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
6062 upper 32 bits of RDX register.
6063 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
6064 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
6065 tst-size_t-wmemchr.
6066 * sysdeps/x86_64/x32/test-size_t.h: New file.
6067 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
6068 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
6069
6070 2019-01-18 Florian Weimer <fweimer@redhat.com>
6071
6072 [BZ #24112]
6073 resolv: Do not send queries for non-host-names in nss_dns.
6074 * resolv/nss_dns/dns-host.c (check_name): New function.
6075 (_nss_dns_gethostbyname2_r): Use it.
6076 (_nss_dns_gethostbyname_r): Likewise.
6077 (_nss_dns_gethostbyname4_r): Likewise.
6078
6079 2019-01-21 Florian Weimer <fweimer@redhat.com>
6080
6081 * resolv/inet_addr.c: Reformat to GNU style.
6082 (__inet_addr, __inet_aton): Update comment.
6083
6084 2019-01-18 Florian Weimer <fweimer@redhat.com>
6085
6086 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
6087 ("malloc: Use current (C11-style) atomics for fastbin access").
6088 This commit introduces a substantial performance regression on
6089 POWER and Aarch64.
6090 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
6091 (REMOVE_FB): Define.
6092 (_int_malloc): Use it and reindent.
6093 (_int_free): Use CAS loop with
6094 catomic_compare_and_exchange_val_rel.
6095 (malloc_consolidate): Use atomic_exchange_acq.
6096
6097
6098 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
6099
6100 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
6101 -Wl,-z,now.
6102 (LDFLAGS-tst-minsigstksz-2): Likewise.
6103 (LDFLAGS-tst-minsigstksz-3): Likewise.
6104 (LDFLAGS-tst-minsigstksz-3a): Likewise.
6105 (LDFLAGS-tst-minsigstksz-4): Likewise.
6106
6107 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
6108
6109 * manual/time.texi (strftime): Fix the wording to "alternative" rather
6110 than "alternate".
6111
6112 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
6113
6114 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
6115
6116 2019-01-16 Zack Weinberg <zackw@panix.com>
6117
6118 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
6119 (xget_sigstack_location): New test support functions.
6120 * support/xsigstack.c: New file, implementing them.
6121 * support/tst-xsigstack.c: New test for them.
6122 * support/Makefile: Update.
6123
6124 * signal/tst-minsigstksz-1.c
6125 * signal/tst-minsigstksz-2.c
6126 * signal/tst-minsigstksz-3.c
6127 * signal/tst-minsigstksz-3a.c
6128 * signal/tst-minsigstksz-4.c: New tests.
6129 * signal/Makefile: Run them.
6130
6131 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
6132
6133 * po/libc.pot: Regenerate.
6134
6135 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6136
6137 * math/libm-test-fma.inc (fma_test_data): Set
6138 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
6139
6140 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
6141
6142 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
6143 (do_test): Changed __vector __int128_t to __vector unsigned int.
6144
6145 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6146
6147 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6148 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
6149 stpcpy-avx2 and stpncpy-avx2.
6150 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
6151 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
6152 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
6153 and __stpncpy_avx2.
6154 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
6155 ifunc-strcpy.h}: rename header for a more generic name.
6156 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
6157 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
6158 AVX unaligned load is fast and vzeroupper is preferred.
6159 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
6160 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
6161 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
6162 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
6163 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
6164 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
6165
6166 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
6167
6168 * argp/argp-help.c: Fix typo in comment.
6169 * misc/sys/cdefs.h: Likewise.
6170 * posix/regexec.c (sift_states_iter_mb): Likewise.
6171 * socket/sockatmark.c: Likewise.
6172 * socket/sys/socket.h: Likewise.
6173 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
6174 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
6175 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
6176 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6177 * sysdeps/unix/sockatmark.c: Likewise.
6178 * time/strptime_l.c: Likewise.
6179
6180 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
6181
6182 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
6183 missing space after the cast of "_NL_CURRENT".
6184
6185 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
6186
6187 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
6188 ifdef to fix read of VSCR.
6189 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
6190 tst-ucontext-ppc64-vscr.c to test list.
6191 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
6192
6193 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
6194
6195 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
6196 fall-through.
6197
6198 2019-01-09 Jim Wilson <jimw@sifive.com>
6199
6200 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
6201
6202 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
6203
6204 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
6205 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
6206 __memcpy_falkor for ares.
6207 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
6208 Add new define.
6209 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6210 Add ares cpu.
6211
6212 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
6213
6214 [BZ #24066]
6215 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
6216 4_FP_W_TYPEs are used for IEEE quad precision.
6217 * soft-fp/extendhftf2.c: Likewise.
6218 * soft-fp/extendsftf2.c: Likewise.
6219 * soft-fp/extendxftf2.c: Likewise.
6220 * soft-fp/trunctfdf2.c: Likewise.
6221 * soft-fp/trunctfhf2.c: Likewise.
6222 * soft-fp/trunctfsf2.c: Likewise.
6223 * soft-fp/trunctfxf2.c: Likewise.
6224 * sysdeps/alpha/ots_cvttx.c: Likewise.
6225 * sysdeps/alpha/ots_cvtxt.c: Likewise.
6226 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
6227 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
6228 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
6229 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
6230 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
6231 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
6232 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
6233 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
6234 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
6235 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
6236 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
6237 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
6238 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
6239 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
6240 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
6241 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
6242
6243 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
6244
6245 [BZ #24024]
6246 * Makeconfig: Build libm with -fno-math-errno but build the remaining
6247 code with -fmath-errno.
6248 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
6249 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
6250 * string/test-strerror-errno.c: New file.
6251
6252 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
6253
6254 [BZ #24046]
6255 * localedata/locales/en_US (date_fmt): Add, set to
6256 "%a %d %b %Y %r %Z".
6257
6258 2019-01-07 Florian Weimer <fweimer@redhat.com>
6259
6260 [BZ #24063]
6261 * manual/arith.texi (Math Error Reporting): Use @code{errno}
6262 instead of @var{errno}.
6263 (Parsing of Integers): Likewise.
6264 (Parsing of Floats): Likewise.
6265 * manual/filesys.texi (Working with Directory Trees): Likewise.
6266 (Temporary Files): Likewise.
6267 * manual/job.texi (Terminal Access Functions): Likewise.
6268 * manual/llio.texi (Synchronizing I/O): Likewise.
6269 * manual/math.texi (SVID Random): Likewise.
6270 * manual/message.texi (The catgets Functions): Likewise.
6271 (Translation with gettext): Likewise.
6272 (Locating gettext catalog): Likewise.
6273 (Charset conversion in gettext): Likewise.
6274 * manual/nss.texi (NSS Module Function Internals): Likewise.
6275 * manual/search.texi (Hash Search Function): Likewise.
6276 * manual/setjmp.texi (System V contexts): Likewise.
6277 * manual/time.texi (Sleeping): Likewise.
6278 * manual/users.texi (Lookup User): Likewise.
6279 (Lookup Group): Likewise.
6280
6281 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6282
6283 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
6284 fix typo.
6285
6286 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
6287
6288 [BZ #19444]
6289 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
6290 __builtin_unreachable for default case in switch.
6291 (__ieee754_yn): Likewise.
6292 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6293 (__ieee754_ynl): Likewise.
6294 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6295 (__ieee754_ynl): Likewise.
6296 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6297 (__ieee754_ynl): Likewise.
6298
6299 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
6300
6301 * manual/maint.texi: Use @{ and @}.
6302
6303 2019-01-04 Florian Weimer <fweimer@redhat.com>
6304
6305 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
6306 function.
6307 (do_in_chroot_1): Call it.
6308 (run_chroot_tests):
6309 Improve error reporting in case it is not possible to create a
6310 collision for the PTY name required by the test.
6311
6312 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6313
6314 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
6315 lll_wait_tid with timeout.
6316 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
6317 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
6318 futex_reltimed_wait_cancelable for cancelabla mode.
6319 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
6320 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
6321 macros.
6322 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
6323 * sysdeps/posix/waitid.c (__sigwait): Likewise.
6324 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
6325 SYSCALL_CANCEL_NCS): New macro.
6326 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
6327 (lll_timedwait_tid): Remove macro.
6328 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
6329 Likewise.
6330 (lll_timedwait_tid): Likewise.
6331 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
6332 Likewise.
6333 (lll_timedwait_tid): Likewise.
6334 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
6335 Likewise.
6336 (lll_timedwait_tid): Likewise.
6337 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
6338 Use INTERNAL_SYSCALL_CANCEL.
6339 * sysdeps/unix/sysv/linux/futex-internal.h
6340 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
6341 instead of __pthread_{enable,disable}_asynccancel.
6342 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
6343 (lll_futex_wait_cancel): New macro.
6344
6345 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
6346 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
6347
6348 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
6349 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
6350
6351 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
6352 in backtrace analysis.
6353 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
6354 side-effects.
6355 (tf_send): Likewise.
6356
6357 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
6358 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
6359 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
6360 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
6361 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
6362 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
6363 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
6364 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
6365 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
6366 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
6367 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
6368 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
6369 Likewise.
6370 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
6371 tst-cancel-wrappers.sh.
6372 (generated): Remove tst-cancel-wrappers.out.
6373 (tst-cancel-wrappers.out): Remove rule.
6374 * nptl/tst-cancel-wrappers.sh: Remove file.
6375
6376 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
6377
6378 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
6379 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
6380 Update.
6381
6382 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6383
6384 [BZ #23640]
6385 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
6386 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
6387 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
6388 close-on-exec reset for adddup2 file action.
6389 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
6390
6391 2019-01-03 Zack Weinberg <zackw@panix.com>
6392
6393 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
6394 parameter. Only use deprecated scanf when __USE_GNU is defined
6395 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
6396 than 201103L, whichever is relevant for the language being compiled.
6397
6398 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
6399 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
6400 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
6401 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
6402 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
6403
6404 * libio/iovsscanf.c
6405 * libio/fwscanf.c
6406 * libio/iovswscanf.c
6407 * libio/swscanf.c
6408 * libio/vscanf.c
6409 * libio/vwscanf.c
6410 * libio/wscanf.c
6411 * stdio-common/fscanf.c
6412 * stdio-common/scanf.c
6413 * stdio-common/vfscanf.c
6414 * stdio-common/vfwscanf.c
6415 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6416 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
6417 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
6418 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
6419 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
6420 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
6421 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
6422 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
6423 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
6424 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
6425 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
6426 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
6427 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
6428 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
6429 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
6430
6431 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
6432 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
6433 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
6434 not sscanf.
6435 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
6436 with a preprocessor macro.
6437
6438 * stdio-common/bug21.c, stdio-common/scanf14.c:
6439 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
6440 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
6441 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
6442 to xscanf, xfscanf, xsscanf.
6443
6444 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
6445 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
6446 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
6447 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
6448 xfscanf, xsscanf.
6449 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
6450 override feature selection macros or provide definitions of u_char etc.
6451 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
6452 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
6453 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
6454 with -std=gnu89.
6455
6456 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6457
6458 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6459 bits/termios-misc.h.
6460 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
6461 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6462 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6463 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6464 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
6465 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
6466
6467 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
6468 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
6469 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
6470 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
6471 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
6472 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
6473 termios-misc.h.
6474 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
6475 (sysdep_headers): Add termios-misc.h.
6476
6477 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
6478 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6479 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6480
6481 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6482 termios-tcflow.h.
6483 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
6484 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
6485 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
6486 TCSAFLUSH): Move to termios-tcflow.h.
6487 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6488 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6489 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6490 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6491
6492 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6493 termios-c_lflag.h.
6494 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
6495 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
6496 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
6497 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
6498 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
6499 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
6500 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
6501 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
6502 Likewise.
6503 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6504 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6505 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6506 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6507
6508 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6509 termios-c_cflag.h.
6510 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
6511 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
6512 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
6513 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
6514 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
6515 termios-c_cflag.h.
6516 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6517 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6518 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6519 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6520
6521 [BZ #23783]
6522 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6523 termios-baud.h.
6524 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
6525 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
6526 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
6527 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
6528 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
6529 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
6530 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
6531 __MAX_BAUD): Move to termios-baud.h.
6532 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
6533 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
6534 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6535 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6536 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6537
6538 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
6539 termios-c_oflag.h.
6540 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
6541 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
6542 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
6543 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
6544 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
6545 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
6546 termios-c_oflag.h.
6547 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
6548 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
6549 FFR1): Likewise.
6550 [USE_MISC] (XTABS): Likewise.
6551 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6552 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6553 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6554 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
6555
6556 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
6557 termios-c_iflag.h.
6558 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
6559 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
6560 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
6561 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
6562 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
6563 IUTF8): Move to termios-c_iflag.h.
6564 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6565 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6566 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6567 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6568
6569 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
6570 termios-cc.h.
6571 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
6572 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
6573 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
6574 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
6575 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
6576 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
6577 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
6578 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
6579 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
6580 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
6581 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6582 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6583
6584 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
6585 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
6586 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
6587 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
6588 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6589 termios-struct.h.
6590 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
6591 termios-struct.h.
6592 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
6593 Likewise.
6594 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
6595 Likewise.
6596 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
6597 Likewise.
6598 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
6599 Likewise.
6600 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
6601 _HAVE_C_OSPEED): Define.
6602 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
6603 _HAVE_C_OSPEED): Likewise.
6604 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
6605 _HAVE_C_OSPEED): Likewise.
6606 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
6607 (cfsetospeed): Check for define value instead of existence.
6608 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
6609 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
6610 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
6611 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
6612 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
6613
6614 [BZ #17783]
6615 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
6616 Define.
6617 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
6618 (TIOCSER_TEMT): Likewise.
6619 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
6620 (TEOCSER_TEMT): Likewise.
6621
6622 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
6623
6624 [BZ #24011]
6625 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
6626
6627 2019-01-02 Joseph Myers <joseph@codesourcery.com>
6628
6629 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
6630
6631 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
6632
6633 * sysdeps/htl/pt-barrierattr-setpshared.c
6634 (pthread_barrierattr_setpshared): Add stub warning.
6635 * sysdeps/htl/pt-condattr-setpshared.c
6636 (pthread_condattr_setpshared): Likewise.
6637 * sysdeps/htl/pt-mutexattr-setpshared.c
6638 (pthread_mutexattr_setpshared): Likewise.
6639 * sysdeps/htl/pt-rwlockattr-setpshared.c
6640 (pthread_rwlockattr_setpshared): Likewise.
6641 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
6642 (pthread_mutexattr_setpshared): Likewise.
6643
6644 2019-01-02 Joseph Myers <joseph@codesourcery.com>
6645
6646 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
6647 constants to match with Linux 4.20.
6648
6649 * sysdeps/mips/mips32/libm-test-ulps: Update.
6650 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6651
6652 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
6653
6654 [BZ #24034]
6655 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
6656 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
6657 than __typeof (...) for the a_ptr variable.
6658
6659 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6660
6661 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
6662 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
6663 * libio/Makefile (tests): Add tst-sprintf-ub and
6664 tst-sprintf-chk-ub.
6665 (CFLAGS-tst-sprintf-ub.c): New variable.
6666 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
6667 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
6668 destination buffer and check for overflows in fortified mode.
6669 * libio/libioP.h (PRINTF_CHK): New macro.
6670 * libio/tst-sprintf-chk-ub.c: New file.
6671 * libio/tst-sprintf-ub.c: Likewise.
6672
6673 2019-01-02 Florian Weimer <fweimer@redhat.com>
6674
6675 [BZ #24018]
6676 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
6677 failure.
6678
6679 2019-01-02 Florian Weimer <fweimer@redhat.com>
6680
6681 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
6682
6683 2019-01-01 Joseph Myers <joseph@codesourcery.com>
6684
6685 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
6686 macro.
6687
6688 * sysdeps/unix/sysv/linux/netpacket/packet.h
6689 (PACKET_IGNORE_OUTGOING): New macro.
6690
6691 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
6692 macro.
6693
6694 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6695 version to 4.20.
6696 (riscv_flush_icache): New syscall.
6697
6698 * manual/texinfo.tex: Update to version 2018-12-28.17 with
6699 trailing whitespace removed.
6700 * scripts/config.guess: Update to version 2019-01-01.
6701 * scripts/config.sub: Update to version 2019-01-01.
6702 * scripts/move-if-change: Update from gnulib.
6703
6704 * NEWS: Update copyright dates.
6705 * catgets/gencat.c (print_version): Likewise.
6706 * csu/version.c (banner): Likewise.
6707 * debug/catchsegv.sh: Likewise.
6708 * debug/pcprofiledump.c (print_version): Likewise.
6709 * debug/xtrace.sh (do_version): Likewise.
6710 * elf/ldconfig.c (print_version): Likewise.
6711 * elf/ldd.bash.in: Likewise.
6712 * elf/pldd.c (print_version): Likewise.
6713 * elf/sotruss.sh: Likewise.
6714 * elf/sprof.c (print_version): Likewise.
6715 * iconv/iconv_prog.c (print_version): Likewise.
6716 * iconv/iconvconfig.c (print_version): Likewise.
6717 * locale/programs/locale.c (print_version): Likewise.
6718 * locale/programs/localedef.c (print_version): Likewise.
6719 * login/programs/pt_chown.c (print_version): Likewise.
6720 * malloc/memusage.sh (do_version): Likewise.
6721 * malloc/memusagestat.c (print_version): Likewise.
6722 * malloc/mtrace.pl: Likewise.
6723 * manual/libc.texinfo: Likewise.
6724 * nptl/version.c (banner): Likewise.
6725 * nscd/nscd.c (print_version): Likewise.
6726 * nss/getent.c (print_version): Likewise.
6727 * nss/makedb.c (print_version): Likewise.
6728 * posix/getconf.c (main): Likewise.
6729 * scripts/test-installation.pl: Likewise.
6730 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6731
6732 * All files with FSF copyright notices: Update copyright dates
6733 using scripts/update-copyrights.
6734 * locale/programs/charmap-kw.h: Regenerated.
6735 * locale/programs/locfile-kw.h: Likewise.
6736
6737 2018-12-31 Joseph Myers <joseph@codesourcery.com>
6738
6739 * timezone/zdump.c: Update from tzcode 2018i.
6740 * timezone/zic.c: Likewise.
6741
6742 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
6743
6744 regex: improve Gnulib port to AIX
6745 From the glibc point of view, this removes duplicate macro
6746 definitions and is obviously safe.
6747 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
6748 * posix/regex_internal.h:
6749 (__attribute__, __attribute_warn_unused_result__):
6750 Remove; already defined elsewhere.
6751
6752 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
6753
6754 [BZ #24027]
6755 * malloc/malloc.c (_int_realloc): Always call memcpy for the
6756 copying operation. (ncopies had the wrong type, resulting in an
6757 integer wraparound and too few elements being copied.)
6758
6759 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
6760
6761 [BZ #24022]
6762 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
6763 <asm/syscalls.h> exists with __has_include__ before including it.
6764
6765 2018-12-31 Joseph Myers <joseph@codesourcery.com>
6766
6767 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6768 version to 4.20.
6769
6770 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
6771
6772 * hurd/lookup-retry: Include <unistd.h>.
6773 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
6774 Release it on return. Handle "pid" magical lookup retry.
6775
6776 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
6777
6778 [BZ #10496]
6779 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
6780 (t_fmt_ampm): Likewise.
6781 * localedata/locales/aa_ER (t_fmt): Likewise.
6782 (t_fmt_ampm): Likewise.
6783 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
6784 (t_fmt_ampm): Likewise.
6785 * localedata/locales/aa_ET (t_fmt): Likewise.
6786 (t_fmt_ampm): Likewise.
6787 * localedata/locales/am_ET (t_fmt): Likewise.
6788 (t_fmt_ampm): Likewise.
6789 * localedata/locales/byn_ER (t_fmt): Likewise.
6790 (t_fmt_ampm): Likewise.
6791 * localedata/locales/om_ET (t_fmt): Likewise.
6792 (t_fmt_ampm): Likewise.
6793 * localedata/locales/sid_ET (t_fmt): Likewise.
6794 (t_fmt_ampm): Likewise.
6795 * localedata/locales/so_DJ (t_fmt): Likewise.
6796 (t_fmt_ampm): Likewise.
6797 * localedata/locales/so_ET (t_fmt): Likewise.
6798 (t_fmt_ampm): Likewise.
6799 * localedata/locales/so_SO (t_fmt): Likewise.
6800 (t_fmt_ampm): Likewise.
6801 * localedata/locales/ti_ER (t_fmt): Likewise.
6802 (t_fmt_ampm): Likewise.
6803 * localedata/locales/ti_ET (t_fmt): Likewise.
6804 (t_fmt_ampm): Likewise.
6805 * localedata/locales/tig_ER (t_fmt): Likewise.
6806 (t_fmt_ampm): Likewise.
6807 * localedata/locales/wal_ET (t_fmt): Likewise.
6808 (t_fmt_ampm): Likewise.
6809
6810 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
6811 * localedata/locales/ar_IN (t_fmt): Likewise.
6812 * localedata/locales/bhb_IN (t_fmt): Likewise.
6813 * localedata/locales/bho_IN (t_fmt): Likewise.
6814 * localedata/locales/bi_VU (t_fmt): Likewise.
6815 * localedata/locales/bn_BD (t_fmt): Likewise.
6816 * localedata/locales/bn_IN (t_fmt): Likewise.
6817 * localedata/locales/brx_IN (t_fmt): Likewise.
6818 * localedata/locales/doi_IN (t_fmt): Likewise.
6819 * localedata/locales/en_HK (t_fmt): Likewise.
6820 (t_fmt_ampm): Likewise.
6821 * localedata/locales/en_IN (t_fmt): Likewise.
6822 * localedata/locales/en_PH (t_fmt): Likewise.
6823 * localedata/locales/gu_IN (t_fmt): Likewise.
6824 * localedata/locales/hi_IN (t_fmt): Likewise.
6825 * localedata/locales/hif_FJ (t_fmt): Likewise.
6826 * localedata/locales/hne_IN (t_fmt): Likewise.
6827 * localedata/locales/kn_IN (t_fmt): Likewise.
6828 * localedata/locales/kok_IN (t_fmt): Likewise.
6829 * localedata/locales/ks_IN (t_fmt): Likewise.
6830 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
6831 * localedata/locales/mag_IN (t_fmt): Likewise.
6832 * localedata/locales/mai_IN (t_fmt): Likewise.
6833 * localedata/locales/mjw_IN (t_fmt): Likewise.
6834 * localedata/locales/ml_IN (t_fmt): Likewise.
6835 * localedata/locales/mni_IN (t_fmt): Likewise.
6836 * localedata/locales/mr_IN (t_fmt): Likewise.
6837 * localedata/locales/ms_MY (t_fmt): Likewise.
6838 * localedata/locales/pa_IN (t_fmt): Likewise.
6839 * localedata/locales/raj_IN (t_fmt): Likewise.
6840 * localedata/locales/sa_IN (t_fmt): Likewise.
6841 * localedata/locales/sat_IN (t_fmt): Likewise.
6842 * localedata/locales/sd_IN (t_fmt): Likewise.
6843 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
6844 * localedata/locales/tcy_IN (t_fmt): Likewise.
6845 * localedata/locales/the_NP (t_fmt): Likewise.
6846 * localedata/locales/to_TO (t_fmt): Likewise.
6847 * localedata/locales/ur_IN (t_fmt): Likewise.
6848
6849 * localedata/locales/hif_FJ (d_t_fmt): Set to
6850 "%A %d %b %Y %I:%M:%S %p".
6851 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
6852
6853 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
6854 * localedata/locales/ar_BH (t_fmt): Likewise.
6855 * localedata/locales/ar_DZ (t_fmt): Likewise.
6856 * localedata/locales/ar_EG (t_fmt): Likewise.
6857 * localedata/locales/ar_IQ (t_fmt): Likewise.
6858 * localedata/locales/ar_JO (t_fmt): Likewise.
6859 * localedata/locales/ar_KW (t_fmt): Likewise.
6860 * localedata/locales/ar_LB (t_fmt): Likewise.
6861 * localedata/locales/ar_LY (t_fmt): Likewise.
6862 * localedata/locales/ar_OM (t_fmt): Likewise.
6863 * localedata/locales/ar_QA (t_fmt): Likewise.
6864 * localedata/locales/ar_SD (t_fmt): Likewise.
6865 * localedata/locales/ar_SS (t_fmt): Likewise.
6866 * localedata/locales/ar_SY (t_fmt): Likewise.
6867 * localedata/locales/ar_TN (t_fmt): Likewise.
6868 * localedata/locales/ar_YE (t_fmt): Likewise.
6869
6870 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
6871 (t_fmt_ampm): Likewise.
6872 * localedata/locales/gez_ET (t_fmt): Likewise.
6873 (t_fmt_ampm): Likewise.
6874
6875 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
6876 (t_fmt_ampm): Likewise.
6877 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
6878
6879 * localedata/locales/zh_HK (t_fmt):
6880 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
6881
6882 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
6883 because this locale does not use the 12-hour clock.
6884 (t_fmt): Set to "%Z %H:%M:%S".
6885 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
6886
6887 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
6888 because this locale does not use the 12-hour clock.
6889 (t_fmt): Set to "%H:%M:%S %Z".
6890 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
6891
6892 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
6893 because this locale does not use the 12-hour clock.
6894 (t_fmt): Set to "%T".
6895 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
6896 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
6897
6898 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
6899 because this locale does not use the 12-hour clock.
6900 (t_fmt): Set to "%H:%M:%S %Z".
6901 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
6902
6903 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
6904 because this locale does not use the 12-hour clock.
6905 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
6906 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
6907
6908 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
6909
6910 [BZ #10496]
6911 [BZ #23724]
6912 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
6913 (t_fmt_ampm): Likewise.
6914 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
6915 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
6916 (d_fmt): Set to "%-d.%-m.%y".
6917
6918 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6919
6920 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
6921 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
6922 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
6923 Likewise.
6924 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
6925 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
6926 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
6927 function.
6928 * support/blob_repeat.c (check_mul_overflow_size_t,
6929 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
6930
6931 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
6932
6933 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
6934
6935 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
6936
6937 regex: simplify Gnulib port
6938 This simplifies the code, by removing stuff intended for porting
6939 to Gnulib but no longer needed there.
6940 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
6941 uses of libc_hidden_def, weak_alias.
6942 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
6943 _Restrict_ except for public-facing headers.
6944 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
6945 Remove; already defined elsewhere.
6946 * posix/regex.c, posix/regex_internal.h:
6947 Use __GNUC_PREREQ instead of rolling our own.
6948 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
6949
6950 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
6951
6952 * benchtests/bench-strlen.c (generic_strlen): New function.
6953 (memchr_strlen): New function.
6954
6955 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6956
6957 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
6958 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
6959 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
6960
6961 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6962
6963 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6964
6965 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
6966
6967 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
6968 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
6969 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
6970 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
6971 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
6972 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
6973 <sysdeps/ieee754/flt-32/s_sincosf.c>.
6974
6975 2018-12-21 Joseph Myers <joseph@codesourcery.com>
6976
6977 [BZ #24023]
6978 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
6979 PLT reference in libc.so.
6980 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
6981 _Q_lltoq and _Q_qtod PLT references in libc.so.
6982
6983 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
6984
6985 * benchtests/bench-memchr.c: Cleanup defines.
6986 * benchtests/bench-memcmp.c: Likewise.
6987 * benchtests/bench-memset.c: Likewise.
6988 * benchtests/bench-memset-large.c: Likewise.
6989 * benchtests/bench-memset-walk.c: Likewise.
6990 * benchtests/bench-stpcpy.c: Likewise.
6991 * benchtests/bench-stpncpy.c: Likewise.
6992 * benchtests/bench-strcat.c: Likewise.
6993 * benchtests/bench-strchr.c: Likewise.
6994 * benchtests/bench-strcmp.c: Likewise.
6995 * benchtests/bench-strcpy.c: Likewise.
6996 * benchtests/bench-strcspn.c: Likewise.
6997 * benchtests/bench-string.h: Likewise.
6998 * benchtests/bench-strlen.c: Likewise.
6999 * benchtests/bench-strncat.c: Likewise.
7000 * benchtests/bench-strncmp.c: Likewise.
7001 * benchtests/bench-strncpy.c: Likewise.
7002 * benchtests/bench-strnlen.c: Likewise.
7003 * benchtests/bench-strpbrk.c: Likewise.
7004 * benchtests/bench-strrchr.c: Likewise.
7005 * benchtests/bench-strspn.c: Likewise.
7006
7007 2018-12-21 Joseph Myers <joseph@codesourcery.com>
7008
7009 * stdlib/longlong.h: Update from GCC.
7010
7011 [BZ #23993]
7012 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
7013 * configure: Regenerated.
7014 * manual/install.texi (Tools for Compilation): Update minimum GCC
7015 version.
7016 * INSTALL: Regenerated.
7017
7018 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
7019
7020 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
7021
7022 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
7023
7024 * malloc/malloc.c (mremap_chunk): Additional checks.
7025
7026 2018-12-21 Mao Han <han_mao@c-sky.com>
7027
7028 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
7029 * scripts/build-many-glibcs.py: Add C-SKY targets.
7030 * sysdeps/csky/Implies: New file.
7031 * sysdeps/csky/Makefile: Likewise.
7032 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
7033 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
7034 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
7035 * sysdeps/csky/abiv2/memcmp.S: Likewise.
7036 * sysdeps/csky/abiv2/memcpy.S: Likewise.
7037 * sysdeps/csky/abiv2/memmove.S: Likewise.
7038 * sysdeps/csky/abiv2/memset.S: Likewise.
7039 * sysdeps/csky/abiv2/setjmp.S: Likewise.
7040 * sysdeps/csky/abiv2/start.S: Likewise.
7041 * sysdeps/csky/abiv2/strcmp.S: Likewise.
7042 * sysdeps/csky/abiv2/strcpy.S: Likewise.
7043 * sysdeps/csky/abiv2/strlen.S: Likewise.
7044 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
7045 * sysdeps/csky/abort-instr.h: Likewise.
7046 * sysdeps/csky/atomic-machine.h: Likewise.
7047 * sysdeps/csky/bits/endian.h: Likewise.
7048 * sysdeps/csky/bits/fenv.h: Likewise.
7049 * sysdeps/csky/bits/link.h: Likewise.
7050 * sysdeps/csky/bits/setjmp.h: Likewise.
7051 * sysdeps/csky/bsd-_setjmp.S: Likewise.
7052 * sysdeps/csky/bsd-setjmp.S: Likewise.
7053 * sysdeps/csky/configure: Likewise.
7054 * sysdeps/csky/configure.ac: Likewise.
7055 * sysdeps/csky/dl-machine.h: Likewise.
7056 * sysdeps/csky/dl-procinfo.c: Likewise.
7057 * sysdeps/csky/dl-procinfo.h: Likewise.
7058 * sysdeps/csky/dl-sysdep.h: Likewise.
7059 * sysdeps/csky/dl-tls.h: Likewise.
7060 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
7061 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
7062 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
7063 * sysdeps/csky/fpu/fegetenv.c: Likewise.
7064 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
7065 * sysdeps/csky/fpu/fegetmode.c: Likewise.
7066 * sysdeps/csky/fpu/fegetround.c: Likewise.
7067 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
7068 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
7069 * sysdeps/csky/fpu/fenv_private.h: Likewise.
7070 * sysdeps/csky/fpu/fesetenv.c: Likewise.
7071 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
7072 * sysdeps/csky/fpu/fesetmode.c: Likewise.
7073 * sysdeps/csky/fpu/fesetround.c: Likewise.
7074 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
7075 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
7076 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
7077 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
7078 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
7079 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
7080 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
7081 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
7082 * sysdeps/csky/fpu_control.h: Likewise.
7083 * sysdeps/csky/gccframe.h: Likewise.
7084 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
7085 * sysdeps/csky/ldsodefs.h: Likewise.
7086 * sysdeps/csky/libc-tls.c: Likewise.
7087 * sysdeps/csky/linkmap.h: Likewise.
7088 * sysdeps/csky/machine-gmon.h: Likewise.
7089 * sysdeps/csky/memusage.h: Likewise.
7090 * sysdeps/csky/nofpu/Implies: Likewise.
7091 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
7092 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
7093 * sysdeps/csky/nptl/Makefile: Likewise.
7094 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
7095 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
7096 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
7097 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
7098 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
7099 * sysdeps/csky/nptl/tls.h: Likewise.
7100 * sysdeps/csky/preconfigure: Likewise.
7101 * sysdeps/csky/sfp-machine.h: Likewise.
7102 * sysdeps/csky/sotruss-lib.c: Likewise.
7103 * sysdeps/csky/stackinfo.h: Likewise.
7104 * sysdeps/csky/sysdep.h: Likewise.
7105 * sysdeps/csky/tininess.h: Likewise.
7106 * sysdeps/csky/tst-audit.h: Likewise.
7107 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
7108 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
7109 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
7110 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
7111 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
7112 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
7113 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
7114 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
7115 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
7116 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
7117 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
7118 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
7119 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
7120 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
7121 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
7122 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
7123 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
7124 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
7125 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
7126 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
7127 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
7128 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
7129 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
7130 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
7131 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
7132 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
7133 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
7134 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
7135 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
7136 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
7137 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
7138 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
7139 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
7140 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
7141 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
7142 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
7143 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
7144 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
7145 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
7146 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
7147 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
7148 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
7149 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
7150 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
7151
7152 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
7153
7154 * include/time.h (__difftime64): Add.
7155 * time/difftime.c (subtract): convert to 64-bit time.
7156 * time/difftime.c (__difftime64): Add.
7157 * time/difftime.c (__difftime): Wrap around __difftime64.
7158
7159 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
7160
7161 * manual/examples/add.c: Remove redundant "if not".
7162 * manual/examples/argp-ex1.c: Likewise.
7163 * manual/examples/argp-ex2.c: Likewise.
7164 * manual/examples/argp-ex3.c: Likewise.
7165 * manual/examples/argp-ex4.c: Likewise.
7166 * manual/examples/atexit.c: Likewise.
7167 * manual/examples/db.c: Likewise.
7168 * manual/examples/dir.c: Likewise.
7169 * manual/examples/dir2.c: Likewise.
7170 * manual/examples/execinfo.c: Likewise.
7171 * manual/examples/filecli.c: Likewise.
7172 * manual/examples/filesrv.c: Likewise.
7173 * manual/examples/fmtmsgexpl.c: Likewise.
7174 * manual/examples/genpass.c: Likewise.
7175 * manual/examples/inetcli.c: Likewise.
7176 * manual/examples/inetsrv.c: Likewise.
7177 * manual/examples/isockad.c: Likewise.
7178 * manual/examples/longopt.c: Likewise.
7179 * manual/examples/memopen.c: Likewise.
7180 * manual/examples/memstrm.c: Likewise.
7181 * manual/examples/mkdirent.c: Likewise.
7182 * manual/examples/mkfsock.c: Likewise.
7183 * manual/examples/mkisock.c: Likewise.
7184 * manual/examples/mygetpass.c: Likewise.
7185 * manual/examples/pipe.c: Likewise.
7186 * manual/examples/popen.c: Likewise.
7187 * manual/examples/rprintf.c: Likewise.
7188 * manual/examples/search.c: Likewise.
7189 * manual/examples/select.c: Likewise.
7190 * manual/examples/setjmp.c: Likewise.
7191 * manual/examples/sigh1.c: Likewise.
7192 * manual/examples/sigusr.c: Likewise.
7193 * manual/examples/stpcpy.c: Likewise.
7194 * manual/examples/strdupa.c: Likewise.
7195 * manual/examples/strftim.c: Likewise.
7196 * manual/examples/subopt.c: Likewise.
7197 * manual/examples/swapcontext.c: Likewise.
7198 * manual/examples/termios.c: Likewise.
7199 * manual/examples/testopt.c: Likewise.
7200 * manual/examples/testpass.c: Likewise.
7201 * manual/examples/timeval_subtract.c: Likewise.
7202
7203 2018-12-19 Joseph Myers <joseph@codesourcery.com>
7204
7205 * sysdeps/x86/fpu/math_private.h: New file.
7206 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
7207
7208 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
7209 definition.
7210 (cosh): Likewise.
7211 (tanh): Likewise.
7212
7213 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7214
7215 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
7216 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
7217 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
7218 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
7219 fields.
7220 (_dl_show_auxv): Give a special treatment to
7221 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
7222 and AT_L3_CACHEGEOMETRY.
7223 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
7224 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
7225 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
7226 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
7227
7228 2018-12-19 Andreas Schwab <schwab@suse.de>
7229
7230 * nscd/connections.c (check_use): Don't abort on invalid len.
7231
7232 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
7233
7234 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
7235 values in the 64bit value cases.
7236
7237 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
7238
7239 * include/time.h
7240 (__ctime64_r): Add.
7241 * time/ctime_r.c
7242 (__ctime64_r): Add.
7243 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
7244
7245 * include/time.h
7246 (__ctime64): Add.
7247 * time/gmtime.c
7248 (__ctime64): Add.
7249 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
7250
7251 * include/time.h
7252 (__gmtime64_r): Add.
7253 * time/gmtime.c
7254 (__gmtime64_r): Add.
7255 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
7256
7257 * include/time.h
7258 (__gmtime64): Add.
7259 * time/gmtime.c
7260 (__gmtime64): Add.
7261 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
7262
7263 * include/time.h
7264 (__localtime64_r): Add.
7265 * time/localtime.c
7266 (__localtime64_r): Add.
7267 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
7268
7269 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7270
7271 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
7272 kernel_sigction definition.
7273
7274 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
7275
7276 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
7277
7278 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
7279 __syscall_rt_sigaction.
7280 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
7281 (kernel_sigaction): Use Linux generic defintion.
7282 (STUB): Define.
7283 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
7284 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
7285 (__syscall_rt_sigaction): Remove implementation.
7286 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
7287 hidden.
7288 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
7289 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
7290 INTERNAL_SYSCALL): Remove definitions.
7291 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
7292 action and signal set size.
7293 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
7294 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
7295
7296 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7297 James Clarke <jrtc27@jrtc27.com>
7298
7299 [BZ #23967]
7300 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
7301 Define if SA_RESTORER is defined.
7302 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
7303 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
7304 already defined.
7305 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
7306 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
7307 definitions.
7308 (HAS_SA_RESTORER): Define.
7309 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
7310 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
7311 (HAS_SA_RESTORER): Define.
7312 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
7313 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
7314 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
7315 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
7316 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7317
7318 2018-12-18 Joseph Myers <joseph@codesourcery.com>
7319
7320 * sysdeps/unix/sysv/linux/kernel-features.h
7321 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
7322 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7323 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
7324 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7325 (__ASSUME_ST_INO_64_BIT): Likewise.
7326 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7327 <kernel-features.h>.
7328 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
7329 Remove conditional code.
7330 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7331 <kernel-features.h>.
7332 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
7333 Remove conditional code.
7334 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
7335 <kernel-features.h>.
7336 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
7337 Remove conditional code.
7338 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
7339 <kernel-features.h>.
7340 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
7341 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
7342
7343 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7344
7345 * sysdeps/s390/multiarch/ifunc-resolve.h
7346 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
7347 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
7348 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
7349 Delete macro definition.
7350 (s390_libc_ifunc_init): Rename to
7351 s390_libc_ifunc_expr_stfle_init.
7352 * sysdeps/s390/bzero: Use
7353 s390_libc_ifunc_expr_stfle_init instead of
7354 s390_libc_ifunc_init.
7355 * sysdeps/s390/memcmp.c: Likewise.
7356 * sysdeps/s390/memcpy.c: Likewise.
7357 * sysdeps/s390/mempcpy.c: Likewise.
7358 * sysdeps/s390/memset.c: Likewise.
7359
7360 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7361
7362 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
7363 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
7364
7365 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7366
7367 * sysdeps/s390/multiarch/Makefile
7368 (sysdep_routines): Remove wmemcmp variants.
7369 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
7370 * sysdeps/s390/multiarch/ifunc-impl-list.c
7371 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
7372 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
7373 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
7374 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
7375 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
7376 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
7377 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
7378 * sysdeps/s390/ifunc-wmemcmp.h: New file.
7379
7380 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7381
7382 * sysdeps/s390/multiarch/Makefile
7383 (sysdep_routines): Remove wmemset variants.
7384 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
7385 * sysdeps/s390/multiarch/ifunc-impl-list.c
7386 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
7387 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
7388 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
7389 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
7390 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
7391 * sysdeps/s390/multiarch/wmemset.c: Move to ...
7392 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
7393 * sysdeps/s390/ifunc-wmemset.h: New file.
7394
7395 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7396
7397 * sysdeps/s390/multiarch/Makefile
7398 (sysdep_routines): Remove wmemchr variants.
7399 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
7400 * sysdeps/s390/multiarch/ifunc-impl-list.c
7401 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
7402 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
7403 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
7404 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
7405 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
7406 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
7407 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
7408 * sysdeps/s390/ifunc-wmemchr.h: New file.
7409
7410 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7411
7412 * sysdeps/s390/multiarch/Makefile
7413 (sysdep_routines): Remove wcscspn variants.
7414 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
7415 * sysdeps/s390/multiarch/ifunc-impl-list.c
7416 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
7417 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
7418 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
7419 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
7420 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
7421 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
7422 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
7423 * sysdeps/s390/ifunc-wcscspn.h: New file.
7424
7425 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7426
7427 * sysdeps/s390/multiarch/Makefile
7428 (sysdep_routines): Remove wcspbrk variants.
7429 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
7430 * sysdeps/s390/multiarch/ifunc-impl-list.c
7431 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
7432 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
7433 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
7434 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
7435 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
7436 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
7437 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
7438 * sysdeps/s390/ifunc-wcspbrk.h: New file.
7439
7440 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7441
7442 * sysdeps/s390/multiarch/Makefile
7443 (sysdep_routines): Remove wcsspn variants.
7444 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
7445 * sysdeps/s390/multiarch/ifunc-impl-list.c
7446 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
7447 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
7448 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
7449 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
7450 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
7451 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
7452 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
7453 * sysdeps/s390/ifunc-wcsspn.h: New file.
7454
7455 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7456
7457 * sysdeps/s390/multiarch/Makefile
7458 (sysdep_routines): Remove wcsrchr variants.
7459 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
7460 * sysdeps/s390/multiarch/ifunc-impl-list.c
7461 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
7462 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
7463 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
7464 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
7465 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
7466 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
7467 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
7468 * sysdeps/s390/ifunc-wcsrchr.h: New file.
7469
7470 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7471
7472 * sysdeps/s390/multiarch/Makefile
7473 (sysdep_routines): Remove wcschrnul variants.
7474 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
7475 * sysdeps/s390/multiarch/ifunc-impl-list.c
7476 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
7477 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
7478 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
7479 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
7480 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
7481 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
7482 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
7483 * sysdeps/s390/ifunc-wcschrnul.h: New file.
7484
7485 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7486
7487 * sysdeps/s390/multiarch/Makefile
7488 (sysdep_routines): Remove wcschr variants.
7489 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
7490 * sysdeps/s390/multiarch/ifunc-impl-list.c
7491 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
7492 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
7493 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
7494 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
7495 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
7496 * sysdeps/s390/multiarch/wcschr.c: Move to ...
7497 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
7498 * sysdeps/s390/ifunc-wcschr.h: New file.
7499
7500 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7501
7502 * sysdeps/s390/multiarch/Makefile
7503 (sysdep_routines): Remove wcsncmp variants.
7504 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
7505 * sysdeps/s390/multiarch/ifunc-impl-list.c
7506 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
7507 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
7508 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
7509 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
7510 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
7511 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
7512 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
7513 * sysdeps/s390/ifunc-wcsncmp.h: New file.
7514
7515 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7516
7517 * sysdeps/s390/multiarch/Makefile
7518 (sysdep_routines): Remove wcscmp variants.
7519 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
7520 * sysdeps/s390/multiarch/ifunc-impl-list.c
7521 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
7522 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
7523 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
7524 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
7525 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
7526 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
7527 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
7528 * sysdeps/s390/ifunc-wcscmp.h: New file.
7529
7530 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7531
7532 * sysdeps/s390/multiarch/Makefile
7533 (sysdep_routines): Remove wcsncat variants.
7534 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
7535 * sysdeps/s390/multiarch/ifunc-impl-list.c
7536 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
7537 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
7538 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
7539 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
7540 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
7541 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
7542 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
7543 * sysdeps/s390/ifunc-wcsncat.h: New file.
7544
7545 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7546
7547 * sysdeps/s390/multiarch/Makefile
7548 (sysdep_routines): Remove wcscat variants.
7549 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
7550 * sysdeps/s390/multiarch/ifunc-impl-list.c
7551 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
7552 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
7553 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
7554 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
7555 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
7556 * sysdeps/s390/multiarch/wcscat.c: Move to ...
7557 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
7558 * sysdeps/s390/ifunc-wcscat.h: New file.
7559
7560 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7561
7562 * sysdeps/s390/multiarch/Makefile
7563 (sysdep_routines): Remove wcpncpy variants.
7564 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
7565 * sysdeps/s390/multiarch/ifunc-impl-list.c
7566 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
7567 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
7568 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
7569 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
7570 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
7571 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
7572 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
7573 * sysdeps/s390/ifunc-wcpncpy.h: New file.
7574
7575 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7576
7577 * sysdeps/s390/multiarch/Makefile
7578 (sysdep_routines): Remove wcsncpy variants.
7579 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
7580 * sysdeps/s390/multiarch/ifunc-impl-list.c
7581 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
7582 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
7583 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
7584 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
7585 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
7586 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
7587 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
7588 * sysdeps/s390/ifunc-wcsncpy.h: New file.
7589
7590 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7591
7592 * sysdeps/s390/multiarch/Makefile
7593 (sysdep_routines): Remove wcpcpy variants.
7594 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
7595 * sysdeps/s390/multiarch/ifunc-impl-list.c
7596 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
7597 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
7598 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
7599 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
7600 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
7601 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
7602 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
7603 * sysdeps/s390/ifunc-wcpcpy.h: New file.
7604
7605 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7606
7607 * sysdeps/s390/multiarch/Makefile
7608 (sysdep_routines): Remove wcscpy variants.
7609 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
7610 * sysdeps/s390/multiarch/ifunc-impl-list.c
7611 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
7612 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
7613 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
7614 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
7615 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
7616 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
7617 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
7618 * sysdeps/s390/ifunc-wcscpy.h: New file.
7619
7620 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7621
7622 * sysdeps/s390/multiarch/Makefile
7623 (sysdep_routines): Remove wcsnlen variants.
7624 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
7625 * sysdeps/s390/multiarch/ifunc-impl-list.c
7626 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
7627 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
7628 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
7629 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
7630 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
7631 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
7632 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
7633 * sysdeps/s390/ifunc-wcsnlen.h: New file.
7634
7635 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7636
7637 * sysdeps/s390/multiarch/Makefile
7638 (sysdep_routines): Remove wcslen variants.
7639 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
7640 * sysdeps/s390/multiarch/ifunc-impl-list.c
7641 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
7642 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
7643 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
7644 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
7645 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
7646 * sysdeps/s390/multiarch/wcslen.c: Move to ...
7647 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
7648 * sysdeps/s390/ifunc-wcslen.h: New file.
7649
7650 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7651
7652 * sysdeps/s390/multiarch/Makefile
7653 (sysdep_routines): Remove memrchr variants.
7654 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
7655 * sysdeps/s390/multiarch/ifunc-impl-list.c
7656 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
7657 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
7658 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
7659 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
7660 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
7661 * sysdeps/s390/multiarch/memrchr.c: Move to ...
7662 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
7663 * sysdeps/s390/ifunc-memrchr.h: New file.
7664
7665 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7666
7667 * sysdeps/s390/multiarch/Makefile
7668 (sysdep_routines): Remove memccpy variants.
7669 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
7670 * sysdeps/s390/multiarch/ifunc-impl-list.c
7671 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
7672 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
7673 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
7674 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
7675 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
7676 * sysdeps/s390/multiarch/memccpy.c: Move to ...
7677 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
7678 * sysdeps/s390/ifunc-memccpy.h: New file.
7679
7680 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7681
7682 * sysdeps/s390/multiarch/Makefile
7683 (sysdep_routines): Remove rawmemchr variants.
7684 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
7685 * sysdeps/s390/multiarch/ifunc-impl-list.c
7686 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
7687 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
7688 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
7689 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
7690 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
7691 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
7692 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
7693 * sysdeps/s390/ifunc-rawmemchr.h: New file.
7694
7695 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7696
7697 * sysdeps/s390/multiarch/Makefile
7698 (sysdep_routines): Remove memchr variants.
7699 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
7700 * sysdeps/s390/multiarch/ifunc-impl-list.c
7701 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
7702 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
7703 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
7704 * sysdeps/s390/multiarch/memchr.c: Move to ...
7705 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
7706 * sysdeps/s390/ifunc-memchr.h: New file.
7707 * sysdeps/s390/s390-64/memchr.S: Move to ...
7708 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
7709 for 31/64bit and ifunc handling.
7710 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
7711 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
7712 * sysdeps/s390/s390-32/memchr.S: Likewise.
7713
7714 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7715
7716 * sysdeps/s390/multiarch/Makefile
7717 (sysdep_routines): Remove strcspn variants.
7718 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
7719 * sysdeps/s390/multiarch/ifunc-impl-list.c
7720 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
7721 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
7722 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
7723 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
7724 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
7725 * sysdeps/s390/multiarch/strcspn.c: Move to ...
7726 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
7727 * sysdeps/s390/ifunc-strcspn.h: New file.
7728
7729 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7730
7731 * sysdeps/s390/multiarch/Makefile
7732 (sysdep_routines): Remove strpbrk variants.
7733 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
7734 * sysdeps/s390/multiarch/ifunc-impl-list.c
7735 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
7736 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
7737 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
7738 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
7739 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
7740 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
7741 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
7742 * sysdeps/s390/ifunc-strpbrk.h: New file.
7743
7744 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7745
7746 * sysdeps/s390/multiarch/Makefile
7747 (sysdep_routines): Remove strspn variants.
7748 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
7749 * sysdeps/s390/multiarch/ifunc-impl-list.c
7750 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
7751 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
7752 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
7753 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
7754 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
7755 * sysdeps/s390/multiarch/strspn.c: Move to ...
7756 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
7757 * sysdeps/s390/ifunc-strspn.h: New file.
7758
7759 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7760
7761 * sysdeps/s390/multiarch/Makefile
7762 (sysdep_routines): Remove strrchr variants.
7763 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
7764 * sysdeps/s390/multiarch/ifunc-impl-list.c
7765 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
7766 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
7767 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
7768 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
7769 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
7770 * sysdeps/s390/multiarch/strrchr.c: Move to ...
7771 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
7772 * sysdeps/s390/ifunc-strrchr.h: New file.
7773
7774 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7775
7776 * sysdeps/s390/multiarch/Makefile
7777 (sysdep_routines): Remove strchrnul variants.
7778 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
7779 * sysdeps/s390/multiarch/ifunc-impl-list.c
7780 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
7781 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
7782 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
7783 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
7784 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
7785 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
7786 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
7787 * sysdeps/s390/ifunc-strchrnul.h: New file.
7788
7789 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7790
7791 * sysdeps/s390/multiarch/Makefile
7792 (sysdep_routines): Remove strchr variants.
7793 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
7794 * sysdeps/s390/multiarch/ifunc-impl-list.c
7795 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
7796 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
7797 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
7798 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
7799 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
7800 * sysdeps/s390/multiarch/strchr.c: Move to ...
7801 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
7802 * sysdeps/s390/ifunc-strchr.h: New file.
7803
7804 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7805
7806 * sysdeps/s390/multiarch/Makefile
7807 (sysdep_routines): Remove strncmp variants.
7808 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
7809 * sysdeps/s390/multiarch/ifunc-impl-list.c
7810 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
7811 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
7812 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
7813 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
7814 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
7815 * sysdeps/s390/multiarch/strncmp.c: Move to ...
7816 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
7817 * sysdeps/s390/ifunc-strncmp.h: New file.
7818
7819 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7820
7821 * sysdeps/s390/multiarch/Makefile
7822 (sysdep_routines): Remove strcmp variants.
7823 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
7824 * sysdeps/s390/multiarch/ifunc-impl-list.c
7825 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
7826 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
7827 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
7828 * sysdeps/s390/multiarch/strcmp.c: Move to ...
7829 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
7830 * sysdeps/s390/ifunc-strcmp.h: New file.
7831 * sysdeps/s390/s390-64/strcmp.S: Move to ...
7832 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
7833 for 31/64bit and ifunc handling.
7834 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
7835 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
7836 * sysdeps/s390/s390-32/strcmp.S: Likewise.
7837
7838 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7839
7840 * sysdeps/s390/multiarch/Makefile
7841 (sysdep_routines): Remove strncat variants.
7842 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
7843 * sysdeps/s390/multiarch/ifunc-impl-list.c
7844 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
7845 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
7846 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
7847 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
7848 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
7849 * sysdeps/s390/multiarch/strncat.c: Move to ...
7850 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
7851 * sysdeps/s390/ifunc-strncat.h: New file.
7852
7853 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7854
7855 * sysdeps/s390/multiarch/Makefile
7856 (sysdep_routines): Remove strcat variants.
7857 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
7858 * sysdeps/s390/multiarch/ifunc-impl-list.c
7859 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
7860 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
7861 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
7862 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
7863 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
7864 * sysdeps/s390/multiarch/strcat.c: Move to ...
7865 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
7866 * sysdeps/s390/ifunc-strcat.h: New file.
7867
7868 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7869
7870 * sysdeps/s390/multiarch/Makefile
7871 (sysdep_routines): Remove stpncpy variants.
7872 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
7873 * sysdeps/s390/multiarch/ifunc-impl-list.c
7874 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
7875 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
7876 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
7877 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
7878 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
7879 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
7880 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
7881 * sysdeps/s390/ifunc-stpncpy.h: New file.
7882
7883 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7884
7885 * sysdeps/s390/multiarch/Makefile
7886 (sysdep_routines): Remove strncpy variants.
7887 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
7888 * sysdeps/s390/multiarch/ifunc-impl-list.c
7889 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
7890 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
7891 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
7892 * sysdeps/s390/multiarch/strncpy.c: Move to ...
7893 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
7894 * sysdeps/s390/ifunc-strncpy.h: New file.
7895 * sysdeps/s390/s390-64/strncpy.S: Move to ...
7896 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
7897 and adjust ifunc handling.
7898 * sysdeps/s390/s390-32/strncpy.S: Move to ...
7899 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
7900 and adjust ifunc handling.
7901 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
7902 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
7903
7904 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7905
7906 * sysdeps/s390/multiarch/Makefile
7907 (sysdep_routines): Remove stpcpy variants.
7908 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
7909 * sysdeps/s390/multiarch/ifunc-impl-list.c
7910 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
7911 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
7912 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
7913 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
7914 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
7915 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
7916 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
7917 * sysdeps/s390/ifunc-stpcpy.h: New file.
7918
7919 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7920
7921 * sysdeps/s390/multiarch/Makefile
7922 (sysdep_routines): Remove strcpy variants.
7923 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
7924 * sysdeps/s390/multiarch/ifunc-impl-list.c
7925 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
7926 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
7927 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
7928 * sysdeps/s390/multiarch/strcpy.c: Move to ...
7929 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
7930 * sysdeps/s390/ifunc-strcpy.h: New file.
7931 * sysdeps/s390/s390-64/strcpy.S: Move to ...
7932 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
7933 for 31/64bit and ifunc handling.
7934 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
7935 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
7936 * sysdeps/s390/s390-32/strcpy.S: Likewise.
7937
7938 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7939
7940 * sysdeps/s390/multiarch/Makefile
7941 (sysdep_routines): Remove strnlen variants.
7942 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
7943 * sysdeps/s390/multiarch/ifunc-impl-list.c
7944 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
7945 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
7946 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
7947 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
7948 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
7949 * sysdeps/s390/multiarch/strnlen.c: Move to ...
7950 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
7951 * sysdeps/s390/ifunc-strnlen.h: New file.
7952
7953 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7954
7955 * sysdeps/s390/multiarch/Makefile
7956 (sysdep_routines): Remove strlen variants.
7957 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
7958 * sysdeps/s390/multiarch/ifunc-impl-list.c
7959 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
7960 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
7961 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
7962 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
7963 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
7964 * sysdeps/s390/multiarch/strlen.c: Move to ...
7965 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
7966 * sysdeps/s390/ifunc-strlen.h: New file.
7967
7968 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7969
7970 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
7971 * sysdeps/s390/multiarch/ifunc-impl-list.c
7972 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
7973 * sysdeps/s390/ifunc-memmem.h: New file.
7974 * sysdeps/s390/memmem.c: Likewise.
7975 * sysdeps/s390/memmem-c.c: Likewise.
7976 * sysdeps/s390/memmem-vx.c: Likewise.
7977
7978 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7979
7980 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
7981 * sysdeps/s390/multiarch/ifunc-impl-list.c
7982 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
7983 * sysdeps/s390/ifunc-strstr.h: New file.
7984 * sysdeps/s390/strstr.c: Likewise.
7985 * sysdeps/s390/strstr-c.c: Likewise.
7986 * sysdeps/s390/strstr-vx.c: Likewise.
7987
7988 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
7989
7990 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
7991 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
7992 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
7993 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
7994 New defines.
7995 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
7996 * sysdeps/s390/memmove-c.c: New file.
7997 * sysdeps/s390/memmove.c: Likewise.
7998 * sysdeps/s390/multiarch/ifunc-impl-list.c
7999 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
8000
8001 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8002
8003 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
8004 * sysdeps/s390/configure.ac: Add check for z13 support.
8005 * sysdeps/s390/configure: Regenerated.
8006
8007 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8008
8009 * sysdeps/s390/memcopy.h: New file.
8010
8011 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8012
8013 * sysdeps/s390/s390-32/bcopy.S: Remove.
8014 * sysdeps/s390/s390-64/bcopy.S: Likewise.
8015
8016 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8017
8018 * sysdeps/s390/ifunc-memcpy.h: New File.
8019 * sysdeps/s390/memcpy.S: Move to ...
8020 * sysdeps/s390/memcpy-z900.S ... here.
8021 Move implementations from memcpy-s390x.s to here.
8022 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
8023 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
8024 Remove memcpy/mempcpy variants.
8025 * sysdeps/s390/Makefile (sysdep_routines):
8026 Add memcpy/mempcpy variants.
8027 * sysdeps/s390/multiarch/ifunc-impl-list.c
8028 (__libc_ifunc_impl_list): Adjust ifunc variants for
8029 memcpy and mempcpy.
8030 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
8031 to ...
8032 * sysdeps/s390/memcpy.c: ... here.
8033 Adjust ifunc variants for memcpy.
8034 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
8035 * sysdeps/s390/mempcpy.c: ... here.
8036 Adjust ifunc variants for mempcpy.
8037 * sysdeps/s390/mempcpy.S: Delete file.
8038
8039 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8040
8041 * sysdeps/s390/s390-64/memcpy.S: Move to ...
8042 * sysdeps/s390/memcpy.S: ... here.
8043 Adjust to be usable for 31/64bit.
8044 * sysdeps/s390/s390-32/memcpy.S: Delete File.
8045 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
8046 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
8047 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
8048 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
8049 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
8050 Adjust to be usable for 31/64bit.
8051 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
8052 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
8053 * sysdeps/s390/multiarch/memcpy.c: ... here.
8054 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
8055
8056 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8057
8058 * sysdeps/s390/ifunc-memcmp.h: New File.
8059 * sysdeps/s390/memcmp.S: Move to ...
8060 * sysdeps/s390/memcmp-z900.S ... here.
8061 Move implementations from memcmp-s390x.s to here.
8062 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
8063 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
8064 Remove memcmp variants.
8065 * sysdeps/s390/Makefile (sysdep_routines):
8066 Add memcmp variants.
8067 * sysdeps/s390/multiarch/ifunc-impl-list.c
8068 (__libc_ifunc_impl_list): Adjust ifunc variants for
8069 memcmp.
8070 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
8071 to ...
8072 * sysdeps/s390/memcmp.c: ... here.
8073 Adjust ifunc variants for memcmp.
8074
8075 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8076
8077 * sysdeps/s390/s390-64/memcmp.S: Move to ...
8078 * sysdeps/s390/memcmp.S: ... here.
8079 Adjust to be usable for 31/64bit.
8080 * sysdeps/s390/s390-32/memcmp.S: Delete File.
8081 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
8082 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
8083 Remove memcmp.
8084 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
8085 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
8086 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
8087 Adjust to be usable for 31/64bit.
8088 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
8089 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
8090 * sysdeps/s390/multiarch/memcmp.c: ... here.
8091 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
8092
8093 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8094
8095 * sysdeps/s390/s390-32/bzero.S: Delete file.
8096 * sysdeps/s390/s390-64/bzero.S: Likewise.
8097 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
8098 * sysdeps/s390/bzero.c: New file.
8099 * sysdeps/s390/memset-z900.S: Add bzero entry points.
8100 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
8101 * sysdeps/s390/multiarch/ifunc-impl-list.c
8102 (__libc_ifunc_impl_list): Add bzero ifunc variants.
8103
8104 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8105
8106 * sysdeps/s390/ifunc-memset.h: New File.
8107 * sysdeps/s390/memset.S: Move to ...
8108 * sysdeps/s390/memset-z900.S ... here.
8109 Move implementations from memset-s390x.s to here.
8110 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
8111 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
8112 Remove memset variants.
8113 * sysdeps/s390/Makefile (sysdep_routines):
8114 Add memset variants.
8115 * sysdeps/s390/multiarch/ifunc-impl-list.c
8116 (__libc_ifunc_impl_list): Adjust ifunc variants for
8117 memset.
8118 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
8119 to ...
8120 * sysdeps/s390/memset.c: ... here.
8121 Adjust ifunc variants for memset.
8122
8123 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8124
8125 * sysdeps/s390/s390-64/memset.S: Move to ...
8126 * sysdeps/s390/memset.S: ... here.
8127 Adjust to be usable for 31/64bit.
8128 * sysdeps/s390/s390-32/memset.S: Delete File.
8129 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
8130 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
8131 Remove memset.
8132 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
8133 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
8134 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
8135 Adjust to be usable for 31/64bit.
8136 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
8137 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
8138 * sysdeps/s390/multiarch/memset.c: ... here.
8139 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
8140
8141 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8142
8143 * sysdeps/s390/multiarch/ifunc-resolve.h
8144 (s390_libc_ifunc_init, s390_libc_ifunc,
8145 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
8146
8147 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8148
8149 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
8150 * sysdeps/s390/configure.ac: Add check for z10 support.
8151 * sysdeps/s390/configure: Regenerated.
8152
8153 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
8154
8155 * sysdeps/i386/atomic-machine.h: Merged with ...
8156 * sysdeps/x86_64/atomic-machine.h: To ...
8157 * sysdeps/x86/atomic-machine.h: This. New file.
8158
8159 2018-12-18 Florian Weimer <fweimer@redhat.com>
8160
8161 Rewrite locale/gen-translit.pl in Python.
8162 * locale/Makefile (generated): Add C-translit.h.
8163 (before-compile): Add $(objpfx)C-translit.h.
8164 (C-translit.h): Move to $(objpfx). Create target directory.
8165 Build using Python script.
8166 * locale/gen-translit.py: New file.
8167 * locale/gen-translit.pl: Remove file.
8168 * locale/C-translit.h.in: Change comment character to '#' for
8169 easier parsing without a C preprocessor.
8170 * locale/C-translit.h: Remove generated file.
8171 * manual/install.texi (Tools for Compilation): Do not mention
8172 C-translit.h.
8173 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
8174 Remove locale/C-translit.h.
8175 * scripts/update-copyrights: Likewise.
8176 * INSTALL: Regenerate.
8177
8178 2018-12-18 Florian Weimer <fweimer@redhat.com>
8179
8180 [BZ #23995]
8181 * localedata/locales/bi_VU: Remove executable bit from file.
8182
8183 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
8184
8185 * include/time.h
8186 (__localtime64): Add.
8187 * manual/maint.texi: Document Y2038 symbol handling.
8188 * time/localtime.c
8189 (__localtime64): Add.
8190 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
8191
8192 2018-12-17 Joseph Myers <joseph@codesourcery.com>
8193
8194 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
8195 Do not clobber r12.
8196
8197 * scripts/glibcextract.py (compare_macro_consts): Take parameters
8198 to allow extra macros from first or second sources.
8199 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
8200 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8201 (tests-special): Add $(objpfx)tst-mman-consts.out.
8202 ($(objpfx)tst-mman-consts.out): New makefile target.
8203
8204 2018-12-17 Mao Han <han_mao@c-sky.com>
8205
8206 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
8207 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
8208 without stat64 system call support.
8209 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
8210 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
8211 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8212 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
8213 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
8214 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
8215 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
8216 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
8217 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
8218 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
8219 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
8220
8221 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
8222
8223 regex: fix storage-exhaustion error
8224 [BZ #18040]
8225 * posix/regexec.c (get_subexp):
8226 Do not continue if storage is exhausted.
8227
8228 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
8229
8230 regex: fix heap-use-after-free error
8231 [BZ #18040]
8232 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
8233 https://debbugs.gnu.org/32592
8234 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
8235 call extend_buffers which reallocates the re_string_t internal buffer.
8236 Local variable 'buf' was not updated in such case, resulting in
8237 use-after-free.
8238 * posix/regexec.c (get_subexp): Update 'buf' after call to
8239 get_subexp_sub.
8240
8241 2018-12-15 Florian Weimer <fweimer@redhat.com>
8242
8243 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
8244 (minimum_stride_size): Use it.
8245 (support_blob_repeat_allocate): Likewise.
8246
8247 2018-12-14 Joseph Myers <joseph@codesourcery.com>
8248
8249 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
8250 definition.
8251 (acosh): Likewise.
8252 (atanh): Likewise.
8253
8254 2018-12-14 Florian Weimer <fweimer@redhat.com>
8255
8256 * manual/process.texi (Process Creation Concepts): Remove
8257 documentation of process (ID) lifetime. List more process
8258 creation functions. Reference Process Identification section.
8259 (Process Identification): Add information about process ID
8260 lifetime. Describe Linux thread/task IDs.
8261 * manual/signal.texi (Signaling Another Process): Mention that the
8262 signal is always sent to the process.
8263
8264 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8265
8266 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
8267 and tst-ldbl-efgcvt.
8268 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
8269 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
8270 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
8271 (fcvt_tests, output_error, output_r_error, do_test): Use the
8272 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
8273 select the type of floating-point variables and arguments; to
8274 produce extra tests for double and conversion specifiers for
8275 printf; and to set the names of called functions.
8276 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
8277 in tst-efgcvt-template.c.
8278 * misc/tst-ldbl-efgcvt.c: Likewise.
8279
8280 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
8281
8282 * nss/Makefile (tst-nss-test3.out): New rule.
8283
8284 2018-12-13 Joseph Myers <joseph@codesourcery.com>
8285
8286 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
8287 clobber sp.
8288
8289 2018-12-13 fanjinke <fanjinke@hygon.cn>
8290
8291 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
8292 "HygonGenuine".
8293
8294 2018-12-13 Andreas Schwab <schwab@suse.de>
8295
8296 [BZ #23861]
8297 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
8298 (__pthread_rwlock_rdlock_full): Update expected value for
8299 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
8300 * nptl/tst-rwlock-pwn.c: New file.
8301 * nptl/Makefile (tests): Add tst-rwlock-pwn.
8302
8303 2018-12-12 Joseph Myers <joseph@codesourcery.com>
8304
8305 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
8306 definition.
8307
8308 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8309
8310 * benchtests/scripts/compare_bench.py (do_compare): write to
8311 stderr in casestat is not present.
8312 * benchtests/scripts/compare_bench.py (plot_graphs): write to
8313 stderr in case timings field is not present. Also string showing
8314 the output filename goes into the stderr.
8315
8316 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8317
8318 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
8319 and ZeroDivisorError exceptions.
8320 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
8321 argument to loop through user provided statistics.
8322 * benchtests/scripts/compare_bench.py (main): Include the --stats
8323 argument.
8324
8325 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8326
8327 * benchtests/scripts/compare_bench.py (compare_runs): Continue
8328 instead of return.
8329
8330 2018-12-12 Florian Weimer <fweimer@redhat.com>
8331
8332 * sysdeps/posix/timespec_get.c: Add missing “any later version”
8333 clause to copyright header.
8334
8335 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8336
8337 [BZ #23614]
8338 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
8339 registers saved in the stack frame.
8340 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
8341 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
8342
8343 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8344
8345 * include/bits/monetary-ldbl.h: New file.
8346 * include/bits/printf-ldbl.h: Likewise.
8347 * include/bits/stdio-ldbl.h: Likewise.
8348 * include/bits/stdlib-ldbl.h: Likewise.
8349 * include/bits/syslog-ldbl.h: Likewise.
8350 * include/bits/wchar-ldbl.h: Likewise.
8351
8352 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8353
8354 * libio/libio.h: Remove redirection for _IO_vfprintf.
8355
8356 2018-12-11 Andreas Schwab <schwab@suse.de>
8357
8358 * Makerules: Remove all references to abilist-pattern.
8359 (update-all-abi): Simplify find expression.
8360
8361 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
8362
8363 [BZ #23961]
8364 * math/auto-libm-test-in: Add new test case.
8365 * math/auto-libm-test-out-pow: Regenerated.
8366 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
8367
8368 2018-12-10 DJ Delorie <dj@redhat.com>
8369
8370 [BZ #23948]
8371 * support/test-container.c: Move postclean step to before we
8372 change namespaces.
8373
8374 2018-12-10 Joseph Myers <joseph@codesourcery.com>
8375
8376 * scripts/gen-as-const.py (main): Handle --python option.
8377 * scripts/gen-py-const.awk: Remove.
8378 * Makerules (py-const-script): Use gen-as-const.py.
8379 ($(py-const)): Likewise.
8380 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
8381 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
8382 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
8383 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
8384 ~PTHREAD_MUTEX_NO_ELISION_NP.
8385 * manual/README.pretty-printers: Update reference to
8386 gen-py-const.awk.
8387
8388 * scripts/glibcextract.py: New file.
8389 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
8390 or tempfile. Import glibcexctract.
8391 (compute_c_consts): Remove. Moved to glibcextract.py.
8392 (gen_test): Update reference to compute_c_consts.
8393 (main): Likewise.
8394 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
8395 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
8396 * sysdeps/unix/sysv/linux/Makefile
8397 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
8398 Redirect stderr as well as stdout.
8399
8400 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
8401
8402 [BZ #19767]
8403 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
8404 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
8405 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
8406 ALWAYS_USE_VSYSCALL.
8407 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
8408 ALWAYS_USE_VSYSCALL.
8409 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
8410 ALWAYS_USE_VSYSCALL.
8411
8412 2018-12-10 Florian Weimer <fweimer@redhat.com>
8413
8414 [BZ #23972]
8415 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
8416 offset instead of count for clarity. Fix typo in comment.
8417 (__old_getdents64): Keep track of previous offset. Use it to call
8418 handle_overflow.
8419 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
8420 that d_off is never zero.
8421
8422 2018-12-10 Andreas Schwab <schwab@suse.de>
8423
8424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
8425 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
8426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
8427 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
8428 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
8429
8430 2018-12-10 Joseph Myers <joseph@codesourcery.com>
8431
8432 * timezone/private.h: Update from tzcode 2018g.
8433 * timezone/tzfile.h: Likewise.
8434 * timezone/tzselect.ksh: Likewise.
8435 * timezone/zdump.c: Likewise.
8436 * timezone/zic.c: Likewise.
8437
8438 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8439
8440 [BZ #23490]
8441 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
8442 (do_test): Adjust buffer size and fix format.
8443
8444 2018-12-07 DJ Delorie <dj@redhat.com>
8445
8446 [BZ #23907]
8447 * malloc/tst-tcfree3.c: New.
8448 * malloc/Makefile: Add it.
8449
8450 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
8451
8452 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
8453
8454 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8455
8456 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
8457 used as a mask for the mode argument of __vfscanf_internal and
8458 __vfwscanf_internal.
8459 * stdio-common/vfscanf-internal.c
8460 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
8461 (__strtof128_internal): Define to __wcstof128_internal.
8462 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
8463 __strtof128_internal or __wcstof128_internal when the format of
8464 long double is the same as _Float128.
8465
8466 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
8467
8468 * include/unistd.h (__confstr): Add prototype and hidden prototype.
8469 * posix/confstr.c (confstr): Rename to __confstr.
8470 (__confstr): Add hidden def.
8471 (confstr): Add weak alias for __confstr.
8472 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
8473 confstr.
8474
8475 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
8476
8477 * NEWS: Mention getcpu.
8478 * include/sched.h (__getcpu): New libc_hidden_proto.
8479 * manual/resource.texi: Document getcpu.
8480 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
8481 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
8482 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
8483 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8484 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8485 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8486 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8487 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8488 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8489 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8490 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8491 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8492 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
8493 Likewise.
8494 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8495 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8496 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8498 Likewise.
8499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8500 Likewise.
8501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
8502 Likewise.
8503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
8504 Likewise.
8505 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
8506 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8507 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8508 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8509 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8510 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8511 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8512 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8513 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
8514 * sysdeps/unix/sysv/linux/getcpu.c: New file.
8515 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
8516 Also check getcpu.
8517
8518 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
8519
8520 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
8521 functions.
8522 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
8523
8524 2018-12-07 Florian Weimer <fweimer@redhat.com>
8525
8526 [BZ #17405]
8527 * posix/Makefile (routines): Add spawn_faction_addfchdir.
8528 * posix/Versions (GLIBC_2.29): Export
8529 posix_spawn_file_actions_addfchdir_np.
8530 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
8531 * posix/spawn_faction_destroy.c
8532 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
8533 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
8534 and the field action.fchdir_action.
8535 * posix/tst-spawn-chdir.c (add_chdir): New function.
8536 (do_test): Add do_fchdir loop. Call add_chdir.
8537 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
8538 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
8539 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
8540 posix_spawn_file_actions_addfchdir_np.
8541 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
8542 Likewise.
8543 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
8544 Likewise.
8545 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
8546 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
8547 Likewise.
8548 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
8549 Likewise.
8550 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
8551 Likewise.
8552 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
8553 Likewise.
8554 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
8555 Likewise.
8556 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
8557 Likewise.
8558 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8559 (GLIBC_2.29): Likewise.
8560 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8561 (GLIBC_2.29): Likewise.
8562 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8563 (GLIBC_2.29): Likewise.
8564 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8565 (GLIBC_2.29): Likewise.
8566 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
8567 Likewise.
8568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8569 (GLIBC_2.29): Likewise.
8570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8571 (GLIBC_2.29): Likewise.
8572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8573 (GLIBC_2.29): Likewise.
8574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8575 (GLIBC_2.29): Likewise.
8576 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
8577 Likewise.
8578 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
8579 Likewise.
8580 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
8581 Likewise.
8582 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
8583 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
8584 Likewise.
8585 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
8586 Likewise.
8587 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
8588 Likewise.
8589 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
8590 Likewise.
8591
8592 2018-12-06 Joseph Myers <joseph@codesourcery.com>
8593
8594 * manual/texinfo.tex: Update to version 2018-09-21.20 with
8595 trailing whitespace removed.
8596 * scripts/config.guess: Update to version 2018-11-28.
8597 * scripts/config.sub: Update to version 2018-11-28.
8598 * scripts/install-sh: Update to version 2018-03-11.20.
8599 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
8600 * scripts/move-if-change: Update to version 2018-03-07 03:47.
8601
8602 2018-12-07 Florian Weimer <fweimer@redhat.com>
8603
8604 [BZ #23927]
8605 CVE-2018-19591
8606 * inet/tst-if_index-long.c: New file.
8607 * inet/Makefile (tests): Add tst-if_index-long.
8608
8609 2018-12-07 Florian Weimer <fweimer@redhat.com>
8610
8611 * support/check.h (support_record_failure_is_failed): Declare.
8612 * support/descriptors.h: New file.
8613 * support/support_descriptors.c: Likewise.
8614 * support/tst-support_descriptors.c: Likewise.
8615 * support/support_record_failure.c
8616 (support_record_failure_is_failed): New function.
8617 * support/Makefile (libsupport-routines): Add support_descriptors.
8618 (tests): Add tst-support_descriptors.
8619
8620 2018-12-05 Zack Weinberg <zackw@panix.com>
8621 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8622
8623 * stdio-common/vfprintf-internal.c
8624 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
8625 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
8626 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
8627 and __no_long_double.
8628 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
8629 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
8630 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
8631 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
8632 and __nldbl_*syslog* functions.
8633 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
8634 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
8635 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
8636 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
8637 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
8638 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
8639 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
8640 (__nldbl_vwprintf, __nldbl_wprintf):
8641 Directly call the appropriate __v*printf_internal routine, passing
8642 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
8643 variable names.
8644 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
8645 (__nldbl___printf_chk, __nldbl___snprintf_chk)
8646 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
8647 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
8648 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
8649 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
8650 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
8651 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
8652 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
8653 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
8654 Likewise, and also pass PRINTF_FORTIFY when appropriate.
8655 (__nldbl_syslog, __nldbl_vsyslog):
8656 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
8657 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
8658 appropriate.
8659 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
8660 appropriate.
8661
8662 2018-12-05 Zack Weinberg <zackw@panix.com>
8663 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8664
8665 [BZ #11319]
8666 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
8667 Moved here from debug/vsprintf_chk.c.
8668 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
8669 and completion logic for the strfile to match exactly what
8670 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
8671 _IO_str_init_static_internal instead of maxlen-1.
8672 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
8673 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
8674 __vsprintf_internal.
8675
8676 * debug/vsprintf_chk.c (__vsprintf_chk)
8677 * debug/sprintf_chk.c (__sprintf_chk):
8678 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
8679 'flags' argument is positive, and slen as maxlen. No need to lock
8680 the FILE and/or construct a temporary FILE. Minimize and normalize
8681 header inclusions and variable names. Do not libc_hidden_def anything.
8682
8683 * debug/asprintf_chk.c (__asprintf_chk)
8684 * debug/dprintf_chk.c (__dprintf_chk)
8685 * debug/fprintf_chk.c (__fprintf_chk)
8686 * debug/fwprintf_chk.c (__fwprintf_chk)
8687 * debug/printf_chk.c (__printf_chk)
8688 * debug/snprintf_chk.c (__snprintf_chk)
8689 * debug/swprintf_chk.c (__swprintf_chk)
8690 * debug/vasprintf_chk.c (__vasprintf_chk)
8691 * debug/vdprintf_chk.c (__vdprintf_chk)
8692 * debug/vfprintf_chk.c (__vfprintf_chk)
8693 * debug/vfwprintf_chk.c (__vfwprintf_chk)
8694 * debug/vprintf_chk.c (__vprintf_chk)
8695 * debug/vsnprintf_chk.c (__vsnprintf_chk)
8696 * debug/vswprintf_chk.c (__vswprintf_chk)
8697 * debug/vwprintf_chk.c (__vwprintf_chk)
8698 * debug/wprintf_chk.c (__wprintf_chk):
8699 Directly call the corresponding vxxprintf_internal function, passing
8700 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
8701 the FILE and/or construct a temporary FILE. Minimize and normalize
8702 header inclusions and variable names. Do not libc_hidden_def anything.
8703
8704 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
8705 __obstack_vprintf_internal.
8706 (__obstack_vprintf_chk): Convert into a wrapper that calls
8707 __obstack_vprintf_internal (these two functions already had the
8708 same code) and move to new file...
8709 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
8710 file.
8711 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
8712 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
8713 * debug/Makefile (routines): Add vobprintf_chk.
8714
8715 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
8716 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
8717 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
8718 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
8719 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
8720 (__nldbl___obstack_vfprintf_chk):
8721 Directly call the corresponding vxxprintf_internal function,
8722 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
8723 duplicate comparison of slen with 0 or maxlen from the corresponding
8724 non-__nldbl function.
8725
8726 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
8727 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
8728 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
8729 Remove libc_hidden_proto.
8730
8731 * stdio-common/vfprintf-internal.c
8732 (__vfprintf_internal, __vfwprintf_internal):
8733 Do not check _IO_FLAGS2_FORTIFY.
8734 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
8735 * libio/libioP.h: Update prototype of __vsprintf_internal and add
8736 a comment explaining why it has the maxlen argument.
8737 (_IO_acquire_lock_clear_flags2_fct): Remove.
8738 (_IO_acquire_lock_clear_flags2): Remove.
8739 (_IO_release_lock): Remove conditional statement which will
8740 now never execute.
8741 (_IO_acquire_lock): Remove variable which is now unused.
8742 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
8743 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
8744
8745 * stdio-common/Makefile (tests): Add tst-bz11319 and
8746 tst-bz11319-fortify2.
8747 (CFLAGS-tst-bz11319-fortify2.c): New macro.
8748 * stdio-common/tst-bz11319-fortify2.c: New file.
8749 * stdio-common/tst-bz11319.c: Likewise.
8750
8751 2018-12-05 Zack Weinberg <zackw@panix.com>
8752 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8753
8754 * misc/syslog.c: Include libioP.h, not iolibio.h.
8755 (__vsyslog_internal): New function with the former body of
8756 __vsyslog_chk; takes mode_flags argument same as
8757 __v*printf_internal. Call __vfprintf_internal directly.
8758
8759 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
8760 Remove libc_hidden_def.
8761 (__syslog, __syslog_chk): Use __vsyslog_internal.
8762 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
8763
8764 * include/sys/syslog.h: Add multiple inclusion guard.
8765 Add prototype for __vsyslog_internal.
8766 Remove declaration and libc_hidden_proto for __vsyslog_chk.
8767
8768 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
8769 Use __vsyslog_internal.
8770
8771 2018-12-05 Zack Weinberg <zackw@panix.com>
8772 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8773
8774 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
8775 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
8776 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
8777 New functions.
8778 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
8779 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
8780
8781 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
8782 Include wctype.h here if COMPILE_WPRINTF is defined.
8783 Define __vfprintf_internal or __vfwprintf_internal, depending
8784 on COMPILE_WPRINTF.
8785 Temporarily, on entry to this function, update mode_flags
8786 according to the environmental settings corresponding to
8787 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
8788 Throughout, check mode_flags instead of __ldbl_is_dbl and
8789 _IO_FLAGS2_FORTIFY on the destination FILE.
8790 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
8791 Include vfprintf-internal.c. Don't include wctype.h.
8792 * stdio-common/vfprintf.c: New file. Just define __vfprintf
8793 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
8794 and vfprintf.
8795 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
8796 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
8797 and vfwprintf.
8798 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
8799
8800 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
8801 and add mode_flags argument; use __vfprintf_internal.
8802 (__vdprintf): New function. Alias vdprintf to this.
8803 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
8804 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
8805 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
8806 (__obstack_printf): Use __obstack_printf_internal.
8807 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
8808 public aliases __vsnprintf and vsnprintf.
8809 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
8810 called internally.
8811 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
8812 public aliases _IO_vsprintf and vsprintf.
8813 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
8814 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
8815 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
8816 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
8817 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
8818
8819 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
8820 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
8821 * stdio-common/fprintf.c, stdio-common/fxprintf.c
8822 * stdio-common/printf.c: Use __vfprintf_internal.
8823
8824 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
8825 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
8826 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
8827
8828 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
8829 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
8830 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
8831 __vfwprintf_internal.
8832
8833 * libio/libio.h: Remove libc_hidden_proto and declaration for
8834 _IO_vfprintf.
8835 Remove declaration of _IO_vfwprintf.
8836 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
8837 _IO_vsprintf.
8838 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
8839 _IO_obstack_printf.
8840 * include/stdio.h: Add prototype for __vasprintf.
8841 (__vsnprintf): Remove declaration, because there are no more
8842 internal calls.
8843 * include/wchar.h (__vfwprintf, __vswprintf): Remove
8844 declaration, because there are no more internal calls.
8845
8846 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
8847 __vsnprintf_internal, instead of _IO_vsnprintf.
8848 * argp/argp-help.c (__argp_error, __argp_failure): Use
8849 __vasprintf_internal, instead of _IO_vasprintf.
8850 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
8851 redefine, because there are no more internal calls.
8852
8853 2018-12-05 Zack Weinberg <zackw@panix.com>
8854 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8855
8856 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
8857 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
8858 Include libio/strfile.h instead of libioP.h.
8859 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
8860 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
8861 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
8862 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
8863 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
8864 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
8865 necessary. Do not set __no_long_double. Normalize variable names.
8866 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
8867 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
8868 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
8869 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
8870 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
8871 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
8872 Call __vfscanf_internal / __vfwscanf_internal directly, passing
8873 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
8874 Do not set __no_long_double. Normalize variable names.
8875
8876 2018-12-05 Zack Weinberg <zackw@panix.com>
8877 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8878
8879 * stdio-common/isoc99_scanf.c
8880 * stdio-common/isoc99_fscanf.c
8881 * stdio-common/isoc99_sscanf.c
8882 * stdio-common/isoc99_vscanf.c
8883 * stdio-common/isoc99_vfscanf.c
8884 * stdio-common/isoc99_vsscanf.c
8885 * wcsmbs/isoc99_wscanf.c
8886 * wcsmbs/isoc99_fwscanf.c
8887 * wcsmbs/isoc99_swscanf.c
8888 * wcsmbs/isoc99_vwscanf.c
8889 * wcsmbs/isoc99_vfwscanf.c
8890 * wcsmbs/isoc99_vswscanf.c:
8891 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
8892 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
8893 No need to lock and unlock the FILE passed to that function.
8894
8895 * stdio-common/vfscanf-internal.c
8896 (__vfscanf_internal, __vfwscanf_internal):
8897 Don't look at _IO_FLAGS2_SCANF_STD.
8898 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
8899 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
8900 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
8901
8902 2018-12-05 Zack Weinberg <zackw@panix.com>
8903 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8904
8905 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
8906 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
8907 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
8908 * libio/strfile.h: Add multiple inclusion guard.
8909 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
8910
8911 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
8912 consistency with the other version of this file.
8913 (ldbl_compat_symbol): New macro.
8914 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
8915 New macro.
8916
8917 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
8918 Define __vfscanf_internal or __vfwscanf_internal, depending on
8919 COMPILE_WSCANF; don't define any other public symbols.
8920 Remove errval and code to set errp.
8921 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
8922 as the mode_flags argument.
8923 (encode_error, conv_error, input_error): Don't set errval.
8924 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
8925 Include vfscanf-internal.c.
8926 * stdio-common/vfscanf.c: New file defining the public entry
8927 point vfscanf, which calls __vfscanf_internal.
8928 * stdio-common/vfwscanf.c: New file defining the public entry
8929 point vfwscanf, which calls __vfwscanf_internal.
8930
8931 * stdio-common/iovfscanf.c: New file.
8932 * stdio-common/iovfwscanf.c: Likewise.
8933
8934 * stdio-common/Makefile (routines): Add vfscanf-internal,
8935 vfwscanf-internal, iovfscanf, iovfwscanf.
8936 * stdio-common/Versions: Mention GLIBC_2.29, so that
8937 it can be used in SHLIB_COMPAT expressions.
8938 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
8939 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
8940 Call __vfscanf_internal, instead of _IO_vfscanf.
8941 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
8942 _IO_vfscanf.
8943 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
8944 _IO_vfwscanf.
8945
8946 * libio/iovsscanf.c: Clean up includes, when possible. Use
8947 _IO_strfile_read or _IO_strfile_readw, when needed. Call
8948 __vfscanf_internal or __vfwscanf_internal directly.
8949 * libio/iovswscanf.c: Likewise.
8950 * libio/swscanf.c: Likewise.
8951 * libio/vscanf.c: Likewise.
8952 * libio/vwscanf.c: Likewise.
8953 * libio/wscanf.c: Likewise.
8954 * stdio-common/isoc99_fscanf.c: Likewise.
8955 * stdio-common/isoc99_scanf.c: Likewise.
8956 * stdio-common/isoc99_sscanf.c: Likewise.
8957 * stdio-common/isoc99_vfscanf.c: Likewise.
8958 * stdio-common/isoc99_vscanf.c: Likewise.
8959 * stdio-common/isoc99_vsscanf.c: Likewise.
8960 * stdio-common/scanf.c: Likewise.
8961 * stdio-common/sscanf.c: Likewise.
8962 * wcsmbs/isoc99_fwscanf.c: Likewise.
8963 * wcsmbs/isoc99_swscanf.c: Likewise.
8964 * wcsmbs/isoc99_vfwscanf.c: Likewise.
8965 * wcsmbs/isoc99_vswscanf.c: Likewise.
8966 * wcsmbs/isoc99_vwscanf.c: Likewise.
8967 * wcsmbs/isoc99_wscanf.c: Likewise.
8968
8969 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
8970
8971 * include/time.h
8972 (__tz_compute): Replace time_t with __time64_t.
8973 (__tz_convert): Replace time_t* with __time64_t.
8974 (__offtime): Replace time_t* with __time64_t.
8975 * time/gmtime.c
8976 (__gmtime_r): Adjust call to __tz_convert.
8977 (gmtime): Likewise.
8978 * time/localtime.c
8979 (__localtime_r): Likewise.
8980 (localtime): Likewise.
8981 * time/offtime.c: Replace time_t with __time64_t.
8982 * time/tzset.c: Likewise.
8983
8984 2018-12-04 Joseph Myers <joseph@codesourcery.com>
8985
8986 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
8987 dynamic linker unless [$(run-built-tests) = yes].
8988
8989 2018-12-03 DJ Delorie <dj@delorie.com>
8990
8991 * support/test-container.c (check_for_unshare_hints): New.
8992 (main): Call it if unshare fails. Add support for "su" scriptlet
8993 command.
8994
8995 2018-12-03 Joseph Myers <joseph@codesourcery.com>
8996
8997 * scripts/gen-as-const.py (compute_c_consts): Take an argument
8998 'START' to indicate that start text should be output.
8999 (gen_test): Likewise.
9000 (main): Generate 'START' for first symbol or '--' line, or at end
9001 of input if not previously generated.
9002
9003 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
9004
9005 [BZ #19767]
9006 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
9007 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
9008 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
9009 ALWAYS_USE_VSYSCALL.
9010
9011 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9012
9013 [BZ #23913]
9014 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
9015 new_argv by one.
9016
9017 2018-12-03 Carlos O'Donell <carlos@redhat.com>
9018
9019 [BZ #23923]
9020 * locale/programs/localedef.c: Declare boolean hard_links default true.
9021 (options): Add --no-hard-links option.
9022 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
9023 * locale/programs/localedef.h: Declare prototype for hard_links.
9024 * locale/programs/locfile.c (write_locale_data): Don't use hard
9025 links if hard_links is false.
9026
9027 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
9028
9029 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
9030 cpu_features_basic.
9031 (__cache_sysconf): Likewise.
9032 (init_cacheinfo): Likewise.
9033 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
9034 populate COMMON_CPUID_INDEX_80000007 and
9035 COMMON_CPUID_INDEX_80000008.
9036 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
9037 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
9038 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
9039 (init_cpu_features): Use _Static_assert on
9040 index_arch_Fast_Unaligned_Load.
9041 __get_cpuid_registers and __get_arch_feature. Updated for
9042 cpu_features_basic. Set stepping in cpu_features.
9043 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
9044 (FEATURE_INDEX_2): New.
9045 (FEATURE_INDEX_MAX): Changed to enum.
9046 (COMMON_CPUID_INDEX_D_ECX_1): New.
9047 (COMMON_CPUID_INDEX_80000007): Likewise.
9048 (COMMON_CPUID_INDEX_80000008): Likewise.
9049 (cpuid_registers): Likewise.
9050 (cpu_features_basic): Likewise.
9051 (CPU_FEATURE_USABLE): Likewise.
9052 (bit_arch_XXX_Usable): Likewise.
9053 (cpu_features): Use cpuid_registers and cpu_features_basic.
9054 (bit_arch_XXX): Reweritten.
9055 (bit_cpu_XXX): Likewise.
9056 (index_cpu_XXX): Likewise.
9057 (reg_XXX): Likewise.
9058 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
9059 <support/check.h>.
9060 (CHECK_CPU_FEATURE): New.
9061 (CHECK_CPU_FEATURE_USABLE): Likewise.
9062 (cpu_kinds): Likewise.
9063 (do_test): Print vendor, family, model and stepping. Check
9064 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
9065 (TEST_FUNCTION): Removed.
9066 Include <support/test-driver.c> instead of
9067 "../../test-skeleton.c".
9068 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
9069 Check POPCNT instead of POPCOUNT.
9070 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
9071
9072 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
9073
9074 * scripts/gen-as-const.py (main): Avoid emitting empty line when
9075 there is no element in `consts'.
9076
9077 2018-12-01 Florian Weimer <fweimer@redhat.com>
9078
9079 * support/support_capture_subprocess.c
9080 (support_capture_subprocess): Check that pipe descriptors have
9081 expected values. Close original pipe descriptors in subprocess.
9082
9083 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
9084
9085 [BZ #23032]
9086 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
9087 attr with __pthread_default_barrierattr.
9088 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
9089 attr with __pthread_default_condattr.
9090 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
9091 attr with __pthread_default_mutexattr.
9092 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
9093 attr with __pthread_default_rwlockattr.
9094
9095 2018-12-01 Kemi Wang <kemi.wang@intel.com>
9096
9097 * manual/tunables.texi (POSIX Thread Tunables): New node.
9098 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
9099 * nptl/nptl-init.c: Include pthread_mutex_conf.h
9100 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
9101 __pthread_tunables_init.
9102 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
9103 (max_adaptive_count): Define.
9104 * nptl/pthread_mutex_conf.c: New file.
9105 * nptl/pthread_mutex_conf.h: New file.
9106 * sysdeps/generic/adaptive_spin_count.h: New file.
9107 * sysdeps/nptl/dl-tunables.list: New file.
9108 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
9109 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
9110 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
9111 Likewise.
9112
9113 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
9114
9115 [BZ #20544]
9116 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
9117 * stdlib/on_exit.c (__on_exit): Likewise.
9118 * stdlib/Makefile (tests): Add tst-bz20544.
9119 * stdlib/tst-bz20544.c: New test.
9120
9121 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
9122
9123 [BZ #19767]
9124 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
9125 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
9126 New.
9127
9128 2018-11-30 Florian Weimer <fweimer@redhat.com>
9129
9130 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
9131 Extend error logging.
9132 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
9133 symbol.
9134
9135 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9136
9137 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
9138 __sigismember instead of sigismember.
9139 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
9140 cancel_handler): New definitions.
9141 (do_system): Use posix_spawn instead of fork and execl and remove
9142 reentracy code.
9143 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
9144 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
9145 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
9146 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9147 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9148 * sysdeps/unix/sysv/linux/system.c: Likewise.
9149
9150 [BZ #22834]
9151 [BZ #17490]
9152 * NEWS: Add new semantic for atfork with popen and system.
9153 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
9154 fork and execl.
9155
9156 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9157
9158 [BZ #23690]
9159 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
9160 modification order when accessing reloc_result->addr.
9161 * include/link.h (reloc_result): Add field init.
9162 * nptl/Makefile (tests): Add tst-audit-threads.
9163 (modules-names): Add tst-audit-threads-mod1 and
9164 tst-audit-threads-mod2.
9165 Add rules to build tst-audit-threads.
9166 * nptl/tst-audit-threads-mod1.c: New file.
9167 * nptl/tst-audit-threads-mod2.c: Likewise.
9168 * nptl/tst-audit-threads.c: Likewise.
9169 * nptl/tst-audit-threads.h: Likewise.
9170
9171 2018-11-30 Joseph Myers <joseph@codesourcery.com>
9172
9173 * scripts/gen-as-const.py: New file.
9174 * scripts/gen-as-const.awk: Remove.
9175 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
9176 gen-as-const.py.
9177 ($(objpfx)test-as-const-%.c): Likewise.
9178
9179 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
9180
9181 * elf/dl-exception.c: Include <_itoa.h>.
9182
9183 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9184
9185 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
9186 returned by __f_setlk.
9187
9188 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
9189 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9190
9191 * elf/Makefile (tests-internal): Add tst-create_format1.
9192 * elf/dl-exception.c (_dl_exception_create_format): Support
9193 %x, %lx and %zx.
9194 * elf/tst-create_format1.c: New file.
9195
9196 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
9197
9198 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
9199 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
9200 gnulib.)
9201 * argp/argp-help.c (__argp_failure): Likewise.
9202
9203 2018-11-29 Mao Han <han_mao@c-sky.com>
9204
9205 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
9206 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
9207 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
9208 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
9209 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
9210 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
9211 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
9212 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
9213 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
9214 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
9215 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
9216 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
9217 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
9218 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
9219 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
9220 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
9221 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
9222 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
9223 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
9224 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
9225 (R_CKCORE_TLS_TPOFF32): New defines.
9226
9227 2018-11-29 Florian Weimer <fweimer@redhat.com>
9228
9229 * posix/Makefile (before-compile): Remove testcases.h and
9230 ptestcases.h.
9231 (generated): Add testcases.h and ptestcases.h.
9232 (testcases.h, ptestcases.h): Move to $(objpfx).
9233 (runtests.o): Add dependency on testcases.h.
9234 (runptests.o): Add dependency on ptestcases.h.
9235 * posix/testcases.h, posix/ptestcases.h: Remove files.
9236 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
9237 not touch posix/testcases.h and posix/ptestcases.h.
9238
9239 2018-11-28 Florian Weimer <fweimer@redhat.com>
9240
9241 support: Add signal support to support_capture_subprocess_check.
9242 * support/capture_subprocess.h (support_capture_subprocess_check):
9243 Adjust comment and rename parameter.
9244 * support/support_capture_subprocess_check.c
9245 (print_actual_status): New function.
9246 (support_capture_subprocess_check): Support negative
9247 status_or_signal. Call print_actual_status.
9248 * support/tst-support_capture_subprocess.c (do_test): Call
9249 support_capture_subprocess_check.
9250 * libio/tst-vtables-common.c (termination_status)
9251 (init_termination_status): Remove.
9252 (check_for_termination): Adjust support_capture_subprocess_check
9253 call.
9254 (do_test): Remove call to init_termination_status.
9255
9256 2018-11-28 Joseph Myers <joseph@codesourcery.com>
9257
9258 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
9259 source directory instead of a copy.
9260 (CommandList.create_copy_dir): Remove.
9261
9262 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
9263
9264 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9265
9266 2018-11-28 Florian Weimer <fweimer@redhat.com>
9267
9268 * support/support.h (support_quote_string): Do not use str
9269 parameter name.
9270
9271 2018-11-27 Joseph Myers <joseph@codesourcery.com>
9272
9273 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
9274 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
9275
9276 2018-11-27 Florian Weimer <fweimer@redhat.com>
9277
9278 * support/support.h (support_quote_string): Declare.
9279 * support/support_quote_string.c: New file.
9280 * support/tst-support_quote_string.c: Likewise.
9281 * support/Makefile (libsupport-routines): Add
9282 support_quote_string.
9283 (tests): Add tst-support_quote_string.
9284
9285 2018-11-27 Florian Weimer <fweimer@redhat.com>
9286
9287 [BZ #23927]
9288 CVE-2018-19591
9289 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
9290 descriptor leak in case of ENODEV error.
9291
9292 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
9293
9294 [BZ #19767]
9295 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
9296 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
9297 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
9298
9299 2018-11-26 Carlos O'Donell <carlos@redhat.com>
9300
9301 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
9302 Error for unknown lines.
9303
9304 2018-11-26 Joseph Myers <joseph@codesourcery.com>
9305
9306 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
9307 Touch additional files.
9308
9309 2018-11-26 Florian Weimer <fweimer@redhat.com>
9310
9311 [BZ #23907]
9312 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
9313 double-frees.
9314
9315 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
9316
9317 [BZ #19767]
9318 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
9319 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
9320 SHARED. Include sysdep.h.
9321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
9322 ALWAYS_USE_VSYSCALL.
9323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
9324 ALWAYS_USE_VSYSCALL.
9325
9326 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
9327
9328 [BZ #19767]
9329 * nptl/Makefile (tests-static): Add tst-cond11-static.
9330 (tests): Likewise.
9331 * nptl/tst-cond11-static.c: New File.
9332 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
9333 tst-affinity-static.
9334 (tests): Likewise.
9335 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
9336 instead of SHARED.
9337 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
9338 (USE_VSYSCALL): Likewise.
9339 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
9340 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
9341 instead of SHARED.
9342 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
9343 SHARED.
9344 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
9345 New.
9346
9347 2018-11-23 Joseph Myers <joseph@codesourcery.com>
9348
9349 [BZ #23915]
9350 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9351 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
9352 Undefine.
9353
9354 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
9355
9356 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
9357 (tst-cet-legacy-1a-ARGS): New.
9358 ($(objpfx)tst-cet-legacy-1a): New target.
9359 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
9360
9361 2018-11-22 Joseph Myers <joseph@codesourcery.com>
9362
9363 * conform/conformtest.py (CompileSubTest.__init__): Set
9364 self.run_early to False.
9365 (ExecuteSubTest.__init__): Likewise.
9366 (HeaderTests.run): Try running all non-optional, non-XFAILed
9367 compilation tests in a single execution of the compiler.
9368
9369 * conform/conformtest.py (CompileSubTest): New class.
9370 (ExecuteSubTest): Likewise.
9371 (ElementTest.run): Rename to gen_subtests. Append tests to
9372 self.subtests instead of running them.
9373 (ConstantTest.run): Likewise.
9374 (SymbolTest.run): Likewise.
9375 (TypeTest.run): Likewise.
9376 (TagTest.run): Likewise.
9377 (FunctionTest.run): Likewise.
9378 (VariableTest.run): Likewise.
9379 (MacroFunctionTest.run): Likewise.
9380 (MacroStrTest.run): Likewise.
9381 (HeaderTests.handle_test_line): Generate subtests for tests.
9382 (HeaderTests.run): Run subtests for tests.
9383
9384 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
9385
9386 * math/Versions (GLIBC_2.29): Add pow.
9387 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
9388 symbol.
9389 * math/w_pow.c: New file.
9390 * sysdeps/i386/fpu/w_pow.c: New file.
9391 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
9392 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
9393 and add necessary aliases.
9394 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
9395 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
9396 * sysdeps/mach/hurd/i386/libm.abilist: Update.
9397 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9398 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
9399 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
9400 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
9401 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9402 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
9403 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
9404 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
9405 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
9406 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
9407 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
9408 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
9409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
9410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
9411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
9412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
9413 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
9414 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
9415 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
9416 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
9417 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
9418 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
9419 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
9420 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
9421 __pow.
9422 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
9423 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
9424 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
9425
9426 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
9427
9428 * math/Versions (GLIBC_2.29): Add log2.
9429 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
9430 symbol.
9431 * math/w_log2.c: New file.
9432 * sysdeps/i386/fpu/w_log2.c: New file.
9433 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
9434 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
9435 and add necessary aliases.
9436 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
9437 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
9438 * sysdeps/mach/hurd/i386/libm.abilist: Update.
9439 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9440 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
9441 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
9442 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
9443 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9444 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
9445 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
9446 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
9447 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
9448 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
9449 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
9450 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
9451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
9452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
9453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
9454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
9455 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
9456 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
9457 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
9458 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
9459 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
9460 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
9461 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
9462
9463 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
9464
9465 * math/Versions (GLIBC_2.29): Add log.
9466 * math/w_log_compat.c (__log_compat): Change to versioned compat
9467 symbol.
9468 * math/w_log.c: New file.
9469 * sysdeps/i386/fpu/w_log.c: New file.
9470 * sysdeps/ia64/fpu/e_log.S: Update.
9471 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
9472 and add necessary aliases.
9473 * sysdeps/ieee754/dbl-64/w_log.c: New file.
9474 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
9475 * sysdeps/mach/hurd/i386/libm.abilist: Update.
9476 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9477 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
9478 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
9479 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
9480 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9481 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
9482 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
9483 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
9484 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
9485 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
9486 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
9487 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
9488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
9489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
9490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
9491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
9492 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
9493 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
9494 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
9495 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
9496 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
9497 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
9498 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
9499 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
9500 __log.
9501 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
9502 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
9503 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
9504 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
9505
9506 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
9507
9508 * math/Versions (GLIBC_2.29): Add exp and exp2.
9509 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
9510 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
9511 * math/w_exp_compat.c (__exp_compat): Likewise.
9512 * math/w_exp.c: New file.
9513 * math/w_exp2.c: New file.
9514 * sysdeps/i386/fpu/w_exp.c: New file.
9515 * sysdeps/i386/fpu/w_exp2.c: New file.
9516 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
9517 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
9518 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
9519 and add necessary aliases.
9520 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
9521 and add necessary aliases.
9522 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
9523 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
9524 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
9525 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
9526 * sysdeps/mach/hurd/i386/libm.abilist: Update.
9527 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9528 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
9529 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
9530 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
9531 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9532 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
9533 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
9534 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
9535 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
9536 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
9537 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
9538 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
9539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
9540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
9541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
9542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
9543 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
9544 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
9545 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
9546 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
9547 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
9548 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
9549 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
9550 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
9551 (__ieee754_exp): Rename to __exp.
9552 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
9553 (__ieee754_exp): Rename to __exp.
9554 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
9555 (__ieee754_exp): Rename to __exp.
9556 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
9557 __exp.
9558 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
9559
9560 2018-11-20 DJ Delorie <dj@redhat.com>
9561
9562 * malloc/malloc.c (tcache_entry): Add key field.
9563 (tcache_put): Set it.
9564 (tcache_get): Likewise.
9565 (_int_free): Check for double free in tcache.
9566 * malloc/tst-tcfree1.c: New.
9567 * malloc/tst-tcfree2.c: New.
9568 * malloc/Makefile: Run the new tests.
9569 * manual/probes.texi: Document memory_tcache_double_free probe.
9570
9571 * dlfcn/dlerror.c (check_free): Prevent double frees.
9572
9573 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
9574
9575 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
9576
9577 2018-11-20 Joseph Myers <joseph@codesourcery.com>
9578
9579 * conform/conformtest.py (ElementTest.run): Use unique identifiers
9580 in tests. Use names for format arguments.
9581 (ConstantTest.run): Likewise.
9582 (SymbolTest.run): Likewise.
9583 (TypeTest.run): Likewise.
9584 (TagTest.run): Likewise.
9585 (FunctionTest.run): Likewise.
9586 (VariableTest.run): Likewise.
9587 (MacroFunctionTest.run): Likewise.
9588 (MacroStrTest.run): Likewise.
9589 (HeaderTests.__init__): Set self.num_tests.
9590 (HeaderTests.handle_test_line): Set test.num. Increment
9591 self.num_tests.
9592
9593 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
9594
9595 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
9596 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
9597 SEEK_SET.
9598
9599 2018-11-19 Mao Han <han_mao@c-sky.com>
9600
9601 * scripts/config.guess: Update to version 2018-08-29.
9602 * scripts/config.sub: Update to version 2018-08-29.
9603
9604 2018-11-19 Florian Weimer <fweimer@redhat.com>
9605
9606 support: Print timestamps in timeout handler.
9607 * support/support_test_main.c (print_timestamp): New function.
9608 (signal_handler): Use it to print the termination time and the
9609 time of the last write to standard output.
9610
9611 2018-11-16 Zack Weinberg <zackw@panix.com>
9612 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9613
9614 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
9615 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
9616 argument.
9617 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
9618 and add flags argument. Check flags instead of __ldbl_is_dbl when
9619 deciding whether to set is_long_double.
9620 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
9621 passing zero for flags argument.
9622 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
9623
9624 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
9625 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
9626 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
9627 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
9628 variable names. Remove libc_hidden_def/libc_hidden_proto from
9629 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
9630 longer called from within the library.
9631 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
9632 for __nldbl___vstrfmon_l, declare it explicitly.
9633
9634 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
9635
9636 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
9637
9638 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
9639 macros
9640 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
9641 F_SETLK64, F_SETLKW64, respectively.
9642 * sysdeps/mach/hurd/f_setlk.c: New file.
9643 * sysdeps/mach/hurd/f_setlk.h: New file.
9644 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
9645 f_setlk.
9646 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
9647 (__libc_fcntl): Move non-flock operations to...
9648 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
9649 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
9650
9651 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
9652
9653 mktime: DEBUG_MKTIME cleanup
9654 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
9655 And it’s no longer needed now that glibc and Gnulib both have
9656 their own testing mechanisms for mktime.
9657 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
9658
9659 mktime: fix non-EOVERFLOW errno handling
9660 [BZ#23789]
9661 mktime was not properly reporting failures when the underlying
9662 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
9663 them like EOVERFLOW failures, and set errno to EOVERFLOW.
9664 The problem could happen on non-glibc platforms, with Gnulib.
9665 * time/mktime.c (guess_time_tm): Remove, replacing with ...
9666 (tm_diff): ... this simpler function, which does not change errno.
9667 All callers changed to deal with errno themselves.
9668 (ranged_convert, __mktime_internal): Return failure immediately if
9669 the underlying function reports any failure other than EOVERFLOW.
9670 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
9671 gap code fails.
9672
9673 mktime: fix bug with Y2038 DST transition
9674 [BZ#23789]
9675 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
9676 mishandle a DST transition that jumps over the Y2038 boundary.
9677 No such DST transitions are known so this is only a theoretical
9678 bug, but we might as well do things right.
9679
9680 mktime: make more room for overflow
9681 [BZ#23789]
9682 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
9683 This is so that we can add tm_diff results to a previous guess,
9684 which will be useful in a later patch.
9685
9686 mktime: simplify offset guess
9687 [BZ#23789]
9688 * time/mktime.c (__mktime_internal): Omit excess precision.
9689
9690 mktime: new test for mktime failure
9691 [BZ#23789]
9692 Based on a test suggested by Albert Aribaud in:
9693 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
9694 * time/Makefile (tests): Add bug-mktime4.
9695 * time/bug-mktime4.c: New file.
9696
9697 mktime: fix EOVERFLOW bug
9698 [BZ#23789]
9699 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
9700 Include libc-config.h, not config.h, for __set_errno.
9701 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
9702
9703 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
9704
9705 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
9706 __attribute_copy__ to copy attributes from name. Drop static qualifier
9707 to avoid warnings about leaf attribute not having effect on static
9708 functions.
9709
9710 2018-11-13 Florian Weimer <fweimer@redhat.com>
9711
9712 * malloc/malloc.c (fastbin_push_entry): New function.
9713 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
9714 (REMOVE_FB): Remove macro.
9715 (_int_malloc): Use fastbin_pop_entry and reindent.
9716 (_int_free): Use fastbin_push_entry.
9717 (malloc_consolidate): Use atomic_exchange_acquire.
9718
9719 2018-11-13 Joseph Myers <joseph@codesourcery.com>
9720
9721 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
9722 alias attribute, not with strong_alias.
9723
9724 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
9725 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
9726 with additional parameter thread.
9727 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
9728 in terms of __hidden_ver2.
9729 (hidden_tls_def): New macro.
9730 (libc_hidden_tls_def): Likewise.
9731 (rtld_hidden_tls_def): Likewise.
9732 (libm_hidden_tls_def): Likewise.
9733 (libmvec_hidden_tls_def): Likewise.
9734 (libresolv_hidden_tls_def): Likewise.
9735 (librt_hidden_tls_def): Likewise.
9736 (libdl_hidden_tls_def): Likewise.
9737 (libnss_files_hidden_tls_def): Likewise.
9738 (libnsl_hidden_tls_def): Likewise.
9739 (libnss_nisplus_hidden_tls_def): Likewise.
9740 (libutil_hidden_tls_def): Likewise.
9741 (libutil_hidden_tls_def): Likweise.
9742 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
9743 libc_hidden_tls_def.
9744 (__sim_disabled_exceptions_thread): Likewise.
9745 (__sim_round_mode_thread): Likewise.
9746
9747 * sysdeps/sparc/sparc-ifunc.h [SHARED]
9748 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
9749 copy attributes from name.
9750
9751 2018-11-12 Joseph Myers <joseph@codesourcery.com>
9752
9753 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
9754 Use __attribute_copy__ to copy attributes from name.
9755
9756 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
9757 with __hidden_ver1 call.
9758 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
9759 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
9760 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
9761 (__cosf): Do not declare here.
9762 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
9763 (__sincosf): Do not declare here.
9764 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
9765 (__sinf): Do not declare here.
9766
9767 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
9768 (__BIG_ENDIAN): Likewise.
9769 (__BYTE_ORDER): Likewise.
9770 (strong_alias): Likewise.
9771 (_strong_alias): Likewise.
9772
9773 2018-11-12 Florian Weimer <fweimer@redhat.com>
9774
9775 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
9776 function. Move after the definition of in_smallbin_range. Do not
9777 use __builtin_expect for paths that lead to a noreturn function.
9778 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
9779 because it is unclear whether this is in fact an unlikely
9780 condition.
9781 (_int_malloc, _int_free): Adjust.
9782 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
9783 variables.
9784 * malloc/arena.c (heap_trim): Likewise.
9785
9786 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9787
9788 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
9789 it, free it if needed.
9790 (reauthenticate): Test and use ccwdir.
9791 (child_init_port): In non-resetids case, test and use ccwdir.
9792 (child_chdir): New nested function to set ccwdir.
9793 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
9794 * hurd/hurd/port.h (_hurd_port_move): New function.
9795 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
9796 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
9797 * hurd/Versions (_hurd_port_move): Export function.
9798 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
9799 symbol.
9800 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
9801 of dtablesize for allocating dtable_cloexec.
9802
9803 2018-11-09 Martin Sebor <msebor@redhat.com>
9804
9805 * include/libc-symbols.h (__attribute_copy__): Define macro unless
9806 it's already defined.
9807 (_strong_alias): Use __attribute_copy__.
9808 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
9809 * misc/sys/cdefs.h (__attribute_copy__): New macro.
9810 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
9811 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
9812 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
9813 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
9814 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
9815 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
9816 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
9817 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
9818 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
9819 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
9820 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
9821 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
9822 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
9823 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
9824 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
9825 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
9826 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
9827
9828 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9829
9830 * misc/tst-efgcvt.c: Include support/check.h and
9831 support/test-driver.c. Do not include test-skeleton.c.
9832 (error_count): Remove.
9833 (output_error): Replace increments to error_count with calls to
9834 support_record_failure.
9835 (output_r_error): Likewise.
9836 (special): Likewise.
9837 (do_test): Unconditionally return zero.
9838 (TEST_FUNCTION): Remove.
9839
9840 2018-11-09 Joseph Myers <joseph@codesourcery.com>
9841
9842 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
9843 not $(@D)/scratch.
9844 ($(linknamespace-header-tests)): Likewise.
9845
9846 * conform/conformtest.py: New file.
9847 * conform/conformtest.pl: Remove.
9848 * conform/GlibcConform.pm: Likewise.
9849 * conform/glibcconform.py (KEYWORDS_C90): New constant.
9850 (KEYWORDS_C99): Likewise.
9851 (KEYWORDS): Likewise.
9852 * conform/Makefile ($(conformtest-header-tests)): Use
9853 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
9854 option. Use --header instead of --headers.
9855 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
9856 function entries.
9857 * conform/data/spawn.h-data: Likewise.
9858 * conform/data/fcntl.h-data (openat): Add space after function
9859 name.
9860 * conform/data/wchar.h-data (wcscasecmp): Likewise.
9861 (wcscasecmp_l): Likewise.
9862 * conform/data/termios.h-data (c_cc): Add space after element
9863 name.
9864
9865 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9866
9867 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
9868 instead of manually comparing and reporting mismatching strings.
9869 * misc/tst-ldbl-error.c (do_one_test): Likewise.
9870 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
9871
9872 2018-11-08 Joseph Myers <joseph@codesourcery.com>
9873
9874 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
9875 __ASSUME_SOCKETCALL.
9876 * sysdeps/unix/sysv/linux/i386/kernel-features.h
9877 (__ASSUME_SOCKETCALL): Remove.
9878 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9879 (__ASSUME_SOCKETCALL): Likewise.
9880 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9881 (__ASSUME_SOCKETCALL): Likewise.
9882 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9883 (__ASSUME_SOCKETCALL): Likewise.
9884 * sysdeps/unix/sysv/linux/s390/kernel-features.h
9885 (__ASSUME_SOCKETCALL): Likewise.
9886 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9887 (__ASSUME_SOCKETCALL): Likewise.
9888 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9889 (__ASSUME_SOCKETCALL): Likewise.
9890
9891 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
9892
9893 [BZ #23509]
9894 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
9895 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
9896 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
9897 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
9898 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
9899 lc_unknown.
9900
9901 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
9902
9903 [BZ #17630]
9904 * resolv/tst-resolv-network.c: Add test for getnetbyname.
9905
9906 2018-11-07 Joseph Myers <joseph@codesourcery.com>
9907
9908 [BZ #23867]
9909 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9910 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
9911 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9912 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
9913
9914 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9915
9916 * support/support_test_compare_string.c
9917 (support_test_compare_string): Fix printf format.
9918
9919 2018-11-07 Florian Weimer <fweimer@redhat.com>
9920
9921 Implement TEST_COMPARE_STRING.
9922 * support/check.h (TEST_COMPARE_STRING): Define.
9923 (support_test_compare_string): Declare.
9924 * support/Makefile (libsupport-routines): Add
9925 support_test_compare_string.
9926 (tests): Add tst-test_compare_string.
9927 * support/support_test_compare_string.c: New file.
9928 * support/tst-test_compare_string.c: Likewise.
9929
9930 2018-11-07 Andreas Schwab <schwab@suse.de>
9931
9932 [BZ #23864]
9933 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
9934 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
9935 Undef.
9936
9937 2018-11-06 Joseph Myers <joseph@codesourcery.com>
9938
9939 [BZ #23862]
9940 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9941 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
9942 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
9943 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
9944 Likewise.
9945
9946 2018-11-06 Florian Weimer <fweimer@redhat.com>
9947
9948 [BZ #17405]
9949 * posix/Makefile (routines): Add spawn_faction_addchdir.
9950 (tests): Add tst-spawn-chdir.
9951 * posix/Versions (GLIBC_2.29): Add
9952 posix_spawn_file_actions_addchdir_np.
9953 * posix/spawn_faction_addchdir.c: New file.
9954 * posix/spawn_faction_destroy.c
9955 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
9956 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
9957 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
9958 chdir_action.
9959 * posix/tst-spawn-chdir.c: New file.
9960 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
9961 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
9962 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
9963 posix_spawn_file_actions_addchdir_np.
9964 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
9965 Likewise.
9966 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
9967 Likewise.
9968 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
9969 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
9970 Likewise.
9971 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
9972 Likewise.
9973 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
9974 Likewise.
9975 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
9976 Likewise.
9977 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
9978 Likewise.
9979 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
9980 Likewise.
9981 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9982 (GLIBC_2.29): Likewise.
9983 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9984 (GLIBC_2.29): Likewise.
9985 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9986 (GLIBC_2.29): Likewise.
9987 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9988 (GLIBC_2.29): Likewise.
9989 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
9990 Likewise.
9991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9992 (GLIBC_2.29): Likewise.
9993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9994 (GLIBC_2.29): Likewise.
9995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9996 (GLIBC_2.29): Likewise.
9997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9998 (GLIBC_2.29): Likewise.
9999 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
10000 Likewise.
10001 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
10002 Likewise.
10003 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
10004 Likewise.
10005 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
10006 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
10007 Likewise.
10008 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
10009 Likewise.
10010 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
10011 Likewise.
10012 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
10013 Likewise.
10014
10015 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10016
10017 * misc/Makefile (tests): Add tst-ldbl-error.
10018 * misc/tst-ldbl-error.c: New file.
10019
10020 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10021
10022 * misc/Makefile (tests): Add tst-ldbl-warn.
10023 * misc/tst-ldbl-warn.c: New file.
10024
10025 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10026
10027 * argp/Makefile (tests): Add tst-ldbl-argp.
10028 * argp/tst-ldbl-argp.c: New file.
10029
10030 2018-11-05 Arjun Shankar <arjun@redhat.com>
10031
10032 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
10033 __gconv_path_elem and call __gconv_get_path unconditionally.
10034
10035 2018-11-05 Andreas Schwab <schwab@suse.de>
10036
10037 [BZ #22927]
10038 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
10039 creating the first helper thread failed.
10040
10041 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10042
10043 * sysdeps/mach/hurd/msync.c: New file.
10044
10045 2018-11-02 Florian Weimer <fweimer@redhat.com>
10046
10047 * support/shell-container.c (copy_func): Call
10048 support_copy_file_range instead of copy_file_range to support
10049 cross-device copies.
10050
10051 2018-11-02 Florian Weimer <fweimer@redhat.com>
10052
10053 * support/test-container.c: Include <libc-pointer-arith.h> for
10054 ALIGN_UP.
10055
10056 2018-11-01 Zong Li <zong@andestech.com>
10057
10058 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
10059 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
10060 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
10061 (__FP_FRAC_SET_8): Add implementation for RV32 use.
10062
10063 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
10064 variable to avoid overlap arguments.
10065
10066 2018-11-01 Joseph Myers <joseph@codesourcery.com>
10067
10068 * posix/bug-regex22.c (main): Use puts with distinct error
10069 messages for unexpected success of re_compile_pattern, not printf
10070 with NULL argument to %s.
10071
10072 * stdio-common/bug22.c: Include <libc-diag.h>.
10073 (do_test): Disable -Wformat-overflow= warnings around fprintf
10074 calls outputting more than INT_MAX characters.
10075 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
10076 around printf call with NULL %s argument.
10077
10078 [BZ #23848]
10079 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
10080 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
10081 Undefine.
10082 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10083 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10084 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10085 (__ASSUME_SENDTO_SYSCALL): Likewise.
10086 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10087 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
10088 [!__arch64__].
10089 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10090 (__ASSUME_CONNECT_SYSCALL): Likewise.
10091 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10092 (__ASSUME_RECVFROM_SYSCALL): Likewise.
10093 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
10094 Define.
10095 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
10096 Likewise.
10097 [__LINUX_KERNEL_VERSION >= 0x040400]
10098 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10099 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
10100 Remove.
10101 (listen): Likewise.
10102 (setsockopt): Likewise.
10103
10104 2018-11-01 Fredrik Noring <noring@nocrew.org>
10105
10106 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
10107 with the ISA override.
10108
10109 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
10110
10111 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
10112 #endif.
10113
10114 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10115
10116 * manual/errno.texi (EIEIO): Document how translators should
10117 translate the error message.
10118 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
10119 printing trailing whitespaces refused by git.
10120 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
10121 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10122 * hurd/Makefile (user-interfaces): Add pci.
10123
10124 2018-10-30 Joseph Myers <joseph@codesourcery.com>
10125
10126 * conform/linknamespace.py: New file.
10127 * conform/linknamespace.pl: Remove file.
10128 * conform/Makefile ($(linknamespace-header-tests)): Use
10129 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
10130 option.
10131
10132 2018-10-30 Florian Weimer <fweimer@redhat.com>
10133
10134 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
10135 memory leaks.
10136
10137 2018-10-30 Florian Weimer <fweimer@redhat.com>
10138
10139 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
10140
10141 2018-10-30 Florian Weimer <fweimer@redhat.com>
10142
10143 * stdlib/tst-strtod-overflow.c (do_test): Switch to
10144 support_blob_repeat.
10145
10146 2018-10-30 Florian Weimer <fweimer@redhat.com>
10147
10148 Avoid spurious test failures in stdlib/test-bz22786.
10149 * support/Makefile (libsupport-routines): Add blob_repeat.
10150 (tests): Add tst-support_blob_repeat.
10151 * support/blob_repeat.h: New file.
10152 * support/blob_repeat.c: Likewise.
10153 * support/tst-support_blob_repeat.c: Likewise.
10154 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
10155 support_blob_repeat_allocate.
10156
10157 2018-10-30 Andreas Schwab <schwab@suse.de>
10158
10159 [BZ #23125]
10160 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
10161 Don't use tail call.
10162 * elf/tst-unwind-main.c: New file.
10163 * elf/Makefile (tests): Add tst-unwind-main.
10164 (CFLAGS-tst-unwind-main.c): Define.
10165
10166 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
10167
10168 [BZ #23791]
10169 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
10170 n_cs_precedes to 0.
10171 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
10172
10173 2018-10-29 Joseph Myers <joseph@codesourcery.com>
10174
10175 * conform/glibcconform.py: Do not import shutil.
10176 (list_exported_functions): Use tempfile.TemporaryDirectory instead
10177 of mkdtemp.
10178
10179 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
10180 critic_missing for versions before 3.4.
10181 * configure: Regenerated.
10182 * manual/install.texi (Tools for Compilation): Document
10183 requirement for Python to build glibc.
10184 * INSTALL: Regenerated.
10185 * Rules [PYTHON]: Make code unconditional.
10186 * benchtests/Makefile [PYTHON]: Likewise.
10187 * conform/Makefile [PYTHON]: Likewise.
10188 * manual/Makefile [PYTHON]: Likewise.
10189 * math/Makefile [PYTHON]: Likewise.
10190
10191 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10192
10193 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
10194 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
10195 answer to interrupt_operation, return EIEIO instead of EINTR.
10196 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
10197 _hurd_intr_rpc_msg_about_to global point to start of controlled
10198 assembly snippet. Make it check canceled flag.
10199 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
10200 the _hurd_intr_rpc_msg_about_to point.
10201 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
10202 issue, remove cancel flag check.
10203
10204 2018-10-26 Joseph Myers <joseph@codesourcery.com>
10205
10206 * scripts/build-many-glibcs.py: Remove compatibility for missing
10207 os.cpu_count and re.fullmatch.
10208
10209 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
10210
10211 [BZ #23822]
10212 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
10213 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
10214 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
10215
10216 2018-10-25 Joseph Myers <joseph@codesourcery.com>
10217
10218 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
10219 macro.
10220
10221 2018-10-25 Florian Weimer <fweimer@redhat.com>
10222
10223 [BZ #23562]
10224 [BZ #23821]
10225 XFAIL siginfo_t si_band conform test on sparc64.
10226 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
10227 (__SI_BAND_TYPE): Only override long int default type on sparc64.
10228 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10229 (conformtest-xfail-conds): Add sparc64-linux.
10230 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
10231 sparc64.
10232 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
10233
10234 2018-10-25 Joseph Myers <joseph@codesourcery.com>
10235
10236 * elf/elf.h (NT_MIPS_DSP): New macro.
10237 (NT_MIPS_FP_MODE): Likewise.
10238
10239 2018-10-25 Zong Li <zong@andestech.com>
10240
10241 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
10242 name by adding the file extension (.so).
10243
10244 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
10245
10246 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
10247 (test-xfail-ISO11/threads.h/linknamespace,
10248 test-xfail-ISO11/threads.h/conform): Add.
10249
10250 2018-10-24 Joseph Myers <joseph@codesourcery.com>
10251
10252 * math/gen-libm-test.py: Import os.
10253 (ALL_FLOATS_MANUAL): New constant.
10254 (ALL_FLOATS_SUFFIX): Likewise.
10255 (Ulps.all_functions): New function.
10256 (real_all_ulps): Likewise.
10257 (generate_err_table_sub): Likewise.
10258 (generate_err_table): Likewise.
10259 (main): Handle -s and -m options.
10260 * manual/libm-err-tab.pl: Remove.
10261 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
10262 instead of libm-err-tab.pl.
10263 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
10264 != no].
10265 * manual/install.texi (Tools for Compilation): Document
10266 requirement for Python to build manual.
10267 * INSTALL: Regenerated.
10268
10269 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
10270
10271 * bits/time64.h: New file.
10272 * include/time.h: Replace internal_time_t with __time64_t.
10273 * posix/bits/types (__time64_t): Add.
10274 * stdlib/Makefile: Add bits/time64.h to includes.
10275 * time/tzfile.c: Replace internal_time_t with __time64_t.
10276
10277 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10278
10279 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
10280 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
10281 __posix_spawn_file_actions_init, __posix_spawnattr_init,
10282 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
10283 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
10284 prototype.
10285 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
10286 * posix/spawn_faction_addclose.c
10287 (__posix_spawn_file_actions_addclose): Add hidden definition.
10288 * posix/spawn_faction_adddup2.c
10289 (__posix_spawn_file_actions_adddup2): Likewise.
10290 * posix/spawn_faction_destroy.c
10291 (__posix_spawn_file_actions_destroy): Likewise.
10292 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
10293 Likewise.
10294 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
10295 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
10296 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
10297 Likewise.
10298 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
10299 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
10300 Likewise.
10301
10302 2018-10-24 Andreas Schwab <schwab@suse.de>
10303
10304 [BZ #18093]
10305 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
10306 format cache.
10307 * elf/cache.c (print_cache): Likewise.
10308
10309 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
10310
10311 * bits/timesize.h: New file.
10312 * stdlib/Makefile (headers): Add bits/timesize.h.
10313 * sysdeps/unix/sysv/linux/bits/msq-pad.h
10314 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
10315 * sysdeps/unix/sysv/linux/bits/sem-pad.h
10316 (__SEM_PAD_AFTER_TIME): Likewise.
10317 * sysdeps/unix/sysv/linux/bits/shm-pad.h
10318 (__SHM_PAD_AFTER_TIME): Likewise.
10319 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
10320 (__MSQ_PAD_BEFORE_TIME): Likewise.
10321 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
10322 (__SEM_PAD_BEFORE_TIME): Likewise.
10323 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
10324 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
10325 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
10326 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
10327 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
10328 (__MSQ_PAD_BEFORE_TIME): Likewise.
10329 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
10330 (__SEM_PAD_BEFORE_TIME): Likewise.
10331 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
10332 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
10333 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
10334 (__MSQ_PAD_BEFORE_TIME): Likewise.
10335 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
10336 (__SEM_PAD_BEFORE_TIME): Likewise.
10337 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
10338 (__SHM_PAD_BEFORE_TIME): Likewise.
10339 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
10340 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
10341 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
10342
10343 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
10344
10345 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
10346 USE_RDTSCP is defined.
10347 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
10348 USE_RDTSCP is defined.
10349
10350 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10351
10352 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
10353 defined.
10354
10355 [BZ #23709]
10356 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
10357 independently of other flags.
10358
10359 2018-10-23 Florian Weimer <fweimer@redhat.com>
10360
10361 * time/tst-mktime2.c (N_STRINGS): Remove.
10362 (set_timezone): New function.
10363 (spring_forward_gap): Call it. Use FAIL_EXIT1.
10364 (mktime_test1): Report localtime failure and check errno value.
10365 Use TEST_COMPARE.
10366 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
10367 (do_test): Remove alarm call. Use set_timezone and array_length.
10368
10369 2018-10-23 Andreas Schwab <schwab@suse.de>
10370
10371 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
10372 (__start_context): Use END instead of PSEUDO_END.
10373
10374 2018-10-22 Joseph Myers <joseph@codesourcery.com>
10375
10376 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10377 version to 4.19.
10378
10379 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10380 version to 4.19.
10381
10382 [BZ #23793]
10383 * wcsmbs/c32rtomb.c: New file.
10384 * wcsmbs/mbrtoc32.c: Likewise.
10385 * wcsmbs/tst-c32-state.c: Likewise.
10386 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
10387 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
10388 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
10389 (tests): Add tst-c32-state.
10390 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
10391 $(gen-locales).
10392
10393 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
10394
10395 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
10396 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
10397
10398 2018-10-19 Joseph Myers <joseph@codesourcery.com>
10399
10400 [BZ #23794]
10401 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
10402 pair and return 0 in that case, and use saved character to
10403 interpret following character.
10404 * wcsmbs/tst-c16-surrogate.c: New file.
10405 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
10406 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
10407 Depend on $(gen-locales)
10408
10409 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
10410
10411 [BZ #23562]
10412 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
10413 (struct siginfo_t): Use correct type for si_band.
10414
10415 2018-10-19 Florian Weimer <fweimer@redhat.com>
10416
10417 [BZ #23689]
10418 * resource/bits/types/struct_rusage.h (struct rusage): Update
10419 comment on struct. Remove extraneous field comment.
10420
10421 2018-10-18 David S. Miller <davem@davemloft.net>
10422
10423 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
10424 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
10425 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
10426 sysdep_routines in subdir elf.
10427 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
10428 version for __vdso_clock_gettime.
10429 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
10430 Define.
10431 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
10432 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
10433
10434 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
10435
10436 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
10437
10438 * sysdeps/i386/init-arch.h: Removed.
10439 * sysdeps/i386/i586/init-arch.h: Likewise.
10440 * sysdeps/i386/i686/init-arch.h: Likewise.
10441 * sysdeps/i386/i686/hp-timing.h: Likewise.
10442 * sysdeps/x86_64/hp-timing.h: Likewise.
10443 * sysdeps/i386/isa.h: New file.
10444 * sysdeps/i386/i586/isa.h: Likewise.
10445 * sysdeps/i386/i686/isa.h: Likewise.
10446 * sysdeps/x86_64/isa.h: Likewise.
10447 * sysdeps/x86/hp-timing.h: New file.
10448 * sysdeps/x86/init-arch.h: Include <isa.h>.
10449
10450 2018-10-17 Joseph Myers <joseph@codesourcery.com>
10451
10452 * math/libm-test-pow.inc (pow_test_data): Do not allow
10453 divide-by-zero exception for pow(+/- 0, -Inf).
10454
10455 2018-10-17 Zack Weinberg <zackw@panix.com>
10456
10457 * manual/job.texi (Job Control is Optional): Remove node, as
10458 job control has not been optional in quite some time.
10459 (Job Control): Mention briefly that systems older than
10460 POSIX.1-2001 might not support job control.
10461 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
10462 defined on systems conforming to POSIX.1-2001.
10463
10464 2018-10-17 Arjun Shankar <arjun@redhat.com>
10465
10466 [BZ #22062]
10467 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
10468 indentation.
10469 * (__gconv_read_conf): Mark function static.
10470 * (once): New static variable.
10471 * (__gconv_load_conf): New function.
10472 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
10473 * iconv/gconv_db.c (once): Remove static variable.
10474 * (__gconv_compare_alias): Use __gconv_load_conf instead of
10475 __gconv_read_conf.
10476 * (__gconv_find_transform): Likewise.
10477 * iconv/tst-iconv-mt.c: New test.
10478 * iconv/Makefile: Add tst-iconv_mt.
10479
10480 2018-10-17 Joseph Myers <joseph@codesourcery.com>
10481
10482 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10483 bits/shm-pad.h.
10484 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
10485 (shmatt_t): Define as __syscall_ulong_t.
10486 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
10487 and [__SHM_PAD_AFTER_TIME].
10488 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
10489 Define shm_segsz and associated padding based on
10490 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
10491 Use __syscall_ulong_t instead of unsigned long int.
10492 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
10493 unsigned long int.
10494 [__USE_MISC] (struct shm_info): Likewise.
10495 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
10496 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
10497 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
10498 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
10499 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
10500 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
10501 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
10502 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
10503 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10504 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10505 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10506
10507 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10508 bits/shmlba.h.
10509 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
10510 (SHMLBA): Remove macro.
10511 (__getpagesize): Remove function declaration.
10512 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
10513 <bits/shmlba.h>.
10514 (SHMLBA): Remove macro.
10515 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
10516 <bits/shmlba.h>.
10517 (SHMLBA): Remove macro.
10518 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
10519 <bits/shmlba.h>.
10520 (SHMLBA): Remove macro.
10521 (__getpagesize): Remove function declaration.
10522 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
10523 <bits/shmlba.h>.
10524 (SHMLBA): Remove macro.
10525 (__getshmlba): Remove function declaration.
10526 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
10527 (SHMLBA): Remove macro.
10528 (__getpagesize): Remove function declaration.
10529 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
10530 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
10531 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10532 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
10533 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
10534 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
10535 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
10536 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
10537 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
10538 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
10539
10540 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
10541
10542 [BZ #23275]
10543 * nptl/tst-mutex10.c: New File.
10544 * nptl/Makefile (tests): Add tst-mutex10.
10545 (tst-mutex10-ENV): New variable.
10546 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
10547 Ensure that elision path is used if elision is available.
10548 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
10549 Likewise.
10550 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
10551 Likewise.
10552 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
10553 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
10554 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
10555 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
10556 Likewise.
10557 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
10558 (__pthread_mutex_cond_lock_adjust): Likewise.
10559 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
10560 Likewise.
10561 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
10562 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
10563 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10564 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
10565 Add comments.
10566 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
10567 Use atomic_load_relaxed and atomic_store_relaxed.
10568 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
10569 Use atomic_store_relaxed.
10570
10571 2018-10-17 Andreas Schwab <schwab@suse.de>
10572
10573 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
10574 * crypt/badsalttest.c (TIMEOUT): Likewise.
10575 * crypt/sha256c-test.c (TIMEOUT): Likewise.
10576 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
10577 * io/test-lfs.c (TIMEOUT): Likewise.
10578 * libio/tst-atime.c (TIMEOUT): Likewise.
10579 * localedata/tst-leaks.c (TIMEOUT): Likewise.
10580 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
10581 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
10582 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
10583 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
10584 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
10585 * nptl/tst-cond11.c (TIMEOUT): Likewise.
10586 * nptl/tst-cond14.c (TIMEOUT): Likewise.
10587 * nptl/tst-cond15.c (TIMEOUT): Likewise.
10588 * nptl/tst-cond24.c (TIMEOUT): Likewise.
10589 * nptl/tst-cond25.c (TIMEOUT): Likewise.
10590 * nptl/tst-kill2.c (TIMEOUT): Likewise.
10591 * nptl/tst-kill3.c (TIMEOUT): Likewise.
10592 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
10593 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
10594 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
10595 * nptl/tst-once2.c (TIMEOUT): Likewise.
10596 * nptl/tst-once3.c (TIMEOUT): Likewise.
10597 * nptl/tst-once4.c (TIMEOUT): Likewise.
10598 * nptl/tst-robust8.c (TIMEOUT): Likewise.
10599 * nptl/tst-robust9.c (TIMEOUT): Likewise.
10600 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
10601 * nptl/tst-sem14.c (TIMEOUT): Likewise.
10602 * nptl/tst-sem6.c (TIMEOUT): Likewise.
10603 * nptl/tst-signal3.c (TIMEOUT): Likewise.
10604 * nptl/tst-spin4.c (TIMEOUT): Likewise.
10605 * nptl/tst-tls3.c (TIMEOUT): Likewise.
10606 * nptl/tst-tls4.c (TIMEOUT): Likewise.
10607 * posix/tst-chmod.c (TIMEOUT): Likewise.
10608 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
10609 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
10610 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
10611 * posix/tst-regex2.c (TIMEOUT): Likewise.
10612 * posix/tst-waitid.c (TIMEOUT): Likewise.
10613 * rt/tst-aio.c (TIMEOUT): Likewise.
10614 * rt/tst-aio10.c (TIMEOUT): Likewise.
10615 * rt/tst-aio4.c (TIMEOUT): Likewise.
10616 * rt/tst-aio5.c (TIMEOUT): Likewise.
10617 * rt/tst-aio6.c (TIMEOUT): Likewise.
10618 * rt/tst-aio64.c (TIMEOUT): Likewise.
10619 * rt/tst-aio7.c (TIMEOUT): Likewise.
10620 * rt/tst-aio9.c (TIMEOUT): Likewise.
10621 * rt/tst-clock.c (TIMEOUT): Likewise.
10622 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
10623 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
10624 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
10625 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
10626 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
10627 * rt/tst-timer4.c (TIMEOUT): Likewise.
10628 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
10629 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
10630 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
10631 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
10632 * time/tst-ftime.c (TIMEOUT): Likewise.
10633 * timezone/tst-tzset.c (TIMEOUT): Likewise.
10634
10635 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
10636
10637 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
10638 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
10639 for thunderX2.
10640
10641 2018-10-15 Joseph Myers <joseph@codesourcery.com>
10642
10643 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10644 bits/sem-pad.h.
10645 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
10646 instead of <bits/wordsize.h>.
10647 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
10648 and [__SEM_PAD_AFTER_TIME].
10649 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
10650 __syscall_ulong_t instead of unsigned long int.
10651 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
10652 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
10653 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
10654 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
10655 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
10656 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
10657 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
10658 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
10659 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10660 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10661 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10662
10663 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
10664
10665 regex: simplify by using intprops.h
10666 [BZ#23744]
10667 * posix/regex_internal.h [_LIBC]: Include intprops.h.
10668 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
10669 intprops.h defines them.
10670
10671 regex: __builtin_expect → __glibc_unlikely
10672 [BZ#23744]
10673 This refactoring was prompted by a problem when the regex code is
10674 used as part of Gnulib and when the builder’s compiler does not grok
10675 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
10676 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
10677 Although this refactoring does not fix the problem directly,
10678 we might as well have Gawk use the now-preferred glibc style for when
10679 __builtin_expect is unavailable.
10680 * posix/regex_internal.h (BE): Remove.
10681 All uses replaced by __glibc_unlikely or __glibc_likely.
10682
10683 2018-10-11 Joseph Myers <joseph@codesourcery.com>
10684
10685 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10686 bits/msq-pad.h.
10687 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
10688 instead of <bits/wordsize.h>.
10689 (msgqnum_t): Define as __syscall_ulong_t.
10690 (msglen_t): Likewise.
10691 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
10692 and [__MSQ_PAD_AFTER_TIME].
10693 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
10694 __syscall_ulong_t instead of unsigned long int.
10695 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
10696 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
10697 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
10698 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
10699 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
10700 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
10701 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
10702 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
10703 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10704 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10705 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
10706
10707 2018-10-10 Joseph Myers <joseph@codesourcery.com>
10708
10709 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
10710 (struct shmid_ds): Condition padding after time fields on
10711 [__WORDSIZE == 32].
10712 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
10713 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
10714 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10715
10716 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
10717 (struct semid_ds): Condition padding after time fields on
10718 [__WORDSIZE == 32].
10719 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
10720 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
10721 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
10722 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10723
10724 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
10725 (struct msqid_ds): Condition padding after time fields on
10726 [__WORDSIZE == 32].
10727 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
10728 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
10729 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
10730 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10731
10732 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
10733
10734 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
10735
10736 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
10737
10738 * libio/tst-readline.c (TIMEOUT): Define.
10739
10740 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
10741
10742 mktime fix for Gnulib + coreutils
10743 [BZ#23745]
10744 This fix affects only Gnulib. Problem discovered when
10745 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
10746 * time/mktime.c:
10747 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
10748 Do not define since it is not used. Defining an unused static
10749 function prompts a warning from GCC when Coreutils is configured
10750 with --enable-gcc-warnings.
10751
10752 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10753
10754 * benchtests/scripts/compare_bench.py (main): set float type on
10755 threshold argument.
10756
10757 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
10758
10759 [BZ #23740]
10760 * localedata/locales/kl_GL (mon): Update, the relative case.
10761 (alt_mon): Add, fill with month names in the nominative case.
10762 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
10763 (d_fmt): Set to "%b %d %Y".
10764
10765 2018-10-04 Joseph Myers <joseph@codesourcery.com>
10766
10767 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
10768 <bits/mman-linux.h>.
10769 (PROT_READ): Don't define here.
10770 (PROT_WRITE): Likewise.
10771 (PROT_EXEC): Likewise.
10772 (PROT_NONE): Likewise.
10773 (PROT_GROWSDOWN): Likewise.
10774 (PROT_GROWSUP): Likewise.
10775 (MAP_SHARED): Likewise.
10776 (MAP_PRIVATE): Likewise.
10777 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
10778 [__USE_MISC] (MAP_FILE): Likewise.
10779 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
10780 [__USE_MISC] (MAP_ANON): Likewise.
10781 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
10782 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
10783 (MCL_CURRENT): Likewise.
10784 (MCL_FUTURE): Likewise.
10785 (MCL_ONFAULT): Likewise.
10786 [__USE_MISC] (MADV_NORMAL): Likewise.
10787 [__USE_MISC] (MADV_RANDOM): Likewise.
10788 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
10789 [__USE_MISC] (MADV_WILLNEED): Likewise.
10790 [__USE_MISC] (MADV_DONTNEED): Likewise.
10791 [__USE_MISC] (MADV_FREE): Likewise.
10792 [__USE_MISC] (MADV_REMOVE): Likewise.
10793 [__USE_MISC] (MADV_DONTFORK): Likewise.
10794 [__USE_MISC] (MADV_DOFORK): Likewise.
10795 [__USE_MISC] (MADV_HWPOISON): Likewise.
10796 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
10797 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
10798 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
10799 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
10800 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
10801 (__MAP_ANONYMOUS): New macro.
10802 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
10803 <bits/mman-linux.h> inclusion.
10804 (MAP_FIXED): Likewise.
10805 (MS_SYNC): Likewise.
10806 (MS_ASYNC): Likewise.
10807 (MS_INVALIDATE): Likewise.
10808 [__USE_MISC] (MADV_MERGEABLE): Likewise.
10809 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
10810 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
10811 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
10812 [__USE_MISC] (MADV_DONTDUMP): Likewise.
10813 [__USE_MISC] (MADV_DODUMP): Likewise.
10814 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
10815 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
10816
10817 [BZ #23735]
10818 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
10819 Define.
10820 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
10821 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
10822 Add test-nldbl-redirect.
10823 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
10824 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
10825 $(objpfx)libnldbl_nonshared.a.
10826
10827 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
10828
10829 * support/support.h (support_objdir_elf_ldso): New variable.
10830 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
10831 * support/Makefile (CFLAGS-support_paths.c): Add definition
10832 for OBJDIR_ELF_LDSO_PATH.
10833 * support/test-container.c (main): Search for the ld.so
10834 which is also used by the testsuite.
10835
10836 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
10837
10838 [BZ #20209]
10839 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
10840 should be "sap" rather than "sab".
10841 (day): Fix spelling of Sunday, should be "sapaat" rather than
10842 "sabaat".
10843
10844 2018-10-02 Joseph Myers <joseph@codesourcery.com>
10845
10846 * math/libm-test-fma.inc (fma_test_data): Add more tests.
10847
10848 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
10849
10850 [BZ #19444]
10851 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
10852 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
10853 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
10854
10855 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10856
10857 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
10858
10859 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
10860
10861 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
10862 Add -mrtm.
10863 (CFLAGS-elision-unlock.c): Likewise.
10864 (CFLAGS-elision-timed.c): Likewise.
10865 (CFLAGS-elision-trylock.c): Likewise.
10866 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
10867
10868 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10869
10870 [BZ #21037]
10871 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
10872 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
10873 new fd_to_filename interface.
10874 * libio/freopen64.c (freopen64): Likewise.
10875 * libio/tst-memstream.h: New file.
10876 * libio/tst-memstream4.c: Likewise.
10877 * libio/tst-wmemstream4.c: Likewise.
10878 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
10879 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
10880 and remove internal dynamic allocation.
10881
10882 2018-10-01 Joseph Myers <joseph@codesourcery.com>
10883
10884 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
10885 (MREMAP_MAYMOVE): Do not define here.
10886 [__USE_GNU] (MREMAP_FIXED): Likewise.
10887 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
10888 (MREMAP_MAYMOVE): Define here instead.
10889 [__USE_GNU] (MREMAP_FIXED): Likewise.
10890 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
10891 (MREMAP_MAYMOVE): Remove.
10892 [__USE_GNU] (MREMAP_FIXED): Likewise.
10893
10894 2018-09-28 Joseph Myers <joseph@codesourcery.com>
10895
10896 * math/fromfp.h: Do not include <math_private.h>.
10897 * math/s_cacosh_template.c: Likewise.
10898 * math/s_casin_template.c: Likewise.
10899 * math/s_casinh_template.c: Likewise.
10900 * math/s_ccos_template.c: Likewise.
10901 * math/s_cproj_template.c: Likewise.
10902 * math/s_fdim_template.c: Likewise.
10903 * math/s_fmaxmag_template.c: Likewise.
10904 * math/s_fminmag_template.c: Likewise.
10905 * math/s_iseqsig_template.c: Likewise.
10906 * math/s_ldexp_template.c: Likewise.
10907 * math/s_nextdown_template.c: Likewise.
10908 * math/w_log1p_template.c: Likewise.
10909 * math/w_scalbln_template.c: Likewise.
10910 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
10911 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
10912 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
10913 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
10914 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
10915 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
10916 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
10917 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
10918 * sysdeps/i386/fpu/s_atanl.c: Likewise.
10919 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
10920 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
10921 * sysdeps/i386/fpu/s_fdim.c: Likewise.
10922 * sysdeps/i386/fpu/s_logbl.c: Likewise.
10923 * sysdeps/i386/fpu/s_rintl.c: Likewise.
10924 * sysdeps/i386/fpu/s_significandl.c: Likewise.
10925 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
10926 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
10927 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10928 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10929 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10930 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10931 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10932 * sysdeps/ieee754/k_standardf.c: Likewise.
10933 * sysdeps/ieee754/k_standardl.c: Likewise.
10934 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10935 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
10936 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
10937 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
10938 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
10939 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
10940 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10941 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10942 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10943 * sysdeps/ieee754/s_signgam.c: Likewise.
10944 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
10945 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
10946 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
10947 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10948 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10949 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
10950 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10951 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
10952 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10953 * sysdeps/riscv/rvd/s_finite.c: Likewise.
10954 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
10955 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
10956 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
10957 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
10958 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
10959 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
10960 * sysdeps/riscv/rvf/fegetround.c: Likewise.
10961 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
10962 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
10963 * sysdeps/riscv/rvf/fesetround.c: Likewise.
10964 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
10965 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
10966 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
10967 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10968 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
10969 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10970 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
10971 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
10972 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
10973 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
10974 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
10975 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
10976 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
10977 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
10978 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10979 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10980 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
10981 <math_private.h>.
10982 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
10983
10984 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
10985
10986 [BZ #23716]
10987 * sysdeps/i386/dl-cet.c: Removed.
10988 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
10989 prototype.
10990 (_dl_runtime_profile_shstk): Likewise.
10991 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
10992 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
10993
10994 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10995
10996 [BZ #23579]
10997 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
10998 do_test_with_invalid_iov): New tests.
10999 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
11000 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
11001 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
11002 errno is ENOSYS.
11003 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
11004 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
11005 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
11006
11007 2018-09-27 Joseph Myers <joseph@codesourcery.com>
11008
11009 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11010 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
11011 (MATH_REDIRECT_BINARY_ARGS): New macro.
11012 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11013 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
11014 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
11015 header inclusion.
11016 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
11017 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11018 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
11019 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11020 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11021 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11022 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
11024 Likewise.
11025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
11026 Likewise.
11027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
11028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
11029 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
11030 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
11031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
11032 Likewise.
11033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
11034 Likewise.
11035 * sysdeps/generic/math_private_calls.h
11036 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
11037 Do not declare and define as an inline function.
11038 * math/divtc3.c (__divtc3): Use copysign functions instead of
11039 __copysign variants.
11040 * math/multc3.c (__multc3): Likewise.
11041 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
11042 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
11043 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11044 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
11045 Likewise.
11046 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11047 (__ieee754_yn): Likewise.
11048 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11049 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
11050 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11051 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11052 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
11053 (__sin): Likewise.
11054 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
11055 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
11056 Likewise.
11057 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11058 Likewise.
11059 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11060 Likewise.
11061 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11062 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11063 Likewise.
11064 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11065 (__ieee754_ynf): Likewise.
11066 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
11067 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11068 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
11069 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11070 Likewise.
11071 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11072 (__ieee754_ynl): Likewise.
11073 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11074 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11075 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11076 Likewise.
11077 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11078 (__ieee754_ynl): Likewise.
11079 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
11080 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11081 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11082 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11083 Likewise.
11084 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11085 (__ieee754_ynl)
11086 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
11087 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11088 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
11089 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
11090 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11091
11092 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11093 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
11094 using MATH_REDIRECT.
11095 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
11096 header inclusion.
11097 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
11098 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11099 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11100 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
11101 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11102 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11103 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
11105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
11106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
11107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
11108 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
11109 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
11110 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11111 (round): Redirect to __round.
11112 (__roundl): Call round instead of __round.
11113 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
11114 Remove macro.
11115 [_ARCH_PWR5X] (__roundf): Likewise.
11116 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
11117 functions instead of __round variants.
11118 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
11119 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
11120 Likewise.
11121 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
11122 Likewise.
11123 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
11124 Likewise.
11125 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
11126 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
11127 __lroundl.
11128 (__ieee754_expl): Call roundl instead of __roundl.
11129
11130 2018-09-27 Andreas Schwab <schwab@suse.de>
11131
11132 [BZ #23717]
11133 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
11134 (do_test): Make st1 static.
11135
11136 2018-09-26 Andreas Schwab <schwab@suse.de>
11137
11138 [BZ #23707]
11139 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
11140 * elf/Makefile (tests): Add tst-unwind-ctor.
11141 (modules-names): Add tst-unwind-ctor-lib.
11142 ($(objpfx)tst-unwind-ctor): Depend on
11143 $(objpfx)tst-unwind-ctor-lib.so.
11144
11145 2018-09-26 Joseph Myers <joseph@codesourcery.com>
11146
11147 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
11148 file. Most contents moved from ....
11149 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
11150 and include <bits/mman-map-flags-generic.h>.
11151 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11152 (sysdep_headers): Add bits/mman-map-flags-generic.h.
11153 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
11154 <bits/mman-map-flags-generic.h>.
11155 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
11156 macros defined in <bits/mman-map-flags-generic.h>.
11157 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
11158 <bits/mman-map-flags-generic.h>.
11159 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
11160 defined in <bits/mman-map-flags-generic.h>.
11161
11162 2018-09-26 Andreas Schwab <schwab@suse.de>
11163
11164 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
11165 output.
11166
11167 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
11168 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11169 Fangrui Song <maskray@google.com>
11170
11171 [BZ #20480]
11172 * config.make.in (have-textrel_ifunc): New define.
11173 * configure.ac: Add check if linker supports textrel relocation with
11174 ifunc.
11175 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
11176 tst-ifunc-textrel.
11177 (CFLAGS-tst-ifunc-textrel.c): New rule.
11178 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
11179 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
11180 * elf/tst-ifunc-textrel.c: New file.
11181
11182 2018-09-25 Joseph Myers <joseph@codesourcery.com>
11183
11184 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
11185 <bits/procfs-prregset.h>.
11186 (prgregset_t): Define using __prgregset_t.
11187 (prfpregset_t): Define using __prfpregset_t.
11188 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11189 (sysdep_headers): Add bits/procfs-prregset.h.
11190 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
11191 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
11192 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
11193 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
11194
11195 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
11196 <bits/procfs-id.h> and <bits/procfs-extra.h>.
11197 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
11198 pr_uid and pr_gid.
11199 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11200 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
11201 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
11202 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
11203 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
11204 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
11205 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
11206 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
11207 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
11208 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
11209 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
11210 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
11211 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
11212 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
11213 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
11214 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
11215 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
11216 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
11217 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
11218 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
11219 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
11220 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
11221 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11222 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
11223
11224 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
11225 AArch64 version. Include <bits/procfs.h>.
11226 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11227 (sysdep_headers): Add bits/procfs.h.
11228 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
11229 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
11230 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
11231 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
11232 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
11233 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
11234 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
11235 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
11236 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
11237 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
11238 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
11239 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
11240 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
11241 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
11242 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
11243 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11244 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
11245
11246 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11247
11248 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
11249 Use libsupport.
11250
11251 2018-09-25 Arjun Shankar <arjun@redhat.com>
11252
11253 * iconv/gconv_int.h (__gconv_path_elem): Remove.
11254 (__gconv_max_path_elem_len): Likewise.
11255 (__gconv_nmodules): Likewise.
11256 (__gconv_get_path): Likewise.
11257 (path_elem): Move to ...
11258 * iconv/gconv_conf.c: ... here.
11259 (__gconv_get_path): Mark function static.
11260 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
11261 * iconv/gconv_open.c: ... here.
11262
11263 2018-09-24 Andreas Schwab <schwab@suse.de>
11264
11265 * scripts/haveversions.awk: New file.
11266 * Makerules ($(common-objpfx)Versions.def)
11267 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
11268 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
11269 Move rules ...
11270 * Makeconfig ($(common-objpfx)Versions.def)
11271 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
11272 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
11273 ... here.
11274 ($(common-objpfx)Versions.mk): New rule. Include it.
11275 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
11276 Emit error if build-obsolete-nsl = yes.
11277 * manual/install.texi (Configuring and compiling): Describe
11278 --enable-obsolete-nsl as unavaiable after version 2.28.
11279 * INSTALL: Regenerate.
11280
11281 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11282
11283 * NEWS: Add note about new TLE support on powerpc64le.
11284 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
11285 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
11286 __ununsed1.
11287 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
11288 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
11289 * sysdeps/powerpc/powerpc32/sysdep.h,
11290 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
11291 ABORT_TRANSACTION): Remove macros.
11292 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
11293 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
11294 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
11295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
11296 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11297 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
11298 usage.
11299 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
11300
11301 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
11302
11303 [BZ #10425]
11304 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
11305 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
11306 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
11307 which is the same as in it_IT.
11308 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
11309 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
11310
11311 2018-09-20 Joseph Myers <joseph@codesourcery.com>
11312
11313 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11314 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
11315 using MATH_REDIRECT.
11316 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
11317 header inclusion.
11318 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
11319 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11320 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
11321 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
11322 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11323 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
11325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
11326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
11327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
11328 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
11329 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
11330 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
11331 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
11332 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
11333 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
11334 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
11335 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11336 (ceil): Redirect to __ceil.
11337 (floor): Redirect to __floor.
11338 (trunc): Redirect to __trunc.
11339 (__truncl): Call trunc instead of __trunc.
11340 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
11341 Remove macro.
11342 [_ARCH_PWR5X] (__truncf): Likewise.
11343 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
11344 trunc functions instead of __trunc variants.
11345 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11346 Likewise.
11347 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11348 Likewise.
11349 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11350 Likewise.
11351 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11352 Likewise.
11353
11354 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
11355 [__i586__ || __pentium__].
11356 [__i486__]: Handle explicitly.
11357 (HAS_CPUID): Define to 1 if above macros are undefined.
11358 (HAS_I586): Likewise.
11359 (HAS_I686): Likewise.
11360
11361 2018-09-20 Florian Weimer <fweimer@redhat.com>
11362
11363 * misc/tst-gethostid.c: New file.
11364 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
11365 (tst-gethostid): Link with -ldl.
11366
11367 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
11368
11369 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
11370 value from gethostbyname_r.
11371
11372 2018-09-19 Carlos O'Donell <carlos@redhat.com>
11373
11374 * stdlib/tst-setcontext9.c (f1): Rename to...
11375 (f1a): ... this.
11376 (f1b): New function implementing lower half of f1 in alternate stack.
11377
11378 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
11379
11380 Fix mktime localtime offset confusion
11381 [BZ #23603]
11382 * include/time.h (__mktime_internal): The localtime offset is now
11383 of type long int instead of time_t. This is the longstanding type
11384 in glibc, and it is more than enough to represent difference
11385 between localtime and gmtime even if it is 32 bits and time_t is
11386 64. Changing it now will let us avoid an unnecessary change when
11387 time_t is widened to 64 bits on 32-bit platforms.
11388 * time/mktime-internal.h (mktime_offset_t): Now long int.
11389
11390 Merge mktime, timegm from upstream Gnulib
11391 [BZ #23603][BZ #16346]
11392 This fixes some obscure problems with integer overflow.
11393 Although it looks scary, it is almost all a byte-for-byte copy
11394 from Gnulib, and the Gnulib code has been tested reasonably well.
11395 * include/intprops.h: New file, copied from Gnulib.
11396 * include/verify.h, time/mktime-internal.h:
11397 New tiny files, simplified from Gnulib.
11398 * time/mktime.c: Copy from Gnulib. This has the following changes:
11399 Do not include config.h if DEBUG_MKTIME is nonzero.
11400 Include stdbool.h, intprops.h, verify.h.
11401 Include string.h only if needed.
11402 Include stdlib.h on MS-Windows.
11403 Include mktime-internal.h.
11404 (DEBUG_MKTIME): Default to 0, and simplify later uses.
11405 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
11406 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
11407 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
11408 simplify later conditionals; default the others to zero. Use
11409 these conditionals to express only the code needed on the current
11410 platform. In uses of these conditionals, explicitly spell out how
11411 _LIBC affects things, so it’s easier to review from a glibc
11412 viewpoint.
11413 (WRAPV): Remove; no longer needed now that we have
11414 systematic overflow checking.
11415 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
11416 compartmentalize tzset issues. Move system-dependent tzsettish
11417 code here from mktime.
11418 (verify): Remove; now done by verify.h. All uses changed.
11419 (long_int): Use a more-conservative definition, to avoid
11420 integer overflow.
11421 (SHR): Remove, replacing with ...
11422 (shr): New function, which means we needn’t worry about side
11423 effects in args, and conversion analysis is simpler.
11424 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
11425 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
11426 (time_t_avg, time_t_add_ok): Remove.
11427 (mktime_min, mktime_max): New constants.
11428 (leapyear, isdst_differ): Use bool for booleans.
11429 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
11430 Use long_int, not time_t, for mktime differences.
11431 (long_int_avg): New function, replacing time_t_avg.
11432 INT_ADD_WRAPV replaces time_t_add_ok.
11433 (guess_time_tm): 6th arg is now long_int, not time_t const *.
11434 All uses changed.
11435 (convert_time): New function.
11436 (ranged_convert): Use it.
11437 (__mktime_internal): Last arg now points to mktime_offset_t, not
11438 time_t. All uses changed. This is a no-op on glibc, where
11439 mktime_offset_t is always time_t. Use int, not time_t, for UTC
11440 offset guess. Directly check for integer overflow instead of
11441 using a heuristic that works only 99.9...% of the time.
11442 Access *OFFSET only once, to avoid an unlikely race if the
11443 compiler delays a load and if this cascades into a signed integer
11444 overflow.
11445 (mktime): Move tzsettish code to my_tzset, and move
11446 localtime_offset to within mktime so that it doesn’t
11447 need a separate ifdef.
11448 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
11449 instead of localtime.
11450 * time/timegm.c: Copy from Gnulib. This has the following changes:
11451 Include mktime-internal.h.
11452 [!_LIBC]: Include config.h and time.h. Do not include
11453 timegm.h or time_r.h. Make __mktime_internal a macro,
11454 and include mktime-internal.h to get its declaration.
11455 (timegm): Temporary is now mktime_offset_t, not time_t.
11456 This affects only Gnulib.
11457
11458 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
11459
11460 [BZ #23637]
11461 * string/test-strstr.c (pr23637): New function.
11462 (test_main): Add tests with longer needles.
11463 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
11464 * string/strstr.c (AVAILABLE): Likewise.
11465
11466 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
11467
11468 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
11469
11470 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
11471
11472 * NEWS: Mention pow improvements.
11473 * math/Makefile (type-double-routines): Add e_pow_log_data.
11474 * sysdeps/generic/math_private.h (__exp1): Remove.
11475 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
11476 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
11477 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
11478 contraction.
11479 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
11480 (exp_inline): Remove.
11481 (__ieee754_exp): Only single double input is handled.
11482 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
11483 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
11484 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
11485 (__pow_log_data): Define.
11486 * sysdeps/ieee754/dbl-64/upow.h: Remove.
11487 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
11488 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
11489 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
11490 contraction.
11491 (CFLAGS-e_pow-fma4.c): Likewise.
11492
11493 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
11494
11495 Simplify tzfile fstat failure code
11496 [BZ #21716]
11497 * time/tzfile.c (__tzfile_read): Simplify slightly.
11498
11499 Fix tzfile low-memory assertion failure
11500 [BZ #21716]
11501 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
11502 when registering time zone abbreviations.
11503
11504 2018-09-18 Joseph Myers <joseph@codesourcery.com>
11505
11506 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
11507 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
11508 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
11509 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
11510 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
11511 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
11512 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
11513 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11514 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11515
11516 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
11517 __ceil.
11518 (__ceill): Call ceil instead of __ceil.
11519 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
11520 __floor.
11521 (__floorl): Call floor instead of __floor.
11522
11523 2018-09-17 Joseph Myers <joseph@codesourcery.com>
11524
11525 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11526 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
11527 using MATH_REDIRECT.
11528 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
11529 header inclusion.
11530 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
11531 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11532 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11533 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
11534 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11535 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11536 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11537 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
11538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
11539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
11540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
11541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
11542 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
11543 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
11544 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
11545 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
11546 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
11547 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
11548 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
11549 Remove macro.
11550 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
11551 functions instead of __ceil variants.
11552 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
11553 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
11554 Likewise.
11555 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
11556 Likewise.
11557 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
11558 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
11559 Likewise.
11560 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
11561 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11562
11563 [BZ #21286]
11564 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
11565 constant.
11566 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
11567 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
11568 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
11569 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
11570 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
11571 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
11572 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
11573 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
11574 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
11575 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
11576 (ILL_BADIADDR): Remove constant.
11577 (TRAP_BRANCH): Likewise.
11578 (TRAP_HWBKPT): Likewise.
11579
11580 2018-09-14 Joseph Myers <joseph@codesourcery.com>
11581
11582 [BZ #23656]
11583 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
11584 Remove [_MIPS_SIM = _ABIN32] conditional case.
11585 (struct elf_prpsinfo): Likewise.
11586
11587 [BZ #23649]
11588 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
11589 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
11590 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
11591 Likewise.
11592 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
11593 elf_prpsinfo): Likewise.
11594 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
11595 elf_prpsinfo): Likewise.
11596 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
11597 Likewise.
11598
11599 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11600 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
11601 using MATH_REDIRECT.
11602 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
11603 header inclusion.
11604 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
11605 * sysdeps/alpha/fpu/s_rint.c: Likewise.
11606 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
11607 * sysdeps/i386/fpu/s_rintl.c: Likewise.
11608 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11609 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11610 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
11611 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11612 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11613 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11614 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
11615 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
11616 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
11617 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
11618 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
11619 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11620 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11621 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
11622 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
11623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
11624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
11625 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
11626 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
11627 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
11628 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
11629 * sysdeps/x86_64/fpu/math_private.h: Remove file.
11630 * math/e_scalb.c (invalid_fn): Use rint functions instead of
11631 __rint variants.
11632 * math/e_scalbf.c (invalid_fn): Likewise.
11633 * math/e_scalbl.c (invalid_fn): Likewise.
11634 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
11635 Likewise.
11636 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11637 Likewise.
11638 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
11639 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
11640 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11641 Likewise.
11642 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11643 Likewise.
11644 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11645 Likewise.
11646 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
11647 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
11648
11649 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11650 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
11651 New macro.
11652 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11653 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
11654 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11655 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
11656 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11657 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
11658 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11659 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
11660 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11661 && !NO_MATH_REDIRECT] (floor): Likewise.
11662 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
11663 header inclusion.
11664 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
11665 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11666 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11667 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
11668 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11669 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11670 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11671 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
11672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
11673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
11674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
11675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
11676 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
11677 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
11678 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
11679 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
11680 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
11681 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
11682 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
11683 Remove macro.
11684 [_ARCH_PWR5X] (__floorf): Likewise.
11685 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
11686 inline function.
11687 [__SSE4_1__] (__floorf): Likewise.
11688 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
11689 instead of __floor variants.
11690 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
11691 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
11692 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
11693 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
11694 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
11695 * math/w_tgamma_compat.c (__tgamma): Likewise.
11696 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
11697 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
11698 * math/w_tgammal_compat.c (__tgammal): Likewise.
11699 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
11700 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
11701 Likewise.
11702 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
11703 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
11704 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
11705 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11706 Likewise.
11707 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11708 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
11709 Likewise.
11710 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
11711 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
11712 Likewise.
11713 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11714 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
11715 Likewise.
11716 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11717 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
11718 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
11719 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
11720 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
11721 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11722
11723 2018-09-12 Joseph Myers <joseph@codesourcery.com>
11724
11725 * elf/Makefile (modules-names-tests): New variable.
11726
11727 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
11728
11729 * NEWS: Mention log2 improvements.
11730 * math/Makefile (type-double-routines): Add e_log2_data.
11731 * sysdeps/i386/fpu/e_log2_data.c: New file.
11732 * sysdeps/ia64/fpu/e_log2_data.c: New file.
11733 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
11734 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
11735 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
11736 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
11737 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
11738
11739 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
11740
11741 * NEWS: Mention log improvement.
11742 * math/Makefile (type-double-routines): Add e_log_data.
11743 * sysdeps/i386/fpu/e_log_data.c: New file.
11744 * sysdeps/ia64/fpu/e_log_data.c: New file.
11745 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
11746 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
11747 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
11748 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
11749 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
11750 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
11751
11752 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
11753 Xuepeng Guo <xuepeng.guo@intel.com>
11754
11755 [BZ #23606]
11756 * sysdeps/i386/start.S: Include <sysdep.h>
11757 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
11758 enabled. Add cfi_undefined (eip).
11759
11760 2018-09-11 Joseph Myers <joseph@codesourcery.com>
11761
11762 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
11763 (MOVQ): Likewise.
11764 (EXTRACT_WORDS64): Likewise.
11765 (INSERT_WORDS64): Likewise.
11766 (GET_FLOAT_WORD): Likewise.
11767 (SET_FLOAT_WORD): Likewise.
11768
11769 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
11770 argument.
11771 (Config.build_gcc): Use --disable-libsanitizer for first GCC
11772 build, but not for second build if --full-gcc. Use
11773 --enable-languages=all for second build if --full-gcc.
11774 (get_parser): Add --full-gcc option.
11775 (main): Update call to Context.
11776
11777 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
11778
11779 [BZ #10797]
11780 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
11781 Single Quotation Mark).
11782 (thousands_sep): Likewise.
11783 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
11784 * localedata/locales/it_IT (thousands_sep): Use ".".
11785 (grouping): Use "3;3".
11786
11787 2018-09-10 Joseph Myers <joseph@codesourcery.com>
11788
11789 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
11790 x86_64 and i686 configs using --enable-obsolete-rpc
11791 --enable-obsolete-nsl.
11792
11793 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
11794
11795 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11796
11797 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
11798
11799 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
11800 Increment size of new_argv by one.
11801
11802 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
11803
11804 [BZ #17426]
11805 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
11806 * localedata/locales/ar_IN (d_fmt): Likewise.
11807 * localedata/locales/bhb_IN (d_fmt): Likewise.
11808 * localedata/locales/bho_IN (d_fmt): Likewise.
11809 * localedata/locales/bn_BD (d_fmt): Likewise.
11810 * localedata/locales/bn_IN (d_fmt): Likewise.
11811 * localedata/locales/doi_IN (d_fmt): Likewise.
11812 * localedata/locales/gu_IN (d_fmt): Likewise.
11813 * localedata/locales/hi_IN (d_fmt): Likewise.
11814 * localedata/locales/hne_IN (d_fmt): Likewise.
11815 * localedata/locales/kn_IN (d_fmt): Likewise.
11816 * localedata/locales/mag_IN (d_fmt): Likewise.
11817 * localedata/locales/mai_IN (d_fmt): Likewise.
11818 * localedata/locales/mjw_IN (d_fmt): Likewise.
11819 * localedata/locales/ml_IN (d_fmt): Likewise.
11820 * localedata/locales/mni_IN (d_fmt): Likewise.
11821 * localedata/locales/mr_IN (d_fmt): Likewise.
11822 * localedata/locales/pa_IN (d_fmt): Likewise.
11823 * localedata/locales/raj_IN (d_fmt): Likewise.
11824 * localedata/locales/sat_IN (d_fmt): Likewise.
11825 * localedata/locales/sd_IN (d_fmt): Likewise.
11826 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
11827 * localedata/locales/ta_IN (d_fmt): Likewise.
11828 * localedata/locales/ta_LK (d_fmt): Likewise.
11829 * localedata/locales/tcy_IN (d_fmt): Likewise.
11830 * localedata/locales/ur_IN (d_fmt): Likewise.
11831
11832 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
11833 * localedata/locales/ks_IN (d_fmt): Likewise.
11834 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
11835
11836 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
11837 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
11838 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
11839 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
11840
11841 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
11842
11843 * NEWS: Mention exp and exp2 improvements.
11844 * math/Makefile (libm-support): Remove t_exp.
11845 (type-double-routines): Add math_err and e_exp_data.
11846 * sysdeps/aarch64/libm-test-ulps: Update.
11847 * sysdeps/arm/libm-test-ulps: Update.
11848 * sysdeps/i386/fpu/e_exp_data.c: New file.
11849 * sysdeps/i386/fpu/math_err.c: New file.
11850 * sysdeps/i386/fpu/t_exp.c: Remove.
11851 * sysdeps/ia64/fpu/e_exp_data.c: New file.
11852 * sysdeps/ia64/fpu/math_err.c: New file.
11853 * sysdeps/ia64/fpu/t_exp.c: Remove.
11854 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
11855 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
11856 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
11857 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
11858 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
11859 * sysdeps/ieee754/dbl-64/math_config.h: New file.
11860 * sysdeps/ieee754/dbl-64/math_err.c: New file.
11861 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
11862 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
11863 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
11864 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
11865 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
11866 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
11867 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
11868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11869 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11870
11871 2018-09-05 Joseph Myers <joseph@codesourcery.com>
11872
11873 * sysdeps/alpha/fpu/math_private.h: Remove.
11874
11875 * sysdeps/generic/math_private.h
11876 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
11877 Move this inline function ....
11878 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
11879 * include/math.h [!_ISOMAC]: To here....
11880
11881 2018-09-04 Joseph Myers <joseph@codesourcery.com>
11882
11883 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
11884 code ....
11885 [!FE_HAVE_ROUNDING_MODES]: And this code ....
11886 * include/fenv.h [!_ISOMAC]: ... to here.
11887 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
11888 (feraiseexcept): Likewise.
11889 * math/fromfp.h: Do not include <fenv_private.h>.
11890 * math/s_cexp_template.c: Likewise.
11891 * math/s_csin_template.c: Likewise.
11892 * math/s_csinh_template.c: Likewise.
11893 * math/s_ctan_template.c: Likewise.
11894 * math/s_ctanh_template.c: Likewise.
11895 * math/s_iseqsig_template.c: Likewise.
11896 * math/w_acos_compat.c: Likewise.
11897 * math/w_acosf_compat.c: Likewise.
11898 * math/w_acosl_compat.c: Likewise.
11899 * math/w_asin_compat.c: Likewise.
11900 * math/w_asinf_compat.c: Likewise.
11901 * math/w_asinl_compat.c: Likewise.
11902 * math/w_j0_compat.c: Likewise.
11903 * math/w_j0f_compat.c: Likewise.
11904 * math/w_j0l_compat.c: Likewise.
11905 * math/w_j1_compat.c: Likewise.
11906 * math/w_j1f_compat.c: Likewise.
11907 * math/w_j1l_compat.c: Likewise.
11908 * math/w_jn_compat.c: Likewise.
11909 * math/w_jnf_compat.c: Likewise.
11910 * math/w_log10_compat.c: Likewise.
11911 * math/w_log10f_compat.c: Likewise.
11912 * math/w_log10l_compat.c: Likewise.
11913 * math/w_log2_compat.c: Likewise.
11914 * math/w_log2f_compat.c: Likewise.
11915 * math/w_log2l_compat.c: Likewise.
11916 * math/w_log_compat.c: Likewise.
11917 * math/w_logf_compat.c: Likewise.
11918 * math/w_logl_compat.c: Likewise.
11919 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11920 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11921 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11922 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11923 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11924 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11925 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11926 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11927 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11928 * sysdeps/ieee754/k_standardl.c: Likewise.
11929 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11930 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11931 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11932 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11933 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11934 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11935 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11936 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11937 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11938 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11939 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11940 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11941 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11942 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11943 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11944 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11945 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11946 * math/w_ilogb_template.c: Include <fenv.h> instead of
11947 <fenv_private.h>.
11948 * math/w_llogb_template.c: Likewise.
11949 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11950 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11951
11952 2018-09-03 Joseph Myers <joseph@codesourcery.com>
11953
11954 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
11955 * math/fromfp.h: Include <fenv_private.h>.
11956 * math/math-narrow.h: Likewise.
11957 * math/s_cexp_template.c: Likewise.
11958 * math/s_csin_template.c: Likewise.
11959 * math/s_csinh_template.c: Likewise.
11960 * math/s_ctan_template.c: Likewise.
11961 * math/s_ctanh_template.c: Likewise.
11962 * math/s_iseqsig_template.c: Likewise.
11963 * math/w_acos_compat.c: Likewise.
11964 * math/w_acosf_compat.c: Likewise.
11965 * math/w_acosl_compat.c: Likewise.
11966 * math/w_asin_compat.c: Likewise.
11967 * math/w_asinf_compat.c: Likewise.
11968 * math/w_asinl_compat.c: Likewise.
11969 * math/w_ilogb_template.c: Likewise.
11970 * math/w_j0_compat.c: Likewise.
11971 * math/w_j0f_compat.c: Likewise.
11972 * math/w_j0l_compat.c: Likewise.
11973 * math/w_j1_compat.c: Likewise.
11974 * math/w_j1f_compat.c: Likewise.
11975 * math/w_j1l_compat.c: Likewise.
11976 * math/w_jn_compat.c: Likewise.
11977 * math/w_jnf_compat.c: Likewise.
11978 * math/w_llogb_template.c: Likewise.
11979 * math/w_log10_compat.c: Likewise.
11980 * math/w_log10f_compat.c: Likewise.
11981 * math/w_log10l_compat.c: Likewise.
11982 * math/w_log2_compat.c: Likewise.
11983 * math/w_log2f_compat.c: Likewise.
11984 * math/w_log2l_compat.c: Likewise.
11985 * math/w_log_compat.c: Likewise.
11986 * math/w_logf_compat.c: Likewise.
11987 * math/w_logl_compat.c: Likewise.
11988 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
11989 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
11990 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
11991 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
11992 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11993 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11994 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11995 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11996 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11997 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11998 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11999 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12000 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
12001 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
12002 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12003 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12004 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12005 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12006 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12007 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12008 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12009 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12010 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12011 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12012 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12013 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12014 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12015 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
12016 * sysdeps/ieee754/float128/float128_private.h: Likewise.
12017 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12018 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12019 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12020 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12021 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12022 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12023 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12024 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12025 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12026 * sysdeps/ieee754/k_standardl.c: Likewise.
12027 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12028 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12029 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12030 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12031 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
12032 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12033 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12034 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12035 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12036 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12037 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12038 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12039 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12040 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12041 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12042 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12043 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12044 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
12045 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12046 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12047 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12048 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12049 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12050 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12051 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12052 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12053 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12054 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
12055 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
12056 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12057 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12058 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12059 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12060 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12061 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12062 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12063 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12064 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12065 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12066 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12067 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
12068 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12069 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
12070 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12071 * sysdeps/riscv/rvd/s_finite.c: Likewise.
12072 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
12073 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
12074 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
12075 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
12076 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
12077 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
12078 * sysdeps/riscv/rvf/fegetround.c: Likewise.
12079 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
12080 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
12081 * sysdeps/riscv/rvf/fesetround.c: Likewise.
12082 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
12083 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
12084 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
12085 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12086 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
12087 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12088 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
12089 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
12090 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
12091 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
12092 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
12093 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
12094 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
12095 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
12096 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12097 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12098
12099 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12100
12101 [BZ #20271]
12102 * include/stdio.h (__libc_fatal): Mention newline in comment.
12103 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
12104 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
12105 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12106 * nss/nsswitch.c (__nss_next2): Likewise.
12107 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
12108 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
12109 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
12110 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
12111 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
12112 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
12113 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
12114 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
12115 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
12116 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
12117 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
12118 * sysdeps/unix/sysv/linux/netlink_assert_response.c
12119 (__netlink_assert_response): Likewise.
12120
12121 2018-08-31 Joseph Myers <joseph@codesourcery.com>
12122
12123 * conform/glibcconform.py: New file.
12124 * conform/list-header-symbols.py: Likewise.
12125 * conform/list-header-symbols.pl: Remove.
12126 * conform/Makefile (tests-special): Only add linknamespace tests
12127 if [PYTHON].
12128 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
12129
12130 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
12131
12132 [BZ #23597]
12133 * support/Makefile (libsupport-routines): Add
12134 support_copy_file_range and xcopy_file_range.
12135 * support/support.h: Include <sys/types.h>.
12136 (support_copy_file_range): New prototype.
12137 * support/support_copy_file_range.c: New file. Copied and
12138 modified from io/copy_file_range-compat.c.
12139 * support/test-container.c (copy_one_file): Call xcopy_file_rang
12140 instead of copy_file_range.
12141 * support/xcopy_file_range.c: New file.
12142 * support/xunistd.h (xcopy_file_range): New prototype.
12143
12144 2018-08-30 Carlos O'Donell <carlos@redhat.com>
12145
12146 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
12147 xpthread_create and xpthread_join.
12148
12149 2018-08-30 Florian Weimer <fweimer@redhat.com>
12150
12151 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
12152
12153 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
12154
12155 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
12156 if malloc fails.
12157
12158 2018-08-29 Joseph Myers <joseph@codesourcery.com>
12159
12160 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
12161 and minus_oflow as non-finite.
12162
12163 2018-08-28 Joseph Myers <joseph@codesourcery.com>
12164
12165 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
12166 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
12167 moved to fenv_private.h except for ...
12168 (TOINT_INTRINSICS): Kept in math_private.h.
12169 (roundtoint): Likewise.
12170 (converttoint): Likewise.
12171 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
12172 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
12173 * sysdeps/arm/math_private.h: Remove.
12174 * sysdeps/generic/fenv_private.h: New file. Contents moved from
12175 ....
12176 * sysdeps/generic/math_private.h: ... this file. Include
12177 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
12178 Include <fenv_private.h>. Remove functions and macros moved to
12179 fenv_private.h.
12180 * sysdeps/i386/fpu/math_private.h: Remove.
12181 * sysdeps/mips/math_private.h: Move to ....
12182 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
12183 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
12184 [__mips_hard_float] conditional. Include next <fenv_private.h>.
12185 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
12186 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
12187 * sysdeps/powerpc/fpu/math_private.h: Do not include
12188 <fenv_private.h>.
12189 * sysdeps/riscv/rvf/math_private.h: Move to ....
12190 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
12191 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
12192 <fenv_private.h>.
12193 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
12194 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
12195 * sysdeps/sparc/fpu/math_private.h: Remove.
12196 * sysdeps/i386/fpu/fenv_private.h: Move to ....
12197 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
12198 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
12199 <fenv_private.h>.
12200 * sysdeps/x86_64/fpu/math_private.h: Do not include
12201 <sysdeps/i386/fpu/fenv_private.h>.
12202
12203 2018-08-28 Florian Weimer <fweimer@redhat.com>
12204
12205 [BZ #23578]
12206 * posix/tst-regcomp-truncated.c: New file.
12207 * posix/Makefile (tests): Add it.
12208 (tst-regcomp-truncated.out): Depend on generated locales.
12209
12210 2018-08-28 Florian Weimer <fweimer@redhat.com>
12211
12212 * support/test-container.c (main): Treat unshare failure with
12213 EPERM as an unsupported test.
12214
12215 2018-08-28 Florian Weimer <fweimer@redhat.com>
12216
12217 [BZ #23520]
12218 nscd: Fix use-after-free in addgetnetgrentX and its callers.
12219 * nscd/netgroupcache.c
12220 (addgetnetgrentX): Add tofreep parameter. Do not free
12221 heap-allocated buffer.
12222 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
12223 (addgetnetgrentX_ignore): New function.
12224 (addgetnetgrent): Call it.
12225 (readdgetnetgrent): Likewise.
12226
12227 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12228
12229 * string/memmem.c: Use memcmp for first match.
12230
12231 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
12232
12233 [BZ #17426]
12234 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
12235
12236 2018-08-27 DJ Delorie <dj@redhat.com>
12237
12238 * support/Makefile (others): Don't list programs explicitly as a
12239 dependency of "others".
12240
12241 2018-08-27 Joseph Myers <joseph@codesourcery.com>
12242
12243 * sysdeps/generic/math-tests-trap-force.h: New file.
12244 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
12245 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
12246 * sysdeps/powerpc/math-tests.h: Remove file.
12247 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
12248
12249 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
12250 Torvald Riegel <triegel@redhat.com>
12251
12252 [BZ #23538]
12253 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
12254 Update r to include the set wake-request flag if waiters are
12255 remaining after spinning.
12256
12257 2018-08-27 Joseph Myers <joseph@codesourcery.com>
12258
12259 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
12260
12261 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
12262
12263 [BZ #23578]
12264 regex: fix uninitialized memory access
12265 I introduced this bug into gnulib in commit
12266 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
12267 eventually it was merged into glibc. The bug was found by
12268 project-repo <bugs@feusi.co> and reported here:
12269 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
12270 Diagnosis and draft fix reported by Assaf Gordon here:
12271 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
12272 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
12273 * posix/regex_internal.c (build_wcs_upper_buffer):
12274 Fix bug when mbrtowc returns 0.
12275
12276 2018-08-24 Carlos O'Donell <carlos@redhat.com>
12277
12278 * po/be.po: Update translation.
12279
12280 2018-08-24 DJ Delorie <dj@delorie.com>
12281
12282 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
12283 $(libunwind).
12284
12285 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
12286
12287 [BZ #23400]
12288 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
12289 create temporary files in source tree.
12290
12291 2018-08-24 Joseph Myers <joseph@codesourcery.com>
12292
12293 * sysdeps/generic/math-tests-trap.h: New file.
12294 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
12295 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
12296 * sysdeps/aarch64/math-tests.h: Remove file.
12297 * sysdeps/arm/math-tests.h: Likewise.
12298 * sysdeps/riscv/math-tests.h: Likewise.
12299 * sysdeps/aarch64/math-tests-trap.h: New file.
12300 * sysdeps/arm/math-tests-trap.h: Likewise.
12301 * sysdeps/riscv/math-tests-trap.h: Likewise.
12302
12303 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
12304
12305 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
12306 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
12307 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
12308 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
12309 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
12310 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
12311 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12312 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
12313 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
12314 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12315 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12316 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12317 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12318 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
12319 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
12320 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
12321 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
12322 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
12323
12324 2018-08-23 Joseph Myers <joseph@codesourcery.com>
12325
12326 * sysdeps/generic/math-tests-exceptions.h: New file.
12327 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
12328 (EXCEPTION_TESTS_float): Do not define here.
12329 (EXCEPTION_TESTS_double): Likewise.
12330 (EXCEPTION_TESTS_long_double): Likewise.
12331 (EXCEPTION_TESTS_float128): Likewise.
12332 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
12333 Likewise.
12334 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
12335 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
12336 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
12337 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
12338 * sysdeps/mips/math-tests.h: Likewise.
12339 * sysdeps/nios2/math-tests.h: Likewise.
12340 * sysdeps/riscv/math-tests.h [!__riscv_flen]
12341 (EXCEPTION_TESTS_float): Do not define here.
12342 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
12343 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
12344 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
12345
12346 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
12347
12348 * NEWS: Move optimized sinf entry to 2.29.
12349
12350 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
12351
12352 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
12353
12354 2018-08-22 DJ Delorie <dj@redhat.com>
12355
12356 * Makefile (testroot.pristine): New rules to initialize the
12357 test-in-container "testroot".
12358 * Makerules (all-testsuite): Add tests-container.
12359 * Rules (tests-expected): Add tests-container.
12360 (binaries-all-tests): Likewise.
12361 (tests-container): New, run these tests in the testroot container.
12362 * support/Makefile (others): Add *-container, support_paths.c,
12363 xmkdirp, and links-dso-program.
12364 * support/links-dso-program-c.c: New.
12365 * support/links-dso-program.cc: New.
12366 * support/test-container.c: New.
12367 * support/shell-container.c: New.
12368 * support/echo-container.c: New.
12369 * support/true-container.c: New.
12370 * support/xmkdirp.c: New.
12371 * support/xsymlink.c: New.
12372 * support/support_paths.c: New.
12373 * support/support.h: Add support paths prototypes.
12374 * support/xunistd.h: Add xmkdirp () and xsymlink ().
12375
12376 * nss/tst-nss-test3.c: Convert to test-in-container.
12377 * nss/tst-nss-test3.root/: New.
12378
12379 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
12380
12381 regex: port Gnulib code to z/OS POSIX environment
12382 Problem reported by Arnold Robbins in:
12383 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
12384 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
12385 Undef.
12386
12387 2018-08-22 Joseph Myers <joseph@codesourcery.com>
12388
12389 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
12390 (ROUNDING_TESTS_double): Remove.
12391 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
12392 (ROUNDING_TESTS_double): Remove.
12393 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
12394 (ROUNDING_TESTS_double): Remove.
12395 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
12396 (ROUNDING_TESTS_float): Remove.
12397 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
12398 (ROUNDING_TESTS_float): Remove.
12399 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
12400 (ROUNDING_TESTS_float): Remove.
12401 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
12402 !TEST_MATHVEC here.
12403 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12404 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12405
12406 * sysdeps/generic/math-tests-rounding.h: New file.
12407 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
12408 (ROUNDING_TESTS_float): Do not define here.
12409 (ROUNDING_TESTS_double): Likewise.
12410 (ROUNDING_TESTS_long_double): Likewise.
12411 (ROUNDING_TESTS_float128): Likewise.
12412 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
12413 (ROUNDING_TESTS_double): Undefine before defining.
12414 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
12415 (ROUNDING_TESTS_double): Undefine before defining.
12416 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
12417 (ROUNDING_TESTS_double): Undefine before defining.
12418 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
12419 (ROUNDING_TESTS_float): Undefine before defining.
12420 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
12421 (ROUNDING_TESTS_float): Undefine before defining.
12422 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
12423 (ROUNDING_TESTS_float): Undefine before defining.
12424 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
12425 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
12426 not define here.
12427 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
12428 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
12429 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
12430 * sysdeps/riscv/math-tests.h [!__riscv_flen]
12431 (ROUNDING_TESTS_float): Do not define here.
12432 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
12433 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
12434 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
12435 (ROUNDING_TESTS_float): Likewise.
12436 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
12437 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
12438 * sysdeps/mips/math-tests.h [__mips_soft_float]
12439 (ROUNDING_TESTS_float): Likewise.
12440 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
12441 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
12442 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
12443 (ROUNDING_TESTS_double): Likewise.
12444 (ROUNDING_TESTS_long_double): Likewise.
12445
12446 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
12447
12448 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
12449 (PF_XDP): New macro.
12450 (AF_XDP): New macro.
12451 (SOL_XDP): New macro.
12452
12453 2018-08-21 Joseph Myers <joseph@codesourcery.com>
12454
12455 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
12456 (TCP_INQ): Likewise.
12457 (TCP_CM_INQ): Likewise.
12458 (TCP_REPAIR_ON): Likewise.
12459 (TCP_REPAIR_OFF): Likewise.
12460 (TCP_REPAIR_OFF_NO_WP): Likewise.
12461 (struct tcp_zerocopy_receive): New type.
12462
12463 2018-08-21 Florian Weimer <fweimer@redhat.com>
12464
12465 * support/support.h (support_descriptor_supports_holes): Declare.
12466 * support/Makefile (libsupport-routines): Add
12467 support_descriptor_supports_holes.
12468 * support/support_descriptor_supports_holes.c: New file.
12469 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
12470 and stop testing if holes are not supported.
12471 * io/test-lfs.c (do_prepare): Likewise.
12472 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
12473 Likewise.
12474 * timezone/tst-tzset.c (create_tz_file): Likewise.
12475 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
12476 variable.
12477 (do_prepare): Set it.
12478 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
12479
12480 2018-08-21 Florian Weimer <fweimer@redhat.com>
12481
12482 [BZ #17248]
12483 * Makeconfig (+cflags): Do not sort (and deduplicate).
12484
12485 2018-08-21 Florian Weimer <fweimer@redhat.com>
12486
12487 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
12488 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
12489
12490 2018-08-20 Florian Weimer <fweimer@redhat.com>
12491
12492 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
12493 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
12494
12495 2018-08-20 Joseph Myers <joseph@codesourcery.com>
12496
12497 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
12498 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
12499 and ssi_arch members.
12500
12501 * elf/elf.c (NT_VMCOREDD): New macro.
12502 (AT_MINSIGSTKSZ): Likewise.
12503
12504 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12505
12506 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
12507 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
12508 s_cosf-ppc64 and s_cosf-power8.
12509 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
12510 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
12511 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12512 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
12513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
12514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
12515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
12516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
12517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
12518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
12519 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
12520 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
12521
12522 2018-08-17 Florian Weimer <fweimer@redhat.com>
12523
12524 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12525
12526 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
12527
12528 * malloc/malloc.c (_int_malloc): Additional binning code checks.
12529
12530 2018-08-16 Florian Weimer <fweimer@redhat.com>
12531
12532 * configure.ac: Add --with-nonshared-cflags option.
12533 * config.make.in (extra-nonshared-cflags): Set variable.
12534 * Makeconfig (CFLAGS-.oS): Use it.
12535 * manual/install.texi (Configuring and compiling): Document
12536 --with-nonshared-cflags.
12537 * configure: Regenerate.
12538 * INSTALL: Likewise.
12539
12540 2018-08-16 Florian Weimer <fweimer@redhat.com>
12541
12542 * Makeconfig (ASFLAGS): Always append required assembler flags.
12543
12544 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
12545
12546 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
12547 (malloc_consolidate): Likewise.
12548
12549 2018-08-16 Pochang Chen <johnchen902@gmail.com>
12550
12551 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
12552
12553 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
12554
12555 * benchtests/bench-strlen.c (do_test): Allocate buffers before
12556 every strlen call.
12557
12558 * benchtests/bench-strlen.c: Print performance numbers in json.
12559
12560 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12561
12562 * sysdeps/powerpc/powerpc64/multiarch/Makefile
12563 (sysdep_routines): Build strcmp-power9 and strncmp-power9
12564 only for little endian.
12565 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12566 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
12567 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
12568 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
12569 Add check for little endian.
12570 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
12571 (__strcmp_power9): Add check for little endian.
12572 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
12573 Add check for little endian.
12574 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
12575 (__strncmp_power9): Add check for little endian.
12576 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
12577 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
12578 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
12579 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
12580 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
12581
12582 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
12583
12584 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
12585 [!STRLEN](STRLEN): Set to __strlen.
12586 * sysdeps/aarch64/multiarch/strlen.c: New file.
12587 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
12588 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
12589 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
12590 (__libc_ifunc_impl_list): Add strlen.
12591 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
12592 strlen_generic and strlen_asimd.
12593
12594 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
12595
12596 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
12597 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
12598 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
12599
12600 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
12601
12602 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
12603
12604 2018-08-14 Florian Weimer <fweimer@redhat.com>
12605
12606 [BZ #23519]
12607 * include/stdio.h (__vfxprintf): Declare.
12608 * stdio-common/fxprintf.c (__vfxprintf): New function.
12609 (__fxprintf): Call it.
12610 * misc/err.c (convert_and_print): Remove function.
12611 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
12612 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
12613 * misc/Makefile (tests): Add tst-warn-wide.
12614 * misc/tst-warn-wide.c: New file.
12615
12616 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
12617 Szabolcs Nagy <szabolcs.nagy@arm.com>
12618
12619 * NEWS: Mention sinf, cosf, sincosf.
12620 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
12621 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
12622 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
12623 constants rather than including generic sincosf.h.
12624 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
12625 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
12626 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
12627 (reduced_cos): Remove.
12628 (sinf_poly): New function.
12629 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
12630
12631 2018-08-14 Florian Weimer <fweimer@redhat.com>
12632
12633 [BZ #23521]
12634 [BZ #23522]
12635 * nss/nss_files/files-alias.c (get_next_alias): During :include:
12636 processing, bail out if no room, and close the stream before
12637 returning ERANGE.
12638 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
12639 (tst-nss-files-alias-leak): Link with libdl.
12640 (tst-nss-files-alias-leak.out): Depend on nss_files.
12641
12642 * nss/tst-nss-files-alias-leak.c: New file.
12643
12644 2018-08-14 Florian Weimer <fweimer@redhat.com>
12645
12646 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
12647 server_user, stat_user.
12648
12649 2018-08-13 Joseph Myers <joseph@codesourcery.com>
12650
12651 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12652 version to 4.18.
12653 (io_pgetevents): New syscall.
12654 (rseq): Likewise.
12655
12656 * manual/install.texi (Configuring and compiling): Do not list
12657 tools used for testing pretty printers here.
12658 (Tools for Compilation): List Python, PExpect and GDB here.
12659 Update descriptions of uses of Perl and Python.
12660 * INSTALL: Regenerate.
12661
12662 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12663 version to 4.18.
12664
12665 2018-08-13 Florian Weimer <fweimer@redhat.com>
12666
12667 * misc/error.c (error): Add missing va_end call.
12668 (error_at_line): Likewise.
12669
12670 2018-08-13 Florian Weimer <fweimer@redhat.com>
12671
12672 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
12673
12674 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
12675
12676 * benchtests/scripts/benchout.schema.json (properties): Add
12677 new properties.
12678
12679 * benchtests/bench-skeleton.c (main): Add duration and
12680 iterations attributes.
12681
12682 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
12683
12684 regex: Gnulib unibyte RRI uses bytes not chars
12685 Adjust the non-glibc code to agree with what Gawk needs for
12686 rational range interpretation (RRI) for regular expression ranges.
12687 In unibyte locales, Gawk wants ranges to use the underlying byte
12688 rather than the character code point. This change does not affect
12689 glibc proper.
12690 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
12691 In unibyte locales, use the byte value rather than
12692 running it through btowc.
12693
12694 2018-08-10 Joseph Myers <joseph@codesourcery.com>
12695
12696 * sysdeps/generic/math-tests-snan.h: New file.
12697 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
12698 (SNAN_TESTS_float): Do not define here.
12699 (SNAN_TESTS_double): Likewise.
12700 (SNAN_TESTS_long_double): Likewise.
12701 (SNAN_TESTS_float128): Likewise.
12702 * sysdeps/i386/fpu/math-tests-snan.h: New file.
12703 * sysdeps/i386/fpu/math-tests.h: Remove file.
12704 * sysdeps/ia64/math-tests-snan.h: New file.
12705 * sysdeps/ia64/math-tests.h: Remove file.
12706 * sysdeps/x86/math-tests.h: Likewise.
12707 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
12708
12709 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
12710 Szabolcs Nagy <szabolcs.nagy@arm.com>
12711
12712 * math/Makefile: Add s_sincosf_data.c.
12713 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
12714 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
12715 (sincosf_poly): Likewise.
12716 (reduce_small): Likewise.
12717 (reduce_large): Likewise.
12718 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
12719 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
12720 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
12721 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
12722
12723 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
12724 Szabolcs Nagy <szabolcs.nagy@arm.com>
12725
12726 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
12727 (converttoint): Use lround.
12728 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
12729 document the semantics when TOINT_INTRINSICS is set.
12730 (converttoint): Likewise.
12731 (TOINT_RINT): Remove.
12732 (TOINT_SHIFT): Remove.
12733 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
12734 path.
12735
12736 2018-08-10 Florian Weimer <fweimer@redhat.com>
12737
12738 [BZ #23497]
12739 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
12740 function.
12741 (__old_getdents64): Use getdents64. Convert entries without
12742 moving them.
12743 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
12744 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
12745 tst-readdir64-compat.
12746
12747 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12748
12749 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
12750 Fix unwind.
12751
12752 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12753
12754 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
12755 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
12756 code to s390x-mcount.h and #include it.
12757 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
12758 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
12759 (__fentry__): Add.
12760
12761 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12762
12763 * stdlib/Versions: Remove __fentry__.
12764 * sysdeps/i386/Versions: Add __fentry__.
12765 * sysdeps/x86_64/Versions: Add __fentry__.
12766
12767 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12768
12769 * sysdeps/s390/Makefile: Register the new tests.
12770 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
12771 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
12772 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
12773 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
12774 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
12775 * sysdeps/s390/tst-dl-runtime.c: New file.
12776
12777 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12778
12779 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
12780 Do not clobber R0.
12781
12782 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12783
12784 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
12785 Do not clobber R0.
12786
12787 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12788
12789 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
12790 Do not clobber R0.
12791
12792 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12793
12794 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
12795 Do not clobber R0.
12796
12797 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12798
12799 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
12800 Use symbolic offsets for stack variables.
12801
12802 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12803
12804 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
12805 Use symbolic offsets for stack variables.
12806
12807 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12808
12809 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
12810 Use symbolic offsets for stack variables.
12811
12812 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
12813
12814 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
12815 Use symbolic offsets for stack variables.
12816
12817 2018-08-09 Joseph Myers <joseph@codesourcery.com>
12818
12819 * math/gen-libm-test.py: New file.
12820 * math/gen-libm-test.pl: Remove.
12821 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
12822 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
12823 gen-libm-test.pl.
12824 ($(libm-test-c-noauto-obj)): Likewise.
12825 ($(libm-test-c-auto-obj)): Likewise.
12826 ($(libm-test-c-narrow-obj)): Likewise.
12827 (regen-ulps): Likewise.
12828 * math/README.libm-test: Update references to gen-libm-test.pl.
12829 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
12830 referencing gen-libm-test.pl.
12831 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
12832 * math/libm-test-support.c: Likewise.
12833 * math/libm-test-support.h: Likewise.
12834 * sysdeps/generic/libm-test-ulps: Likewise.
12835
12836 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
12837
12838 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
12839 Fix value.
12840
12841 2018-08-08 Joseph Myers <joseph@codesourcery.com>
12842
12843 * math/libm-test-nextdown.inc (do_test): Move comment to ....
12844 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
12845
12846 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
12847
12848 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
12849 symbols.
12850 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
12851 __pthread_setspecific): Add hidden proto.
12852 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
12853 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
12854
12855 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
12856
12857 * benchtests/bench-string.h (buf1_size, buf2_size): New
12858 variables.
12859 (init_sizes): New function.
12860 (test_init): Use it.
12861 (alloc_buf, exit_error): New functions.
12862 (alloc_bufs): Use ALLOC_BUF.
12863 (realloc_bufs): Remove.
12864 * benchtests/bench-memcmp.c (do_test): Adjust.
12865 * benchtests/bench-memset-large.c (do_test): Likewise.
12866 * benchtests/bench-memset-walk.c (do_test): Likewise.
12867 * benchtests/bench-memset.c (do_test): Likewise.
12868 * benchtests/bench-strncmp.c (do_test): Likewise.
12869
12870 2018-08-06 Andreas Schwab <schwab@suse.de>
12871
12872 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
12873 of CONST_THREAD_AREA.
12874
12875 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
12876
12877 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
12878 (STATE_SAVE_MASK): Likewise.
12879 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
12880 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
12881 (STATE_SAVE_MASK): Likewise.
12882 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
12883 instead of <cpu-features.h>.
12884
12885 2018-08-03 DJ Delorie <dj@redhat.com>
12886
12887 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
12888 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
12889
12890 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
12891
12892 2018-08-03 Joseph Myers <joseph@codesourcery.com>
12893
12894 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
12895 after TEST_* calls.
12896 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
12897 * math/libm-test-logb.inc (logb_test_data): Likewise.
12898
12899 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
12900
12901 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
12902 * string/strstr.c (AVAILABLE): Likewise.
12903
12904 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
12905
12906 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
12907 <init-arch.h>.
12908 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
12909 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
12910 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
12911
12912 2018-08-03 Carlos O'Donell <carlos@redhat.com>
12913
12914 * po/be.po: Update translation.
12915
12916 * po/be.po: Update translation.
12917
12918 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
12919
12920 * sysdeps/x86/cpu-features-offsets.sym
12921 (rtld_global_ro_offsetof): Removed.
12922 (CPU_FEATURES_SIZE): Likewise.
12923 (CPUID_OFFSET): Likewise.
12924 (CPUID_SIZE): Likewise.
12925 (CPUID_EAX_OFFSET): Likewise.
12926 (CPUID_EBX_OFFSET): Likewise.
12927 (CPUID_ECX_OFFSET): Likewise.
12928 (CPUID_EDX_OFFSET): Likewise.
12929 (FAMILY_OFFSET): Likewise.
12930 (MODEL_OFFSET): Likewise.
12931 (FEATURE_OFFSET): Likewise.
12932 (FEATURE_SIZ): Likewise.
12933 (COMMON_CPUID_INDEX_1): Likewise.
12934 (COMMON_CPUID_INDEX_7): Likewise.
12935 (FEATURE_INDEX_1): Likewise.
12936 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
12937
12938 2018-08-02 Carlos O'Donell <carlos@redhat.com>
12939
12940 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
12941 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
12942 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
12943 (install-locales): Depend on install-locale-archive.
12944 (install-locale-archive): Define.
12945 (install-locale-files): Define.
12946 (build-one-locale): Define macro.
12947 * manual/install.texi (Running make install): Document.
12948 * manual/INSTALL: Regenerate.
12949
12950 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
12951
12952 * benchtests/scripts/compare_strings.py: Import traceback.
12953 (parse_file): Pretty-print error.
12954
12955 * NEWS: Mention the change.
12956 * elf/dl-tunables.list: Rename tune namespace to cpu.
12957 * sysdeps/powerpc/dl-tunables.list: Likewise.
12958 * sysdeps/x86/dl-tunables.list: Likewise.
12959 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
12960 cpu.name.
12961 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
12962 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
12963 * manual/README.tunables: Likewise.
12964 * manual/tunables.texi: Likewise.
12965 * sysdeps/powerpc/cpu-features.c: Likewise.
12966 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
12967 (init_cpu_features): Likewise.
12968 * sysdeps/x86/cpu-features.c: Likewise.
12969 * sysdeps/x86/cpu-features.h: Likewise.
12970 * sysdeps/x86/cpu-tunables.c: Likewise.
12971 * sysdeps/x86_64/Makefile: Likewise.
12972 * sysdeps/x86/dl-cet.c: Likewise.
12973
12974 2018-08-02 Joseph Myers <joseph@codesourcery.com>
12975
12976 [BZ #23479]
12977 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
12978 [__mips_hard_float].
12979 (FE_UNDERFLOW): Likewise.
12980 (FE_OVERFLOW): Likewise.
12981 (FE_DIVBYZERO): Likewise.
12982 (FE_INVALID): Likewise.
12983 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
12984 (FE_TOWARDZERO): Define only if [__mips_hard_float].
12985 (FE_UPWARD): Likewise.
12986 (FE_DOWNWARD): Likewise.
12987 (__FE_UNDEFINED): Define if [!__mips_hard_float]
12988 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
12989 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
12990 [__mips_hard_float].
12991 (FP_ROUNDMODE): Likewise.
12992 (FP_RND_NEAREST): Likewise.
12993 (FP_RND_ZERO): Likewise.
12994 (FP_RND_PINF): Likewise.
12995 (FP_RND_MINF): Likewise.
12996 (FP_EX_INVALID): Likewise.
12997 (FP_EX_OVERFLOW): Likewise.
12998 (FP_EX_UNDERFLOW): Likewise.
12999 (FP_EX_DIVZERO): Likewise.
13000 (FP_EX_INEXACT): Likewise.
13001 (FP_INIT_ROUNDMODE): Likewise.
13002 * sysdeps/mips/nofpu/fesetenv.c: New file.
13003 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
13004
13005 2018-08-01 Joseph Myers <joseph@codesourcery.com>
13006
13007 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
13008 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
13009 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
13010 conditional on [FE_UPWARD].
13011
13012 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
13013
13014 regex: fix memory leak in Gnulib
13015 Problem and fix reported by Assaf Gordon in:
13016 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
13017 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
13018 range_ends members too, as they are defined in 'struct
13019 re_charset_t' even if not _LIBC. This affects only Gnulib.
13020
13021 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
13022
13023 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
13024 ...
13025 (get_common_indices): This.
13026 (init_cpu_features): Updated.
13027
13028 2018-08-01 Joseph Myers <joseph@codesourcery.com>
13029
13030 * sysdeps/generic/math-tests-snan-payload.h: New file.
13031 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
13032 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
13033 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
13034 * sysdeps/generic/math-tests.h: Include
13035 <math-tests-snan-payload.h>.
13036 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
13037 * sysdeps/hppa/math-tests.h: Remove file.
13038 * sysdeps/mips/math-tests.h [!__mips_nan2008]
13039 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
13040 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
13041 Likewise.
13042
13043 * sysdeps/generic/math-tests-snan-cast.h: New file.
13044 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
13045 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
13046 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
13047 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
13048
13049 2018-08-01 Carlos O'Donel <carlos@redhat.com>
13050
13051 * version.h (RELEASE): Set to "development".
13052 (VERSION): Set to "2.28.9000".
13053 * NEWS (2.29): New section.
13054
13055 * version.h (RELEASE): Set to "stable".
13056 (VERSION): Set to "2.28".
13057 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
13058 * NEWS: Add the list of bugs fixed in 2.28.
13059
13060 * po/ca.po: Update to latest version.
13061 * po/cs.po: Likewise
13062 * po/da.po: Likewise
13063 * po/el.po: Likewise
13064 * po/eo.po: Likewise
13065 * po/es.po: Likewise
13066 * po/fi.po: Likewise
13067 * po/fr.po: Likewise
13068 * po/gl.po: Likewise
13069 * po/hu.po: Likewise
13070 * po/ia.po: Likewise
13071 * po/id.po: Likewise
13072 * po/it.po: Likewise
13073 * po/ja.po: Likewise
13074 * po/ko.po: Likewise
13075 * po/lt.po: Likewise
13076 * po/nb.po: Likewise
13077 * po/nl.po: Likewise
13078 * po/pt_BR.po: Likewise
13079 * po/ru.po: Likewise
13080 * po/rw.po: Likewise
13081 * po/sk.po: Likewise
13082 * po/sl.po: Likewise
13083 * po/tr.po: Likewise
13084 * po/zh_CN.po: Likewise
13085 * po/zh_TW.po: Likewise
13086
13087 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13088
13089 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
13090 initialization...
13091 (init): ... before initializing libpthread.
13092
13093 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
13094 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
13095 (__mach_setup_tls): ... new function.
13096 (mach_setup_tls): New alias.
13097 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
13098 __mach_setup_thread.
13099 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
13100 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
13101 * mach/Versions [libc] (mach_setup_tls): Add symbol.
13102 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
13103
13104 2018-07-31 Carlos O'Donell <carlos@redhat.com>
13105
13106 * manual/install.texi: Update versions.
13107 * INSTALL: Regenerate.
13108
13109 * manual/contrib.texi (Contributors): Update contributions.
13110
13111 2018-07-31 Carlos O'Donell <carlos@redhat.com>
13112
13113 * po/be.po: Update translations.
13114
13115 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13116
13117 * sysdeps/sh/libm-test-ulps: Update.
13118
13119 2018-07-30 Carlos O'Donell <carlos@redhat.com>
13120
13121 * po/bg.po: Update translations.
13122 * po/de.po: Likewise.
13123 * po/hr.po: Likewise.
13124 * po/pt_BR.po: Likewise.
13125 * po/sv.po: Likewise.
13126 * po/vi.po: Likewise.
13127
13128 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
13129
13130 [BZ #23467]
13131 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
13132 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
13133 (CFLAGS-tst-cet-property-1.o): New.
13134 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
13135 ($(objpfx)tst-cet-property-2): Likewise.
13136 ($(objpfx)tst-cet-property-2.out): Likewise.
13137 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
13138 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
13139 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
13140 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
13141 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
13142
13143 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
13144
13145 [BZ #23458]
13146 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
13147
13148 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
13149
13150 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
13151 __sbrk): Do not set attribute_hidden.
13152 * sysdeps/mach/hurd/not-errno.h: New file.
13153 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
13154 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
13155
13156 2018-07-27 Carlos O'Donell <carlos@redhat.com>
13157
13158 * po/uk.po: Update translations.
13159 * po/cs.po: Likewise.
13160 * po/pl.po: Likewise.
13161
13162 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
13163
13164 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
13165 parse beyond the note end.
13166
13167 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13168
13169 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
13170 kernel does not support OFD locks.
13171 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
13172
13173 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13174
13175 * sysdeps/mach/hurd/Versions (libc): Make __access and
13176 __access_noerrno external so they can override the ld symbols.
13177 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
13178 __writev, __open64, __access_noerrno extern so they can be overrided.
13179 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
13180 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
13181
13182 2018-07-26 Carlos O'Donell <carlos@redhat.com>
13183
13184 * po/libc.pot: Regenerate.
13185
13186 2018-07-26 Joseph Myers <joseph@codesourcery.com>
13187
13188 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
13189
13190 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
13191
13192 [BZ #23459]
13193 * sysdeps/x86/cpu-features.c (get_extended_indices): New
13194 function.
13195 (init_cpu_features): Call get_extended_indices for both Intel
13196 and AMD CPUs.
13197 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
13198 Remove "for AMD" comment.
13199
13200 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
13201
13202 [BZ # 23456]
13203 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
13204 COMMON_CPUID_INDEX_80000001.
13205
13206 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
13207
13208 * string/tst-xbzero-opt.c (use_test_buffer): New function.
13209 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
13210
13211 2018-07-26 Florian Weimer <fweimer@redhat.com>
13212
13213 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
13214 aliases for symbols not in the implementation namespace.
13215
13216 2018-07-25 Carlos O'Donell <carlos@redhat.com>
13217
13218 [BZ #23393]
13219 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
13220 lowercase in LATIN script.
13221 * localedata/Makefile (test-input): Add en_US.UTF-8.
13222 * localedata/en_US.UTF-8.in: New file.
13223 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
13224 and restore old tests.
13225 * posix/tst-regexloc.c (do_test): Add back range expression test.
13226
13227 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13228
13229 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
13230
13231 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13232
13233 * nptl/threads.h: Move to ...
13234 * sysdeps/nptl/threads.h: ... here.
13235 * sysdeps/hurd/stdc-predef.h: New file.
13236
13237 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13238
13239 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
13240 tst-cet-setcontext-1 if CET is enabled.
13241 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
13242 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
13243
13244 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13245
13246 * include/threads.h: Move to ...
13247 * sysdeps/nptl/threads.h: ... here.
13248 * sysdeps/htl/threads.h: New file.
13249 * conform/Makefile (linknamespace-libs-ISO11): Use
13250 static-thread-library instead of linking libpthread.
13251 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
13252
13253 2018-07-25 Florian Weimer <fweimer@redhat.com>
13254
13255 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
13256 nanoseconds into seconds.
13257 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
13258 (do_test): Likewise.
13259 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
13260 (do_test): Likewise. Avoid nanosecond overflow and spurious
13261 timeouts due to system load.
13262 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
13263 (child_wait): Increment it.
13264 (do_test): Wait as long as necessary until all expected threads
13265 have arrived.
13266
13267 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
13268 H.J. Lu <hongjiu.lu@intel.com>
13269
13270 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
13271 __ssp.
13272 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
13273 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
13274 (__push___start_context): New.
13275 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
13276 <asm/prctl.h>.
13277 (__getcontext): Record the current shadow stack base. Save the
13278 caller's shadow stack pointer and base.
13279 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
13280 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
13281 (__push___start_context): New prototype.
13282 (__makecontext): Call __push___start_context to allocate a new
13283 shadow stack, push __start_context onto the new stack as well
13284 as the new shadow stack.
13285 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
13286 <asm/prctl.h>.
13287 (__setcontext): Restore the target shadow stack.
13288 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
13289 <asm/prctl.h>.
13290 (__swapcontext): Record the current shadow stack base. Save
13291 the caller's shadow stack pointer and base. Restore the target
13292 shadow stack.
13293 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
13294 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
13295 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
13296
13297 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13298
13299 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
13300 tst-setcontext8 and tst-setcontext9.
13301 * stdlib/tst-setcontext6.c: New file.
13302 * stdlib/tst-setcontext7.c: Likewise.
13303 * stdlib/tst-setcontext8.c: Likewise.
13304 * stdlib/tst-setcontext9.c: Likewise.
13305
13306 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13307
13308 * stdlib/Makefile ((tests): Add tst-setcontext5.
13309 * stdlib/tst-setcontext5.c: New file.
13310
13311 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13312
13313 * stdlib/Makefile (tests): Add tst-setcontext4.
13314 * stdlib/tst-setcontext4.c: New file.
13315
13316 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13317
13318 * stdlib/Makefile (tests): Add tst-swapcontext1.
13319 * stdlib/tst-swapcontext1.c: New test.
13320
13321 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13322
13323 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
13324 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
13325 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
13326 and tst-cet-legacy-4c.
13327 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
13328 and tst-cet-legacy-mod-4.
13329 (CFLAGS-tst-cet-legacy-2.c): New.
13330 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
13331 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
13332 (CFLAGS-tst-cet-legacy-3.c): Likewise.
13333 (CFLAGS-tst-cet-legacy-4.c): Likewise.
13334 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
13335 ($(objpfx)tst-cet-legacy-1): Likewise.
13336 ($(objpfx)tst-cet-legacy-2): Likewise.
13337 ($(objpfx)tst-cet-legacy-2.out): Likewise.
13338 ($(objpfx)tst-cet-legacy-2a): Likewise.
13339 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
13340 ($(objpfx)tst-cet-legacy-4): Likewise.
13341 ($(objpfx)tst-cet-legacy-4.out): Likewise.
13342 ($(objpfx)tst-cet-legacy-4a): Likewise.
13343 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
13344 (tst-cet-legacy-4a-ENV): Likewise.
13345 ($(objpfx)tst-cet-legacy-4b): Likewise.
13346 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
13347 (tst-cet-legacy-4b-ENV): Likewise.
13348 ($(objpfx)tst-cet-legacy-4c): Likewise.
13349 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
13350 (tst-cet-legacy-4c-ENV): Likewise.
13351 * sysdeps/x86/tst-cet-legacy-1.c: New file.
13352 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
13353 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
13354 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
13355 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
13356 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
13357 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
13358 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
13359 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
13360 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
13361 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
13362
13363 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13364
13365 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
13366 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
13367 with ssp_base.
13368 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
13369 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
13370 with ssp_base.
13371
13372 2018-07-25 Andreas Schwab <schwab@suse.de>
13373
13374 [BZ #23442]
13375 * locale/weightwc.h (findidx): Handle the case where usrc is a
13376 prefix of cp but one character too short.
13377
13378 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13379
13380 * NEWS: Add ISO C threads addition.
13381
13382 2018-07-24 Florian Weimer <fweimer@redhat.com>
13383
13384 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13385 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
13386 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
13387 4.13.
13388
13389 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
13390
13391 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
13392 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
13393 <sys/prctl.h> and <asm/prctl.h>.
13394 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
13395 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
13396 and <asm/prctl.h>.
13397 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
13398 ARCH_CET_LEGACY_BITMAP.
13399 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
13400 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
13401 * sysdeps/x86/libc-start.c: Include <startup.h>.
13402
13403 2018-07-24 Florian Weimer <fweimer@redhat.com>
13404
13405 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
13406 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
13407
13408 2018-07-24 Rical Jasan <rj@2c3t.io>
13409 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13410 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
13411
13412 [BZ #14092]
13413 * manual/debug.texi: Update adjacent chapter name.
13414 * manual/probes.texi: Likewise.
13415 * manual/threads.texi (ISO C Threads): New section.
13416 (POSIX Threads): Convert to a section.
13417
13418 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13419 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
13420
13421 [BZ# 14092]
13422 * nptl/Makefile (tests): Add new test files.
13423 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
13424 * nptl/tst-cnd-basic.c: Likewise.
13425 * nptl/tst-cnd-broadcast.c: Likewise.
13426 * nptl/tst-cnd-timedwait.c: Likewise.
13427 * nptl/tst-mtx-basic.c: Likewise.
13428 * nptl/tst-mtx-recursive.c: Likewise.
13429 * nptl/tst-mtx-timedlock.c: Likewise.
13430 * nptl/tst-mtx-trylock.c: Likewise.
13431 * nptl/tst-thrd-basic.c: Likewise.
13432 * nptl/tst-thrd-detach.c: Likewise.
13433 * nptl/tst-thrd-sleep.c: Likewise.
13434 * nptl/tst-tss-basic.c: Likewise.
13435
13436 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13437
13438 [BZ #14092]
13439 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
13440 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
13441 symbols.
13442 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13443 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13444 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13445 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13446 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13447 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13448 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13449 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13450 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13451 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13452 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13453 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13455 Likewise.
13456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13457 Likewise.
13458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
13459 Likewise.
13460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13461 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13462 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13463 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13464 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13465 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13466 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13467 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13468 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13469 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
13470 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
13471 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
13472 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
13473 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
13474 Likewise.
13475 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
13476 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
13477 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
13478 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
13479 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
13480 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
13481 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
13482 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
13483 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
13484 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
13485 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
13486 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
13487 ikewise.
13488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
13489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13490 Likewise.
13491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13492 Likewise.
13493 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
13494 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
13495 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
13496 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
13497 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
13498 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
13499 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
13500 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
13501
13502 [BZ #14092]
13503 * conform/data/threads.h-data (thread_local): New macro.
13504 (TSS_DTOR_ITERATIONS): Likewise.
13505 (tss_t): New type.
13506 (tss_dtor_t): Likewise.
13507 (tss_create): New function.
13508 (tss_get): Likewise.
13509 (tss_set): Likewise.
13510 (tss_delete): Likewise.
13511 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
13512 tss_get, and tss_set objects.
13513 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
13514 * nptl/tss_create.c: New file.
13515 * nptl/tss_delete.c: Likewise.
13516 * nptl/tss_get.c: Likewise.
13517 * nptl/tss_set.c: Likewise.
13518 * sysdeps/nptl/threads.h (thread_local): New define.
13519 (TSS_DTOR_ITERATIONS): Likewise.
13520 (tss_t): New typedef.
13521 (tss_dtor_t): Likewise.
13522 (tss_create): New prototype.
13523 (tss_get): Likewise.
13524 (tss_set): Likewise.
13525 (tss_delete): Likewise.
13526
13527 [BZ #14092]
13528 * conform/data/threads.h-data (cnd_t): New type.
13529 (cnd_init): New function.
13530 (cnd_signal): Likewise.
13531 (cnd_broadcast): Likewise.
13532 (cnd_wait): Likewise.
13533 (cnd_timedwait): Likewise.
13534 (cnd_destroy): Likewise.
13535 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
13536 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
13537 object.
13538 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
13539 * nptl/cnd_broadcast.c: New file.
13540 * nptl/cnd_destroy.c: Likewise.
13541 * nptl/cnd_init.c: Likewise.
13542 * nptl/cnd_signal.c: Likewise.
13543 * nptl/cnd_timedwait.c: Likewise.
13544 * nptl/cnd_wait.c: Likewise.
13545 * sysdeps/nptl/threads.h (cnd_t): New type.
13546 (cnd_init): New prototype.
13547 (cnd_signa): Likewise.
13548 (cnd_broadcast): Likewise.
13549 (cnd_wait): Likewise.
13550 (cnd_timedwait): Likewise.
13551 (cnd_destroy): Likewise.
13552
13553 [BZ #14092]
13554 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
13555 (once_flag): New type.
13556 (call_once): New function.
13557 * nptl/Makefile (libpthread-routines): Add call_once object.
13558 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
13559 * nptl/call_once.c: New file.
13560 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
13561 (once_flag): New type.
13562 (call_once): New prototype.
13563
13564 [BZ #14092]
13565 * conform/data/threads.h-data (mtx_plain): New constant.
13566 (mtx_recursive): Likewise.
13567 (mtx_timed): Likewise.
13568 (mtx_t): New type.
13569 (mtx_init): New function.
13570 (mtx_lock): Likewise.
13571 (mtx_timedlock): Likewise.
13572 (mtx_trylock): Likewise.
13573 (mtx_unlock): Likewise.
13574 (mtx_destroy): Likewise.
13575 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
13576 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
13577 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
13578 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
13579 * nptl/mtx_destroy.c: New file.
13580 * nptl/mtx_init.c: Likewise.
13581 * nptl/mtx_lock.c: Likewise.
13582 * nptl/mtx_timedlock.c: Likewise.
13583 * nptl/mtx_trylock.c: Likewise.
13584 * nptl/mtx_unlock.c: Likewise.
13585 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
13586 (mtx_recursive): Likewise.
13587 (mtx_timed): Likewise.
13588 (mtx_t): New type.
13589 (mtx_init): New prototype.
13590 (mtx_lock): Likewise.
13591 (mtx_timedlock): Likewise.
13592 (mtx_trylock): Likewise.
13593 (mtx_unlock): Likewise.
13594 (mtx_destroy): Likewise.
13595
13596 [BZ #14092]
13597 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
13598 (linknamespace-libs-ISO11): Add libpthread.a.
13599 * conform/data/threads.h-data: New file: add C11 thrd_* types and
13600 functions.
13601 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
13602 * nptl/Makefile (headers): Add threads.h.
13603 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
13604 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
13605 thrd_yield.
13606 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
13607 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
13608 thrd_join, thrd_sleep, and thrd_yield symbols.
13609 * nptl/descr.h (struct pthread): Add c11 field.
13610 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
13611 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
13612 routine with expected function prototype.
13613 (__pthread_create_2_1): Add C11 threads check based on attribute
13614 value.
13615 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
13616 * nptl/thrd_create.c: New file.
13617 * nptl/thrd_current.c: Likewise.
13618 * nptl/thrd_detach.c: Likewise.
13619 * nptl/thrd_equal.c: Likewise.
13620 * nptl/thrd_exit.c: Likewise.
13621 * nptl/thrd_join.c: Likewise.
13622 * nptl/thrd_priv.h: Likewise.
13623 * nptl/thrd_sleep.c: Likewise.
13624 * nptl/thrd_yield.c: Likewise.
13625 * include/threads.h: Likewise.
13626
13627 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
13628
13629 * bits/indirect-return.h: New file.
13630 * misc/sys/cdefs.h (__glibc_has_attribute): New.
13631 * sysdeps/x86/bits/indirect-return.h: Likewise.
13632 * stdlib/Makefile (headers): Add bits/indirect-return.h.
13633 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
13634 (swapcontext): Add __INDIRECT_RETURN.
13635 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
13636 (prepare_test_buffer): Use it.
13637
13638 2018-07-24 Andreas Schwab <schwab@suse.de>
13639
13640 [BZ #23448]
13641 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
13642 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
13643
13644 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
13645
13646 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
13647 Redefine if shadow stack is enabled.
13648 (SYSCALL_ERROR_LABEL): Likewise.
13649 (__vfork): Pop shadow stack and jump back to to caller directly
13650 when shadow stack is in use.
13651 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
13652 Redefine if shadow stack is enabled.
13653 (SYSCALL_ERROR_LABEL): Likewise.
13654 (__vfork): Pop shadow stack and jump back to to caller directly
13655 when shadow stack is in use.
13656
13657 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
13658
13659 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
13660 enabled.
13661 (foo): Likewise.
13662 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
13663 (foo): Likewise.
13664
13665 2018-07-20 Joseph Myers <joseph@codesourcery.com>
13666
13667 * scripts/build-many-glibcs.py (Context.checkout): Default
13668 binutils version to 2.31 branch.
13669
13670 2018-07-20 Zong Li <zong@andestech.com>
13671
13672 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
13673 URL of gcc's tarball.
13674
13675 2018-07-20 Florian Weimer <fweimer@redhat.com>
13676
13677 [BZ #23396]
13678 * posix/regcomp.c (build_equiv_class): When comparing weights, do
13679 not compare an extra byte after the end of the weights.
13680
13681 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
13682
13683 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
13684 to 1.
13685 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
13686 hidden prototypes.
13687 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
13688 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
13689 * scripts/check-execstack.awk: Consider `xfail' variable containing a
13690 list of libraries whose stack executability is expected.
13691 * elf/Makefile ($(objpfx)check-execstack.out): Pass
13692 $(check-execstack-xfail) to check-execstack.awk through `xfail'
13693 variable.
13694 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
13695 libc.so libpthread.so.
13696
13697 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
13698
13699 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
13700 SOCK_NONBLOCK.
13701 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
13702 and SOCK_NONBLOCK.
13703 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
13704 implement __pipe2.
13705 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
13706
13707 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13708
13709 * benchtests/scripts/compare_bench.py (__main__): use the argparse
13710 library to improve command line parsing.
13711 (__main__): make schema file as optional parameter (--schema),
13712 defaulting to benchtests/scripts/benchout.schema.json.
13713 (main): move out of the parsing stuff to __main_  and leave it
13714 only as caller of main comparison functions.
13715
13716 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
13717
13718 * NEWS: Add a note for Intel CET status.
13719 * manual/install.texi: Likewise.
13720 * INSTALL: Regenerated.
13721
13722 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
13723
13724 [BZ #23140]
13725 * localedata/locales/oc_FR (mon): Rename to...
13726 (alt_mon): This, then update October (typo fix).
13727 (mon): New content (genitive case, month names preceded by
13728 "de" or "d’").
13729
13730 [BZ #23422]
13731 * localedata/locales/oc_FR (abday): Update all items.
13732 (day): Update Wednesday and Saturday (typo fixes).
13733 (abmon): Update all items, except May.
13734 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
13735 (LC_IDENTIFICATION): Bump the revision number and date.
13736 Keep the "category" entries in alphabetic order.
13737 (LC_ADDRESS): Remove no longer needed comment.
13738 (LC_COLLATE): Use “copy "ca_ES"”.
13739 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
13740 "name_mrs".
13741
13742 2018-07-18 Joseph Myers <joseph@codesourcery.com>
13743
13744 * grp/tst_fgetgrent.c: Include <unistd.h>.
13745 (main): Use mkstemp instead of tmpnam.
13746 * io/test-utime.c (main): Likewise.
13747 * posix/annexc.c (macrofile): Change to modifiable array.
13748 (main): Remove macrofile here.
13749 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
13750 macrofile here.
13751 (check_header): Do not remove macrofile here.
13752 * posix/bug-getopt1.c: Include <stdlib.h>.
13753 (do_test): Use mkstemp instead of tmpnam.
13754 * posix/bug-getopt2.c: Include <stdlib.h>.
13755 (do_test): Use mkstemp instead of tmpnam.
13756 * posix/bug-getopt3.c: Include <stdlib.h>.
13757 (do_test): Use mkstemp instead of tmpnam.
13758 * posix/bug-getopt4.c: Include <stdlib.h>.
13759 (do_test): Use mkstemp instead of tmpnam.
13760 * posix/bug-getopt5.c: Include <stdlib.h>.
13761 (do_test): Use mkstemp instead of tmpnam.
13762 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
13763 (main): Use mkstemp instead of tmpnam.
13764 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
13765 (main): Use mkstemp instead of tmpnam.
13766 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
13767 (main): use mkstemp instead of tmpnam.
13768 * stdlib/isomac.c (macrofile): Change to modifiable array.
13769 (main): Remove macrofile here.
13770 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
13771 macrofile here.
13772 (check_header): Do not remove macrofile here.
13773
13774 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13775
13776 * manual/tunables.texi: Document glibc.tune.x86_ibt and
13777 glibc.tune.x86_shstk.
13778
13779 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13780
13781 * NEWS: Mention --enable-cet.
13782 * manual/install.texi: Document --enable-cet.
13783 * INSTALL: Regenerated.
13784
13785 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13786
13787 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
13788 Add _CET_NOTRACK before indirect jump to jump table.
13789
13790 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13791
13792 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
13793 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13794 to jump table.
13795
13796 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13797
13798 * sysdeps/i386/i686/multiarch/strcat-sse2.S
13799 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13800 to jump table.
13801
13802 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13803
13804 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
13805 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13806 to jump table.
13807
13808 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13809
13810 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
13811 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13812 to jump table.
13813
13814 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13815
13816 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
13817 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13818 to jump table.
13819 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
13820
13821 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13822
13823 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
13824 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13825 to jump table.
13826
13827 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13828
13829 * sysdeps/i386/i686/multiarch/memset-sse2.S
13830 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13831 to jump table.
13832
13833 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13834
13835 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
13836 indirect jump to jump table.
13837
13838 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13839
13840 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
13841 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13842 to jump table.
13843 (MEMCPY): Likewise.
13844
13845 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13846
13847 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
13848 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13849 to jump table.
13850 (MEMCPY): Likewise.
13851
13852 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13853
13854 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
13855 _CET_NOTRACK before indirect jump to jump table.
13856
13857 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13858
13859 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
13860 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
13861 to jump table.
13862
13863 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
13864
13865 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
13866 indirect jump to jump table.
13867
13868 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
13869
13870 [BZ #22241]
13871 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
13872 (LOCALES): Likewise.
13873 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
13874 * localedata/locales/sah_RU: New file.
13875 * localedata/sah_RU.UTF-8.in: New file.
13876
13877 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13878
13879 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
13880 "sysdep.h".
13881 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
13882 _CET_ENDBR to indirect jump targets and adjust jump destination
13883 for _CET_ENDBR.
13884 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
13885 "sysdep.h".
13886 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
13887 _CET_ENDBR to indirect jump targets and adjust jump destination
13888 for _CET_ENDBR.
13889 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
13890 "sysdep.h".
13891 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
13892 _CET_ENDBR to indirect jump targets and adjust jump destination
13893 for _CET_ENDBR.
13894
13895 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13896
13897 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
13898 _CET_ENDBR.
13899
13900 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13901
13902 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
13903 _CET_ENDBR.
13904 (_dl_tlsdesc_undefweak): Likewise.
13905 (_dl_tlsdesc_dynamic): Likewise.
13906 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
13907 (_dl_tlsdesc_resolve_rel): Likewise.
13908 (_dl_tlsdesc_resolve_rela): Likewise.
13909 (_dl_tlsdesc_resolve_hold): Likewise.
13910 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
13911 (_dl_tlsdesc_undefweak): Likewise.
13912 (_dl_tlsdesc_dynamic): Likewise.
13913 (_dl_tlsdesc_resolve_rela): Likewise.
13914 (_dl_tlsdesc_resolve_hold): Likewise.
13915
13916 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13917
13918 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
13919 (_fini): Likewise.
13920 * sysdeps/x86_64/crti.S (_init): Likewise.
13921 (_fini): Likewise.
13922
13923 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
13924
13925 [BZ #23140]
13926 * localedata/locales/os_RU (mon): Rename to...
13927 (alt_mon): This.
13928 (mon): Import from CLDR (genitive case).
13929
13930 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
13931
13932 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
13933 cet-tunables.h> when CET is enabled.
13934
13935 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
13936
13937 [BZ #21598]
13938 * configure.ac: Add --enable-cet.
13939 * configure: Regenerated.
13940 * elf/Makefille (all-built-dso): Add a comment.
13941 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
13942 Include <dl-prop.h>.
13943 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
13944 segment.
13945 * elf/dl-open.c: Include <dl-prop.h>.
13946 (dl_open_worker): Call _dl_open_check.
13947 * elf/rtld.c: Include <dl-prop.h>.
13948 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
13949 _rtld_main_check.
13950 * sysdeps/generic/dl-prop.h: New file.
13951 * sysdeps/i386/dl-cet.c: Likewise.
13952 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
13953 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
13954 * sysdeps/x86/cet-tunables.h: Likewise.
13955 * sysdeps/x86/check-cet.awk: Likewise.
13956 * sysdeps/x86/configure: Likewise.
13957 * sysdeps/x86/configure.ac: Likewise.
13958 * sysdeps/x86/dl-cet.c: Likewise.
13959 * sysdeps/x86/dl-procruntime.c: Likewise.
13960 * sysdeps/x86/dl-prop.h: Likewise.
13961 * sysdeps/x86/libc-start.h: Likewise.
13962 * sysdeps/x86/link_map.h: Likewise.
13963 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
13964 _CET_ENDBR.
13965 (_dl_runtime_profile): Likewise.
13966 (_dl_runtime_resolve_shstk): New.
13967 (_dl_runtime_profile_shstk): Likewise.
13968 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
13969 if CET is enabled.
13970 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
13971 (CFLAGS-.os): Likewise.
13972 (CFLAGS-.op): Likewise.
13973 (CFLAGS-.oS): Likewise.
13974 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
13975 is enabled.
13976 (tests-special): Add $(objpfx)check-cet.out.
13977 (cet-built-dso): New.
13978 (+$(cet-built-dso:=.note)): Likewise.
13979 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
13980 ($(objpfx)check-cet.out): New.
13981 (generated): Add check-cet.out.
13982 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
13983 <cet-tunables.h>.
13984 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
13985 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
13986 (init_cpu_features): Call get_cet_status to check CET status
13987 and update dl_x86_feature_1 with CET status. Call
13988 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
13989 (set_x86_shstk). Disable and lock CET in libc.a.
13990 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
13991 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
13992 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
13993 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
13994 (_CET_ENDBR): Define if not defined.
13995 (ENTRY): Add _CET_ENDBR.
13996 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
13997 x86_shstk.
13998 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
13999 _CET_ENDBR.
14000 (_dl_runtime_profile): Likewise.
14001
14002 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
14003
14004 [BZ #21895]
14005 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
14006 restore r2 on longjmp.
14007 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
14008 test list.
14009 Added rules to build test tst-setjmp-bug21895-static.
14010 Added module setjmp-bug21895 and rules to build a shared object from it.
14011 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
14012 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
14013
14014 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
14015
14016 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
14017 * benchtests/bench-strstr.c: Likewise.
14018 * string/memmem.c (FASTSEARCH): Define.
14019 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
14020 Add support for FASTSEARCH.
14021 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
14022 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
14023 (FASTSEARCH): Define.
14024 * string/test-strcasestr.c: Rename __strnlen to strnlen.
14025 * string/test-strstr.c: Likewise.
14026
14027 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
14028
14029 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
14030 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
14031
14032 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
14033 H.J. Lu <hongjiu.lu@intel.com>
14034
14035 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
14036 (__longjmp): Restore shadow stack pointer if shadow stack is
14037 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
14038 isn't defined for __longjmp_cancel.
14039 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
14040 (_setjmp): Save shadow stack pointer if shadow stack is enabled
14041 and SHADOW_STACK_POINTER_OFFSET is defined.
14042 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
14043 (setjmp): Save shadow stack pointer if shadow stack is enabled
14044 and SHADOW_STACK_POINTER_OFFSET is defined.
14045 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
14046 (__sigsetjmp): Save shadow stack pointer if shadow stack is
14047 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14048 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
14049 <jmp_buf-ssp.h>.
14050 (____longjmp_chk): Restore shadow stack pointer if shadow stack
14051 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14052 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
14053 Remove jmp_buf-ssp.sym.
14054 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14055 <jmp_buf-ssp.h>.
14056 (____longjmp_chk): Restore shadow stack pointer if shadow stack
14057 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14058 * sysdeps/x86/Makefile (gen-as-const-headers): Add
14059 jmp_buf-ssp.sym.
14060 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
14061 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
14062 (__longjmp): Restore shadow stack pointer if shadow stack is
14063 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
14064 isn't defined for __longjmp_cancel.
14065 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
14066 (__sigsetjmp): Save shadow stack pointer if shadow stack is
14067 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14068
14069 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
14070
14071 [BZ #22563]
14072 * nptl/pthread_create.c: Include <tls-setup.h>.
14073 (__pthread_create_2_1): Call tls_setup_tcbhead.
14074 * sysdeps/generic/tls-setup.h: New file.
14075 * sysdeps/x86/nptl/tls-setup.h: Likewise.
14076 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
14077 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
14078 Likewise.
14079 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
14080 to feature_1.
14081 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
14082 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
14083 (X86_FEATURE_1_SHSTK): Likewise.
14084 (CET_ENABLED): Likewise.
14085 (IBT_ENABLED): Likewise.
14086 (SHSTK_ENABLED): Likewise.
14087
14088 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
14089
14090 [BZ #23208]
14091 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
14092 (LOCALES): Likewise.
14093 * localedata/dsb_DE.UTF-8.in: New file.
14094 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
14095
14096 2018-07-12 Florian Weimer <fweimer@redhat.com>
14097
14098 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
14099 __mprotect, not mprotect.
14100
14101 2018-07-11 Florian Weimer <fweimer@redhat.com>
14102
14103 * io/Makefile (headers): Add bits/statx.h.
14104
14105 2018-07-10 Mike FABIAN <mfabian@redhat.com>
14106
14107 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
14108 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
14109 and headers.
14110 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
14111 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
14112 for utf8_gen.py
14113
14114 2018-07-10 Florian Weimer <fweimer@redhat.com>
14115
14116 * io/Makefile (routines): Add statx.
14117 (tests-internal): Add tst-statx.
14118 * io/Versions (GLIBC_2.28): Export statx.
14119 * io/bits/statx.h: New file.
14120 * io/sys/stat.h [__USE_GNU]: Include it.
14121 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
14122 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
14123 Define.
14124 * io/statx.c: New file.
14125 * io/statx_generic.: Likewise.
14126 * io/tst-statx.: Likewise.
14127 * include/bits/statx.h: Likewise.
14128 * sysdeps/unix/sysv/linux/kernel-features.h
14129 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
14130 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14131 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
14132 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
14133 Undefine.
14134 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14135 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
14136 * sysdeps/unix/sysv/linux/statx.c: New file.
14137 * manual/filesys.texi: Note that statx is undocumented.
14138 * sysdeps/**/libc*.abilist: Update.
14139
14140 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14141
14142 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
14143 a kernel issue which lead to test failure in some cases.
14144
14145 2018-07-10 Florian Weimer <fweimer@redhat.com>
14146
14147 [BZ #23036]
14148 * posix/regexec.c (check_node_accept_bytes): When comparing
14149 weights, do not compare an extra byte after the end of the
14150 weights.
14151
14152 2018-07-10 Florian Weimer <fweimer@redhat.com>
14153
14154 * libio/readline.c: Fix copyright year.
14155 * libio/tst-readline.c Likewise.
14156 * nss/tst-nss-files-hosts-getent.c: Likewise.
14157
14158 2018-07-06 Florian Weimer <fweimer@redhat.com>
14159
14160 [BZ #18991]
14161 * nss/nss_files/files-XXX.c (internal_getent): Use
14162 __libc_readline_unlocked. Seek back to the start of the line if
14163 parsing failes with ERANGE.
14164 (get_contents_ret, get_contents): Remove.
14165 * nss/tst-nss-files-hosts-getent.c: New file.
14166 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
14167 (tst-nss-files-hosts-getent): Link with -ldl.
14168
14169 2018-07-06 Florian Weimer <fweimer@redhat.com>
14170
14171 * include/stdio.h (__libc_readline_unlocked): Declare.
14172 (__ftello64, __fseeko64): Declare aliases.
14173 * libio/readline.c: New file.
14174 * libio/tst-readline.c: Likewise.
14175 (routines): Add readline.
14176 (tests-internal): Add tst-readlime.
14177 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
14178 __libc_readline_unlocked.
14179 * libio/fseeko.c (__fseeko): Rename from fseeko.
14180 (fseeko): Add alias.
14181 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
14182 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
14183 (fseeko64): Add alias.
14184 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
14185 * libio/ftello64.c (__ftello64): Rename from ftello64.
14186 (ftello64): Add alias.
14187
14188 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
14189
14190 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
14191 HWCAP_ATOMICS.
14192
14193 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
14194
14195 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
14196 Use dl_hwcap without masking.
14197 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
14198 Remove HWCAP_CPUID.
14199
14200 2018-07-06 Florian Weimer <fweimer@redhat.com>
14201
14202 * conform/conformtest.pl (checknamespace): Escape literal braces
14203 in regular expressions.
14204
14205 2018-07-06 Amit Pawar <amit.pawar@amd.com>
14206
14207 * sysdeps/x86/cpu-features.c (get_common_indeces):
14208 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
14209 * sysdeps/x86/cpu-features.c (init_cpu_features):
14210 AVX_Fast_Unaligned_Load is disabled for Excavator core.
14211
14212 2018-07-05 Florian Weimer <fweimer@redhat.com>
14213
14214 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
14215 protector.
14216 (CFLAGS-elf-init.oS): Likewise.
14217
14218 2018-07-05 Florian Weimer <fweimer@redhat.com>
14219 Carlos O'Donell <carlos@redhat.com>
14220
14221 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
14222 $(no-stack-protector). stack_chk_fail_local.c can be compiled
14223 with stack protector enabled because there is no risk of infinite
14224 recursion.
14225
14226 2018-07-05 Maciej W. Rozycki <macro@mips.com>
14227
14228 [BZ #19818]
14229 [BZ #23307]
14230 * libc-abis (ABSOLUTE): New ABI.
14231 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
14232 * NEWS: Mention the new ABI.
14233
14234 2018-07-05 Florian Weimer <fweimer@redhat.com>
14235
14236 [BZ # 17662]
14237 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
14238 (RENAME_WHITEOUT): Define.
14239 [__USE_GNU] (renameat2): Declare.
14240 * stdio-common/Makefile (routines): Add renameat2.
14241 (tests): Add tst-renameat2.
14242 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
14243 * stdio-common/renameat2.c: New file.
14244 * stdio-common/tst-renameat2.c: Likewise.
14245 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
14246 * manual/filesys.texi (Temporary Files): Note that renameat2 is
14247 undocumented.
14248 * sysdeps/unix/sysv/linux/kernel-features.h
14249 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
14250 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14251 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
14252 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14253 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
14254 * sysdeps/unix/sysv/linux/sh/kernel-features.h
14255 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
14256 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14257 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
14258 * include/stdio.h (__renameat): Add alias for renameat.
14259 * stdio-common/renameat.c (__renameat): Rename from renameat.
14260 Add hidden definition and alias.
14261 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
14262 * sysdeps/mach/hurd/renameat.c: Likewise.
14263 * sysdeps/**/libc*.abilist: Add renameat2.
14264
14265 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14266
14267 * posix/bug-regex33.c: Fix build after regex sync.
14268
14269 2018-07-04 Carlos O'Donell <carlos@redhat.com>
14270
14271 [BZ #23164]
14272 * localedata/tst-langinfo-setlocale.c: New file.
14273 * localedata/tst-langinfo-setlocale-static.c: New file.
14274 * localedata/tst-langinfo-newlocale.c: New file.
14275 * localedata/tst-langinfo-newlocale-static.c: New file.
14276 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
14277 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
14278 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
14279 (tests-static): Remove tst-langinfo-static. Add
14280 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
14281 (tests-special): Remove $(objpfx)tst-langinfo.out,
14282 $(objpfx)tst-langinfo-static.out. Add
14283 $(objpfx)tst-langinfo-setlocale.out,
14284 $(objpfx)tst-langinfo-newlocale.out,
14285 $(objpfx)tst-langinfo-setlocale-static.out,
14286 $(objpfx)tst-langinfo-newlocale-static.out.
14287 ($(objpfx)tst-langinfo.out): Remove.
14288 ($(objpfx)tst-langinfo-static.out): Remove.
14289 ($(objpfx)tst-langinfo-newlocale.out): New target.
14290 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
14291 (test-xfail-tst-langinfo-newlocale-static): Add.
14292 ($(objpfx)tst-langinfo-setlocale.out): New target.
14293 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
14294 * localedata/tst-langinfo.c: Call test_locale.
14295 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
14296 data.
14297
14298 2018-07-04 Florian Weimer <fweimer@redhat.com>
14299
14300 testrun.sh: Implement --tool=strace, --tool=valgrind
14301 * Makefile (testrun-script): Define variable.
14302 (testrun.sh): Use variable.
14303 * manual/install.texi (Tools for Compilation): make 4.0 or later
14304 is required.
14305 * configure.ac: Check for make 4.0 or later.
14306 * INSTALL: Regenerate.
14307 * configure: Likewise.
14308
14309 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14310
14311 [BZ #23233]
14312 [BZ #21163]
14313 [BZ #18986]
14314 [BZ #13762]
14315 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
14316 * posix/PCRE.tests: Remove invalid test.
14317 * posix/bug-regex28.c: Fix expected values for used syntax.
14318 * posix/bug-regex37.c: New file.
14319 * posix/bug-regex38.c: Likewise.
14320 * posix/regcomp.c: Sync with gnulib.
14321 * posix/regex.c: Likewise.
14322 * posix/regex.h: Likewise.
14323 * posix/regex_internal.c: Likewise.
14324 * posix/regex_internal.h: Likewise.
14325 * posix/regexec.c: Likewise.
14326
14327 2018-06-26 Mike FABIAN <mfabian@redhat.com>
14328
14329 [BZ #23308]
14330 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
14331 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
14332 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
14333 * localedata/unicode-gen/PropList.txt: likewise.
14334 * localedata/unicode-gen/UnicodeData.txt: likewise.
14335 * localedata/charmaps/UTF-8: Regenerate.
14336 * localedata/locales/i18n_ctype: likewise.
14337 * localedata/locales/tr_TR: likewise.
14338 * localedata/locales/translit_circle: likewise.
14339 * localedata/locales/translit_cjk_compat: likewise.
14340 * localedata/locales/translit_combining: likewise.
14341 * localedata/locales/translit_compat: likewise.
14342 * localedata/locales/translit_font: likewise.
14343 * localedata/locales/translit_fraction: likewise.
14344
14345 2018-07-03 Florian Weimer <fweimer@redhat.com>
14346
14347 [BZ #23363]
14348 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
14349 * stdio-common/tst-printf.sh: Adjust expected output.
14350 * LICENSES: Update.
14351
14352 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14353
14354 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
14355 symbol.
14356
14357 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14358
14359 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
14360 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
14361 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
14362 * stdio-common/tst-printfsz-islongdouble.c: New file.
14363 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
14364 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
14365 [subdir == stdio-common] (routines): Add ieee128-printf_size.
14366 [subdir == stdio-common] (tests-internal): Add
14367 test-printf-size-ieee128, and test-printf-size-ibm128.
14368 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
14369 (CFLAGS-test-printf-size-ibm128.c): New variables.
14370 [subdir == stdio-common] (tests-special): Add
14371 $(objpfx)test-printf-size-ieee128.out and
14372 $(objpfx)test-printf-size-ibm128.out.
14373 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
14374 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
14375 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
14376 __printf_sizeieee128.
14377 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
14378 New file.
14379 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
14380 Likewise.
14381 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
14382 Likewise.
14383
14384 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
14385
14386 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
14387 (exp2f_inline): Likewise.
14388 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
14389 (__math_uflowf): Likewise.
14390 (__math_may_uflowf): Likewise.
14391 (__math_divzerof): Likewise.
14392 (__math_invalidf): Likewise.
14393 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
14394 (__math_oflowf): Likewise.
14395 (__math_uflowf): Likewise.
14396 (__math_may_uflowf): Likewise.
14397 (__math_divzerof): Likewise.
14398 (__math_invalidf): Likewise.
14399
14400 2018-06-29 DJ Delorie <dj@redhat.com>
14401 Carlos O'Donell <carlos@redhat.com>
14402
14403 [BZ #23329]
14404 * include/libc-symbols.h: Comment the freeres framework.
14405 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
14406 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
14407 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
14408 * dlfcn/dlerror.c: Include libc-symbols.h
14409 (__dlerror_main_freeres): New function.
14410 * dlfcn/dlfreeres.c: New file.
14411 * dlfcn/sdlfreeres.c: New file.
14412 * include/dlfcn.h: Declare __dlerror_main_freeres.
14413 * malloc/set-freeres.c: Declare __libdl_freeres, and
14414 __libpthread_freeres.
14415 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
14416 the releavant libraries are loaded.
14417 * malloc/thread-freeres.c: Add comments.
14418 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
14419 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
14420 * nptl/allocatestack.c (__nptl_free_stacks): New function.
14421 (__free_stacks): Rename to...
14422 (free_stacks): ...this. Mark static.
14423 (queue_stack): Call free_stacks.
14424 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
14425 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
14426 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
14427 ptr_freeres element from struct.
14428 (pthread_functions): Remove .ptr_freeres from struct initializer.
14429 [SHARED] (nptl_freeres): Remove.
14430 * nptl/nptlfreeres.c: New file.
14431 * nptl/pthreadP.h
14432 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
14433 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
14434 attribute_hidden.
14435 (__free_stacks): Rename to...
14436 (__nptl_stacks_freeres): ...this.
14437 (__shm_directory_freeres): Declare.
14438 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
14439 (__nptl_unwind_freeres): ...this.
14440 * resolv/res-close.c: Add comment.
14441 * resolv/resolv_conf.c: Include libc-symbols.h.
14442 * string/strerror_l.c: Include libc-symbols.h.
14443 * sunrpc/rpc_thread.c: Include libc-symbols.h.
14444 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
14445 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
14446 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
14447
14448 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14449
14450 * stdlib/tst-strfmon_l.c: Add tests for long double.
14451
14452 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
14453
14454 [BZ #23208]
14455 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
14456 * localedata/locales/dsb_DE: New file.
14457
14458 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
14459
14460 [BZ #23140]
14461 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
14462 genitive case).
14463 (alt_mon): New entry, import from CLDR (nominative case).
14464
14465 2018-06-29 Sylvain Lesage <severo@rednegra.net>
14466
14467 [BZ #22996]
14468 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
14469
14470 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
14471
14472 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
14473 Use vector registers.
14474
14475 * sysdeps/aarch64/multiarch/memmove_falkor.S
14476 (__memcpy_falkor): Use vector registers.
14477
14478 2018-06-29 Martin Sebor <msebor@redhat.com>
14479
14480 * manual/stdio.texi (Customizing Printf): Mention interaction
14481 with GCC built-ins.
14482
14483 2018-06-29 Maciej W. Rozycki <macro@mips.com>
14484
14485 [BZ #23307]
14486 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
14487 `st_value' is 0 if `st_shndx' is SHN_ABS.
14488 * elf/tst-absolute-zero.c: New file.
14489 * elf/tst-absolute-zero-lib.c: New file.
14490 * elf/tst-absolute-zero-lib.lds: New file.
14491 * elf/Makefile (tests): Add `tst-absolute-zero'.
14492 (modules-names): Add `tst-absolute-zero-lib'.
14493 (LDLIBS-tst-absolute-zero-lib.so): New variable.
14494 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
14495 ($(objpfx)tst-absolute-zero: New dependency.
14496
14497 2018-06-29 Zack Weinberg <zackw@panix.com>
14498
14499 * configure.ac: New command-line option --disable-crypt.
14500 Force --disable-nss-crypt when --disable-crypt is given, with a
14501 warning if it was explicitly enabled.
14502 * configure: Regenerate.
14503 * config.make.in: New boolean substitution variable $(build-crypt).
14504 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
14505 when $(build-crypt).
14506 * manual/install.texi: Document --disable-crypt.
14507 * INSTALL: Regenerate.
14508
14509 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
14510 which is never set.
14511 * conform/Makefile: Only include libcrypt.a in
14512 linknamespace-libs-xsi and linknamespace-libs-XPG4
14513 when $(build-crypt).
14514 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
14515 USE_CRYPT to 1 when $(build-crypt).
14516 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
14517 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
14518 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
14519
14520 2018-06-29 Zack Weinberg <zackw@panix.com>
14521
14522 * crypt/crypt.h, posix/unistd.h: Update comments and
14523 prototypes for crypt and crypt_r.
14524
14525 * manual/crypt.texi (Cryptographic Functions): New initial
14526 exposition.
14527 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
14528 (Unpredictable Bytes): Improve initial exposition. Clarify error
14529 behavior of getentropy and getrandom.
14530 * manual/examples/genpass.c: Generate a salt using getentropy
14531 instead of the current time. Use hash $5$ (SHA-2-256).
14532 * manual/examples/testpass.c: Demonstrate validation against
14533 hashes generated with three different one-way functions.
14534
14535 * manual/intro.texi: crypt.texi does not need an overview
14536 anymore.
14537
14538 * manual/nss.texi, manual/memory.texi, manual/socket.texi
14539 * manual/terminal.texi: Consistently refer to "passphrases"
14540 * instead of "passwords", and to the "user database" instead
14541 * of the "password database".
14542 * manual/users.texi: Similarly. Add notes about how actual
14543 passphrase hashes are now stored in the shadow database.
14544 Remove 20-year-old junk todo note.
14545
14546 2018-06-29 Zack Weinberg <zackw@panix.com>
14547
14548 * manual/crypt.texi: Use a normal top-level @node declaration.
14549 Move most of the introductory text to the 'crypt' section.
14550 Move the example programs below the @deftypefun for 'crypt_r'.
14551 Move the 'getpass' section...
14552 * manual/terminal.texi: ...here.
14553
14554 2018-06-29 Zack Weinberg <zackw@panix.com>
14555 Florian Weimer <fweimer@redhat.com>
14556
14557 * posix/unistd.h: Do not declare encrypt.
14558 (_XOPEN_CRYPT): Remove macro definition.
14559 (crypt): Declare only for _USE_MISC.
14560 * stdlib/stdlib.h: Do not declare setkey.
14561 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
14562 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
14563
14564 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
14565 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
14566 into compat symbols. Don't define initial_perm if it's not
14567 going to be used.
14568 * crypt/cert.c: Link explicitly with the expected versions for
14569 setkey and encrypt. If they are not available at all, mark
14570 the test as unsupported.
14571
14572 * sunrpc/des_crypt.c: Unconditionally block linkage with
14573 cbc_crypt and ecb_crypt for new binaries.
14574 * sunrpc/des_soft.c: Unconditionally block linkage with
14575 des_setparity for new binaries.
14576
14577 * manual/crypt.texi: Remove the entire "DES Encryption"
14578 section. Also remove the paragraph talking about FIPS 140-2
14579 from the introduction.
14580 * manual/string.texi (strfry, memfrob): Revise. Recommend use
14581 of libgcrypt for "real" encryption, not DES.
14582 * manual/conf.texi (Constants for Sysconf): Mention that
14583 _XOPEN_CRYPT is no longer impelemented.
14584
14585 * conform/data/unistd.h-data: Remove crypt function declaration.
14586
14587 2018-06-29 Florian Weimer <fweimer@redhat.com>
14588
14589 [BZ #23351]
14590 * malloc/hooks.c: Update comments on restoring of dumped heaps.
14591 (disallow_malloc_check): Remove variable.
14592 (__malloc_check_init): Adjust.
14593 (malloc_set_state): Update comment.
14594 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
14595 declarations.
14596
14597 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
14598
14599 [BZ #23140]
14600 * localedata/locales/ast_ES (mon): Rename to...
14601 (alt_mon): This.
14602 (mon): Import from CLDR (genitive case).
14603
14604 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
14605 Jakub Sitnicki <jkbs@redhat.com>
14606
14607 [BZ #21812]
14608 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
14609 on NLM_F_DUMP_INTR.
14610
14611 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
14612
14613 * manual/llio.texi: Remove spurious space.
14614
14615 2018-06-28 Florian Weimer <fweimer@redhat.com>
14616
14617 [BZ #23349]
14618 * time/bits/types/struct_timespec.h: Change header inclusion guard to
14619 _STRUCT_TIMESPEC.
14620
14621 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14622
14623 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
14624 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
14625 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
14626 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
14627 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
14628 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
14629 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
14630
14631 2018-06-27 Maciej W. Rozycki <macro@mips.com>
14632
14633 [BZ #23266]
14634 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
14635 Copy and null-terminate entries that are not terminated, in
14636 addition to empty ones.
14637
14638 2018-06-27 Florian Weimer <fweimer@redhat.com>
14639
14640 [BZ #18023]
14641 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
14642 (extend_alloca_account): Remove.
14643 * manual/stdio.texi (Variable Arguments Output): Update comment.
14644
14645 2018-06-27 Joseph Myers <joseph@codesourcery.com>
14646
14647 * nptl/sockperf.c: Remove file.
14648
14649 2018-06-27 Florian Weimer <fweimer@redhat.com>
14650
14651 [BZ #18023]
14652 * elf/dl-deps.c (_dl_map_object_deps): Use struct
14653 scratch_buffer instead of extend_alloca.
14654
14655 2018-06-27 Florian Weimer <fweimer@redhat.com>
14656
14657 [BZ #18023]
14658 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
14659 scratch_buffer instead of extend_alloca. Update comments.
14660
14661 2018-06-27 Florian Weimer <fweimer@redhat.com>
14662
14663 [BZ #18023]
14664 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
14665 instead of extend_alloca.
14666
14667 2018-06-26 Joseph Myers <joseph@codesourcery.com>
14668
14669 [BZ #13888]
14670 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
14671 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
14672 /tmp.
14673 * scripts/test-installation.pl: Put temporary files in build
14674 directory, not /tmp.
14675 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
14676 (CFLAGS-bug4.c): Likewise.
14677 (CFLAGS-bug5.c): Likewise.
14678 (CFLAGS-test-fseek.c): Likewise.
14679 (CFLAGS-test-popen.c): Likewise.
14680 (CFLAGS-test_rdwr.c): Likewise.
14681 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
14682 /tmp.
14683 * stdio-common/bug4.c (main): Likewise.
14684 * stdio-common/bug5.c (main): Likewise.
14685 * stdio-common/test-fseek.c (TESTFILE): Likewise.
14686 * stdio-common/test-popen.c (do_test): Likewise.
14687 * stdio-common/test_rdwr.c (main): Likewise.
14688
14689 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
14690
14691 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
14692 (sem_open): Set sem.newsem.pad to zero for valgrind.
14693
14694 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14695
14696 [BZ #20251]
14697 * NEWS: Mention fcntl64 addition.
14698 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
14699 * login/utmp_file.c: Likewise.
14700 * sysdeps/posix/fdopendir.c: Likewise.
14701 * sysdeps/posix/opendir.c: Likewise.
14702 * sysdeps/unix/pt-fcntl.c: Likewise.
14703 * include/fcntl.h (__libc_fcntl64, __fcntl64,
14704 __fcntl64_nocancel_adjusted): New prototype.
14705 (__fcntl_nocancel_adjusted): Remove prototype.
14706 * io/Makefile (routines): Add fcntl64.
14707 (CFLAGS-fcntl64.c): New rule.
14708 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
14709 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
14710 * io/fcntl.h (fcntl64): Add prototype and redirect if
14711 __USE_FILE_OFFSET64 is defined.
14712 * io/fcntl64.c: New file.
14713 * manual/llio.text: Add a note for which commands fcntl acts a
14714 cancellation point.
14715 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
14716 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
14717 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
14718 New symbols.
14719 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
14720 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
14721 non-LFS case.
14722 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
14723 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
14724 to __fcntl64_nocancel.
14725 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
14726 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
14727 to __fcntl64_nocancel.
14728 * sysdeps/generic/not-cancel.h: Likewise.
14729 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
14730 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
14731 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
14732 (fcntl64): New symbol.
14733 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14734 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14735 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14738 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14739 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14740 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14741 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14742 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14743 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
14744 fcntl64): Likewise.
14745 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14746 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
14747 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14748 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14749 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14750 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14751 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14752 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14753 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14755 Likewise.
14756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14757 Likewise.
14758 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14759 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14760 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14761
14762 2018-06-26 Florian Weimer <fweimer@redhat.com>
14763
14764 Run thread shutdown functions in an explicit order.
14765 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
14766 definition.
14767 (__libc_thread_freeres): Call thread shutdown functions
14768 explicitly.
14769 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
14770 * include/string.h (__strerror_thread_freeres): Declare.
14771 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
14772 arena_thread_freeres. No longer static. Remove thread shutdown
14773 hook registration.
14774 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
14775 Declare.
14776 * resolv/res-close.c (__res_thread_freeres): Renamed from
14777 res_thread_freeres. No longer static. Remove thread shutdown
14778 hook registration.
14779 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
14780 * resolv/resolv_conf.c (freeres): Remove incorrect section
14781 attribute and use libc_freeres_fn.
14782 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
14783 strerror_thread_freeres. No longer static. Remove thread
14784 shutdown hook registration.
14785 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
14786 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
14787 shutdown hook registration.
14788 * Makerules (shlib.lds): Do not provide section boundary symbols
14789 for __libc_thread_subfreeres.
14790 * manual/memory.texi (Basic Allocation): Update comment.
14791
14792 2018-06-26 Florian Weimer <fweimer@redhat.com>
14793
14794 Remove always-defined _RPC_THREAD_SAFE_ macro.
14795 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
14796 Do not define _RPC_THREAD_SAFE_.
14797 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
14798 conditional.
14799 * sunrpc/clnt_perr.c: Likewise.
14800 * sunrpc/clnt_raw.c: Likewise.
14801 * sunrpc/clnt_simp.c: Likewise.
14802 * sunrpc/key_call.c: Likewise.
14803 * sunrpc/rpc_common.c: Likewise.
14804 * sunrpc/rpc_main.c: Likewise.
14805 * sunrpc/rpc_thread.c: Likewise.
14806 * sunrpc/svc.c: Likewise.
14807 * sunrpc/svc_raw.c: Likewise.
14808 * sunrpc/svc_simple.c: Likewise.
14809 * sumrpc/svcauth_des.c: Likewise.
14810
14811 2018-06-26 Florian Weimer <fweimer@redhat.com>
14812
14813 * libio/Makefile (tests-internal): Add tst-vtables,
14814 tst-vtables-interposed.
14815 * libio/tst-vtables.c: New file.
14816 * libio/tst-vtables-common.c: Likewise.
14817 * libio/tst-vtables-interposed.c: Likewise.
14818
14819 2018-06-26 Florian Weimer <fweimer@redhat.com>
14820
14821 * support/support_test_main.c (support_test_main): Only call
14822 setvbuf if not disables.
14823 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
14824 * support/test-driver.h (struct test_config): Add no_setvbuf member.
14825
14826 2018-06-26 Florian Weimer <fweimer@redhat.com>
14827
14828 [BZ #23313]
14829 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
14830
14831 2018-06-25 Florian Weimer <fweimer@redhat.com>
14832
14833 [BZ #18023]
14834 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14835 Use struct scratch_buffer instead of extend_alloca.
14836
14837 2018-06-25 Florian Weimer <fweimer@redhat.com>
14838
14839 [BZ #18023]
14840 * nss/getent.c (initgroups_keys): Use dynarray instead of
14841 extend_alloca.
14842
14843 2018-06-25 Florian Weimer <fweimer@redhat.com>
14844
14845 [BZ #18023]
14846 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
14847 Use struct scratch_buffer instead of extend_alloca.
14848
14849 2018-06-25 Florian Weimer <fweimer@redhat.com>
14850
14851 [BZ #18023]
14852 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
14853 back to malloc directly, without stack allocations.
14854
14855 2018-06-25 Florian Weimer <fweimer@redhat.com>
14856
14857 [BZ #18023]
14858 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
14859 of extend_alloca.
14860
14861 2018-06-25 Florian Weimer <fweimer@redhat.com>
14862
14863 [BZ #18023]
14864 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
14865 of extend_alloca.
14866 * nscd/hstcache.c (addhstbyX): Likewise.
14867 * nscd/pwdcache.c (addpwbyX): Likewise.
14868 * nscd/servicescache.c (addservbyX): Likewise.
14869
14870 2018-06-25 Florian Weimer <fweimer@redhat.com>
14871
14872 [BZ #18023]
14873 * nscd/connections.c (read_cmdline): New function.
14874 (restart): Use it. Update comment.
14875
14876 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
14877
14878 [BZ #23140]
14879 * localedata/locales/csb_PL (mon): Rename to...
14880 (alt_mon): This.
14881 (abmon): Rename to...
14882 (ab_alt_mon): This.
14883 (mon): Add with proper genitive forms, copy from Wikipedia.
14884 (abmon): Likewise.
14885
14886 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
14887
14888 [BZ #19485]
14889 * localedata/locales/csb_PL (mon): Fix typos:
14890 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
14891 (yesstr): Add, value is "jo".
14892 (nostr): Add, value is "nié".
14893
14894 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14895
14896 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
14897 all log1p and significand functions on m680x0.
14898 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
14899 of s_significand.c..
14900 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
14901 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
14902 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
14903 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
14904 s_log1p.c and include it..
14905
14906 2018-06-21 Vincent Chen <vincentc@andestech.com>
14907
14908 * elf/elf.h (R_NDS32_NONE): New define.
14909 (R_NDS32_32_RELA): Likewise.
14910 (R_NDS32_COPY): Likewise.
14911 (R_NDS32_GLOB_DAT): Likewise.
14912 (R_NDS32_JUMP_SLOT): Likewise.
14913 (R_NDS32_RELATIVE): Likewise.
14914 (R_NDS32_TLS_TPOFF): Likewise.
14915 (R_NDS32_TLS_DESC): Likewise.
14916
14917 2018-06-21 Mark Wielaard <mark@klomp.org>
14918
14919 * elf/elf.h (R_BPF_MAP_FD): Removed.
14920 (R_BPF_64_64, R_BPF_64_32): New.
14921
14922 2018-06-21 Florian Weimer <fweimer@redhat.com>
14923
14924 [BZ #23253]
14925 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
14926 Renamed from libc_feholdsetround_ctx.
14927 (default_libc_feresetround_ctx): Renamed from
14928 libc_feresetround_ctx.
14929 (default_libc_feholdsetround_noex_ctx): Renamed from
14930 libc_feholdsetround_noex_ctx.
14931 (default_libc_feresetround_noex_ctx): Renamed from
14932 libc_feresetround_noex_ctx.
14933 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
14934 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
14935 forwardning to the old implementations under the new names.
14936 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
14937 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
14938 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
14939 (libc_feresetround_ctx): Forward to default implements for i386
14940 and MATH_SET_BOTH_ROUNDING_MODES.
14941 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
14942 Add -DMATH_SET_BOTH_ROUNDING_MODES.
14943
14944 2018-06-20 Joseph Myers <joseph@codesourcery.com>
14945
14946 * string/tst-cmp.c: Include <libc-diag.h>.
14947 (strncmp_max): Disable -Wstringop-overflow= around call to
14948 strncmp.
14949 (strncasecmp_max): Disable -Wstringop-overflow= around call to
14950 strncasecmp.
14951
14952 * string/bug-strpbrk1.c: Include <libc-diag.h>.
14953 (main): Disable -Wunused-value around call to strpbrk.
14954 * string/bug-strspn1.c: Include <libc-diag.h>.
14955 (main): Disable -Wunused-value around call to strspn.
14956
14957 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14958 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14959
14960 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
14961 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
14962
14963 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14964
14965 * math/Makefile (libm-calls): Move s_significandF to...
14966 (gen-libm-calls): ... here.
14967 * math/s_significand_template.c: New file.
14968 * math/s_significand.c: Removed.
14969 * math/s_significandf.c: Removed.
14970 * math/s_significandl.c: Removed.
14971 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
14972 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
14973
14974 * math/e_exp2_template.c (declare_mgen_finite_alias,
14975 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
14976 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
14977 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
14978
14979 2018-06-20 Florian Weimer <fweimer@redhat.com>
14980
14981 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
14982
14983 2018-06-19 Joseph Myers <joseph@codesourcery.com>
14984
14985 [BZ #23280]
14986 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
14987 floating-point number to strtod functions rather than possibly
14988 negating result of those functions.
14989 * stdio-common/tst-scanf-round.c: New file.
14990 * stdio-common/Makefile (tests): Add tst-scanf-round.
14991 ($(objpfx)tst-scanf-round): Depend on $(libm).
14992
14993 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14994
14995 * sysdeps/mach/hurd/localplt.data: Move to...
14996 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
14997 R_386_GLOB_DAT like on Linux i386.
14998
14999 2018-06-18 Joseph Myers <joseph@codesourcery.com>
15000
15001 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
15002 (SHM_STAT_ANY): New macro.
15003 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
15004 (SHM_STAT_ANY): Likewise.
15005 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
15006 (SHM_STAT_ANY): Likewise.
15007 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
15008 (SHM_STAT_ANY): Likewise.
15009 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
15010 (SHM_STAT_ANY): Likewise.
15011 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
15012 (SHM_STAT_ANY): Likewise.
15013 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
15014 (SHM_STAT_ANY): Likewise.
15015 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
15016 (SHM_STAT_ANY): Likewise.
15017 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
15018 (SHM_STAT_ANY): Likewise.
15019 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
15020 (SHM_STAT_ANY): Likewise.
15021 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
15022 (SHM_STAT_ANY): Likewise.
15023 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
15024 (SHM_STAT_ANY): Likewise.
15025
15026 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
15027 (SEM_STAT_ANY): New macro.
15028 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
15029 (SEM_STAT_ANY): Likewise.
15030 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
15031 (SEM_STAT_ANY): Likewise.
15032 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
15033 (SEM_STAT_ANY): Likewise.
15034 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
15035 (SEM_STAT_ANY): Likewise.
15036 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
15037 (SEM_STAT_ANY): Likewise.
15038 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
15039 (SEM_STAT_ANY): Likewise.
15040 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
15041 (SEM_STAT_ANY): Likewise.
15042 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
15043 (SEM_STAT_ANY): Likewise.
15044 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
15045 (SEM_STAT_ANY): Likewise.
15046
15047 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
15048 (MSG_STAT_ANY): New macro.
15049 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
15050 (MSG_STAT_ANY): Likewise.
15051 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
15052 (MSG_STAT_ANY): Likewise.
15053 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
15054 (MSG_STAT_ANY): Likewise.
15055 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
15056 (MSG_STAT_ANY): Likewise.
15057 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
15058 (MSG_STAT_ANY): Likewise.
15059 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
15060 (MSG_STAT_ANY): Likewise.
15061 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
15062 (MSG_STAT_ANY): Likewise.
15063 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
15064 (MSG_STAT_ANY): Likewise.
15065 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
15066 (MSG_STAT_ANY): Likewise.
15067
15068 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15069 (MAP_TYPE): Change value to 0x2b.
15070
15071 2018-06-18 Florian Weimer <fweimer@redhat.com>
15072
15073 [BZ #15722]
15074 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
15075 socket with SOCK_CLOEXEC.
15076
15077 2018-06-18 Joseph Myers <joseph@codesourcery.com>
15078
15079 [BZ #23303]
15080 * sysdeps/powerpc/powerpc64/le/Makefile
15081 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
15082 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
15083 (gnulib-tests): Also add $(f128-loader-link) for
15084 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
15085
15086 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
15087
15088 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
15089 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
15090 of sendfile.
15091 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
15092 (sendfile64): New strong alias.
15093 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
15094 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
15095 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
15096 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
15097 attribute.
15098 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
15099 ___pthread_get_cleanup_stack.
15100 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
15101 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
15102 * mach/shortcut.awk: Make syscall stubs include
15103 <mach-shortcuts-hidden.h> and add hidden definition.
15104 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
15105 (__mach_msg): Add hidden prototype.
15106 * mach/msg.c: Include <mach.h>.
15107 (__mach_msg): Add hidden definition.
15108 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
15109 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
15110 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
15111 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
15112 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
15113 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
15114 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
15115 prototype and definition.
15116 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
15117 hidden target for _hurd_self_sigstate.
15118
15119 2018-06-15 Joseph Myers <joseph@codesourcery.com>
15120
15121 [BZ #23007]
15122 * stdlib/tst-strtod-nan-sign-main.c: New file.
15123 * stdlib/tst-strtod-nan-sign.c: Likewise.
15124 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
15125 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
15126 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
15127 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
15128 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
15129
15130 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
15131
15132 [BZ #23007]
15133 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
15134 appropriate sign.
15135
15136 2018-06-14 Florian Weimer <fweimer@redhat.com>
15137
15138 [BZ #23290]
15139 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
15140 that the result stays within the ISO-8859-1 range.
15141 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
15142 characters are defined in IBM273.
15143
15144 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
15145
15146 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
15147 __mach_task_self): Remove attribute_hidden.
15148
15149 2018-06-14 Joseph Myers <joseph@codesourcery.com>
15150
15151 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
15152 ignore -Wrestrict for one test.
15153
15154 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
15155 Szabolcs Nagy <szabolcs.nagy@arm.com>
15156
15157 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
15158
15159 2018-06-14 Florian Weimer <fweimer@redhat.com>
15160
15161 * scripts/update-abilist.sh: Accept empty list of files to patch.
15162
15163 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
15164
15165 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
15166 test-xfail-check-abi-libmachuser): Add.
15167 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
15168 __libc_read and __libc_write to __read and __write.
15169 * sysdeps/hurd/include/hurd/port.h: New file.
15170 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
15171 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
15172 __thread_switch, __evc_wait): Move declarations to...
15173 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
15174 attribute_hidden.
15175 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
15176 use PLT to call _hurd_self_sigstate.
15177
15178 2018-06-13 Joseph Myers <joseph@codesourcery.com>
15179
15180 [BZ #23279]
15181 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
15182 MAX_EXP as overflowing.
15183 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
15184 overflow flag.
15185 (round_str): Output also whether result overflows in each rounding
15186 mode.
15187 * stdlib/tst-strtod-round-data: Add more tests.
15188 * stdlib/tst-strtod-round-data.h: Regenerated.
15189 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
15190 (TEST): Handle extra arguments for overflow flags.
15191 (struct test_overflow): New type.
15192 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
15193 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
15194 (test_in_one_mode): Take argument with overflow information.
15195 (do_test): Update calls to test_in_one_mode.
15196
15197 2018-06-12 Carlos O'Donell <carlos@redhat.com>
15198
15199 * elf/dl-load (_dl_dst_substitute): Correct comment.
15200 (_dl_dst_count): Likewise.
15201
15202 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
15203 lll_futex_timed_wait.
15204
15205 2018-06-12 Joseph Myers <joseph@codesourcery.com>
15206
15207 [BZ #23277]
15208 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
15209 attribute.
15210 * math/test-nan-const.c: New file.
15211 * math/Makefile (tests): Add test-nan-const.
15212 (CFLAGS-test-nan-const.c): New variable.
15213
15214 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
15215
15216 * benchtests/scripts/compare_strings.py (process_results): Add
15217 funcs argument. Compare only functions which are selected.
15218 (main): Check if base function is among selected functions.
15219 Pass selected functions to process_results.
15220 (__main__): Add -f/--functions argument.
15221
15222 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
15223 Hongbo Zhang <hongbo.zhang@linaro.org>
15224
15225 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
15226 __memcpy_falkor for phecda core.
15227 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
15228 __memmove_falkor for phecda core.
15229 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
15230 __memset_falkor for phecda core.
15231 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
15232 for phecda core.
15233 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
15234 macro to identify phecda core.
15235
15236 2018-06-12 Carlos O'Donell <carlos@redhat.com>
15237 Andreas Schwab <schwab@suse.de>
15238 Dmitry V. Levin <ldv@altlinux.org>
15239 Florian Weimer <fweimer@redhat.com>
15240
15241 [BZ #23102]
15242 [BZ #21942]
15243 [BZ #18018]
15244 [BZ #23259]
15245 CVE-2011-0536
15246 * elf/dl-dst.h: Remove DL_DST_COUNT.
15247 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
15248 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
15249 (is_dst): Comment. Support ELF gABI.
15250 (_dl_dst_count): Comment. Simplify and count DSTs.
15251 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
15252 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
15253 locals.
15254
15255 2018-06-12 Zack Weinberg <zackw@panix.com>
15256
15257 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
15258 * sysdeps/unix/sysv/linux/dl-sysdep.c
15259 Include not-cancel.h. Use __close_nocancel instead of __close,
15260 __open64_nocancel instead of __open, __read_nocancel instead of
15261 __libc_read, and __write_nocancel instead of __libc_write.
15262
15263 * csu/check_fds.c (check_one_fd)
15264 * sysdeps/posix/fdopendir.c (__fdopendir)
15265 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
15266 instead of __fcntl and/or __libc_fcntl.
15267
15268 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
15269 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
15270 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
15271 Use __open64_nocancel instead of __open_nocancel.
15272
15273 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
15274 hidden_proto declarations to the end and issue them if either
15275 IS_IN(libc) or IS_IN(rtld).
15276 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
15277 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
15278 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
15279 read_nocancel, waitpid_nocancel, write_nocancel.
15280
15281 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
15282 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
15283 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
15284
15285 * nptl/pt-fcntl.c: New file.
15286 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
15287 (libpthread-routines): Add pt-fcntl.
15288 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
15289 (__libc_fcntl): Remove attribute_hidden.
15290 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
15291 __fcntl_nocancel_adjusted, not fcntl_common.
15292 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
15293 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
15294 to fcntl_nocancel.c.
15295 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
15296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
15297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15298 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
15299
15300 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
15301 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
15302 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
15303 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
15304 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
15305 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
15306 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
15307 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
15308 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
15309 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
15310 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
15311 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
15312 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
15313 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
15314 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
15315 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
15316 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
15317 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
15318 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
15319 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
15320
15321 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
15322 libpthread-routines.
15323 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
15324 defines nothing.
15325
15326 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
15327 __libc_read, and __write instead of __libc_write. Define
15328 __open64 in addition to __open.
15329
15330 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
15331
15332 [BZ #23250]
15333 [BZ #10686]
15334 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
15335 to _private_tm[3] and add __glibc_reserved2.
15336 Add _Static_assert of offset of __private_ss == 0x30.
15337 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
15338 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
15339
15340 2018-06-12 Florian Weimer <fweimer@redhat.com>
15341
15342 x86: Make strncmp usable from rtld.
15343 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
15344 __strncmp_ia32 if in libc (and not in rtld).
15345 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
15346 strncmp if not in libc (and not to __strncmp_sse2).
15347
15348 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
15349
15350 [BZ #23140]
15351 * localedata/locales/gd_GB (mon): Rename to...
15352 (alt_mon): This.
15353 (mon): Import from CLDR (genitive case).
15354 * localedata/locales/hsb_DE (mon): Rename to...
15355 (alt_mon): This.
15356 (mon): Import from CLDR (genitive case).
15357 * localedata/locales/wa_BE (mon): Rename to...
15358 (alt_mon): This.
15359 (mon): Add, fill with the proper genitive forms, but CLDR data
15360 is incomplete; completed according to the comments in this file.
15361 (d_t_fmt): Do not use "di" before the month name, no longer needed.
15362
15363 * localedata/locales/wa_BE (country_name): Reword
15364 "Beljike" -> "Beldjike".
15365
15366 2018-06-11 Joseph Myers <joseph@codesourcery.com>
15367
15368 [BZ #23272]
15369 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
15370 cases of non-finite arguments.
15371 * math/libm-test-fma.inc (fma_test_data): Add more tests.
15372
15373 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
15374
15375 [BZ #23174]
15376 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
15377
15378 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15379
15380 [BZ #23264]
15381 * include/unistd.h (__execvpex): New prototype.
15382 * posix/Makefile (tests): Add tst-spawn4.
15383 (tests-internal): Add tst-spawn4-compat.
15384 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
15385 * posix/tst-spawn4-compat.c: New file.
15386 * posix/tst-spawn4.c: Likewise.
15387 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
15388 binaries as shell scripts.
15389 * sysdeps/posix/spawni.c (__spawni): Likewise.
15390
15391 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
15392
15393 [BZ #23145]
15394 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
15395 ($(all-built-dso:=.dynsym): New target.
15396 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
15397 ($(objpfx)check-initfini.out): New target.
15398 (generated): Add check-initfini.out.
15399 * scripts/check-initfini.awk: New file.
15400 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
15401 (_fini): Likewise.
15402 * sysdeps/alpha/crti.S (_init): Mark as hidden.
15403 (_fini): Likewise.
15404 * sysdeps/arm/crti.S (_init): Mark as hidden.
15405 (_fini): Likewise.
15406 * sysdeps/hppa/crti.S (_init): Mark as hidden.
15407 (_fini): Likewise.
15408 * sysdeps/i386/crti.S (_init): Mark as hidden.
15409 (_fini): Likewise.
15410 * sysdeps/ia64/crti.S (_init): Mark as hidden.
15411 (_fini): Likewise.
15412 * sysdeps/m68k/crti.S (_init): Mark as hidden.
15413 (_fini): Likewise.
15414 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
15415 (_fini): Likewise.
15416 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
15417 (_fini): Likewise.
15418 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
15419 (_fini): Likewise.
15420 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
15421 (_fini): Likewise.
15422 * sysdeps/nios2/crti.S (_init): Mark as hidden.
15423 (_fini): Likewise.
15424 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
15425 (_fini): Likewise.
15426 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
15427 (_fini): Likewise.
15428 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
15429 (_fini): Likewise.
15430 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
15431 (_fini): Likewise.
15432 * sysdeps/sh/crti.S (_init): Mark as hidden.
15433 (_fini): Likewise.
15434 * sysdeps/sparc/crti.S (_init): Mark as hidden.
15435 (_fini): Likewise.
15436 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
15437 (_fini): Likewise.
15438
15439 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15440
15441 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
15442 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
15443 and TF redirection to KFtype and KF only when the default
15444 long double type is not the IEEE 128-bit floating point type.
15445
15446 2018-06-05 Joseph Myers <joseph@codesourcery.com>
15447
15448 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
15449 macro.
15450 (HWCAP_USCAT): Likewise.
15451 (HWCAP_ILRCPC): Likewise.
15452 (HWCAP_FLAGM): Likewise.
15453 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
15454 Increase to 28.
15455 (_dl_aarch64_cap_flags): Add new flag names.
15456
15457 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
15458 (MAP_FIXED_NOREPLACE): New macro.
15459 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
15460 (MAP_FIXED_NOREPLACE): Likewise.
15461 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
15462 (MAP_FIXED_NOREPLACE): Likewise.
15463 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15464 (MAP_FIXED_NOREPLACE): Likewise.
15465 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
15466 (MAP_FIXED_NOREPLACE): Likewise.
15467 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
15468 (MAP_FIXED_NOREPLACE): Likewise.
15469 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
15470 (MAP_FIXED_NOREPLACE): Likewise.
15471 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
15472 (MAP_FIXED_NOREPLACE): Likewise.
15473 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
15474 (MAP_FIXED_NOREPLACE): Likewise.
15475 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
15476 (MAP_FIXED_NOREPLACE): Likewise.
15477 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
15478 (MAP_FIXED_NOREPLACE): Likewise.
15479 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
15480 (MAP_FIXED_NOREPLACE): Likewise.
15481 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
15482 (MAP_FIXED_NOREPLACE): Likewise.
15483 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
15484 (MAP_FIXED_NOREPLACE): Likewise.
15485 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
15486 (MAP_FIXED_NOREPLACE): Likewise.
15487
15488 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15489 version to 4.17.
15490
15491 2018-06-04 Joseph Myers <joseph@codesourcery.com>
15492
15493 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
15494 version to 4.17
15495
15496 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15497
15498 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
15499 int.
15500 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
15501
15502 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15503
15504 * benchtests/scripts/compare_string.py: (process_results) Catch
15505 exception in non-existent base_func and catch exception in
15506 non-existent attribute.
15507 (parse_file) Catch exception if input file does not exist.
15508
15509 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15510
15511 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
15512 options to avoid diff calculation and omit header, respectively.
15513 (main): process --no-diff and --no-header
15514
15515 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
15516 H.J. Lu <hongjiu.lu@intel.com>
15517
15518 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15519 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
15520 wcsncmp-sse2.
15521 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15522 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
15523 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
15524 and __wcsncmp_sse2.
15525 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
15526 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
15527 AVX unaligned load is fast and vzeroupper is preferred.
15528 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
15529 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
15530 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
15531 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
15532 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
15533 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
15534 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
15535 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
15536 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
15537 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
15538 is undefined.
15539
15540 2018-06-01 Florian Weimer <fweimer@redhat.com>
15541
15542 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
15543 configuring with --disable-multi-arch, building with
15544 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
15545 Haswell-era CPU.
15546
15547 2018-06-01 Florian Weimer <fweimer@redhat.com>
15548
15549 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
15550 results from building with “-march=x86-64 -mtune=generic
15551 -mfpmath=sse” and running on a Haswell-era CPU.
15552
15553 2018-06-01 Joseph Myers <joseph@codesourcery.com>
15554
15555 [BZ #18473]
15556 * soft-fp/sqrttf2.c: Remove file.
15557 * soft-fp/sqrtdf2.c: Move to ....
15558 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
15559 <shlib-compat.h>.
15560 (__sqrtdf2): Make conditional on
15561 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
15562 symbol.
15563 * soft-fp/sqrtsf2.c: Move to ....
15564 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
15565 <shlib-compat.h>.
15566 (__sqrtsf2): Make conditional on
15567 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
15568 symbol.
15569 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
15570 (gcc-double-routines): Remove sqrtdf2.
15571 (gcc-quad-routines): Remove sqrttf2.
15572 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
15573 Do not filter out sqrtsf2 and sqrtdf2.
15574 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
15575 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
15576
15577 2018-06-01 Florian Weimer <fweimer@redhat.com>
15578
15579 * sysdeps/generic/libcidn.abilist: Remove file.
15580
15581 2018-06-01 Florian Weimer <fweimer@redhat.com>
15582
15583 [BZ #23236]
15584 * libio/strfile.h (struct _IO_str_fields): Rename members to
15585 discourage their use and add comment.
15586 (_IO_STR_DYNAMIC): Remove unused macro.
15587 * libio/strops.c (_IO_str_init_static_internal): Do not use
15588 callback pointers. Call malloc and free.
15589 (_IO_str_overflow): Do not use callback pointers. Call malloc
15590 and free.
15591 (enlarge_userbuf): Likewise.
15592 (_IO_str_finish): Call free.
15593 * libio/wstrops.c (_IO_wstr_init_static): Initialize
15594 _allocate_buffer_unused.
15595 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
15596 and free.
15597 (enlarge_userbuf): Likewise.
15598 (_IO_wstr_finish): Call free.
15599 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
15600 _allocate_buffer_unused, _free_buffer_unused.
15601 * libio/memstream.c (__open_memstream): Likewise.
15602 * libio/vasprintf.c (_IO_vasprintf): Likewise.
15603 * libio/wmemstream.c (open_wmemstream): Likewise.
15604
15605 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
15606
15607 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
15608 AMD Ryzen 7 1800X.
15609
15610 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15611
15612 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
15613 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
15614 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
15615 New file.
15616 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
15617 Likewise.
15618 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
15619
15620 2018-05-29 Florian Weimer <fweimer@redhat.com>
15621
15622 * support/Makefile (libsupport-routines): Add
15623 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
15624 xpthread_barrierattr_setpshared.
15625 * support/xpthread_barrierattr_destroy.c: New file.
15626 * support/xpthread_barrierattr_init.c: Likewise.
15627 * support/xpthread_barrierattr_setpshared.c: Likewise.
15628
15629 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
15630
15631 [BZ #23206]
15632 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
15633 _r_debug and update DT_DEBUG for debugger.
15634
15635 2018-05-29 Florian Weimer <fweimer@redhat.com>
15636
15637 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
15638 (tst-strtod5i.out): Likewise.
15639
15640 2018-05-25 Joseph Myers <joseph@codesourcery.com>
15641
15642 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
15643 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
15644 (sparc64-quad-routines): New variable. Moved from ....
15645 [$(subdir) = soft-fp] (sysdep_routines): Add
15646 $(sparc64-quad-routines). Moved from ....
15647 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
15648 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
15649 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
15650 moved from ....
15651 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
15652 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
15653 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
15654 * sysdeps/sparc/sparc64/qp_add.c: ... here.
15655 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
15656 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
15657 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
15658 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
15659 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
15660 * sysdeps/sparc/sparc64/qp_div.c: ... here.
15661 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
15662 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
15663 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
15664 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
15665 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
15666 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
15667 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
15668 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
15669 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
15670 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
15671 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
15672 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
15673 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
15674 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
15675 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
15676 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
15677 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
15678 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
15679 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
15680 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
15681 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
15682 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
15683 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
15684 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
15685 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
15686 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
15687 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
15688 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
15689 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
15690 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
15691 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
15692 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
15693 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
15694 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
15695 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
15696 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
15697 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
15698 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
15699 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
15700 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
15701 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
15702 * sysdeps/sparc/sparc64/qp_util.c: ... here.
15703 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
15704 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
15705 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
15706 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
15707 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
15708 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
15709
15710 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
15711 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
15712 (sparc32-quad-routines): New variable. Moved from ....
15713 [$(subdir) = soft-fp] (sysdep_routines): Add
15714 $(sparc32-quad-routines). Moved from ....
15715 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
15716 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
15717 moved from ....
15718 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
15719 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
15720 * sysdeps/sparc/sparc32/q_add.c: ... here.
15721 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
15722 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
15723 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
15724 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
15725 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
15726 * sysdeps/sparc/sparc32/q_div.c: ... here.
15727 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
15728 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
15729 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
15730 * sysdeps/sparc/sparc32/q_feq.c: ... here.
15731 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
15732 * sysdeps/sparc/sparc32/q_fge.c: ... here.
15733 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
15734 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
15735 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
15736 * sysdeps/sparc/sparc32/q_fle.c: ... here.
15737 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
15738 * sysdeps/sparc/sparc32/q_flt.c: ... here.
15739 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
15740 * sysdeps/sparc/sparc32/q_fne.c: ... here.
15741 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
15742 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
15743 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
15744 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
15745 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
15746 * sysdeps/sparc/sparc32/q_mul.c: ... here.
15747 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
15748 * sysdeps/sparc/sparc32/q_neg.c: ... here.
15749 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
15750 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
15751 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
15752 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
15753 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
15754 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
15755 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
15756 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
15757 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
15758 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
15759 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
15760 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
15761 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
15762 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
15763 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
15764 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
15765 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
15766 * sysdeps/sparc/sparc32/q_sub.c: ... here.
15767 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
15768 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
15769 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
15770 * sysdeps/sparc/sparc32/q_util.c: ... here.
15771 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
15772 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
15773 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
15774 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
15775
15776 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15777 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15778
15779 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
15780 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
15781 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
15782 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
15783
15784 2018-05-24 Joseph Myers <joseph@codesourcery.com>
15785
15786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
15787 powerpc/soft-fp.
15788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15789 Likewise.
15790 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
15791 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
15792
15793 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15794
15795 [BZ #23171]
15796 * math/math.h [C++] (iseqsig): Fix parameter type for the long
15797 double version.
15798
15799 2018-05-23 Joseph Myers <joseph@codesourcery.com>
15800
15801 * sysdeps/sh/Implies: Remove sh/soft-fp.
15802 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
15803 * sysdeps/sh/sfp-machine.h: ... here.
15804
15805 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
15806
15807 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15808 (__mempcpy_erms): Skip zero length.
15809 (__memmove_erms): Likewise.
15810 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15811 (__memset_erms): Likewise.
15812
15813 2018-05-23 Joseph Myers <joseph@codesourcery.com>
15814
15815 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
15816 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
15817 Add functions moved from ....
15818 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
15819 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
15820 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
15821 from ....
15822 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
15823 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
15824 * sysdeps/alpha/e_sqrtl.c: ... here.
15825 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
15826 * sysdeps/alpha/local-soft-fp.h: ... here.
15827 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
15828 * sysdeps/alpha/ots_add.c: ... here.
15829 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
15830 * sysdeps/alpha/ots_cmp.c: ... here.
15831 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
15832 * sysdeps/alpha/ots_cmpe.c: ... here.
15833 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
15834 * sysdeps/alpha/ots_cvtqux.c: ... here.
15835 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
15836 * sysdeps/alpha/ots_cvtqx.c: ... here.
15837 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
15838 * sysdeps/alpha/ots_cvttx.c: ... here.
15839 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
15840 * sysdeps/alpha/ots_cvtxq.c: ... here.
15841 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
15842 * sysdeps/alpha/ots_cvtxt.c: ... here.
15843 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
15844 * sysdeps/alpha/ots_div.c: ... here.
15845 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
15846 * sysdeps/alpha/ots_mul.c: ... here.
15847 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
15848 * sysdeps/alpha/ots_nintxq.c: ... here.
15849 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
15850 * sysdeps/alpha/ots_sub.c: ... here.
15851 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
15852 * sysdeps/alpha/sfp-machine.h: ... here.
15853
15854 2018-05-23 Florian Weimer <fweimer@redhat.com>
15855
15856 [BZ #19728]
15857 [BZ #19729]
15858 [BZ #22247]
15859 CVE-2016-6261
15860 CVE-2016-6263
15861 CVE-2017-14062
15862 Switch to extern IDNA implementation (libidn2).
15863 * libidn: Remove subdirectory.
15864 * LICENSES: Do not mention licensing conditions for the removed
15865 libidn code.
15866 * config.h.in (HAVE_LIBIDN): Remove.
15867 * include/dlfcn.h (__libc_dlopen): Update comment.
15868 * include/idna.h: Remove file.
15869 * inet/Makefile (routines): Add idna.
15870 (tests-static, tests-internal): Add tst-idna_name_classify.
15871 (LOCALES): Generate locales for tests.
15872 (tst-idna_name_classify.out): Depend on generated locales.
15873 * inet/idna_name_classify.c: New file.
15874 * inet/tst-idna_name_classify.c: Likewise.
15875 * inet/net-internal.h (__idna_to_dns_encoding)
15876 (__idna_from_dns_encoding): Declare.
15877 * inet/net-internal.h (enum idna_name_classification): Define.
15878 (__idna_name_classify): Declare.
15879 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
15880 __idna_from_dns_encoding.
15881 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
15882 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
15883 name as a fallback in case of encoding errors.
15884 (getnameinfo): Use DEPRECATED_NI_IDN.
15885 * inet/idna.c: New file.
15886 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
15887 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
15888 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
15889 (modules-names): Add tst-no-libidn2.
15890 (extra-test-objs): Add tst-no-libidn2.os.
15891 (LDFLAGS-tst-no-libidn2.so): Set soname.
15892 (LOCALES): Set, and generate locales.
15893 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
15894 (tst-resolv-ai_idn-latin1): Likewise.
15895 (tst-resolv-ai_idn-nolibidn2): Likewise.
15896 (tst-resolv-ai_idn.out): Depend on locales.
15897 (tst-resolv-ai_idn-latin1.out): Depend on locales.
15898 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
15899 tst-no-libidn2.so.
15900 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
15901 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
15902 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
15903 * resolv/tst-resolv-ai_idn.c: New file.
15904 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
15905 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
15906 * resolv/tst-no-libidn2.c: Likewise.
15907 * support/support_format_addrinfo.c (format_ai_flags): Do not
15908 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
15909 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
15910 (gaih_inet): Call __idna_to_dns_encoding and
15911 __idna_from_dns_encoding, and use the original (punycode) name if
15912 __idna_from_dns_encoding fails due to an encoding error.
15913 (getaddrinfo): Use DEPRECATED_AI_IDN.
15914 * sysdeps/unix/inet/Subdirs (libidn): Remove.
15915 * sysdeps/unix/inet/configure: Remove file.
15916 * sysdeps/unix/inet/configure.ac: Likewise.
15917
15918 2018-05-23 Florian Weimer <fweimer@redhat.com>
15919
15920 Implement allocate_once.
15921 * include/allocate_once.h: New file.
15922 * misc/allocate_once.c: Likewise.
15923 * misc/tst-allocate_once.c: Likewise.
15924 * misc/Makefile (routines): Add allocate_once.
15925 (tests-internal): Add tst-allocate_once.
15926 (generated): Add tst-allocate_once.mtrace,
15927 tst-allocate_once-mem.out.
15928 (tests-special): Add tst-allocate_once-mem.out.
15929 (tst-allocate_once-ENV): Set MALLOC_TRACE.
15930 (tst-allocate_once-mem.out): Call mtrace.
15931 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
15932
15933 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
15934
15935 [BZ #23196]
15936 * string/test-memcpy.c (do_test1): New function.
15937 (test_main): Call it.
15938
15939 2018-05-23 Andreas Schwab <schwab@suse.de>
15940
15941 [BZ #23196]
15942 CVE-2018-11237
15943 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
15944 (L(preloop_large)): Save initial destination pointer in %r11 and
15945 use it instead of %rax after the loop.
15946 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
15947
15948 2018-05-22 Joseph Myers <joseph@codesourcery.com>
15949
15950 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
15951 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
15952 -I../soft-fp. Moved from ....
15953 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
15954 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
15955 * sysdeps/aarch64/e_sqrtl.c: ... here.
15956 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
15957 * sysdeps/aarch64/sfp-machine.h: ... here.
15958
15959 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
15960 -Wmaybe-uninitialized around access to fq[0].
15961 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15962 Likewise.
15963
15964 [BZ #18471]
15965 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
15966 aliases for non-libc case of versioned symbols.
15967 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
15968 (llseek): Define as compat symbol if
15969 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
15970 with link warning.
15971 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
15972 Make into a compat symbol, disabled for minimum symbol version
15973 GLIBC_2.28 and later.
15974 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
15975
15976 2018-05-22 Florian Weimer <fweimer@redhat.com>
15977
15978 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
15979 not add -mpreferred-stack-boundary=4.
15980 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
15981 (stack-align-test-flags): Likewise.
15982 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
15983 Likewise.
15984 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
15985 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
15986 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
15987 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
15988 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
15989 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
15990 (CFLAGS-tst-align2.c): Likewise.
15991
15992 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
15993
15994 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
15995 (index_arch_Prefer_FSRM): Likewise.
15996 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
15997 Also check Prefer_FSRM.
15998 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
15999 Also return OPTIMIZE (erms) for Prefer_FSRM.
16000
16001 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
16002
16003 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
16004 (index_cpu_FSRM): Likewise.
16005 (reg_FSRM): Likewise.
16006
16007 2018-05-18 Joseph Myers <joseph@codesourcery.com>
16008
16009 * math/gen-tgmath-tests.py: Import sys.
16010 (Tests.__init__): Initialize macros_seen.
16011 (Tests.add_tests): Add macro to macros_seen. Only generate tests
16012 if requested to do so for this macro.
16013 (Tests.add_all_tests): Take argument for macro for which to
16014 generate tests.
16015 (Tests.check_macro_list): New function.
16016 (main): Handle check-list argument and argument specifying macro
16017 for which to generate tests.
16018 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
16019 [PYTHON] (tgmath3-macro-tests): Likewise.
16020 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
16021 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
16022 not test-tgmath3.c.
16023 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
16024 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
16025 to CFLAGS.
16026 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
16027 [PYTHON] ($(foreach
16028 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
16029 rule.
16030 [PYTHON] (tests-special): Add
16031 $(objpfx)test-tgmath3-macro-list.out.
16032 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
16033
16034 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
16035 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
16036 later.
16037
16038 [BZ #22639]
16039 * time/tzset.c (SECSPERDAY): Cast to time_t.
16040 * time/tst-y2039.c: New file.
16041 * time/Makefile (tests): Add tst-y2039.
16042
16043 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16044
16045 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16046 (PREFETCH_ONE_SET): Remove duplicate line.
16047
16048 2018-05-17 Florian Weimer <fweimer@redhat.com>
16049
16050 * sysdeps/generic/math-type-macros-double.h: Include
16051 <math-nan-payload-double.h> after <libm-alias-double.h>.
16052 * sysdeps/generic/math-type-macros-float.h: Include
16053 <math-nan-payload-float.h> after <libm-alias-float.h>.
16054 * sysdeps/generic/math-type-macros-float128.h: Include
16055 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
16056 * sysdeps/generic/math-type-macros-ldouble.h: Include
16057 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
16058
16059 2018-05-17 Andreas Schwab <schwab@suse.de>
16060
16061 * resolv/res_send.c (__res_context_send): Don't set errno when
16062 returing error after malloc failure.
16063
16064 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
16065
16066 * nptl/allocatestack.c (allocate_stack): Remove the
16067 !__ASSUME_PRIVATE_FUTEX paths.
16068 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
16069 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
16070 Likewise.
16071 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
16072 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
16073 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
16074 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
16075 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
16076 !__ASSUME_PRIVATE_FUTEX path.
16077 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
16078 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
16079 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
16080 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
16081 !__ASSUME_PRIVATE_FUTEX macros.
16082 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
16083 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
16084 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
16085 * sysdeps/unix/sysv/linux/kernel-features.h
16086 (__ASSUME_PRIVATE_FUTEX): Removed.
16087
16088 2018-05-17 Joseph Myers <joseph@codesourcery.com>
16089
16090 * math/Makefile (libm-narrow-fns): Add div.
16091 (libm-test-funcs-narrow): Likewise.
16092 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
16093 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
16094 * math/gen-auto-libm-tests.c (test_functions): Add div.
16095 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
16096 (NARROW_DIV_ROUND_TO_ODD): Likewise.
16097 (NARROW_DIV_TRIVIAL): Likewise.
16098 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
16099 macro.
16100 (__ddivl): Likewise.
16101 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
16102 ddiv.
16103 (CFLAGS-nldbl-ddiv.c): New variable.
16104 (CFLAGS-nldbl-fdiv.c): Likewise.
16105 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16106 __nldbl_ddivl.
16107 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
16108 prototype.
16109 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
16110 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
16111 * math/auto-libm-test-in: Add tests of div.
16112 * math/auto-libm-test-out-narrow-div: New generated file.
16113 * math/libm-test-narrow-div.inc: New file.
16114 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
16115 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
16116 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
16117 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
16118 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
16119 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
16120 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
16121 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
16122 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
16123 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
16124 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
16125 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
16126 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
16127 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
16128 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
16129 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
16130 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
16131 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
16132 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16133 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16134 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16135 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16136 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16137 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16138 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16139 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16140 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16141 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16142 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16143 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16144 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16145 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16150 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16151 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16152 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16153 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16154 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16155 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16156 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16157 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16158
16159 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16160
16161 [BZ #23178]
16162 * nscd/nscd-client.h (sendfileall): Remove prototype.
16163 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
16164 (handle_request): Use writeall instead of sendfileall.
16165 * nscd/aicache.c (addhstaiX): Likewise.
16166 * nscd/grpcache.c (cache_addgr): Likewise.
16167 * nscd/hstcache.c (cache_addhst): Likewise.
16168 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16169 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
16170 * nscd/pwdcache.c (cache_addpw): Likewise.
16171 * nscd/servicescache.c (cache_addserv): Likewise.
16172 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
16173 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
16174 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
16175 Remove define.
16176
16177 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
16178
16179 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
16180 Include <string/strncat.c>.
16181 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
16182 alias.
16183 (__GI___strncat): New hidden alias.
16184
16185 2018-05-16 Joseph Myers <joseph@codesourcery.com>
16186
16187 * sysdeps/mips/mips32/libm-test-ulps: Update.
16188 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16189
16190 2018-05-16 Florian Weimer <fweimer@redhat.com>
16191
16192 * support/Makefile (libsupport-routines): Add support_quote_blob,
16193 support_test_compare_blob.
16194 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
16195 * support/check.h (TEST_COMPARE_BLOB): Define.
16196 (support_test_compare_blob): Declare.
16197 * support/support.h (support_quote_blob): Declare.
16198 * support/support_quote_blob.c: New file.
16199 * support/support_test_compare_blob.c: Likewise.
16200 * support/tst-support_quote_blob.c: Likewise.
16201 * support/tst-test_compare_blob.c: Likewise.
16202
16203 2018-05-16 Florian Weimer <fweimer@redhat.com>
16204
16205 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
16206 of <strtod_nan_double.h>.
16207 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
16208 instead of SET_MANTISSA.
16209 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
16210 of include <strtod_nan_float.h>.
16211 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
16212 instead of <strtod_nan_ldouble.h>.
16213 * stdlib/strtod_nan_double.h: Move to ...
16214 * sysdeps/generic/math-nan-payload-double.h: ... here.
16215 (FLOAT): Remove definition.
16216 (SET_MANTISSA): Rename to ...
16217 (SET_NAN_PAYLOAD): ... this.
16218 * stdlib/strtod_nan_float.h: Move to ...
16219 * sysdeps/generic/math-nan-payload-float.h: ... here.
16220 (FLOAT): Remove definition.
16221 (SET_MANTISSA): Rename to ...
16222 (SET_NAN_PAYLOAD): ... this.
16223 * sysdeps/generic/math-type-macros-double.h: Include
16224 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
16225 instead of <math-svid-compat.h>.
16226 * sysdeps/generic/math-type-macros-float.h: Include
16227 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
16228 instead of <math-svid-compat.h>.
16229 * sysdeps/generic/math-type-macros-float128.h: Include
16230 <math-nan-payload-float128.h>.
16231 * sysdeps/generic/math-type-macros-ldouble.h: Include
16232 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
16233 instead of <math-svid-compat.h>.
16234 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
16235 check for definition.
16236 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
16237 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
16238 Include <ieee754_float128.h>.
16239 (FLOAT): Remove definition.
16240 (SET_MANTISSA): Rename to ...
16241 (SET_NAN_PAYLOAD): ... this.
16242 * sysdeps/ieee754/float128/strtof128_nan.c: Include
16243 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
16244 Do not include <float128_private.h>.
16245 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
16246 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
16247 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
16248 (FLOAT): Remove definition.
16249 (SET_MANTISSA): Rename to ...
16250 (SET_NAN_PAYLOAD): ... this.
16251 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
16252 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
16253 (FLOAT): Remove definition.
16254 (SET_MANTISSA): Rename to ...
16255 (SET_NAN_PAYLOAD): ... this.
16256 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
16257 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
16258 (FLOAT): Remove definition.
16259 (SET_MANTISSA): Rename to ...
16260 (SET_NAN_PAYLOAD): ... this.
16261 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
16262 of "../stdlib/strtod_nan_double.h".
16263 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
16264 of "../stdlib/strtod_nan_float.h".
16265 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
16266 instead of "../stdlib/strtod_nan_ldouble.h".
16267 * manual/arith.texi (Parsing of Floats): Adjust comment.
16268
16269 2018-05-16 Joseph Myers <joseph@codesourcery.com>
16270
16271 * math/Makefile (libm-narrow-fns): Add mul.
16272 (libm-test-funcs-narrow): Likewise.
16273 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
16274 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
16275 * math/gen-auto-libm-tests.c (test_functions): Add mul.
16276 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
16277 (NARROW_MUL_ROUND_TO_ODD): Likewise.
16278 (NARROW_MUL_TRIVIAL): Likewise.
16279 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
16280 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
16281 macro.
16282 (__dmull): Likewise.
16283 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
16284 dmul.
16285 (CFLAGS-nldbl-dmul.c): New variable.
16286 (CFLAGS-nldbl-fmul.c): Likewise.
16287 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16288 __nldbl_dmull.
16289 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
16290 prototype.
16291 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
16292 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
16293 * math/auto-libm-test-in: Add tests of mul.
16294 * math/auto-libm-test-out-narrow-mul: New generated file.
16295 * math/libm-test-narrow-mul.inc: New file.
16296 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
16297 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
16298 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
16299 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
16300 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
16301 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
16302 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
16303 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
16304 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
16305 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
16306 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
16307 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
16308 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
16309 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
16310 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
16311 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
16312 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
16313 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
16314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16315 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16316 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16317 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16318 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16319 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16320 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16321 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16322 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16323 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16324 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16325 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16326 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16327 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16332 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16333 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16334 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16335 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16336 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16337 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16338 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16339 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16340
16341 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
16342
16343 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
16344 with *%eax in call.
16345
16346 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
16347
16348 * sysdeps/i386/ldsodefs.h: Removed.
16349 * sysdeps/x86_64/ldsodefs.h: Moved to ...
16350 * sysdeps/x86/ldsodefs.h: This.
16351 (La_i86_regs): New.
16352 (La_i86_retval): Likewise.
16353 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
16354 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
16355
16356 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
16357
16358 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
16359 unnecessary testl.
16360
16361 2018-05-13 Alan Modra <amodra@gmail.com>
16362
16363 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
16364 R_PARISC_TLS_DTPOFF32 reloc addend.
16365
16366 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16367
16368 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
16369 * math/math.h: Restrict the prototype definition for the functions
16370 issignaling(_Float128) and iszero(_Float128); and template
16371 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
16372 __HAVE_FLOAT128_UNLIKE_LDBL.
16373 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
16374 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
16375 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
16376 __f128() constants; define the type _Float128 as long double;
16377 and reuse long double in __CFLOAT128.
16378
16379 2018-05-11 Joseph Myers <joseph@codesourcery.com>
16380
16381 * sysdeps/generic/math_private.h: Do not include
16382 <math-barriers.h>.
16383 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
16384 <math_private.h>.
16385 * math/fromfp.h: Include <math-barriers.h>.
16386 * math/math-narrow.h: Likewise.
16387 * math/s_nextafter.c: Likewise.
16388 * math/s_nexttowardf.c: Likewise.
16389 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
16390 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
16391 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
16392 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
16393 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16394 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16395 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16396 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16397 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16398 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16399 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16400 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16401 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16402 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16403 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
16404 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
16405 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16406 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16407 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16408 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16409 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16410 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16411 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16412 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16413 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16414 * sysdeps/ieee754/k_standardl.c: Likewise.
16415 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16416 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16417 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16418 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
16419 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16420 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16421 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16422 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16423 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16424 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
16425 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16426 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16427 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16428 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16429 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16430 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16431 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
16432 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
16433 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16434 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16435 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
16436 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
16437
16438 2018-05-11 Florian Weimer <fweimer@redhat.com>
16439
16440 Use 64-bit epoch values in the time zone file parser.
16441 * include/time.h (internal_time_t): Define.
16442 (__tzfile_compute): Use it.
16443 * time/tzfile.c (struct leap): Use internal_time_t for epoch
16444 member.
16445 (transitions): Switch to internal_time_t.
16446 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
16447 types.
16448 (__tzfile_compute): Use internal_time_t for timer argument. Check
16449 for truncation before calling __offtime.
16450
16451 2018-05-11 Florian Weimer <fweimer@redhat.com>
16452
16453 [BZ #23166]
16454 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
16455 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
16456 Likewise.
16457 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
16458 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
16459 export without --enable-obsolete-rpc.
16460 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
16461 symbol. This should not have been exported, ever.
16462
16463 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
16464
16465 [BZ #23152]
16466 * localedata/locales/gd_GB (abmon): Fix typo in May:
16467 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
16468
16469 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
16470
16471 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
16472 Use multiple registers to copy data in loop tail.
16473
16474 * sysdeps/aarch64/multiarch/memmove_falkor.S
16475 (__memmove_falkor): Use multiple registers to move data in
16476 loop tail.
16477
16478 2018-05-10 Joseph Myers <joseph@codesourcery.com>
16479
16480 * math/math-underflow.h: New file.
16481 * sysdeps/generic/math_private.h: Do not include <float.h>.
16482 (fabs_tg): Remove macro. Moved to math-underflow.h.
16483 (min_of_type_f): Likewise.
16484 (min_of_type_): Likewise.
16485 (min_of_type_l): Likewise.
16486 (min_of_type_f128): Likewise.
16487 (min_of_type): Likewise.
16488 (math_check_force_underflow): Likewise.
16489 (math_check_force_underflow_nonneg): Likewise.
16490 (math_check_force_underflow_complex): Likewise.
16491 * math/e_exp2_template.c: Include <math-underflow.h>.
16492 * math/k_casinh_template.c: Likewise.
16493 * math/s_catan_template.c: Likewise.
16494 * math/s_catanh_template.c: Likewise.
16495 * math/s_ccosh_template.c: Likewise.
16496 * math/s_cexp_template.c: Likewise.
16497 * math/s_clog10_template.c: Likewise.
16498 * math/s_clog_template.c: Likewise.
16499 * math/s_csin_template.c: Likewise.
16500 * math/s_csinh_template.c: Likewise.
16501 * math/s_csqrt_template.c: Likewise.
16502 * math/s_ctan_template.c: Likewise.
16503 * math/s_ctanh_template.c: Likewise.
16504 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16505 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16506 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16507 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16508 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16509 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16510 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16511 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16512 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16513 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16514 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16515 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16516 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16517 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16518 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16519 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16520 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16521 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16522 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16523 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16524 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
16525 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16526 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16527 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16528 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16529 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16530 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16531 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16532 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16533 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16534 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16535 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16536 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16537 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16538 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16539 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16540 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16541 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16542 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16543 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16544 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16545 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16546 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16547 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16548 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16549 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16550 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16551 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16552 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16553 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16554 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16555 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
16556 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16557 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
16558 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16559 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16560 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16561 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16562 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16563 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16564 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16565 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16566 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16567 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
16568 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16569 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16570 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16571 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
16572 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16573 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16574 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16575 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16576 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16577 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
16578 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16579 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16580 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16581 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16582 * sysdeps/x86/fpu/powl_helper.c: Likewise.
16583 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
16584 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
16585 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
16586 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
16587 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
16588
16589 2018-05-09 Joseph Myers <joseph@codesourcery.com>
16590
16591 * sysdeps/generic/math-barriers.h: New file.
16592 * sysdeps/generic/math_private.h [!math_opt_barrier]
16593 (math_opt_barrier): Move to math-barriers.h.
16594 [!math_opt_barrier] (math_force_eval): Likewise.
16595 * sysdeps/aarch64/fpu/math-barriers.h: New file.
16596 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
16597 math-barriers.h.
16598 (math_force_eval): Likewise.
16599 * sysdeps/alpha/fpu/math-barriers.h: New file.
16600 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
16601 math-barriers.h.
16602 (math_force_eval): Likewise.
16603 * sysdeps/x86/fpu/math-barriers.h: New file.
16604 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
16605 math-barriers.h.
16606 (math_force_eval): Likewise.
16607 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
16608 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
16609 multiple-include guard for rename.
16610 * sysdeps/powerpc/fpu/math-barriers.h: New file.
16611 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
16612 math-barriers.h.
16613 (math_force_eval): Likewise.
16614
16615 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
16616
16617 [BZ #22786]
16618 CVE-2018-11236
16619 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
16620 computation.
16621 * stdlib/Makefile (test-bz22786): New test.
16622 * stdlib/test-bz22786.c: New test.
16623
16624 2018-05-09 Joseph Myers <joseph@codesourcery.com>
16625
16626 * include/math-narrow-eval.h: New file. Contents moved from ....
16627 * sysdeps/generic/math_private.h: ... here.
16628 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
16629 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
16630 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
16631 * stdlib/strtod_l.c: Likewise.
16632 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
16633 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
16634 * sysdeps/i386/fpu/s_fdim.c: Likewise.
16635 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16636 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16637 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16638 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16639 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16640 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16641 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16642 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16643 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
16644 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16645 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
16646 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16647 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16648 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16649 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16650 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
16651 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16652 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16653 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16654 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16655 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16656 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
16657 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16658 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16659 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16660 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16661
16662 2018-05-08 Andreas Schwab <schwab@suse.de>
16663
16664 * sysdeps/nptl/internaltypes.h: Fix comment.
16665
16666 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
16667
16668 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16669 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
16670 hidden.
16671
16672 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
16673
16674 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
16675 of I into loop header.
16676 * benchtests/bench-memmove-walk.c
16677 (test_main): Likewise.
16678
16679 2018-05-07 Alexandre Oliva <oliva@gnu.org>
16680
16681 Revert:
16682 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
16683 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
16684
16685 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16686
16687 [BZ #20419]
16688 * elf/dl-load.c (open_verify): Fix stack overflow.
16689 * elf/Makefile (tst-big-note): New test.
16690 * elf/tst-big-note-lib.S: New.
16691 * elf/tst-big-note.c: New.
16692
16693 2018-05-04 Joseph Myers <joseph@codesourcery.com>
16694
16695 * scripts/abilist.awk: Ignore absolute symbols.
16696 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
16697 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
16698 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
16699 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
16700 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
16701 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
16702 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16703 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
16704 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
16705 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
16706 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
16707 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
16708 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
16709 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
16710 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
16711 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
16712 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
16713 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
16714 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16715 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
16716 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
16717 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
16718 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
16719 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
16720 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
16721 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
16722 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
16723 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
16724 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16725 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
16726 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
16727 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16728 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
16729 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
16730 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
16731 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
16732 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
16733 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
16734 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
16735 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
16736 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
16737 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
16738 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
16739 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
16740 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16741 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
16742 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
16743 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
16744 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
16745 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
16746 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
16747 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
16748 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
16749 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
16750 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16751 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
16752 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
16753 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16754 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
16755 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
16756 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
16757 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
16758 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
16759 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
16760 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
16761 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
16762 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
16763 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
16764 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
16765 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
16766 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16767 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
16768 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
16769 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
16770 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
16771 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
16772 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
16773 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
16774 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
16775 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
16776 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16777 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
16778 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
16779 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16780 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
16781 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
16782 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
16783 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
16784 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
16785 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
16786 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
16787 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
16788 Likewise.
16789 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
16790 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16791 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
16792 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
16793 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16794 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
16795 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
16796 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
16797 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
16798 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
16799 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
16800 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
16801 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
16802 Likewise.
16803 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
16804 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16805 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
16806 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
16807 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16808 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
16809 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
16810 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
16811 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
16812 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
16813 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
16814 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
16815 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
16816 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
16817 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16818 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
16819 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
16820 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16821 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
16822 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
16823 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
16824 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
16825 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
16826 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
16827 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16828 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
16829 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
16830 Likewise.
16831 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
16832 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
16833 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
16834 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
16835 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16836 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
16837 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
16838 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
16839 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
16840 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
16841 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
16842 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
16843 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
16844 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
16845 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
16846 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
16847 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
16848 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
16849 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16850 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
16851 Likewise.
16852 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
16853 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
16854 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
16855 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16856 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
16857 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
16858 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
16859 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
16860 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
16861 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
16862 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16863 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
16864 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
16865 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16866 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
16867 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
16868 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
16869 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
16870 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16871 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
16872 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
16873 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16874 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
16875 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
16876 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
16877 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
16878 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
16879 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
16880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
16881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
16883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
16884 Likewise.
16885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
16886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
16887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
16888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
16889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
16890 Likewise.
16891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
16892 Likewise.
16893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
16894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
16895 Likewise.
16896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
16897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16898 Likewise.
16899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16900 Likewise.
16901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
16902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
16903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
16904 Likewise.
16905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
16906 Likewise.
16907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
16908 Likewise.
16909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
16910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
16913 Likewise.
16914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
16915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
16916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
16917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
16920 Likewise.
16921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
16922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
16923 Likewise.
16924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
16925 Likewise.
16926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
16927 Likewise.
16928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
16929 Likewise.
16930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
16931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
16932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
16933 Likewise.
16934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
16935 Likewise.
16936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
16937 Likewise.
16938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
16939 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
16940 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
16941 Likewise.
16942 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
16943 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
16944 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
16945 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
16946 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16947 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
16948 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
16949 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
16950 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
16951 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
16952 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
16953 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
16954 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
16955 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
16956 Likewise.
16957 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16958 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
16959 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
16960 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16961 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
16962 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
16963 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
16964 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
16965 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
16966 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
16967 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
16968 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
16969 Likewise.
16970 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16971 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
16972 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
16973 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16974 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
16975 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
16976 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
16977 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
16978 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
16979 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
16980 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
16981 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
16982 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
16983 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16984 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
16985 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
16986 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16987 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
16988 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
16989 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
16990 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
16991 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
16992 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
16993 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
16994 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16995 Likewise.
16996 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
16997 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16998 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
16999 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
17000 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17001 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
17002 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
17003 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
17004 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
17005 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
17006 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
17007 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
17008 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
17009 Likewise.
17010 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
17011 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17012 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
17013 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
17014 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17015 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
17016 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
17017 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
17018 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
17019 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
17020 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
17021 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
17022 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
17023 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
17024 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17025 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
17026 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
17027 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17028 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
17029 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
17030 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
17031 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
17032 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
17033 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
17034 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
17035 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
17036 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
17037 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
17038 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17039 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
17040 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
17041 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17042 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
17043 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
17044 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
17045 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
17046 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
17047 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
17048
17049 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
17050
17051 [BZ #23137]
17052 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
17053 Use atomic_load_acquire to load __tid.
17054
17055 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
17056
17057 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
17058 Restore the pointer into %rdx, after syscall and use %rdx,
17059 instead of %rsi, to restore context.
17060
17061 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
17062
17063 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
17064 Pop the pointer into %rdx after syscall and use %rdx, instead
17065 of %rsi, to restore context.
17066
17067 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
17068
17069 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
17070 handlers after setjmp.
17071 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
17072 defined.
17073 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
17074 <libc-pointer-arith.h>.
17075 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
17076 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
17077 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
17078 _JUMP_BUF_SIGSET_BITS_PER_WORD.
17079 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
17080 * sysdeps/x86/__longjmp_cancel.S: New file.
17081 * sysdeps/x86/longjmp.c: Likewise.
17082 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
17083
17084 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17085
17086 * NEWS: Add ustat.h deprecation entry.
17087 * bits/ustat.h: Remove file.
17088 * misc/sys/ustat.h: Likewise.
17089 * misc/ustat.h: Likewise.
17090 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
17091 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
17092 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
17093 compatibility mode.
17094 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
17095 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
17096 generic Linux implementation.
17097
17098 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17099
17100 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
17101 * math/w_expl_compat.c: Likewise.
17102 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
17103
17104 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
17105
17106 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
17107
17108 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17109
17110 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
17111 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
17112 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
17113 Remove.
17114 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
17115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17116 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17117 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
17118 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
17119 and SYSCALL_LL64.
17120
17121 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17122
17123 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
17124
17125 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
17126 * math/w_asin_template.c: Likewise.
17127 * math/w_atanh_template.c: Likewise.
17128
17129 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17130
17131 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
17132 to powerpc/powerpc64/be for big-endian.
17133 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
17134 little-endian.
17135
17136 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
17137 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
17138 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
17139 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
17140 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17141 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
17142 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
17143 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
17144 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
17145 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
17146 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
17147 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
17148 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
17149 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
17150 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
17151 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
17152 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
17153 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
17154 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
17155 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
17156 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
17157 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
17158 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
17159 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
17160 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
17161 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
17162 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
17163 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
17164 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
17165 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
17166 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
17167 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
17168
17169 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
17170 adjusted to imply powerpc64 and older processors on powerpc64/be.
17171 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
17172 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
17173 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
17174 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
17175 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
17176 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
17177 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
17178 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
17179 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
17180 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
17181 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
17182 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
17183 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
17184 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
17185 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
17186 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
17187 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
17188 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
17189 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
17190 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
17191 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
17192 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
17193 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
17194 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
17195 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
17196 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
17197 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
17198 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
17199 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
17200 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
17201 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
17202
17203 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
17204 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
17205 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
17206 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
17207
17208 * sysdeps/powerpc/powerpc64/be/Implies: New file.
17209 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
17210 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
17211 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
17212
17213 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
17214 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
17215 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
17216 * sysdeps/powerpc/powerpc64le/configure: Likewise.
17217 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
17218 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
17219 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
17220 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
17221 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
17222 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
17223 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
17224
17225 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
17226 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
17227 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
17228 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
17229 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
17230 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
17231 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
17232 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
17233 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
17234 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
17235 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
17236
17237 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
17238 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
17239 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
17240 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
17241 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
17242 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
17243 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
17244 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
17245 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
17246 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
17247 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
17248 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
17249
17250 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
17251 and adjusted to imply olders processors.
17252 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
17253 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
17254 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
17255 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
17256 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
17257 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
17258 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
17259 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
17260 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
17261 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
17262 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
17263
17264 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
17265 powerpc64/le.
17266 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
17267 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
17268
17269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
17270 powerpc64le.
17271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
17272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
17273
17274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
17275 powerpc64/be.
17276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
17278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
17279
17280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
17281 powerpc64 and adjusted.
17282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
17283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
17284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
17285 Likewise.
17286
17287 2018-04-27 Joseph Myers <joseph@codesourcery.com>
17288
17289 * sysdeps/tile: Remove.
17290 * sysdeps/unix/sysv/linux/tile: Likewise.
17291 * README (tilegx-*-linux-gnu): Remove from list of supported
17292 configurations.
17293 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
17294 contribution of support for generic Linux kernel syscall
17295 interface.
17296 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
17297 tilegx configurations.
17298 (Config.install_linux_headers): Do not handle tile.
17299 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
17300 in comment.
17301 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
17302 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
17303 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
17304 conditional undefine and redefine.
17305 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
17306 in comment.
17307 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
17308 conditional undefine and redefine.
17309
17310 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
17311
17312 * signal/tst-sigaction.c: New file to test BZ #23069.
17313 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
17314
17315 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17316
17317 [BZ #22766]
17318 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
17319 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
17320 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
17321 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
17322
17323 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17324
17325 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
17326 _DIRENT_MATCHES_DIRENT64 is not defined.
17327 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
17328 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
17329 is defined.
17330 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
17331 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
17332
17333 2018-04-25 Joseph Myers <joseph@codesourcery.com>
17334
17335 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
17336 version to GCC 8 branch.
17337
17338 2018-04-24 Joseph Myers <joseph@codesourcery.com>
17339
17340 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
17341 (check_no_hidden): Use type of original function when declaring
17342 alias.
17343
17344 * sysdeps/unix/sysv/linux/sys/ptrace.h
17345 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
17346 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
17347 (struct __ptrace_seccomp_metadata): New type.
17348 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
17349 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17350 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
17351 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17352 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
17353 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17354 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
17355 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17356 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
17357 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17358 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
17359 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17360 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
17361 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17362 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
17363 (PTRACE_SECCOMP_GET_METADATA): Likewise.
17364
17365 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17366
17367 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
17368 defined.
17369 * dirent/versionsort.c (versionsort): Likewise.
17370 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
17371 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
17372 * dirent/versionsort64.c (versionsort64): Likewise.
17373 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
17374 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
17375 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
17376 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
17377 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
17378 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
17379 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
17380 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
17381 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
17382 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
17383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
17384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
17385 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
17386 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
17387
17388 2018-04-23 Joseph Myers <joseph@codesourcery.com>
17389
17390 * elf/elf.h (NT_PPC_PKEY): New macro.
17391
17392 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
17393
17394 [BZ #23094]
17395 * localedata/locales/hr_HR: fix thousands_sep and
17396 mon_thousands_sep
17397
17398 2018-04-20 Joseph Myers <joseph@codesourcery.com>
17399
17400 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
17401 (XTABS): Define to TAB3.
17402
17403 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17404
17405 * sysdeps/hppa/fpu/libm-test-ulps: Update.
17406
17407 * dirent/scandir-tail-common.c: New file.
17408 * dirent/scandir-tail.c: Use scandir-tail-common.c.
17409 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
17410 * dirent/scandir.c: Use scandir-tail-common.c.
17411 * dirent/scandirat.c: Likewise.
17412 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
17413 * dirent/scandir64.c (scandir64): Always build and alias to scandir
17414 if _DIRENT_MATCHES_DIRENT64 is defined.
17415 * dirent/scandirat64.c (scandirat64): Likewise.
17416 * include/dirent.h (__scandir_tail): Only define iff
17417 _DIRENT_MATCHES_DIRENT64 is not defined.
17418 (__scandir64_tail): Define regardless.
17419 (__scandirat, scandirat64): Remove libc_hidden_proto.
17420 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
17421 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
17422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
17423 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
17424 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
17425 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
17426 * sysdeps/unix/sysv/linux/scandir64.c: New file.
17427
17428 2018-04-20 Joseph Myers <joseph@codesourcery.com>
17429
17430 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
17431 New macro.
17432 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
17433 Increase to 24.
17434 (_dl_aarch64_cap_flags): Add asimdfhm.
17435
17436 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
17437
17438 * sysdeps/nios2/libm-test-ulps: Update.
17439
17440 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17441
17442 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
17443 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
17444
17445 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
17446 requirements.
17447 (_DIRENT_MATCHES_DIRENT64): Undef
17448 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
17449 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
17450 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
17451 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
17452 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
17453 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
17454 use getdents64 syscalls as base.
17455 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
17456 symbol if required.
17457 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
17458 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
17459 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
17460 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
17461 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
17462 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
17463 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
17464 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
17465 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17466 (__get_clockfreq_via_proc_openprom): Use __getdents64.
17467 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
17468
17469 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
17470
17471 * scripts/test_printers_common.py (init_test): Disable lock elision.
17472
17473 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
17474
17475 * math/test-tgmath.c (count_double, count_float,
17476 count_ldouble, count_cdouble, count_cfloat,
17477 count_cldouble): Use volatile int.
17478
17479 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
17480
17481 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
17482 (conformtest-xfail-conds): Add i386-gnu.
17483 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
17484 i386-gnu.
17485 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
17486 ipc_perm.cuid, ipc_perm.cgid): Likewise.
17487 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
17488 msqid_ds.msg_lrpid): Likewise.
17489 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
17490 Likewise.
17491 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
17492 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
17493 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
17494 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
17495 unsigned int.
17496 (struct statvfs64): Likewise.
17497 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
17498 Likewise.
17499 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
17500 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
17501 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
17502 instead of wait_queue.
17503 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
17504 instead of vm_area_struct.
17505 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
17506 struct sched_param definition to it.
17507 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
17508 * bits/types/struct_sched_param.h: New file.
17509 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
17510 <bits/types/struct_sched_param.h> instead of <sched.h>.
17511 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
17512 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
17513 generic version but include <bits/pthreadtypes.h> to make struct
17514 sigevent's sigev_notify_attributes field a pthread_attr_t*.
17515 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
17516 non-compliant.
17517 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
17518 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
17519 [__USE_XOPEN] (OFDEL): New macro.
17520 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
17521 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
17522 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
17523 prototypes.
17524 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
17525 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
17526 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
17527 non-compliant.
17528 * sysdeps/i386/sys/ucontext.h: Likewise.
17529 * sysdeps/m68k/sys/ucontext.h: Likewise.
17530 * sysdeps/mips/sys/ucontext.h: Likewise.
17531 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
17532 * sysdeps/mach/hurd/i386/Makefile
17533 (test-xfail-POSIX/fcntl.h/conform): Add.
17534 (test-xfail-POSIX/signal.h/conform): Add.
17535 (test-xfail-POSIX/semaphore.h/conform): Add.
17536 (test-xfail-POSIX/regex.h/conform): Add.
17537 (test-xfail-POSIX/aio.h/conform): Add.
17538 (test-xfail-POSIX/mqueue.h/conform): Add.
17539 (test-xfail-POSIX/sys/types.h/conform): Add.
17540 (test-xfail-UNIX98/fcntl.h/conform): Add.
17541 (test-xfail-UNIX98/netdb.h/conform): Add.
17542 (test-xfail-UNIX98/signal.h/conform): Add.
17543 (test-xfail-UNIX98/semaphore.h/conform): Add.
17544 (test-xfail-UNIX98/regex.h/conform): Add.
17545 (test-xfail-UNIX98/aio.h/conform): Add.
17546 (test-xfail-UNIX98/ftw.h/conform): Add.
17547 (test-xfail-UNIX98/mqueue.h/conform): Add.
17548 (test-xfail-UNIX98/netinet/in.h/conform): Add.
17549 (test-xfail-UNIX98/sys/wait.h/conform): Add.
17550 (test-xfail-UNIX98/sys/sem.h/conform): Add.
17551 (test-xfail-UNIX98/sys/uio.h/conform): Add.
17552 (test-xfail-UNIX98/sys/socket.h/conform): Add.
17553 (test-xfail-UNIX98/sys/types.h/conform): Add.
17554 (test-xfail-UNIX98/stdlib.h/conform): Add.
17555 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
17556 (test-xfail-POSIX2008/fcntl.h/conform): Add.
17557 (test-xfail-POSIX2008/netdb.h/conform): Add.
17558 (test-xfail-POSIX2008/signal.h/conform): Add.
17559 (test-xfail-POSIX2008/semaphore.h/conform): Add.
17560 (test-xfail-POSIX2008/regex.h/conform): Add.
17561 (test-xfail-POSIX2008/aio.h/conform): Add.
17562 (test-xfail-POSIX2008/mqueue.h/conform): Add.
17563 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
17564 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
17565 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
17566 (test-xfail-POSIX2008/sys/types.h/conform): Add.
17567 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
17568 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
17569 (test-xfail-XOPEN2K/netdb.h/conform): Add.
17570 (test-xfail-XOPEN2K/signal.h/conform): Add.
17571 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
17572 (test-xfail-XOPEN2K/regex.h/conform): Add.
17573 (test-xfail-XOPEN2K/aio.h/conform): Add.
17574 (test-xfail-XOPEN2K/ftw.h/conform): Add.
17575 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
17576 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
17577 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
17578 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
17579 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
17580 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
17581 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
17582 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
17583 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
17584 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
17585 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
17586 (test-xfail-XOPEN2K8/signal.h/conform): Add.
17587 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
17588 (test-xfail-XOPEN2K8/regex.h/conform): Add.
17589 (test-xfail-XOPEN2K8/aio.h/conform): Add.
17590 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
17591 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
17592 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
17593 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
17594 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
17595 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
17596 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
17597 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
17598 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
17599 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
17600 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
17601 i386-gnu.
17602 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
17603 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
17604
17605 2018-04-18 Joseph Myers <joseph@codesourcery.com>
17606
17607 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
17608 --enable-obsolete for powerpc-linux-gnuspe.
17609
17610 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
17611
17612 * conform/data/sys/un.h-data: Allow sun_ prefix.
17613 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
17614 prototypes.
17615 * sysdeps/mach/include/mach.h: Likewise.
17616 * sysdeps/mach/include/mach/mig_support.h: Likewise.
17617 * sysdeps/mach/include/mach_error.h: Likewise.
17618
17619 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17620
17621 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
17622 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
17623 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
17624 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
17625
17626 2018-04-16 Andreas Schwab <schwab@suse.de>
17627
17628 [BZ #19527]
17629 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
17630
17631 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17632
17633 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
17634 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
17635
17636 2018-04-12 DJ Delorie <dj@redhat.com>
17637
17638 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
17639 version to 4.16.
17640
17641 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
17642
17643 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
17644 (struct kernel_sigaction): Use the same definition on 31bit as is used
17645 on 64bit.
17646
17647 2018-04-09 Florian Weimer <fweimer@redhat.com>
17648
17649 [BZ #23037]
17650 * resolv/res_send.c (send_dg): Use designated initializers instead
17651 of assignment to zero-initialize other fields of struct mmsghdr.
17652
17653 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17654
17655 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
17656 __READDIR_ALIAS): Undefine after usage.
17657 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
17658 __READDIR_R_ALIAS): Likewise.
17659 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
17660 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
17661 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
17662 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
17663 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
17664 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
17665 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17666 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17667 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
17668 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
17669 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
17670 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
17671 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17672 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
17673 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
17674 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
17675 * sysdeps/unix/sysv/linux/readdir.c: New file.
17676 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
17677 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
17678 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
17679
17680 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
17681
17682 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
17683
17684 * manual/charset.texi (Converting a Character): Fix typo.
17685
17686 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17687
17688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17689
17690 * sysdeps/arm/libm-test-ulps: Update.
17691
17692 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
17693 as base implementation.
17694 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
17695 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
17696 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17697 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17698 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
17699 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
17700 remove unrequired definitions and update comments.
17701 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
17702 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
17703 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
17704 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
17705 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
17706 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
17707 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
17708 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
17709 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
17710 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
17711 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
17712 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
17713 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
17714 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
17715 and RESET_SA_RESTORER hooks.
17716
17717 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
17718
17719 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17720
17721 2018-04-05 Florian Weimer <fweimer@redhat.com>
17722
17723 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
17724 integer overflow, memory leak on error, and indeterminate errno
17725 value. Add a null wide character to terminate the result string.
17726 * manual/charset.texi (Converting a Character): Mention embedded
17727 null bytes in the mbrtowc input string. Explain what happens in
17728 the -2 result case. Do not claim that mbrtowc is simple or
17729 obvious to use. Adjust the description of the code example. Use
17730 @code, not @var, for concrete variables.
17731
17732 2018-04-05 Florian Weimer <fweimer@redhat.com>
17733
17734 * manual/examples/mbstouwcs.c: New file.
17735 * manual/charset.texi (Converting a Character): Include it.
17736
17737 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17738
17739 * include/dirent.h (dirfd): Add hidden proto.
17740 * dirent/dirfd.c (dirfd): Add hidden def.
17741 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
17742 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
17743
17744 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17745
17746 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
17747 sin, cos and sincos to 1 ULP.
17748
17749 2018-04-04 Maciej W. Rozycki <macro@mips.com>
17750
17751 [BZ #19818]
17752 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
17753 symbols.
17754 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
17755 * elf/tst-absolute-sym.c: New file.
17756 * elf/tst-absolute-sym-lib.c: New file.
17757 * elf/tst-absolute-sym-lib.lds: New file.
17758 * elf/Makefile (tests): Add `tst-absolute-sym'.
17759 (modules-names): Add `tst-absolute-sym-lib'.
17760 (LDLIBS-tst-absolute-sym-lib.so): New variable.
17761 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
17762 ($(objpfx)tst-absolute-sym): New dependency.
17763
17764 [BZ #19818]
17765 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
17766 parameter.
17767 (SYMBOL_ADDRESS): New macro.
17768 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
17769 SYMBOL_ADDRESS for symbol address calculation.
17770 * elf/dl-runtime.c (_dl_fixup): Likewise.
17771 (_dl_profile_fixup): Likewise.
17772 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
17773 * elf/rtld.c (dl_main): Likewise.
17774 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
17775 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
17776 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
17777 (elf_machine_rela): Likewise.
17778 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
17779 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
17780 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17781 (elf_machine_rela): Likewise.
17782 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
17783 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
17784 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
17785 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
17786 Likewise.
17787 (elf_machine_reloc): Likewise.
17788 (elf_machine_got_rel): Likewise.
17789 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
17790 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
17791 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
17792 Likewise.
17793 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17794 Likewise.
17795 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
17796 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17797 Likewise.
17798 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17799 Likewise.
17800 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17801 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17802 Likewise.
17803 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17804 Likewise.
17805 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
17806 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17807
17808 2018-04-04 Zack Weinberg <zackw@panix.com>
17809
17810 * sysdeps/generic/internal-signals.h: Include signal.h,
17811 sigsetops.h, and stdbool.h.
17812 (__libc_signal_block_all): Actually block all signals.
17813 (__libc_signal_block_app): Likewise.
17814 (__libc_signal_restore_set): Actually restore the signal mask.
17815
17816 2018-04-04 Florian Weimer <fweimer@redhat.com>
17817
17818 inet: Actually build and run tst-deadline.
17819 * inet/Makefile (tests-internal): Add tst-deadline and do not
17820 overwrite the variable.
17821 (tests-static-internal): Remove variable.
17822
17823 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
17824
17825 [BZ #22947]
17826 * bits/uio-ext.h (RWF_APPEND): New.
17827 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
17828 * manual/llio.texi: Document RWF_APPEND.
17829 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
17830 (RWF_SUPPORTED): Add RWF_APPEND.
17831
17832 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17833
17834 [BZ #22391]
17835 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
17836 check for internal nptl signals.
17837 * nptl/sigaction.c (__sigaction): Likewise.
17838 * signal/sigaddset.c (sigaddset): Likewise.
17839 * signal/sigdelset.c (sigdelset): Likewise.
17840 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
17841 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
17842 value.
17843 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
17844 to filter out internal nptl signals.
17845 * signal/tst-sigset.c (do_test): Check ech signal indidually and
17846 also check realtime signals using standard macros.
17847 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
17848 __is_internal_signal, __libc_signal_block_all,
17849 __libc_signal_block_app, __libc_signal_restore_set): New functions.
17850 * sysdeps/nptl/sigfillset.c: Remove file.
17851 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
17852 Change return to bool.
17853 (__clear_internal_signals): Remove SIGTIMER clean since it is
17854 equal to SIGCANEL on Linux.
17855 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
17856 signal set was constructed using standard functions.
17857
17858 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17859
17860 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
17861 ifname is too long.
17862 * hurd/hurdsig.c (interrupted_reply_port_location): Use
17863 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
17864 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
17865 hidden def.
17866 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
17867 * signal/sigaddset.c: Include <sigsetopts.h>.
17868 * signal/sigdelset.c: Likewise.
17869
17870 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17871
17872 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
17873 (__cos): Likewise.
17874 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
17875 logic as sin and cos.
17876
17877 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17878
17879 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
17880 inputs. Return correct sign.
17881 (do_sincos): Remove small input check before do_sin, let do_sin set
17882 the sign.
17883 (__sin): Likewise.
17884 (__cos): Likewise.
17885
17886 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17887
17888 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
17889 (do_cos_slow): Likewise.
17890 (do_sin_slow): Likewise.
17891 (reduce_and_compute): Likewise.
17892 (slow): Likewise.
17893 (slow1): Likewise.
17894 (slow2): Likewise.
17895 (sloww): Likewise.
17896 (sloww1): Likewise.
17897 (sloww2): Likewise.
17898 (bslow): Likewise.
17899 (bslow1): Likewise.
17900 (bslow2): Likewise.
17901 (cslow2): Likewise.
17902
17903 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17904
17905 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
17906 (do_cos): Remove corp parameter and calculations.
17907 (do_sin): Likewise.
17908 (do_sincos): Remove cor variable.
17909 (__sin): Use do_sincos for huge inputs.
17910 (__cos): Likewise.
17911 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
17912 (reduce_and_compute_sincos): Remove unused function.
17913
17914 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17915
17916 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
17917 reduce_sincos, improve accuracy to 136 bits.
17918 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
17919 (__sin): Use improved reduction and simplified do_sincos calculation.
17920 (__cos): Likewise.
17921 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
17922
17923 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17924
17925 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
17926 (do_sincos_2): Likewise.
17927 (__sin): Remove middle range reduction case.
17928 (__cos): Likewise.
17929 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
17930 reduction case.
17931
17932 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
17933
17934 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
17935 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
17936 inputs.
17937 (__cos): Likewise.
17938 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
17939
17940 2018-04-03 Joseph Myers <joseph@codesourcery.com>
17941
17942 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
17943 version to 4.16
17944
17945 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17946
17947 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
17948 Remove definitions.
17949 (opendir_oflags): Use O_DIRECTORY regardless.
17950 (__opendir, __opendirat): Remove need_isdir_precheck usage.
17951 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
17952
17953 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17954
17955 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
17956 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
17957 macros.
17958 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
17959 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
17960 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
17961 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
17962 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
17963 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
17964
17965 * htl/Makefile: Bump licence to LGPL 2.1+.
17966 * htl/alloca_cutoff.c: Likewise.
17967 * htl/cthreads-compat.c: Likewise.
17968 * htl/lockfile.c: Likewise.
17969 * htl/pt-alloc.c: Likewise.
17970 * htl/pt-cancel.c: Likewise.
17971 * htl/pt-cleanup.c: Likewise.
17972 * htl/pt-create.c: Likewise.
17973 * htl/pt-dealloc.c: Likewise.
17974 * htl/pt-detach.c: Likewise.
17975 * htl/pt-exit.c: Likewise.
17976 * htl/pt-getattr.c: Likewise.
17977 * htl/pt-initialize.c: Likewise.
17978 * htl/pt-internal.h: Likewise.
17979 * htl/pt-join.c: Likewise.
17980 * htl/pt-self.c: Likewise.
17981 * htl/pt-setcancelstate.c: Likewise.
17982 * htl/pt-setcanceltype.c: Likewise.
17983 * htl/pt-sigmask.c: Likewise.
17984 * htl/pt-spin-inlines.c: Likewise.
17985 * htl/pt-testcancel.c: Likewise.
17986 * htl/pt-yield.c: Likewise.
17987 * htl/tests/test-1.c: Likewise.
17988 * htl/tests/test-10.c: Likewise.
17989 * htl/tests/test-11.c: Likewise.
17990 * htl/tests/test-12.c: Likewise.
17991 * htl/tests/test-13.c: Likewise.
17992 * htl/tests/test-14.c: Likewise.
17993 * htl/tests/test-15.c: Likewise.
17994 * htl/tests/test-16.c: Likewise.
17995 * htl/tests/test-17.c: Likewise.
17996 * htl/tests/test-2.c: Likewise.
17997 * htl/tests/test-3.c: Likewise.
17998 * htl/tests/test-4.c: Likewise.
17999 * htl/tests/test-5.c: Likewise.
18000 * htl/tests/test-6.c: Likewise.
18001 * htl/tests/test-7.c: Likewise.
18002 * htl/tests/test-8.c: Likewise.
18003 * htl/tests/test-9.c: Likewise.
18004 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
18005 * sysdeps/htl/bits/cancelation.h: Likewise.
18006 * sysdeps/htl/bits/pthread-np.h: Likewise.
18007 * sysdeps/htl/bits/pthread.h: Likewise.
18008 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
18009 * sysdeps/htl/bits/semaphore.h: Likewise.
18010 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
18011 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
18012 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
18013 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
18014 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
18015 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
18016 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
18017 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
18018 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
18019 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
18020 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
18021 * sysdeps/htl/old_pt-atfork.c: Likewise.
18022 * sysdeps/htl/pt-atfork.c: Likewise.
18023 * sysdeps/htl/pt-attr-destroy.c: Likewise.
18024 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
18025 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
18026 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
18027 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
18028 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
18029 * sysdeps/htl/pt-attr-getscope.c: Likewise.
18030 * sysdeps/htl/pt-attr-getstack.c: Likewise.
18031 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
18032 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
18033 * sysdeps/htl/pt-attr-init.c: Likewise.
18034 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
18035 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
18036 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
18037 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
18038 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
18039 * sysdeps/htl/pt-attr-setscope.c: Likewise.
18040 * sysdeps/htl/pt-attr-setstack.c: Likewise.
18041 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
18042 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
18043 * sysdeps/htl/pt-attr.c: Likewise.
18044 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
18045 * sysdeps/htl/pt-barrier-init.c: Likewise.
18046 * sysdeps/htl/pt-barrier-wait.c: Likewise.
18047 * sysdeps/htl/pt-barrier.c: Likewise.
18048 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
18049 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
18050 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
18051 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
18052 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
18053 * sysdeps/htl/pt-cond-destroy.c: Likewise.
18054 * sysdeps/htl/pt-cond-init.c: Likewise.
18055 * sysdeps/htl/pt-cond-signal.c: Likewise.
18056 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
18057 * sysdeps/htl/pt-cond-wait.c: Likewise.
18058 * sysdeps/htl/pt-cond.c: Likewise.
18059 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
18060 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
18061 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
18062 * sysdeps/htl/pt-condattr-init.c: Likewise.
18063 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
18064 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
18065 * sysdeps/htl/pt-destroy-specific.c: Likewise.
18066 * sysdeps/htl/pt-equal.c: Likewise.
18067 * sysdeps/htl/pt-getconcurrency.c: Likewise.
18068 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
18069 * sysdeps/htl/pt-getschedparam.c: Likewise.
18070 * sysdeps/htl/pt-getspecific.c: Likewise.
18071 * sysdeps/htl/pt-init-specific.c: Likewise.
18072 * sysdeps/htl/pt-key-create.c: Likewise.
18073 * sysdeps/htl/pt-key-delete.c: Likewise.
18074 * sysdeps/htl/pt-key.h: Likewise.
18075 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
18076 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
18077 * sysdeps/htl/pt-mutex-init.c: Likewise.
18078 * sysdeps/htl/pt-mutex-lock.c: Likewise.
18079 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
18080 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
18081 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
18082 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
18083 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
18084 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
18085 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
18086 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
18087 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
18088 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
18089 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
18090 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
18091 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
18092 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
18093 * sysdeps/htl/pt-mutexattr.c: Likewise.
18094 * sysdeps/htl/pt-once.c: Likewise.
18095 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
18096 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
18097 * sysdeps/htl/pt-rwlock-init.c: Likewise.
18098 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
18099 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
18100 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
18101 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
18102 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
18103 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
18104 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
18105 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
18106 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
18107 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
18108 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
18109 * sysdeps/htl/pt-setconcurrency.c: Likewise.
18110 * sysdeps/htl/pt-setschedparam.c: Likewise.
18111 * sysdeps/htl/pt-setschedprio.c: Likewise.
18112 * sysdeps/htl/pt-setspecific.c: Likewise.
18113 * sysdeps/htl/pt-spin.c: Likewise.
18114 * sysdeps/htl/pt-startup.c: Likewise.
18115 * sysdeps/htl/pthread.h: Likewise.
18116 * sysdeps/htl/sem-close.c: Likewise.
18117 * sysdeps/htl/sem-destroy.c: Likewise.
18118 * sysdeps/htl/sem-getvalue.c: Likewise.
18119 * sysdeps/htl/sem-init.c: Likewise.
18120 * sysdeps/htl/sem-open.c: Likewise.
18121 * sysdeps/htl/sem-post.c: Likewise.
18122 * sysdeps/htl/sem-timedwait.c: Likewise.
18123 * sysdeps/htl/sem-trywait.c: Likewise.
18124 * sysdeps/htl/sem-unlink.c: Likewise.
18125 * sysdeps/htl/sem-wait.c: Likewise.
18126 * sysdeps/hurd/htl/pt-kill.c: Likewise.
18127 * sysdeps/i386/htl/pt-machdep.h: Likewise.
18128 * sysdeps/mach/htl/pt-block.c: Likewise.
18129 * sysdeps/mach/htl/pt-spin.c: Likewise.
18130 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
18131 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
18132 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
18133 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
18134 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
18135 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
18136 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
18137 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
18138 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
18139 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
18140 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
18141 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
18142 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
18143 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
18144 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
18145 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
18146 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
18147 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
18148 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
18149 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
18150 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
18151 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
18152 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
18153 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
18154 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
18155 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
18156 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
18157 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
18158 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
18159 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
18160 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
18161 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
18162 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
18163 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
18164 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
18165 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
18166 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
18167 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
18168 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
18169 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
18170 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
18171 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
18172 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
18173
18174 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
18175 * README: Remove the mention of out-of-tree patches needed for
18176 GNU/Hurd.
18177
18178 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
18179 (UTIME_NOW, UTIME_OMIT): Define macros.
18180
18181 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
18182 instead of pthread_detach.
18183 (__cthread_fork): Call __pthread_create instead of pthread_create.
18184 (__cthread_keycreate): Call __pthread_key_create instead of
18185 pthread_key_create.
18186 (__cthread_getspecific): Call __pthread_getspecific instead of
18187 pthread_getspecific.
18188 (__cthread_setspecific): Call __pthread_setspecific instead of
18189 pthread_setspecific.
18190 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
18191 __pthread_mutex_unlock instead of pthread_mutex_lock and
18192 pthread_mutex_unlock.
18193 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
18194 ___pthread_get_cleanup_stack.
18195 (__pthread_get_cleanup_stack): New strong alias.
18196 * htl/pt-create.c: Include <pthreadP.h>.
18197 (entry_point): Call __pthread_exit instead of pthread_exit.
18198 (pthread_create): Rename to __pthread_create.
18199 (pthread_create): New strong alias.
18200 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
18201 (pthread_detach): New strong alias.
18202 (__pthread_detach): Call __pthread_cond_broadcast instead of
18203 pthread_cond_broadcast.
18204 * htl/pt-exit.c: Include <pthreadP.h>.
18205 (__pthread_exit): Call __pthread_setcancelstate and
18206 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
18207 __pthread_get_cleanup_stack.
18208 * htl/pt-testcancel.c: Include <pthreadP.h>.
18209 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
18210 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
18211 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
18212 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
18213 pthread_attr_getstacksize.
18214 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
18215 Rename to __pthread_attr_getstackaddr.
18216 (pthread_attr_getstackaddr): New strong alias.
18217 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
18218 Rename to __pthread_attr_getstacksize.
18219 (pthread_attr_getstacksize): New strong alias.
18220 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
18221 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
18222 (pthread_attr_setstack): New strong alias.
18223 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
18224 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
18225 pthread_attr_getstacksize, pthread_attr_setstacksize and
18226 pthread_attr_setstackaddr.
18227 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
18228 Rename to __pthread_attr_setstackaddr.
18229 (pthread_attr_setstackaddr): New strong alias.
18230 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
18231 Rename to __pthread_attr_setstacksize.
18232 (pthread_attr_setstacksize): New strong alias.
18233 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
18234 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
18235 pthread_exit.
18236 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
18237 (__pthread_key_create): New hidden def.
18238 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
18239 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
18240 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
18241 __pthread_exit, __pthread_key_create, __pthread_getspecific,
18242 __pthread_setspecific, __pthread_setcancelstate,
18243 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
18244 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
18245 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
18246 declarations.
18247 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
18248 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
18249 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
18250 (pthread_attr_setstackaddr): New strong alias.
18251 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
18252 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
18253 (pthread_attr_setstacksize): New strong alias.
18254 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
18255 (call_exit): Call __pthread_exit instead of pthread_exit.
18256 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
18257 (_pthread_mutex_init): New hidden definition.
18258 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
18259 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
18260 instead of pthread_attr_init and pthread_attr_setstack.
18261
18262 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
18263 __vm_deallocate instead of vm_allocate and vm_deallocate.
18264 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
18265 setenv.
18266 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
18267 of geteuid.
18268 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
18269 strdup.
18270 * hurd/siginfo.c: Include <libioP.h>.
18271 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
18272 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
18273 munmap.
18274 * mach/devstream.c: Include <libioP.h>.
18275 (dealloc_ref): Call __mach_port_deallocate instead of
18276 mach_port_deallocate.
18277 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
18278 Call __mach_port_deallocate instead of mach_port_deallocate.
18279 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
18280 pathconf.
18281 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
18282 munmap.
18283 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
18284 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
18285 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
18286 of munmap.
18287 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
18288 of close.
18289 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
18290 instead of sysconf.
18291 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
18292 __clock_gettime instead of clock_gettime.
18293 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
18294 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
18295 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
18296 * sysdeps/unix/bsd/stty.c (stty): Likewise.
18297 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
18298 tcgetattr.
18299 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
18300 __clock_gettime and __nanosleep instead of clock_gettime and
18301 nanosleep.
18302 * hurd/catch-signal.c (hurd_catch_signal): Rename to
18303 __hurd_catch_signal.
18304 (hurd_catch_signal): New strong alias.
18305 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
18306 __hurd_catch_signal instead of hurd_catch_signal.
18307 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
18308 * hurd/hurdexec.c (_hurd_init): Add hidden def.
18309 * hurd/hurdinit.c (_hurd_init): Add hidden def.
18310 * hurd/hurdsig.c: Include <mach/mig_support.h>.
18311 (_hurd_thread_sigstate): Add hidden def.
18312 (_hurd_internal_post_signal): Use __mutex_unlock instead of
18313 mutex_unlock.
18314 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
18315 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
18316 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
18317 __hurd_file_name_path_lookup.
18318 (hurd_file_name_path_lookup): New strong alias.
18319 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
18320 hurd_file_name_path_lookup.
18321 * mach/errstring.c (mach_error_type): Add hidden def.
18322 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
18323 * mach/mutex-init.c (__mutex_init): Add hidden def.
18324 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
18325 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
18326 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
18327 * sysdeps/mach/hurd/getcwd.c
18328 (_hurd_canonicalize_directory_name_internal): Rename to
18329 __hurd_canonicalize_directory_name_internal.
18330 (_hurd_canonicalize_directory_name_internal): New strong alias.
18331 (__canonicalize_directory_name_internal, __getcwd): Call
18332 __hurd_canonicalize_directory_name_internal instead of
18333 _hurd_canonicalize_directory_name_internal.
18334 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
18335 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
18336 hidden defs.
18337 * sysdeps/hurd/include/hurd.h: New file.
18338 * sysdeps/hurd/include/hurd/fd.h: New file.
18339 * sysdeps/hurd/include/hurd/signal.h: New file.
18340 * sysdeps/mach/include/lock-intern.h: New file.
18341 * sysdeps/mach/include/mach.h: New file.
18342 * sysdeps/mach/include/mach/mig_support.h: New file.
18343 * sysdeps/mach/include/mach_error.h: New file.
18344 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
18345 prototype.
18346 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
18347 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
18348 _HEADER_H_HIDDEN_DEF macro.
18349 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
18350 _hurd_fd_error_signal): Add hidden prototype.
18351 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
18352 hidden def.
18353 * libio/iolibio.h (_IO_puts): New hidden prototype.
18354 * libio/ioputs.c (_IO_puts): New hidden def.
18355 * sysdeps/mach/hurd/localplt.data: New file.
18356
18357 2018-04-02 Agustina Arzille <avarzille@riseup.net>
18358 Amos Jeffries <squid3@treenet.co.nz>
18359 David Michael <fedora.dm0@gmail.com>
18360 Marco Gerards <marco@gnu.org>
18361 Marcus Brinkmann <marcus@gnu.org>
18362 Neal H. Walfield <neal@gnu.org>
18363 Pino Toscano <toscano.pino@tiscali.it>
18364 Richard Braun <rbraun@sceen.net>
18365 Roland McGrath <roland@gnu.org>
18366 Samuel Thibault <samuel.thibault@ens-lyon.org>
18367 Thomas DiModica <ricinwich@yahoo.com>
18368 Thomas Schwinge <tschwinge@gnu.org>
18369
18370 * htl: New directory.
18371 * sysdeps/htl: New directory.
18372 * sysdeps/hurd/htl: New directory.
18373 * sysdeps/i386/htl: New directory.
18374 * sysdeps/mach/htl: New directory.
18375 * sysdeps/mach/hurd/htl: New directory.
18376 * sysdeps/mach/hurd/i386/htl: New directory.
18377 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
18378 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
18379 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
18380
18381 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18382
18383 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
18384 signals in thread created for runing timers.
18385
18386 2018-04-01 Florian Weimer <fweimer@redhat.com>
18387
18388 * support/support_format_addrinfo.c (support_format_addrinfo):
18389 Include unknown error number in formatted result.
18390
18391 2018-03-29 Florian Weimer <fweimer@redhat.com>
18392
18393 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
18394 capture SIGBUS.
18395
18396 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18397
18398 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
18399 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
18400 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
18401 (__ASSUME_CLONE_BACKWARDS): Define.
18402
18403 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
18404
18405 [BZ #23024]
18406 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
18407 early when linux sentinel value is set.
18408
18409 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18410
18411 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
18412
18413 2018-03-27 Andreas Schwab <schwab@suse.de>
18414
18415 [BZ #23005]
18416 * resolv/res_send.c (__res_context_send): Return ENOMEM if
18417 allocation of private copy of nsaddr_list fails.
18418
18419 2018-03-26 Joseph Myers <joseph@codesourcery.com>
18420
18421 [BZ #16552]
18422 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
18423 * sysdeps/unix/sysv/linux/umount.c: ... here.
18424 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
18425 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
18426 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
18427 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
18428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
18429 * sysdeps/unix/sysv/linux/umount.S: Likewise.
18430 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
18431
18432 2018-03-26 Andreas Schwab <schwab@suse.de>
18433
18434 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
18435 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
18436 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
18437 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
18438 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
18439 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
18440 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
18441 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
18442 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
18443 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
18444 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
18445 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
18446 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
18447 (R_RISCV_NUM): Define.
18448
18449 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
18450
18451 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
18452 TLS declaration of errno.
18453 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
18454 __libc_setup_tls.
18455 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
18456 (ARCH_SETUP_TLS): Likewise.
18457 * sysdeps/mach/hurd/libc-start.h: New file copied from
18458 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
18459 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
18460 instead of __libc_setup_tls.
18461 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
18462 __libc_setup_tls before initializing libpthread and running _hurd_init
18463 which starts the signal thread.
18464 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
18465 Declare function.
18466 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18467
18468 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
18469
18470 [BZ #22998]
18471 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
18472 after it is defined.
18473
18474 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
18475 Max Horn <max@quendi.de>
18476
18477 [BZ #22644]
18478 CVE-2017-18269
18479 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
18480 branch conditions.
18481 * string/test-memmove.c (do_test2): New testcase.
18482
18483 2018-03-22 Joseph Myers <joseph@codesourcery.com>
18484
18485 * sysdeps/generic/frame.h: Remove file.
18486 * sysdeps/arm/frame.h: Likewise.
18487 * sysdeps/hppa/frame.h: Likewise.
18488 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
18489 macro.
18490 (GET_FRAME): Likewise.
18491 (GET_STACK): Likewise.
18492 (CALL_SIGHANDLER): Likewise.
18493 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
18494 Likewise.
18495 (GET_FRAME): Likewise.
18496 (GET_STACK): Likewise.
18497 (CALL_SIGHANDLER): Likewise.
18498 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
18499 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18500 (GET_FRAME): Likewise.
18501 (GET_STACK): Likewise.
18502 (CALL_SIGHANDLER): Likewise.
18503 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
18504 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18505 (GET_FRAME): Likewise.
18506 (GET_STACK): Likewise.
18507 (ADVANCE_STACK_FRAME): Likewise.
18508 (CALL_SIGHANDLER): Likewise.
18509 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
18510 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18511 (GET_FRAME): Likewise.
18512 (GET_STACK): Likewise.
18513 (CALL_SIGHANDLER): Likewise.
18514 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
18515 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18516 (GET_FRAME): Likewise.
18517 (GET_STACK): Likewise.
18518 (CALL_SIGHANDLER): Likewise.
18519 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
18520 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18521 (GET_FRAME): Likewise.
18522 (GET_STACK): Likewise.
18523 (CALL_SIGHANDLER): Likewise.
18524 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
18525 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18526 (GET_FRAME): Likewise.
18527 (GET_STACK): Likewise.
18528 (CALL_SIGHANDLER): Likewise.
18529 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
18530 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18531 (GET_FRAME): Likewise.
18532 (GET_STACK): Likewise.
18533 (CALL_SIGHANDLER): Likewise.
18534 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
18535 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18536 (GET_FRAME): Likewise.
18537 (GET_STACK): Likewise.
18538 (CALL_SIGHANDLER): Likewise.
18539 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
18540 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18541 (GET_FRAME): Likewise.
18542 (GET_STACK): Likewise.
18543 (CALL_SIGHANDLER): Likewise.
18544 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
18545 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18546 (GET_FRAME): Likewise.
18547 (GET_STACK): Likewise.
18548 (CALL_SIGHANDLER): Likewise.
18549 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
18550 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18551 (GET_FRAME): Likewise.
18552 (GET_STACK): Likewise.
18553 (CALL_SIGHANDLER): Likewise.
18554 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
18555 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18556 (FIRST_FRAME_POINTER): Likewise.
18557 (ADVANCE_STACK_FRAME): Likewise.
18558 (GET_STACK): Likewise.
18559 (GET_FRAME): Likewise.
18560 (CALL_SIGHANDLER): Likewise.
18561 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
18562 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18563 (ADVANCE_STACK_FRAME): Likewise.
18564 (GET_STACK): Likewise.
18565 (GET_FRAME): Likewise.
18566 (CALL_SIGHANDLER): Likewise.
18567 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
18568 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18569 (GET_FRAME): Likewise.
18570 (GET_STACK): Likewise.
18571 (CALL_SIGHANDLER): Likewise.
18572 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
18573 (SIGCONTEXT_EXTRA_ARGS): Likewise.
18574 (GET_FRAME): Likewise.
18575 (GET_STACK): Likewise.
18576 (CALL_SIGHANDLER): Likewise.
18577
18578 2018-03-21 Joseph Myers <joseph@codesourcery.com>
18579
18580 * sysdeps/x86_64/backtrace.c: Move to ....
18581 * debug/backtrace.c: ... here.
18582 * sysdeps/aarch64/backtrace.c: Remove file.
18583 * sysdeps/alpha/backtrace.c: Likewise.
18584 * sysdeps/hppa/backtrace.c: Likewise.
18585 * sysdeps/ia64/backtrace.c: Likewise.
18586 * sysdeps/mips/backtrace.c: Likewise.
18587 * sysdeps/nios2/backtrace.c: Likewise.
18588 * sysdeps/riscv/backtrace.c: Likewise.
18589 * sysdeps/sh/backtrace.c: Likewise.
18590 * sysdeps/tile/backtrace.c: Likewise.
18591
18592 2018-03-20 Joseph Myers <joseph@codesourcery.com>
18593
18594 [BZ #22987]
18595 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
18596 function.
18597 (fdimf): Likewise.
18598 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
18599
18600 [BZ #17343]
18601 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
18602 possibly overflowing computations.
18603
18604 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
18605
18606 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
18607 values from Linux-specific section now that it is in the GNU section.
18608 * sysdeps/gnu/errlist.c: Regenerate.
18609
18610 2018-03-20 Joseph Myers <joseph@codesourcery.com>
18611
18612 * math/Makefile (libm-narrow-fns): Add sub.
18613 (libm-test-funcs-narrow): Likewise.
18614 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
18615 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
18616 * math/gen-auto-libm-tests.c (test_functions): Add sub.
18617 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
18618 (NARROW_SUB_ROUND_TO_ODD): Likewise.
18619 (NARROW_SUB_TRIVIAL): Likewise.
18620 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
18621 macro.
18622 (__dsubl): Likewise.
18623 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
18624 dsub.
18625 (CFLAGS-nldbl-dsub.c): New variable.
18626 (CFLAGS-nldbl-fsub.c): Likewise.
18627 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
18628 __nldbl_dsubl.
18629 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
18630 prototype.
18631 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
18632 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
18633 * math/auto-libm-test-in: Add tests of sub.
18634 * math/auto-libm-test-out-narrow-sub: New generated file.
18635 * math/libm-test-narrow-sub.inc: New file.
18636 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
18637 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
18638 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
18639 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
18640 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
18641 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
18642 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
18643 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
18644 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
18645 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
18646 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
18647 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
18648 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
18649 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
18650 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
18651 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
18652 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
18653 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
18654 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18655 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
18656 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18657 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18658 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18659 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18660 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18661 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18662 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18663 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18664 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18665 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18666 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18667 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
18670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18672 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18673 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18674 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18675 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18676 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18677 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18678 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
18679 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
18680 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18681 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18682
18683 2018-03-19 Joseph Myers <joseph@codesourcery.com>
18684
18685 [BZ #20079]
18686 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
18687
18688 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
18689
18690 * benchtests/bench-timing.h (attribute_hidden): Undefine.
18691
18692 2018-03-18 Richard Braun <rbraun@sceen.net>
18693
18694 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
18695 thread reference.
18696
18697 2018-03-18 Agustina Arzille <avarzille@riseup.net>
18698
18699 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
18700 (__libc_cleanup_fct): Define function.
18701 (__libc_cleanup_region_start, __libc_cleanup_region_end,
18702 __libc_cleanup_end): Rewrite implementation using
18703 __attribute__ ((__cleanup__)).
18704 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
18705 * hurd/Makefile (routines): Add hurdlock.
18706 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
18707 interface.
18708 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
18709 * hurd/hurdpid.c: Include <lowlevellock.h>
18710 (_S_msg_proc_newids): Use lll_wait to synchronize.
18711 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
18712 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
18713 * mach/Makefile (lock-headers): Remove machine-lock.h.
18714 * mach/lock-intern.h: Include <lowlevellock.h> instead of
18715 <machine-lock.h>.
18716 (__spin_lock_t): New type.
18717 (__SPIN_LOCK_INITIALIZER): New macro.
18718 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
18719 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
18720 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
18721 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
18722 (__mutex_init): Initialize with lll.
18723 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
18724 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
18725 needing lll.
18726 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18727 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
18728 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
18729 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
18730 (__setpgid): Use lll for synchronization.
18731 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
18732 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
18733 instead of <cthreads.h>.
18734 (_IO_lock_inexpensive): New macro
18735 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
18736 (__libc_lock_self0): New declaration.
18737 (__libc_lock_owner_self): New macro.
18738 (__libc_key_t): Remove type.
18739 (_LIBC_LOCK_INITIALIZER): New macro.
18740 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
18741 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
18742 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
18743 __libc_lock_define_initialized_recursive,
18744 __rtld_lock_define_initialized_recursive,
18745 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
18746 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
18747 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
18748 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
18749 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
18750 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
18751 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
18752 New macros.
18753 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
18754 * hurd/hurdlock.c: New file.
18755 * hurd/hurdlock.h: New file.
18756 * mach/lowlevellock.h: New file
18757
18758 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
18759
18760 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
18761 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
18762 when opening a symlink with O_NOFOLLOW.
18763 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
18764 path when flags contains O_NOFOLLOW.
18765 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
18766 if flags contains O_DIRECTORY and the result is a directory.
18767 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
18768 oneself when the pointer given in D is nul (as set by ext2fs).
18769 * sysdeps/mach/hurd/mlockall.c: New file.
18770 * sysdeps/mach/hurd/munlockall.c: New file.
18771
18772 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
18773
18774 * hurd/hurdsig.c: Include <pthread.h>.
18775 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
18776 get the signal thread stack layout.
18777 * hurd/Makefile (headers): Remove threadvar.h.
18778 (inline-headers): Remove threadvar.h.
18779 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
18780 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
18781 __hurd_threadvar_max, __hurd_errno_location.
18782 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
18783 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
18784 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
18785 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
18786 unless TLS is not initialized yet, in which case we do not need a
18787 critical section yet anyway.
18788 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
18789 <machine-sp.h>.
18790 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
18791 declarations.
18792 (__hurd_threadvar_index): Remove enum.
18793 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
18794 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
18795 inlines.
18796 (__hurd_reply_port0): New variable declaration.
18797 (__hurd_local_reply_port): New macro.
18798 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
18799 (interrupted_reply_port_location): Add thread_t parameter. Use it
18800 with THREAD_TCB to access thread-local variables.
18801 (_hurdsig_abort_rpcs): Pass ss->thread to
18802 interrupted_reply_port_location.
18803 (_hurd_internal_post_signal): Likewise.
18804 (_hurdsig_init): Use presence of cthread_fork instead of
18805 __hurd_threadvar_stack_mask to start signal thread by hand.
18806 Remove signal thread threadvar initialization.
18807 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
18808 * hurd/sigunwind.c: Include <hurd/threadvar.h>
18809 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
18810 of threadvar.
18811 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
18812 __libc_lock_self0.
18813 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
18814 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
18815 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
18816 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
18817 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
18818 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
18819 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
18820 define variables.
18821 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
18822 <hurd/threadvar.h>.
18823 [IS_IN(rtld)] (rtld_errno): New variable.
18824 [IS_IN(rtld)] (__errno_location): New weak function.
18825 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
18826 * sysdeps/mach/hurd/errno.c: Remove file.
18827 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
18828 (__fork): Remove THREADVAR_SPACE macro and its use.
18829 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
18830 variable.
18831 (init): Do not initialize threadvar.
18832 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
18833 symbol.
18834 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
18835 __hurd_local_reply_port instead of threadvar.
18836 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
18837 _hurd_sigstate fields.
18838 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
18839 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
18840 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
18841 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
18842 instead of threadvar.
18843 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
18844 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
18845 (use_threadvar, global_reply_port): Remove variables.
18846 (__hurd_reply_port0): New variable.
18847 (__mig_get_reply_port): Use __hurd_local_reply_port and
18848 __hurd_reply_port0 instead of threadvar.
18849 (__mig_dealloc_reply_port): Likewise.
18850 (__mig_init): Do not initialize threadvar.
18851 * sysdeps/mach/hurd/profil.c: Fix comment.
18852 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
18853 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
18854 cthread_keycreate, cthread_getspecific, cthread_setspecific to
18855 __cthread_fork, __cthread_detach, __pthread_getattr_np,
18856 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
18857 __cthread_setspecific.
18858 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
18859 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
18860 __cthread_t instead of cthread_fork, cthread_detach,
18861 pthread_getattr_np, pthread_attr_getstack.
18862 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
18863 __cthread_keycreate.
18864 (cthread_getspecific): Rename to __cthread_getspecific.
18865 (cthread_setspecific): Rename to __cthread_setspecific.
18866 (__libc_getspecific): Use __cthread_getspecific instead of
18867 cthread_getspecific.
18868 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
18869 __cthread_keycreate instead of cthread_keycreate.
18870 (__libc_setspecific): Use __cthread_setspecific instead of
18871 cthread_setspecific.
18872 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
18873 Likewise.
18874 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
18875 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
18876 testing whether it is defined.
18877
18878 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18879
18880 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
18881 Define macro.
18882 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
18883 * sysdeps/mach/i386/thread_state.h
18884 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
18885 i386_THREAD_STATE.
18886 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
18887 i386_THREAD_STATE.
18888 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
18889
18890 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
18891 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
18892
18893 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
18894 macros.
18895 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
18896 descriptor instead of creating a new one.
18897 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
18898
18899 * mach/setup-thread.c: Include <ldsodefs.h>.
18900 (__mach_setup_thread): Call _dl_allocate_tls, pass
18901 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
18902 MACHINE_THREAD_STATE_FLAVOR, before getting
18903 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
18904 MACHINE_THREAD_STATE_FLAVOR with the result.
18905 * hurd/hurdfault.c (_hurdsig_fault_init): Call
18906 MACHINE_THREAD_STATE_FIX_NEW.
18907 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
18908 too. Add original thread parameter.
18909
18910 2018-03-16 Joseph Myers <joseph@codesourcery.com>
18911
18912 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
18913 Remove inline function.
18914
18915 * sysdeps/i386/fpu/libm-test-ulps: Update.
18916 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18917
18918 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
18919
18920 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
18921 commit.
18922
18923 2018-03-15 Joseph Myers <joseph@codesourcery.com>
18924
18925 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
18926 (__sincos_code): Remove define and undefine.
18927 [__FAST_MATH__] (__sincos): Remove inline function.
18928 [__FAST_MATH__] (__sincosf): Remove inline function.
18929 [__FAST_MATH__] (__sincosl): Remove inline function.
18930 (__atan2l): Remove inline functions.
18931 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
18932 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
18933 function.
18934 (floor): Remove inline function.
18935 (ceil): Likewise.
18936 [__FAST_MATH__] (__ldexp_code): Remove macro.
18937 [__FAST_MATH__] (ldexp): Remove inline function.
18938 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
18939 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
18940 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
18941 [__USE_ISOC99] (__lrint_code): Remove macro.
18942 [__USE_ISOC99] (__llrint_code): Likewise.
18943 [__USE_ISOC99] (lrintf): Remove inline function.
18944 [__USE_ISOC99] (lrint): Likewise.
18945 [__USE_ISOC99] (lrintl): Likewise.
18946 [__USE_ISOC99] (llrint): Likewise.
18947 [__USE_ISOC99] (llrintf): Likewise.
18948 [__USE_ISOC99] (llrintl): Likewise.
18949
18950 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18951
18952 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
18953 (__ieee754_sqrtf): Remove.
18954 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
18955 (__ieee754_sqrtf): Remove.
18956 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
18957 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
18958 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
18959 (__ieee754_sqrtf): Remove.
18960 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
18961 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
18962 (sqrtf): Remove.
18963 (sqrtl): Remove.
18964 (__ieee754_sqrt): Remove.
18965 (__ieee754_sqrtf): Remove.
18966 (__ieee754_sqrtl): Remove.
18967 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
18968 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
18969 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
18970 (__ieee754_sqrtf): Remove.
18971 (__ieee754_sqrtl): Remove.
18972
18973 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
18974
18975 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
18976 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
18977 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
18978 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
18979 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
18980 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18981 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18982 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18983 Likewise.
18984 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
18985 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
18986 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
18987 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
18988 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
18989 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
18990 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
18991 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
18992 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
18993 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
18994 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
18995 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
18996 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
18997 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
18998 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
18999 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19000 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19001 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
19002 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
19003 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
19004 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19005 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19006 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
19007 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
19008 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
19009 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
19010 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19011 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19012 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
19013 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
19014 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
19015 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
19016 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
19017 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
19018 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19019 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19020 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
19021 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
19022 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
19023 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
19024
19025 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19026
19027 * include/math.h (sqrt): Declare with asm redirect.
19028 (sqrtf): Likewise.
19029 (sqrtl): Likewise.
19030 (sqrtf128): Likewise.
19031 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
19032 nonlib and libnldbl with -fmath-errno.
19033 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
19034 * math/w_sqrt_template.c: Likewise.
19035 * math/w_sqrtf_compat.c: Likewise.
19036 * math/w_sqrtl_compat.c: Likewise.
19037 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
19038 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
19039 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
19040 complex.h.
19041
19042 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19043
19044 * benchtests/Makefile: Define _ISOMAC.
19045 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
19046 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
19047 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
19048 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
19049 * benchtests/bench-timing.h: Define attribute_hidden.
19050
19051 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
19052
19053 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
19054 mov + lsr.
19055
19056 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
19057
19058 [BZ #22963]
19059 * localedata/locales/cs_CZ (mon): Rename to...
19060 (alt_mon): This.
19061 (mon): Import from CLDR (genitive case).
19062
19063 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
19064
19065 [BZ #22937]
19066 * localedata/locales/el_CY (abmon): Rename to...
19067 (ab_alt_mon): This.
19068 (abmon): Import from CLDR (abbreviated genitive case).
19069 * localedata/locales/el_GR (abmon): Rename to...
19070 (ab_alt_mon): This.
19071 (abmon): Import from CLDR (abbreviated genitive case).
19072
19073 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
19074
19075 [BZ #22932]
19076 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
19077
19078 2018-03-15 Robert Buj <robert.buj@gmail.com>
19079
19080 [BZ #22848]
19081 * localedata/locales/ca_ES (abmon): Rename to...
19082 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
19083 (mon): Rename to...
19084 (alt_mon): This.
19085 (abmon): Import from CLDR (genitive case, month names preceded by
19086 "de" or "d’").
19087 (mon): Likewise.
19088 (abday): Synchronize with CLDR.
19089 (d_t_fmt): Likewise.
19090 (d_fmt): Likewise.
19091 (am_pm): Likewise.
19092
19093 (LC_TIME): Improve indentation.
19094 (LC_TELEPHONE): Likewise.
19095 (LC_NAME): Likewise.
19096 (LC_ADDRESS): Likewise.
19097
19098 2018-03-14 Joseph Myers <joseph@codesourcery.com>
19099
19100 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
19101 (lrintf): Remove definitions used only with old GCC.
19102 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
19103 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
19104 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
19105 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
19106 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
19107 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
19108 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
19109 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
19110 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
19111 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
19112 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
19113 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
19114 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
19115 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
19116 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
19117 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
19118 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
19119 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
19120 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
19121 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
19122 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
19123 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
19124 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
19125 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
19126 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
19127 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
19128 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
19129 [__FAST_MATH__] (__M_SQRT2): Remove macro.
19130
19131 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
19132
19133 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
19134 instruction to unbreak builds with binutils 2.26 and older.
19135
19136 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
19137
19138 * sysdeps/aarch64/strncmp.S (count): New macro.
19139 (strncmp): Store misaligned length in SRC1 in COUNT.
19140 (mutual_align): Adjust.
19141 (misaligned8): Load dword at a time when it is safe.
19142
19143 2018-03-12 Zack Weinberg <zackw@panix.com>
19144
19145 [BZ #1190]
19146 [BZ #19476]
19147 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
19148 if the _IO_EOF_SEEN bit is already set; update commentary.
19149 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
19150 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
19151
19152 * support/support_openpty.c, support/tty.h: New files.
19153 * support/Makefile (libsupport-routines): Add support_openpty.
19154
19155 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
19156 New test cases.
19157 * libio/Makefile (tests): Add tst-fgetc-after-eof.
19158 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
19159
19160 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
19161
19162 * po/pt_BR.po: Update translations.
19163
19164 2018-03-12 David Michael <fedora.dm0@gmail.com>
19165
19166 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
19167 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
19168 get a port to the startup server.
19169
19170 2018-03-11 Zack Weinberg <zackw@panix.com>
19171
19172 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
19173 before nldbl-compat.h.
19174
19175 2018-03-10 Zack Weinberg <zackw@panix.com>
19176
19177 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
19178 math.h or math_private.h.
19179
19180 * sysdeps/alpha/fpu/s_isnan.c
19181 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
19182 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
19183 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
19184 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
19185 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
19186 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
19187 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
19188 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
19189 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
19190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
19191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
19192 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
19193 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
19194 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
19195 Include math_private.h.
19196
19197 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
19198 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
19199 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
19200 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
19201 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
19202 * sysdeps/powerpc/power7/fpu/s_logb.c:
19203 Include math.h and math_private.h.
19204
19205 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
19206 uses of $at in .set noat / .set at.
19207
19208 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
19209
19210 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
19211 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
19212 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
19213 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
19214 Likewise.
19215
19216 2018-03-09 Florian Weimer <fweimer@redhat.com>
19217
19218 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
19219 in comment.
19220
19221 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
19222
19223 [BZ #22919]
19224 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
19225 Add nop before __startcontext, add explaining comments.
19226
19227 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19228
19229 [BZ #22926]
19230 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
19231 empty for __SPE__.
19232 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
19233 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
19234 Do not build hardware transactional code for __SPE__.
19235 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
19236 (__lll_trylock_elision): Likewise.
19237 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
19238 (__lll_unlock_elision): Likewise.
19239
19240 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
19241 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
19242 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
19243 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
19244 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
19245 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
19246 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
19247 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
19248 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
19249 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
19250 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
19251 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
19252 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
19253 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
19254 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
19255 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
19256 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
19257 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
19258 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
19259 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
19260 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
19261 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19262 (__ASSUME_CLONE_BACKWARDS): Define.
19263 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
19264 __clone2 if __NR_clone2 is defined.
19265 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19266 (__ASSUME_CLONE_BACKWARDS): Likewise.
19267 * sysdeps/unix/sysv/linux/i386/kernel-features.h
19268 (__ASSUME_CLONE_BACKWARDS): Likewise.
19269 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19270 (__ASSUME_CLONE2): Likewise.
19271 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19272 (__ASSUME_CLONE_BACKWARDS3): Likewise.
19273 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
19274 variants and the define architecture can use.
19275 (__ASSUME_CLONE_DEFAULT): Define as default.
19276 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19277 (__ASSUME_CLONE_BACKWARDS): Likewise.
19278 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19279 (__ASSUME_CLONE_BACKWARDS): Likewise.
19280 * sysdeps/unix/sysv/linux/s390/kernel-features.h
19281 (__ASSUME_CLONE_BACKWARDS2): Likewise.
19282
19283 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
19284
19285 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
19286
19287 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
19288 time.
19289
19290 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
19291 (do_test_limit): Likewise.
19292
19293 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
19294 for every implementation.
19295 (do_test): Likewise.
19296
19297 * benchtests/bench-strncmp.c: Convert output to json.
19298
19299 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19300
19301 * io/futimens.c: Add missing start-of-file descriptive comment.
19302 * io/utime.c: Likewise.
19303 * misc/futimesat.c: Likewise.
19304 * misc/utimes.c: Likewise.
19305 * sysdeps/mach/hurd/futimesat.c: Likewise.
19306 * sysdeps/mach/hurd/utimes.c: Likewise.
19307 * sysdeps/posix/utime.c: Likewise.
19308 * sysdeps/posix/utimes.c: Likewise.
19309 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
19310 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
19311 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
19312 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
19313
19314 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
19315
19316 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
19317 hurd_futimes.
19318 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
19319 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
19320 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
19321 (__futimens): Move implementation to...
19322 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
19323 utime_tvalue_from_tspec): ... new helper functions.
19324 (hurd_futimens): New function.
19325 * sysdeps/mach/hurd/futimesat.c: New file.
19326 * sysdeps/mach/hurd/utimensat.c: New file.
19327
19328 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
19329
19330 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
19331 UTIME_OMIT): New macros.
19332 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
19333 before reverting to converting time spec to time value and calling
19334 __file_utimes.
19335 * sysdeps/mach/hurd/utime-helper.c: New file.
19336 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
19337 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
19338 reverting to utime_tvalue_from_tval and __file_utimes.
19339 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
19340 (__lutimes): Just call hurd_futimens after lookup.
19341 * sysdeps/mach/hurd/utimes.c: Likewise.
19342
19343 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
19344
19345 * bits/sigaction.h: Add include guard.
19346 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
19347 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
19348 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
19349 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
19350 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
19351 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
19352 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
19353 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
19354 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
19355
19356 2018-03-05 Joseph Myers <joseph@codesourcery.com>
19357
19358 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
19359 -Wmaybe-uninitialized for -Os.
19360 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
19361 this disabling.
19362
19363 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19364
19365 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
19366 __INO_T_MATCHES_INO64_T is defined.
19367 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
19368 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
19369 of definition.
19370 * dirent/alphasort64.c: Likewise.
19371 * dirent/scandir.c: Likewise.
19372 * dirent/scandir64-tail.c: Likewise.
19373 * dirent/scandir64.c: Likewise.
19374 * dirent/scandirat.c: Likewise.
19375 * dirent/scandirat64.c: Likewise.
19376 * dirent/versionsort.c: Likewise.
19377 * dirent/versionsort64.c: Likewise.
19378 * include/dirent.h: Likewise.
19379
19380 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
19381 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
19382 for socketpair endpoint.
19383 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
19384 WRITE_BUFFER_SIZE as buffer size for sending socket.
19385 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
19386 issue on system where send is implemented with sendto syscall.
19387 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
19388 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
19389 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
19390 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
19391
19392 [BZ #21269]
19393 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
19394 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
19395 sa_restorer for vDSO case.
19396 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
19397
19398 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19399
19400 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
19401 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
19402 * hurd/hurd/ioctl.h: Include <mach/port.h>
19403 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
19404 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
19405 <mach/mach_types.h> and <mach/message.h>.
19406 (headers): Move mach/param.h to bits/mach/param.h.
19407 * sysdeps/mach/i386/mach/param.h: Move file to ...
19408 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
19409 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
19410 of <mach/param.h>.
19411 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
19412 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
19413 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
19414 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
19415 trivial, for C++ conformity.
19416 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
19417 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
19418 Process mig output through $(migheadersed).
19419 * hurd/Makefile (migheadersed): Define variable.
19420 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
19421 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
19422 headers.
19423 * hurd/hurd.h: Include <bits/types/sigset_t.h>
19424 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
19425 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
19426 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
19427 <bits/types/sigset_t.h>.
19428 [!defined __USE_GNU]: Do not #error out.
19429 (struct hurd_sigstate): Use _NSIG instead of NSIG.
19430 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
19431 Include <stddef.h> and <bits/types/sigset_t.h>
19432 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
19433 instead of sighandler_t.
19434 * stdlib/errno.h (error_t): Move definition to...
19435 * bits/types/error_t.h: ... new header.
19436 * stdlib/Makefile (headers): Add bits/types/error_t.h.
19437 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
19438 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
19439 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
19440 * hurd/hurd.h: Include <bits/types/error_t.h>
19441 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
19442 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
19443 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
19444 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
19445 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
19446 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
19447 * sysdeps/mach/hurd/futimens.c: New file.
19448
19449 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
19450
19451 [BZ #22918]
19452 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
19453 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
19454 * nscd/gai.c (__nss_hosts_database): Readd definition.
19455 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
19456 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
19457 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
19458
19459 2018-03-02 Joseph Myers <joseph@codesourcery.com>
19460
19461 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
19462 (ifunc_one): Likewise.
19463
19464 2018-03-01 DJ Delorie <dj@delorie.com>
19465
19466 [BZ #22342]
19467 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
19468 key value.
19469
19470 2018-03-01 Maciej W. Rozycki <macro@mips.com>
19471
19472 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
19473 `match_pid' parameter.
19474 (td_ta_thr_iter): Update accordingly.
19475
19476 2018-03-01 Florian Weimer <fweimer@redhat.com>
19477
19478 * nptl/Makefile (install-lib-ldscripts): Remove.
19479 (install): Remove rule.
19480 ($(inst_libdir)/libpthread.so): Likewise.
19481
19482 2018-03-01 Mike FABIAN <mfabian@redhat.com>
19483
19484 [BZ #22896]
19485 * localedata/locales/an_ES: update month and day names,
19486 improve d_fmt, improve postal_fmt, add country_post,
19487 add country_isbn
19488
19489 2018-03-01 Mike FABIAN <mfabian@redhat.com>
19490
19491 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
19492 Ukrainian instead of Bulgarian.
19493
19494 2018-03-01 Florian Weimer <fweimer@redhat.com>
19495
19496 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
19497 reference.
19498
19499 2018-03-01 Florian Weimer <fweimer@redhat.com>
19500
19501 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
19502 * nptl/Makefile (routines): Add pthread_atfork.
19503 (static-only-routines): Set to pthread_atfork.
19504 (libpthread-routines): Remove pthread_atfork.
19505 (libpthread-static-only-routines): Remove.
19506 (install): Update comment.
19507 (libpthread.so): Do not install libpthread_nonshared.a.
19508 (tests): Do not link with libpthread_nonshared.a.
19509 (generated): Remove libpthread_nonshared.a.
19510 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
19511 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
19512 with libpthread_nonshared.a.
19513
19514 2018-02-28 Joseph Myers <joseph@codesourcery.com>
19515
19516 [BZ #22902]
19517 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
19518 (libc_feholdexcept_setroundf128): New macro.
19519 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
19520
19521 [BZ #15105]
19522 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
19523 libc_hidden_def.
19524 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
19525 * include/inttypes.h: New file.
19526
19527 2018-02-27 Joseph Myers <joseph@codesourcery.com>
19528
19529 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
19530 -Os in two more places.
19531
19532 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19533
19534 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
19535 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
19536 be sorted correctly at the moment because of a bug.
19537
19538 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19539
19540 [BZ #22550] - es_ES locale (and other es_* locales): collation should
19541 treat ñ as a primary different character, sync the collation
19542 for Spanish with CLDR.
19543 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
19544 * localedata/Makefile: Add new test files.
19545 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
19546 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
19547 collation order.
19548 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
19549 * localedata/am_ET.UTF-8.in: New test file.
19550 * localedata/az_AZ.UTF-8.in: Likewise.
19551 * localedata/be_BY.UTF-8.in: Likewise.
19552 * localedata/ber_DZ.UTF-8.in: Likewise.
19553 * localedata/ber_MA.UTF-8.in: Likewise.
19554 * localedata/bg_BG.UTF-8.in: Likewise.
19555 * localedata/br_FR.UTF-8.in: Likewise.
19556 * localedata/cmn_TW.UTF-8.in: Likewise.
19557 * localedata/crh_UA.UTF-8.in: Likewise.
19558 * localedata/csb_PL.UTF-8.in: Likewise.
19559 * localedata/cv_RU.UTF-8.in: Likewise.
19560 * localedata/cy_GB.UTF-8.in: Likewise.
19561 * localedata/dz_BT.UTF-8.in: Likewise.
19562 * localedata/eo.UTF-8.in: Likewise.
19563 * localedata/es_ES.UTF-8.in: Likewise.
19564 * localedata/fa_IR.UTF-8.in: Likewise.
19565 * localedata/fi_FI.UTF-8.in: Likewise.
19566 * localedata/fil_PH.UTF-8.in: Likewise.
19567 * localedata/fur_IT.UTF-8.in: Likewise.
19568 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
19569 * localedata/ha_NG.UTF-8.in: Likewise.
19570 * localedata/ig_NG.UTF-8.in: Likewise.
19571 * localedata/ik_CA.UTF-8.in: Likewise.
19572 * localedata/kk_KZ.UTF-8.in: Likewise.
19573 * localedata/ku_TR.UTF-8.in: Likewise.
19574 * localedata/ky_KG.UTF-8.in: Likewise.
19575 * localedata/ln_CD.UTF-8.in: Likewise.
19576 * localedata/mi_NZ.UTF-8.in: Likewise.
19577 * localedata/ml_IN.UTF-8.in: Likewise.
19578 * localedata/mn_MN.UTF-8.in: Likewise.
19579 * localedata/mr_IN.UTF-8.in: Likewise.
19580 * localedata/mt_MT.UTF-8.in: Likewise.
19581 * localedata/nb_NO.UTF-8.in: Likewise.
19582 * localedata/om_KE.UTF-8.in: Likewise.
19583 * localedata/os_RU.UTF-8.in: Likewise.
19584 * localedata/ps_AF.UTF-8.in: Likewise.
19585 * localedata/ro_RO.UTF-8.in: Likewise.
19586 * localedata/ru_RU.UTF-8.in: Likewise.
19587 * localedata/sc_IT.UTF-8.in: Likewise.
19588 * localedata/se_NO.UTF-8.in: Likewise.
19589 * localedata/sq_AL.UTF-8.in: Likewise.
19590 * localedata/sv_SE.UTF-8.in: Likewise.
19591 * localedata/szl_PL.UTF-8.in: Likewise.
19592 * localedata/tg_TJ.UTF-8.in: Likewise.
19593 * localedata/tk_TM.UTF-8.in: Likewise.
19594 * localedata/tt_RU.UTF-8.in: Likewise.
19595 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
19596 * localedata/ug_CN.UTF-8.in: Likewise.
19597 * localedata/uz_UZ.UTF-8.in: Likewise.
19598 * localedata/vi_VN.UTF-8.in: Likewise.
19599 * localedata/yi_US.UTF-8.in: Likewise.
19600 * localedata/yo_NG.UTF-8.in: Likewise.
19601 * localedata/zh_CN.UTF-8.in: Likewise.
19602 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
19603 file and fix bugs in the collation.
19604 * localedata/locales/az_AZ: Likewise.
19605 * localedata/locales/be_BY: Likewise.
19606 * localedata/locales/ber_DZ: Likewise.
19607 * localedata/locales/ber_MA: Likewise.
19608 * localedata/locales/bg_BG: Likewise.
19609 * localedata/locales/br_FR: Likewise.
19610 * localedata/locales/br_FR@euro: Likewise.
19611 * localedata/locales/ca_ES: Likewise.
19612 * localedata/locales/cns11643_stroke: Likewise.
19613 * localedata/locales/crh_UA: Likewise.
19614 * localedata/locales/cs_CZ: Likewise.
19615 * localedata/locales/csb_PL: Likewise.
19616 * localedata/locales/cv_RU: Likewise.
19617 * localedata/locales/cy_GB: Likewise.
19618 * localedata/locales/da_DK: Likewise.
19619 * localedata/locales/dz_BT: Likewise.
19620 * localedata/locales/en_CA: Likewise.
19621 * localedata/locales/eo: Likewise.
19622 * localedata/locales/es_CU: Likewise.
19623 * localedata/locales/es_EC: Likewise.
19624 * localedata/locales/es_ES: Likewise.
19625 * localedata/locales/es_US: Likewise.
19626 * localedata/locales/et_EE: Likewise.
19627 * localedata/locales/fa_IR: Likewise.
19628 * localedata/locales/fi_FI: Likewise.
19629 * localedata/locales/fil_PH: Likewise.
19630 * localedata/locales/fur_IT: Likewise.
19631 * localedata/locales/gez_ER@abegede: Likewise.
19632 * localedata/locales/ha_NG: Likewise.
19633 * localedata/locales/hr_HR: Likewise.
19634 * localedata/locales/hsb_DE: Likewise.
19635 * localedata/locales/hu_HU: Likewise.
19636 * localedata/locales/ig_NG: Likewise.
19637 * localedata/locales/ik_CA: Likewise.
19638 * localedata/locales/is_IS: Likewise.
19639 * localedata/locales/iso14651_t1_pinyin: Likewise.
19640 * localedata/locales/kk_KZ: Likewise.
19641 * localedata/locales/ku_TR: Likewise.
19642 * localedata/locales/ky_KG: Likewise.
19643 * localedata/locales/ln_CD: Likewise.
19644 * localedata/locales/lt_LT: Likewise.
19645 * localedata/locales/lv_LV: Likewise.
19646 * localedata/locales/mi_NZ: Likewise.
19647 * localedata/locales/ml_IN: Likewise.
19648 * localedata/locales/mn_MN: Likewise.
19649 * localedata/locales/mr_IN: Likewise.
19650 * localedata/locales/mt_MT: Likewise.
19651 * localedata/locales/nb_NO: Likewise.
19652 * localedata/locales/om_KE: Likewise.
19653 * localedata/locales/os_RU: Likewise.
19654 * localedata/locales/pl_PL: Likewise.
19655 * localedata/locales/ps_AF: Likewise.
19656 * localedata/locales/ro_RO: Likewise.
19657 * localedata/locales/ru_RU: Likewise.
19658 * localedata/locales/ru_UA: Likewise.
19659 * localedata/locales/sc_IT: Likewise.
19660 * localedata/locales/se_NO: Likewise.
19661 * localedata/locales/si_LK: Likewise.
19662 * localedata/locales/sq_AL: Likewise.
19663 * localedata/locales/sv_FI: Likewise.
19664 * localedata/locales/sv_FI@euro: Likewise.
19665 * localedata/locales/sv_SE: Likewise.
19666 * localedata/locales/szl_PL: Likewise.
19667 * localedata/locales/tg_TJ: Likewise.
19668 * localedata/locales/ti_ER: Likewise.
19669 * localedata/locales/tk_TM: Likewise.
19670 * localedata/locales/tl_PH: Likewise.
19671 * localedata/locales/tr_TR: Likewise.
19672 * localedata/locales/tt_RU: Likewise.
19673 * localedata/locales/tt_RU@iqtelif: Likewise.
19674 * localedata/locales/ug_CN: Likewise.
19675 * localedata/locales/uk_UA: Likewise.
19676 * localedata/locales/uz_UZ: Likewise.
19677 * localedata/locales/uz_UZ@cyrillic: Likewise.
19678 * localedata/locales/vi_VN: Likewise.
19679 * localedata/locales/yi_US: Likewise.
19680 * localedata/locales/yo_NG: Likewise.
19681
19682 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19683
19684 * gen-locales.mk: Make test files which contain @ modifiers in their
19685 name work.
19686 * localedata/gen-locale.sh: Likewise.
19687
19688 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19689
19690 * posix/tst-fnmatch.input: Fix results for range expressions
19691 for non C locales.
19692 * posix/tst-regexloc.c: Do not use a range expression for
19693 de_DE.ISO-8859-1 locale.
19694
19695 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19696
19697 * posix/bug-regex5.c: Fix test case because with the new
19698 iso14651_t1_common file, the da_DK locale now has 6 collating elements
19699 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
19700 file.
19701
19702 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19703
19704 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
19705 downloaded from ISO, the collation order of @-. and space has changed.
19706 Therefore, this test file needed to be adapted.
19707 * localedata/fr_CA.UTF-8.in: Likewise.
19708 * localedata/fr_FR.UTF-8.in: Likewise.
19709 * localedata/uk_UA.UTF-8.in: Likewise.
19710
19711 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19712
19713 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
19714 order of ȥ in the new iso14651_t1_common file.
19715 * localedata/pl_PL.UTF-8.in: Likewise.
19716
19717 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19718
19719 * localedata/locales/iso14651_t1_common: Add sections for various
19720 scripts to the iso14651_t1_common file.
19721
19722 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19723
19724 * localedata/locales/iso14651_t1_common: Use the code point of a
19725 character in the fourth collation level instead of IGNORE for all
19726 entries which have IGNORE on all 4 levels.
19727
19728 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19729
19730 * localedata/locales/iso14651_t1_common: Add some convenient collation
19731 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
19732 rules similar to those in CLDR.
19733
19734 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19735
19736 * localedata/locales/iso14651_t1_common: The new version of this
19737 file downloaded from ISO contained several syntax errors which
19738 are fixed by this patch.
19739
19740 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19741
19742 * localedata/locales/iso14651_t1_common: replace all <U.....>
19743 with <U000.....> because glibc understands only 4 digit or 8 digit
19744
19745 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19746
19747 * localedata/locales/iso14651_t1_common: Necessary changes
19748 to make the file downloaded from ISO usable by glibc.
19749
19750 2018-02-27 Mike FABIAN <mfabian@redhat.com>
19751
19752 [BZ #14095]
19753 * localedata/locales/iso14651_t1_common: Update file to
19754 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
19755
19756 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19757
19758 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
19759 of <nptl/pthreadP.h>
19760 (thread_attr_compare): Move function to...
19761 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
19762 * sysdeps/nptl/timer_routines.h: ... new header.
19763 * sysdeps/mach/hurd/gai_misc.h: New file.
19764
19765 2018-02-26 Joseph Myers <joseph@codesourcery.com>
19766
19767 * string/strcoll_l.c: Include <libc-diag.h>.
19768 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
19769 declarations of seq1 and seq2.
19770
19771 [BZ #15105]
19772 * stdlib/atoi.c (atoi): Use libc_hidden_def.
19773 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
19774
19775 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
19776
19777 [BZ #22433]
19778 [BZ #22807]
19779 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
19780 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
19781 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
19782 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
19783 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
19784 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
19785
19786 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19787
19788 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
19789 macros used in __ptrace_request.
19790
19791 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
19792
19793 [BZ #22792]
19794 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
19795 to $(CC).
19796 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
19797 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
19798 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
19799 <tcb-offsets.h>.
19800
19801 2018-02-23 Joseph Myers <joseph@codesourcery.com>
19802
19803 [BZ #15105]
19804 * ctype/ctype.c (tolower): Use libc_hidden_def.
19805 (toupper): Likewise.
19806 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
19807 [!_ISOMAC] (toupper): Likewise.
19808
19809 2018-02-23 Mike FABIAN <mfabian@redhat.com>
19810
19811 * localedata/Makefile: Remove --quiet argument when
19812 installing locales
19813
19814 2018-02-23 Mike FABIAN <mfabian@redhat.com>
19815
19816 [BZ #17438]
19817 * localedata/locales/pt_BR (LC_TIME): use / instead of -
19818 in d_fmt.
19819 * localedata/locales/pt_PT (LC_TIME): likewise
19820
19821 2018-02-23 Mike FABIAN <mfabian@redhat.com>
19822
19823 [BZ #22646]
19824 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
19825 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
19826 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
19827
19828 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19829
19830 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19831
19832 * nptl/Makefile (routines): Remove unregister-atfork.
19833 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
19834 (fork_handler_alloc): Remove function.
19835 (fork_handlers, fork_handler_init): New variables.
19836 (__fork_lock): Rename to atfork_lock.
19837 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
19838 to use a dynamic array to add/remove atfork handlers.
19839 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
19840 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
19841 Remove declaration.
19842 (fork_handler): Remove next, refcntr, and need_signal member.
19843 (__run_fork_handler_type): New enum.
19844 (__run_fork_handlers): New prototype.
19845 * nptl/register-atfork.c: Remove file.
19846 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
19847
19848 * sysdeps/nptl/nptl-signals.h: Move to ...
19849 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
19850 comments.
19851 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
19852 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
19853 unnecessary check for SIGTIMER.
19854 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
19855 remove unnecessary removal of SIGTIMER.
19856 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
19857 include-signals.h rename.
19858 * nptl/pthreadP.h: Likewise.
19859 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
19860 __is_internal_signal instead of __nptl_is_internal_signal.
19861
19862 2018-02-22 Andrew Waterman <andrew@sifive.com>
19863
19864 [BZ # 22884]
19865 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
19866 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
19867 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
19868 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
19869
19870 2018-02-22 DJ Delorie <dj@delorie.com>
19871
19872 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
19873
19874 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
19875
19876 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
19877 do_misaligned, not misaligned8.
19878
19879 2018-02-22 Steve Ellcey <sellcey@cavium.com>
19880
19881 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
19882 Add memcpy_thunderx2.
19883 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
19884 Increment to 4.
19885 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
19886 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
19887 and IS_THUNDERX2PA checks.
19888 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
19889 Use macro to set name appropriately.
19890 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
19891 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
19892 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
19893 New macro.
19894 (IS_THUNDERX2): New macro.
19895
19896 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
19897
19898 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19899
19900 2018-02-21 Zack Weinberg <zackw@panix.com>
19901
19902 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
19903 Define here, unconditionally.
19904 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
19905 * libio/libioP.h: Remove #if 0 blocks.
19906 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
19907 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
19908 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
19909
19910 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
19911 Assume weak_alias is always defined.
19912
19913 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
19914 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
19915 Remove #if 0 and #ifdef TODO blocks.
19916 Assume text_set_element is always defined.
19917
19918 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
19919 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
19920 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
19921
19922 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
19923 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
19924 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
19925 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
19926 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
19927 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
19928 Reformat bit flags for _flags field to make occupancy clearer.
19929 Update commentary.
19930 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
19931 Keep definitions consistent with those in libio/libio.h.
19932
19933 * libio/libio.h (_IO_file_flags): Remove macro.
19934 All uses changed to _flags.
19935
19936 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
19937 (__HAVE_COLUMN, _IO_BE): Don't define.
19938 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
19939 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
19940 * libio/libioP.h (EOF): Don't define.
19941 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
19942 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
19943 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
19944 testing _IO_UNIFIED_JUMPTABLES.
19945
19946 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
19947 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
19948 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
19949 (_IO_size_t): Delete; all uses changed to size_t.
19950 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
19951 (_IO_off_t): Delete; all uses changed to off_t.
19952 (_IO_off64_t): Delete; all uses changed to off64_t.
19953 (_IO_pid_t): Delete; all uses changed to pid_t.
19954 (_IO_uid_t): Delete; all uses changed to uid_t.
19955 (_IO_wint_t): Delete; all uses changed to wint_t.
19956 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
19957 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
19958 (_IO_cookie_io_functions_t): Delete; all uses changed to
19959 cookie_io_functions_t.
19960 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
19961 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
19962 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
19963 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
19964
19965 * libio/iofopncook.c: Remove unnecessary forward declarations.
19966 * libio/iolibio.h: Correct outdated commentary.
19967 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
19968 * stdio-common/fxprintf.c (__fxprintf_nocancel):
19969 Remove unnecessary casts.
19970 * stdio-common/getline.c: Use _IO_getdelim directly.
19971 Don't redefine ssize_t.
19972 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
19973 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
19974 Remove outdated comments.
19975 * stdio-common/vfscanf.c: Don't redefine va_list.
19976
19977 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
19978 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
19979 Remove preprocessor conditionals on _LIBC and __USE_GNU,
19980 which are always true, and __cplusplus, which is always false.
19981
19982 2018-02-21 Joseph Myers <joseph@codesourcery.com>
19983
19984 [BZ #15105]
19985 [BZ #19463]
19986 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
19987 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
19988 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
19989 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
19990 libc_hidden_proto.
19991 [!_ISOMAC] (putc_unlocked): Likewise.
19992 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
19993 define inline if [__USE_EXTERN_INLINES].
19994 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
19995 putc_unlocked.
19996
19997 [BZ #15105]
19998 [BZ #19463]
19999 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
20000 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
20001 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
20002 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
20003 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
20004 getc_unlocked.
20005 * time/tzfile.c (__tzfile_read): Likewise.
20006
20007 2018-02-21 Mike FABIAN <mfabian@redhat.com>
20008
20009 [BZ #22517]
20010 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
20011
20012 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
20013
20014 * io/fcntl.h: Fix a typo in a comment.
20015
20016 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
20017
20018 [BZ #22862]
20019 * include/features.h: Add _ISOC11_SOURCE to test for whether to
20020 define _DEFAULT_SOURCE.
20021 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
20022
20023 2018-02-21 Florian Weimer <fweimer@redhat.com>
20024
20025 [BZ #20890]
20026 * elf/cache.c (save_cache): Call fsync on temporary file before
20027 renaming it.
20028 (save_aux_cache): Call fdatasync on temporary file before renaming
20029 it.
20030
20031 2018-02-21 Florian Weimer <fweimer@redhat.com>
20032
20033 [BZ #22787]
20034 * include/caller.h: Remove file.
20035 * elf/dl-caller.c: Likewise.
20036 * elf/Makefile (dl-routines): Remove dl-caller.
20037 (shared-only-routines): Do not add dl-caller.
20038 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
20039 __check_caller.
20040 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
20041 member.
20042 (dl_open_worker): Do not call __check_caller.
20043 (_dl_open): Do not set caller_dl_open member.
20044 * elf/rtld.c (_rtld_global_ro): Do not initialize
20045 _dl_check_caller member.
20046 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
20047 _dl_check_caller member.
20048 (_dl_check_caller): Remove declaration.
20049 * sysdeps/unix/sysv/linux/dl-execstack.c
20050 (_dl_make_stack_executable): Do not call __check_caller.
20051
20052 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
20053
20054 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
20055 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
20056
20057 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
20058
20059 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
20060 description.
20061
20062 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
20063
20064 [BZ #16335]
20065 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
20066 of 199606L, 200112L, and 200809L.
20067 (_XOPEN_SOURCE): Document special values of 600 and 700.
20068 (_ISOC11_SOURCE): Document macro.
20069 (_ATFILE_SOURCE): Likewise.
20070 (_FORTIFY_SOURCE): Likewise.
20071
20072 2018-02-19 Joseph Myers <joseph@codesourcery.com>
20073
20074 [BZ #15105]
20075 [BZ #19463]
20076 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
20077 and define as weak alias of __ferror_unlocked. Use
20078 libc_hidden_weak.
20079 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
20080 libc_hidden_proto.
20081 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
20082 function if [__USE_EXTERN_INLINES].
20083 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
20084 ferror_unlocked.
20085
20086 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
20087
20088 [BZ #6889]
20089 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
20090
20091 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
20092
20093 [BZ #22818]
20094 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
20095 the GLIBC_2.1 version.
20096
20097 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
20098
20099 [BZ #21508]
20100 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
20101 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
20102 intl/tst-gettext-de.po from po/de.po by removing the
20103 POT-Creation-Date line.
20104 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
20105 ../po/de.po.
20106 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
20107 ../po/de.po.
20108
20109 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
20110
20111 * mach/Makefile (headers): Add mach/param.h.
20112 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
20113 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
20114 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
20115 (__ptsname_r): Move implementation to...
20116 (__ptsname_internal): ... new function. Add filling the STP
20117 structure.
20118
20119 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
20120
20121 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
20122 idouble to 1 ULP.
20123
20124 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
20125
20126 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
20127 syntax.
20128
20129 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
20130
20131 * nptl/Makefile (tst-mutex8-ENV): Delete.
20132 * nptl/tst-mutex8.c (check_type):
20133 Add runtime check if mutex will be elided.
20134
20135 2018-02-15 Joseph Myers <joseph@codesourcery.com>
20136
20137 [BZ #20980]
20138 [BZ #21234]
20139 * manual/install.texi (Configuring and compiling): Describe
20140 passing CC and CFLAGS on configure command line, not as
20141 environment variables. Use @code markup on those variables.
20142 Specify what options go in CC and what go in CFLAGS. Note the
20143 requirement to compile with optimization.
20144 * INSTALL: Regenerated.
20145
20146 [BZ #18124]
20147 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
20148 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
20149 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
20150 __sigprocmask instead of sigprocmask.
20151 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
20152 Likewise.
20153 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
20154 __sigsetjmp and sigprocmask.
20155
20156 [BZ #15105]
20157 * include/argz.h (argz_next): Use libc_hidden_proto.
20158 (__argz_next): Likewise.
20159 * string-argz-next.c (__argz_next): Use libc_hidden_def.
20160 (argz_next): Use libc_hidden_weak.
20161
20162 [BZ #15105]
20163 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
20164 libc_hidden_proto.
20165 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
20166 libc_hidden_def.
20167
20168 [BZ #15105]
20169 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
20170 libc_hidden_proto.
20171 * libio/iofputs.c (fputs): Use libc_hidden_weak.
20172
20173 [BZ #15105]
20174 [BZ #19463]
20175 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
20176 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
20177 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
20178 (__feof_unlocked): New declaration, and inline function if
20179 [__USE_EXTERN_INLINES].
20180 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
20181 instead of feof_unlocked.
20182 * intl/localealias.c [_LIBC] (FEOF): Likewise.
20183 * nss/nsswitch.c (nss_parse_file): Likewise.
20184 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
20185 Likewise.
20186 * time/getdate.c (__getdate_r): Likewise.
20187 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
20188 Define as macro to call __feof_unlocked.
20189
20190 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
20191
20192 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
20193
20194 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
20195
20196 * math/Makefile: Remove mpexp.c and mplog.c
20197 * sysdeps/i386/fpu/mpexp.c: Delete file.
20198 * sysdeps/i386/fpu/mplog.c: Likewise.
20199 * sysdeps/ia64/fpu/mpexp.c: Likewise.
20200 * sysdeps/ia64/fpu/mplog.c: Likewise.
20201 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
20202 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
20203 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
20204 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20205 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
20206 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
20207 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
20208 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
20209 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
20210 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20211 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
20212 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
20213 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20214 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
20215 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
20216 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20217
20218 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
20219
20220 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20221
20222 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20223
20224 * sysdeps/sh/libm-test-ulps: Update.
20225
20226 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20227
20228 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
20229 idouble to 1 ULP.
20230
20231 2018-02-12 Zack Weinberg <zackw@panix.com>
20232
20233 [BZ #19239]
20234 * posix/sys/types.h: Don't include sys/sysmacros.h.
20235 * misc/sys/sysmacros.h: Remove the conditional deprecation
20236 warnings for the macros defined by this header.
20237
20238 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20239
20240 * manual/probes.texi: Remove slowexp probes.
20241 * math/Makefile: Remove slowexp.
20242 * sysdeps/generic/math_private.h (__slowexp): Remove.
20243 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
20244 document error bounds.
20245 * sysdeps/i386/fpu/slowexp.c: Remove.
20246 * sysdeps/ia64/fpu/slowexp.c: Remove.
20247 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
20248 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
20249 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
20250 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
20251 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
20252 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
20253 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
20254 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
20255 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
20256 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
20257 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
20258
20259 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
20260
20261 [BZ #13932]
20262 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
20263 * benchtests/pow-inputs: Update comment for slow path cases.
20264 * manual/probes.texi (slowpow_p10): Delete removed probe.
20265 (slowpow_p10): Likewise.
20266 * math/Makefile: Remove halfulp.c and slowpow.c.
20267 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
20268 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
20269 (__halfulp): Remove.
20270 (__slowpow): Remove.
20271 * sysdeps/i386/fpu/halfulp.c: Delete file.
20272 * sysdeps/i386/fpu/slowpow.c: Likewise.
20273 * sysdeps/ia64/fpu/halfulp.c: Likewise.
20274 * sysdeps/ia64/fpu/slowpow.c: Likewise.
20275 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
20276 improve comments and add error analysis.
20277 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
20278 (power1): Remove function:
20279 (log1): Remove error argument, add error analysis.
20280 (my_log2): Remove function.
20281 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
20282 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20283 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
20284 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
20285 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
20286 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
20287 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
20288 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
20289 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
20290 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
20291 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
20292 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20293 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
20294 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20295
20296 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
20297
20298 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
20299 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
20300
20301 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
20302
20303 [BZ #22433]
20304 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
20305 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
20306 and PTRACE_SETHBPREGS.
20307
20308 2018-02-10 Zack Weinberg <zackw@panix.com>
20309
20310 [BZ #22830]
20311 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
20312 correctly.
20313 * malloc/tst-malloc-stats-cancellation.c: New test case.
20314 * malloc/Makefile: Add new test case.
20315
20316 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
20317
20318 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
20319
20320 2018-02-10 Joseph Myers <joseph@codesourcery.com>
20321
20322 * math/Makefile (libm-narrow-fns): Add add.
20323 (libm-test-funcs-narrow): Likewise.
20324 * math/Versions (GLIBC_2.28): Add narrowing add functions.
20325 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
20326 * math/gen-auto-libm-tests.c (test_functions): Add add.
20327 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
20328 (NARROW_ADD_ROUND_TO_ODD): Likewise.
20329 (NARROW_ADD_TRIVIAL): Likewise.
20330 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
20331 macro.
20332 (__daddl): Likewise.
20333 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
20334 dadd.
20335 (CFLAGS-nldbl-dadd.c): New variable.
20336 (CFLAGS-nldbl-fadd.c): Likewise.
20337 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
20338 __nldbl_daddl.
20339 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
20340 prototype.
20341 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
20342 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
20343 * math/auto-libm-test-in: Add tests of add.
20344 * math/auto-libm-test-out-narrow-add: New generated file.
20345 * math/libm-test-narrow-add.inc: New file.
20346 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
20347 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
20348 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
20349 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
20350 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
20351 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
20352 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
20353 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
20354 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
20355 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
20356 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
20357 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
20358 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
20359 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
20360 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
20361 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
20362 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
20363 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
20364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20365 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
20366 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20367 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20368 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20369 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20370 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20371 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20372 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20373 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20374 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20375 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20376 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20377 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
20379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
20380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
20381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
20382 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
20383 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20384 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20385 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20386 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20387 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20388 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
20389 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
20390 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20391 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20392
20393 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
20394 (f128-pairs): New variable.
20395 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
20396 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
20397 to CFLAGS.
20398 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
20399 Also make tests add $(f128-loader-link) to gnulib-tests.
20400
20401 2018-02-09 DJ Delorie <dj@redhat.com>
20402
20403 [BZ #22827]
20404 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
20405 64-bit ELF type for 64-bit ELF objects.
20406
20407 2018-02-09 Joseph Myers <joseph@codesourcery.com>
20408
20409 * math/libm-test-driver.c (snan_tests_arg): New variable.
20410 * math/libm-test-support.h (snan_tests_arg): New declaration.
20411 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
20412
20413 * math/Makefile (test-type-pairs): New variable.
20414 (test-type-pairs-f64xf128-yes): Likewise.
20415 (tests): Add test-narrow-macros.
20416 (libm-test-funcs-narrow): New variable.
20417 (libm-test-c-narrow): Likewise.
20418 (generated): Add $(libm-test-c-narrow).
20419 (libm-tests-base-narrow): New variable.
20420 (libm-tests-narrow): Likewise.
20421 (libm-tests): Add $(libm-tests-narrow).
20422 (libm-tests-for-type): Handle $(libm-tests-narrow).
20423 (libm-test-c-narrow-obj): New variable.
20424 ($(libm-test-c-narrow-obj)): New rule.
20425 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
20426 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
20427 $(o-iterator) to set dependencies and CFLAGS.
20428 * math/gen-auto-libm-tests.c: Document use for narrowing
20429 functions.
20430 (output_for_one_input_case): Take argument NARROW.
20431 (generate_output): Likewise. Update call to
20432 output_for_one_input_case.
20433 (main): Take --narrow option. Update call to generate_output.
20434 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
20435 (apply_lit): Update call to _apply_lit.
20436 (apply_arglit): New function.
20437 (parse_args): Handle "a" arguments.
20438 (parse_auto_input): Handle format names using ":".
20439 * math/README.libm-test: Document "a" parameter type.
20440 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
20441 (ARG_TYPE_TRUE_MIN): Likewise.
20442 (ARG_TYPE_MAX): Likwise.
20443 (ARG_MIN_EXP): Likewise.
20444 (ARG_MAX_EXP): Likewise.
20445 (ARG_MANT_DIG): Likewise.
20446 (TEST_COND_arg_ibm128): Likewise.
20447 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
20448 (TEST_COND_arg_fmt): New macro.
20449 (init_max_error): Update prototype.
20450 * math/libm-test-support.c (test_ibm128): New variable.
20451 (init_max_error): Take argument testing_ibm128 and set test_ibm128
20452 instead of using [TEST_COND_ibm128] conditional.
20453 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
20454 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
20455 [TEST_NARROW] (TEST_MSG): New definition.
20456 (arg_plus_zero): New macro.
20457 (arg_minus_zero): Likewise.
20458 (arg_plus_infty): Likewise.
20459 (arg_minus_infty): Likewise.
20460 (arg_qnan_value_pl): Likewise.
20461 (arg_qnan_value): Likewise.
20462 (arg_snan_value_pl): Likewise.
20463 (arg_snan_value): Likewise.
20464 (arg_max_value): Likewise.
20465 (arg_min_value): Likewise.
20466 (arg_min_subnorm_value): Likewise.
20467 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
20468 (RUN_TEST_LOOP_aa_f): New macro.
20469 (TEST_SUFF): New macro.
20470 (TEST_SUFF_STR): Likewise.
20471 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
20472 (TEST_COND_any_ibm128): New macro.
20473 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
20474 this_func. Update call to init_max_error.
20475 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
20476 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
20477 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
20478 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
20479 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
20480 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
20481 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
20482 * math/test-math-scalar.h (TEST_NARROW): Likewise.
20483 * math/test-math-vector.h (TEST_NARROW): Likewise.
20484 * math/test-arg-double.h: New file.
20485 * math/test-arg-float128.h: Likewise.
20486 * math/test-arg-float32x.h: Likewise.
20487 * math/test-arg-float64.h: Likewise.
20488 * math/test-arg-float64x.h: Likewise.
20489 * math/test-arg-ldouble.h: Likewise.
20490 * math/test-math-narrow.h: Likewise.
20491 * math/test-narrow-macros.c: Likewise.
20492 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
20493 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
20494 test-narrow-macros-ldbl-64.
20495 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
20496
20497 * math/bits/mathcalls-narrow.h: New file.
20498 * include/bits/mathcalls-narrow.h: Likewise.
20499 * math/math-narrow.h: Likewise.
20500 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
20501 (__MATHCALL_NARROW_ARGS_2): Likewise.
20502 (__MATHCALL_NARROW_ARGS_3): Likewise.
20503 (__MATHCALL_NARROW_NORMAL): Likewise.
20504 (__MATHCALL_NARROW_REDIR): Likewise.
20505 (__MATHCALL_NARROW): Likewise.
20506 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
20507 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
20508 defined.
20509 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
20510 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
20511 (libm-narrow-fns): New variable.
20512 (libm-narrow-types-basic): Likewise.
20513 (libm-narrow-types-ldouble-yes): Likewise.
20514 (libm-narrow-types-float128-yes): Likewise.
20515 (libm-narrow-types-float128-alias-yes): Likewise.
20516 (libm-narrow-types): Likewise.
20517 (libm-routines): Add narrowing functions.
20518 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
20519 (libc_feholdexcept_setroundf128): New macro.
20520 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
20521 * sysdeps/ieee754/float128/float128_private.h: Include
20522 <math/math-narrow.h>.
20523 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
20524 Undefine and redefine.
20525 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
20526 (libm_alias_float_ldouble): Undefine and redefine.
20527 (libm_alias_double_ldouble): Likewise.
20528
20529 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
20530
20531 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
20532
20533 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
20534 FPCR/FPSR.
20535
20536 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
20537
20538 * manual/creature.texi: Convert references to gcc.info to gcc.
20539 * manual/stdio.texi: Likewise.
20540 * manual/string.texi: Likewise.
20541
20542 2018-02-07 Joseph Myers <joseph@codesourcery.com>
20543
20544 [BZ #17979]
20545 * posix/bits/types.h (__int_least8_t): New typedef.
20546 (__uint_least8_t): Likewise.
20547 (__int_least16_t): Likewise.
20548 (__uint_least16_t): Likewise.
20549 (__int_least32_t): Likewise.
20550 (__uint_least32_t): Likewise.
20551 (__int_least64_t): Likewise.
20552 (__uint_least64_t): Likewise.
20553 * sysdeps/generic/stdint.h (int_least8_t): Define using
20554 __int_least8_t.
20555 (int_least16_t): Define using __int_least16_t.
20556 (int_least32_t): Define using __int_least32_t.
20557 (int_least64_t): Define using __int_least64_t.
20558 (uint_least8_t): Define using __uint_least8_t.
20559 (uint_least16_t): Define using __uint_least16_t.
20560 (uint_least32_t): Define using __uint_least32_t.
20561 (uint_least64_t): Define using __uint_least64_t.
20562 * wcsmbs/uchar.h: Include <bits/types.h>.
20563 (char16_t): Define using __uint_least16_t conditional only on
20564 [!__USE_ISOCXX11].
20565 (char32_t): Define using __uint_least32_t conditional only on
20566 [!__USE_ISOCXX11].
20567 * wcsmbs/test-char-types.c: New file.
20568 * wcsmbs/Makefile (tests): Add test-char-types.
20569
20570 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
20571 version to 4.0.1.
20572
20573 2018-02-07 Zack Weinberg <zackw@panix.com>
20574
20575 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
20576 Delete all contents except for definitions of _G_HAVE_MMAP and
20577 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
20578 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
20579 sysdeps/unix/sysv/linux/_G_config.h. Make same content
20580 change as above.
20581
20582 * libio/libio.h: Don't include bits/_G_config.h here.
20583 Include stddef.h with __need_wchar_t defined. Include
20584 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
20585 Define _IO_iconv_t here, directly.
20586 Don't define _IO_HAVE_ST_BLKSIZE.
20587 * libio/libioP.h: Include _G_config.h here. Move include of
20588 shlib-compat.h up with rest of includes. Simplify conditionals
20589 controlling definition of _IO_JUMPS_OFFSET.
20590
20591 * csu/init.c: Remove always-true #if around entire file.
20592 Don't include stdio.h. Set _IO_stdin_used to hardwired
20593 constant 0x20001, and update commentary.
20594 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
20595 Replace all uses of _G_va_list with __gnuc_va_list.
20596 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
20597 instead of #if _IO_HAVE_ST_BLKSIZE.
20598 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
20599 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
20600 not #ifdef.
20601
20602 * libio/bits/libio.h: Move back to libio/libio.h and adjust
20603 multiple-include guard to match.
20604 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
20605 into this file.
20606 Remove preprocessor conditionals that are always true and/or
20607 redundant to other preprocessor conditionals in the same nest.
20608 Include shlib-compat.h unconditionally.
20609 Error out if _LIBC is not defined, or if _ISOMAC is defined,
20610 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
20611 defined after including stdio.h.
20612 Use __BEGIN_DECLS/__END_DECLS.
20613
20614 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
20615 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
20616 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
20617
20618 2018-02-07 Zack Weinberg <zackw@panix.com>
20619
20620 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
20621 New single-type headers split from _G_config.h.
20622 * libio/bits/types/cookie_io_functions_t.h
20623 * libio/bits/types/struct_FILE.h
20624 New single-type headers split from libio.h.
20625
20626 * libio/Makefile: Install the above new headers. Don't install
20627 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
20628 bits/libio-ldbl.h.
20629 * libio/_G_config.h, libio/libio.h: Delete file.
20630
20631 * libio/bits/libio.h: Remove improper-inclusion guard.
20632 Include stdio.h and don't repeat anything that it does.
20633 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
20634 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
20635 __io_read_fn as cookie_read_function_t,
20636 __io_write_fn as cookie_write_function_t,
20637 __io_seek_fn as cookie_seek_function_t,
20638 __io_close_fn as cookie_close_function_t,
20639 and _IO_cookie_io_functions_t as cookie_io_functions_t.
20640 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
20641 here, in the "compatibility defines" section. Remove an #if 0
20642 block. Use the "body" macros from bits/types/struct_FILE.h to
20643 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
20644 and _IO_ferror_unlocked.
20645 Move prototypes of __uflow and __overflow...
20646
20647 * libio/stdio.h: ...here. Don't include bits/libio.h.
20648 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
20649 directly from stdarg.h. Include bits/types/__fpos_t.h,
20650 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
20651 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
20652 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
20653 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
20654 cookie_io_functions_t, not _IO_cookie_io_functions_t;
20655 __ssize_t, not _IO_ssize_t. Unconditionally define
20656 BUFSIZ as 8192 and EOF as (-1).
20657
20658 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
20659 macros from bits/types/struct_FILE.h instead of _IO_* macros
20660 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
20661 instead of _IO_ssize_t.
20662 * libio/bits/stdio2.h: Similarly.
20663
20664 * libio/iolibio.h: Add multiple-include guard.
20665 Include bits/libio.h after stdio.h.
20666 * libio/libioP.h: Add multiple-include guard.
20667 Include stdio.h and bits/libio.h before iolibio.h.
20668
20669 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
20670 * include/bits/types/cookie_io_functions_t.h
20671 * include/bits/types/struct_FILE.h: New wrappers.
20672
20673 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
20674 Get definitions of _G_fpos_t and _G_fpos64_t from
20675 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
20676 respectively. Remove improper-inclusion guards.
20677
20678 * conform/data/stdio.h-data: Update expectations of va_list.
20679 * scripts/check-installed-headers.sh: Remove special case for
20680 libio.h and _G_config.h.
20681
20682 2018-02-07 Joseph Myers <joseph@codesourcery.com>
20683
20684 [BZ #15105]
20685 [BZ #19463]
20686 * include/sys/sysmacros.h [!_ISOMAC]
20687 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
20688 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
20689 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
20690 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
20691 libc_hidden_proto.
20692 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
20693 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
20694 Likewise.
20695 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
20696 Undefine and redefine to add use __gnu_dev_ prefix.
20697 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
20698 Likewise.
20699 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
20700 and define as hidden inline function.
20701 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
20702 Likewise.
20703 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
20704 Likewise.
20705 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
20706 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
20707 (gnu_dev_minor): Likewise.
20708 (gnu_dev_makedev): Likewise.
20709 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
20710 makedev.
20711 * posix/wordexp.c (exec_comm_child): Likewise.
20712 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
20713 instead of minor and __gnu_dev_major instead of major.
20714 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
20715 __gnu_dev_major instead of major.
20716 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
20717 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
20718 instead of gnu_dev_minor.
20719 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
20720 (SLAVE_P): Likewise.
20721 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
20722 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
20723 instead of major.
20724
20725 [BZ #21313]
20726 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
20727 in another place.
20728 * locale/weightwc.h (findidx): Likewise.
20729
20730 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
20731
20732 * manual/probes.texi (slowlog): Delete documentation of removed probe.
20733 (slowlog_inexact): Likewise
20734 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
20735 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
20736
20737 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
20738
20739 [BZ #22797]
20740 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
20741 missing second underscore to parameter name.
20742
20743 2018-02-06 Joseph Myers <joseph@codesourcery.com>
20744
20745 [BZ #14508]
20746 [BZ #15512]
20747 [BZ #17082]
20748 [BZ #20530]
20749 * bits/byteswap.h: Update file comment. Do not include
20750 <bits/byteswap-16.h>.
20751 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
20752 constant.
20753 (__bswap_16): Define as inline function.
20754 (__bswap_constant_32): Reformat definition.
20755 (__bswap_32): Always define as inline function, not macro, using
20756 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
20757 otherwise __bswap_constant_32.
20758 (__bswap_constant_64): Reformat definition. Do not use
20759 __extension__ here.
20760 (__bswap_64): Always define as inline function, not macro. Use
20761 __extension__ on function definition. Use __builtin_bswap64 if
20762 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
20763 * string/test-endian-file-scope.c: New file.
20764 * string/test-endian-sign-conversion.c: Likewise.
20765 * string/Makefile (headers): Remove bits/byteswap-16.h.
20766 (tests): Add test-endian-file-scope and
20767 test-endian-sign-conversion.
20768 (CFLAGS-test-endian-sign-conversion.c): New variable.
20769 * bits/byteswap-16.h: Remove file.
20770 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
20771 * sysdeps/ia64/bits/byteswap.h: Likewise.
20772 * sysdeps/m68k/bits/byteswap.h: Likewise.
20773 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20774 * sysdeps/s390/bits/byteswap.h: Likewise.
20775 * sysdeps/tile/bits/byteswap.h: Likewise.
20776 * sysdeps/x86/bits/byteswap-16.h: Likewise.
20777 * sysdeps/x86/bits/byteswap.h: Likewise.
20778
20779 [BZ #17721]
20780 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
20781 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
20782 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
20783 199901L] (__restrict): Define to restrict.
20784
20785 [BZ #19667]
20786 * string/testcopy.c: Include <support/support.h>. Do not include
20787 <malloc.h>. Use <support/test-driver.c>.
20788 (main): Rename to do_test. Make static. Use xmalloc instead of
20789 malloc.
20790
20791 [BZ #13575]
20792 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
20793 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
20794 (SSIZE_MAX): Define to INT_MAX.
20795 * posix/test-ssize-max.c: New file.
20796 * posix/Makefile (tests): Add test-ssize-max.
20797
20798 [BZ #19668]
20799 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
20800 <support/support.h>. Do not include <malloc.h>.
20801 (query_auxv): Use xmalloc instead of malloc.
20802
20803 [BZ #14553]
20804 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
20805 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
20806 instead of loff_t.
20807
20808 2018-02-06 Florian Weimer <fweimer@redhat.com>
20809
20810 [BZ #18023]
20811 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20812 Use scratch_buffer instead of extend_alloca.
20813
20814 2018-02-06 Zack Weinberg <zackw@panix.com>
20815
20816 * libio/stdio.h: Don't define getc or putc as macros.
20817 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
20818 not _IO_getc and _IO_putc.
20819
20820 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
20821 * stdio-common/tstgetln.c: Don't redefine ssize_t.
20822
20823 2018-02-06 Joseph Myers <joseph@codesourcery.com>
20824
20825 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
20826 (TCP_FASTOPEN_NO_COOKIE): Likewise.
20827
20828 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
20829
20830 [BZ #14890]
20831 * elf/elf.h (NT_PRFPREG): New macro.
20832 (NT_S390_VXRS_LOW): Likewise.
20833 (NT_S390_VXRS_HIGH): Likewise.
20834 (NT_S390_GS_CB): Likewise.
20835 (NT_S390_GS_BC): Likewise.
20836 (NT_S390_RI_CB): Likewise.
20837
20838 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
20839 (MAP_SYNC): New macro.
20840 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
20841 Likewise.
20842 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
20843 (MAP_SYNC): Likewise.
20844 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
20845 (MAP_SYNC): Likewise.
20846 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
20847 (MAP_SYNC): Likewise.
20848 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
20849 (MAP_SYNC): Likewise.
20850 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
20851 (MAP_SYNC): Likewise.
20852 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
20853 (MAP_SYNC): Likewise.
20854 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
20855 Likewise.
20856 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
20857 Likewise.
20858
20859 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
20860 (MAP_SHARED_VALIDATE): New macro.
20861 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
20862 (MAP_SHARED_VALIDATE): Likewise.
20863
20864 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20865
20866 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
20867 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
20868 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
20869
20870 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20871
20872 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
20873 (DT_NUM): Updated to 35.
20874
20875 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20876
20877 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
20878 __builtin_expect with __glibc_likely and __glibc_unlikely.
20879 (elf_machine_rela): Likewise.
20880 (elf_machine_lazy_rel): Likewise.
20881
20882 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20883
20884 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
20885 __builtin_expect with __glibc_likely and __glibc_unlikely.
20886 (elf_machine_lazy_rel): Likewise.
20887
20888 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
20889
20890 [BZ #22638]
20891 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
20892 SHARED.
20893 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
20894
20895 2018-02-05 Andreas Schwab <schwab@suse.de>
20896
20897 [BZ #22761]
20898 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
20899 string.
20900
20901 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20902
20903 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
20904 not check against PTHREAD_STACK_MIN.
20905
20906 2018-02-02 Sean McKean <smckean83@gmail.com>
20907
20908 [BZ #22735]
20909 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
20910
20911 2018-02-02 Florian Weimer <fweimer@redhat.com>
20912
20913 [BZ #22753]
20914 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
20915 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
20916 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
20917 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
20918 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
20919 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
20920 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
20921 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
20922 * manual/llio.texi (Scatter-Gather): Mention offset -1.
20923 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
20924 * misc/tst-preadvwritev2.c (do_test): Call it.
20925 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
20926
20927 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
20928
20929 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
20930
20931 * benchtests/bench-memcmp.c: Print json instead of plain text.
20932
20933 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
20934 every test run.
20935
20936 2018-02-01 Joseph Myers <joseph@codesourcery.com>
20937
20938 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
20939 version to 4.15.
20940 (s390_sthyi): New syscall.
20941
20942 * sysdeps/generic/ldbl-classify-compat.h: New file.
20943 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
20944 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
20945 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
20946 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
20947 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
20948 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
20949 * sysdeps/ieee754/dbl-64/s_finite.c: Include
20950 <ldbl-classify-compat.h>.
20951 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20952 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
20953 <ldbl-classify-compat.h>.
20954 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20955 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
20956 <ldbl-classify-compat.h>.
20957 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20958 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
20959 <ldbl-classify-compat.h>.
20960 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20961 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
20962 <ldbl-classify-compat.h>.
20963 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20964 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
20965 <ldbl-classify-compat.h>.
20966 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
20967 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
20968 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
20969 * sysdeps/m68k/coldfire/math_private.h: Remove file.
20970 * sysdeps/microblaze/math_private.h: Likewise.
20971 * sysdeps/nios2/math_private.h: Likewise.
20972 * sysdeps/sh/math_private.h: Likewise.
20973
20974 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
20975 * sysdeps/m68k/coldfire/math_private.h: ... here.
20976 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
20977 * sysdeps/tile/math_private.h: Likewise.
20978 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
20979 Remove macro.
20980 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
20981 Likewise.
20982
20983 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
20984 Remove macro.
20985 (libc_fetestexcept): Likewise.
20986 (libc_feupdateenv_test): Likewise.
20987 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
20988 (libc_fetestexcept): Likewise.
20989 (libc_feupdateenv_test): Likewise.
20990 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
20991 (libc_fetestexcept): Likewise.
20992 (libc_feupdateenv_test): Likewise.
20993 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
20994 (libc_fetestexcept): Likewise.
20995 (libc_feupdateenv_test): Likewise.
20996
20997 * sysdeps/generic/math_private.h
20998 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
20999 New inline function.
21000 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
21001 Likewise.
21002
21003 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
21004 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
21005 * sysdeps/generic/math_private.h
21006 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
21007 inline function.
21008 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
21009 Likewise.
21010 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
21011 Likewise.
21012 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
21013 Likewise.
21014 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
21015 Likewise.
21016 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
21017 Likewise.
21018 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
21019 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
21020 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
21021 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
21022 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
21023 (__fegetenv): Likewise.
21024 (fesetenv): Likewise.
21025 (__fesetenv): Likewise.
21026 (feupdateenv): Likewise.
21027 (__feupdateenv): Likewise.
21028 (fegetround): Likewise.
21029 (__fegetround): Likewise.
21030 (fesetround): Likewise.
21031 (__fesetround): Likewise.
21032
21033 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
21034 (feraiseexcept): New macro.
21035 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
21036 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
21037 Remove macro.
21038 (__feraiseexcept): Likewise.
21039 (feclearexcept): Likewise.
21040 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
21041 (__feraiseexcept): Likewise.
21042 (feclearexcept): Likewise.
21043 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
21044 (__feraiseexcept): Likewise.
21045 (feclearexcept): Likewise.
21046 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
21047 (__feraiseexcept): Likewise.
21048 (feclearexcept): Likewise.
21049 (fetestexcept): Likewise.
21050
21051 * sysdeps/m68k/coldfire/math-tests.h: New file.
21052
21053 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
21054 * sysdeps/m68k/bits/fenv.h: ... here.
21055 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
21056 not define.
21057 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
21058 Likewise.
21059 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
21060 Likewise.
21061 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
21062 Likewise.
21063 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
21064 Likewise.
21065 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
21066 Define to 0.
21067 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
21068 (__FE_UNDEFINED): New enum constant.
21069 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
21070 Do not define.
21071 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
21072 Likewise.
21073 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
21074 Likewise.
21075 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
21076 to match generic bits/fenv.h.
21077 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
21078 Do not define.
21079
21080 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
21081 packed on bits.
21082 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
21083 * soft-fp/half.h (union _FP_UNION_H): Likewise.
21084 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
21085 * soft-fp/single.h (union _FP_UNION_S): Likewise.
21086
21087 2018-02-01 Carlos O'Donell <carlos@redhat.com>
21088 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
21089 Joseph Myers <joseph@codesourcery.com>
21090
21091 [BZ #21314]
21092 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
21093 (__log1p): Disable -Wmaybe-uninitialized for -Os around
21094 computation using c.
21095 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
21096 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
21097 computation using c.
21098
21099 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
21100
21101 * version.h (RELEASE): Set to "development".
21102 (VERSION): Set to "2.27.9000".
21103 * NEWS (2.28): New section.
21104
21105 * version.h (RELEASE): Set to "stable".
21106 (VERSION): Set to "2.27".
21107 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
21108
21109 * NEWS: Add the list of bugs fixed in 2.27.
21110
21111 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21112
21113 * stdlib/test-atexit-race-common.c (do_test): Check stack size
21114 against PTHREAD_STACK_MIN.
21115
21116 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
21117
21118 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
21119 New entries.
21120 (Rafal Luzynski, Andreas Schwab): Update.
21121
21122 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
21123
21124 [BZ #10871]
21125 * NEWS: List the languages which actually use the alternative
21126 months feature in this release. Also explain that "alt_mon" and
21127 "ab_alt_mon" are optional.
21128
21129 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
21130
21131 [BZ #22765]
21132 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
21133
21134 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
21135
21136 * manual/install.texi (Tools for Compilation): Update the newest
21137 versions of gcc, binutils, texinfo, gawk, bison, and sed.
21138 * INSTALL: Regenerated.
21139
21140 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21141
21142 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
21143 instead of __builtin_expect.
21144
21145 2018-01-30 Florian Weimer <fweimer@redhat.com>
21146
21147 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
21148 data.
21149 * nss/tst-nss-getpwent.c (do_test): Likewise.
21150
21151 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
21152
21153 [BZ #10871]
21154 * localedata/locales/hr_HR (mon): Rename to...
21155 (alt_mon): This.
21156 (mon): Import from CLDR (genitive case).
21157 (d_t_fmt): Update the comment.
21158
21159 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
21160
21161 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
21162 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
21163 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
21164
21165 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
21166
21167 * mach/Versions: Fix version when __mach_host_self_ was added.
21168 * hurd/Versions: Fix version when _hurd_exec_paths was added.
21169 * sysdeps/mach/hurd/i386/ld.abilist: New file.
21170 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
21171 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
21172 * sysdeps/mach/hurd/i386/libc.abilist: New file.
21173 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
21174 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
21175 * sysdeps/mach/hurd/i386/libm.abilist: New file.
21176 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
21177 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
21178 * sysdeps/mach/hurd/i386/librt.abilist: New file.
21179 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
21180 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
21181 || to respect codestyle.
21182 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
21183 (do_test_bz20181): Rename accordingly.
21184 * malloc/malloc.c: Include <assert.h>.
21185 (assert): Do not define.
21186 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
21187 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
21188 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
21189 * sysdeps/mach/hurd/hp-timing.h: New file.
21190 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
21191
21192 2018-01-29 Darius Rad <darius@bluespec.com>
21193
21194 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
21195
21196 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
21197
21198 * sysdeps/init_array/crti.S (.section .init_array): Add
21199 PREINIT_FUNCTION when defined.
21200 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
21201 * config.h.in: Regenerate.
21202 * manual/platform.texi: Add RISC-V documenation for
21203 __riscv_flush_icache.
21204 * sysdeps/riscv/__longjmp.S: New file.
21205 * sysdeps/riscv/backtrace.c: Likewise.
21206 * sysdeps/riscv/bits/endian.h: Likewise.
21207 * sysdeps/riscv/bits/setjmp.h: Likewise.
21208 * sysdeps/riscv/bits/wordsize.h: Likewise.
21209 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
21210 * sysdeps/riscv/bsd-setjmp.c: Likewise.
21211 * sysdeps/riscv/dl-trampoline.S: Likewise.
21212 * sysdeps/riscv/gccframe.h: Likewise.
21213 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
21214 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
21215 * sysdeps/riscv/machine-gmon.h: Likewise.
21216 * sysdeps/riscv/memusage.h: Likewise.
21217 * sysdeps/riscv/setjmp.S: Likewise.
21218 * sysdeps/riscv/sys/asm.h: Likewise.
21219 * sysdeps/riscv/tls-macros.h: Likewise.
21220 * sysdeps/riscv/dl-tls.h: New file.
21221 * sysdeps/riscv/libc-tls.c: Likewise.
21222 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
21223 * sysdeps/riscv/nptl/tls.h: Likewise.
21224 * sysdeps/riscv/stackinfo.h: Likewise.
21225 * sysdeps/riscv/bits/fenv.h: New file.
21226 * sysdeps/riscv/e_sqrtl.c: Likewise.
21227 * sysdeps/riscv/fpu_control.h: Likewise.
21228 * sysdeps/riscv/math-tests.h: Likewise.
21229 * sysdeps/riscv/nofpu/Implies: Likewise.
21230 * sysdeps/riscv/sfp-machine.h: Likewise.
21231 * sysdeps/riscv/tininess.h: Likewise.
21232 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
21233 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
21234 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
21235 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
21236 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
21237 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
21238 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
21239 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
21240 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
21241 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
21242 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
21243 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
21244 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
21245 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
21246 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
21247 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
21248 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
21249 * sysdeps/riscv/rvd/s_finite.c: Likewise.
21250 * sysdeps/riscv/rvd/s_fma.c: Likewise.
21251 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
21252 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
21253 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
21254 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
21255 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
21256 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
21257 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
21258 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
21259 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
21260 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
21261 * sysdeps/riscv/rvf/fegetround.c: Likewise.
21262 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
21263 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
21264 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
21265 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
21266 * sysdeps/riscv/rvf/fesetround.c: Likewise.
21267 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
21268 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
21269 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
21270 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
21271 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
21272 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
21273 * sysdeps/riscv/rvf/math_private.h: Likewise.
21274 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
21275 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
21276 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
21277 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
21278 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
21279 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
21280 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
21281 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
21282 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
21283 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
21284 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
21285 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
21286 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
21287 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
21288 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
21289 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
21290 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
21291 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
21292 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
21293 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
21294 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
21295 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
21296 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
21297 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
21298 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
21299 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
21300 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
21301 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
21302 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
21303 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
21304 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
21305 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
21306 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
21307 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
21308 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
21309 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
21310 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
21311 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
21312 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
21313 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
21314 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
21315 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
21316 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
21317 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
21318 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
21319 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
21320 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
21321 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
21322 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
21323 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
21324 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
21325 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
21326 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
21327 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
21328 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
21329 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
21330 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
21331 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
21332 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
21333 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
21334 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
21335 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
21336 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
21337 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
21338 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
21339 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
21340 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
21341 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
21342 * sysdeps/riscv/Implies: New file.
21343 * sysdeps/riscv/Makefile: Likewise.
21344 * sysdeps/riscv/configure: Likewise.
21345 * sysdeps/riscv/configure.ac: Likewise.
21346 * sysdeps/riscv/nptl/Makefile: Likewise.
21347 * sysdeps/riscv/preconfigure: Likewise.
21348 * sysdeps/riscv/rv64/Implies-after: Likewise.
21349 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
21350 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
21351 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
21352 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
21353 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
21354 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
21355 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
21356 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
21357 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
21358 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
21359 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
21360 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
21361 (Config): Likewise.
21362
21363 2018-01-29 Florian Weimer <fweimer@redhat.com>
21364
21365 [BZ #22701]
21366 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
21367 libnsl_hidden_proto.
21368 * include/rpcsvc/yp.h (yp_xdrall): Declare with
21369 libnsl_hidden_proto.
21370 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
21371 * nis/Makefile (libnsl-routines): Add nss-default only for
21372 build-obsolete-nsl.
21373 * nis/nis_defaults.c (__nis_default_ttl): Add
21374 libnsl_hidden_nolink_def.
21375 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
21376 declaration.
21377 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
21378 * nis/ypclnt.c (yp_maplist): Likewise.
21379
21380 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
21381
21382 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21383 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
21384
21385 2018-01-29 Joseph Myers <joseph@codesourcery.com>
21386
21387 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
21388 clean -dxfq for git updates when replacing sources.
21389
21390 * scripts/build-many-glibcs.py (Config.build_gcc): Use
21391 --disable-libcilkrts unconditionally, not just for the final GCC
21392 build for Hurd.
21393
21394 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
21395 version to 4.15.
21396
21397 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
21398
21399 [BZ #10871]
21400 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
21401 case).
21402
21403 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
21404
21405 [BZ #10871]
21406 * localedata/locales/be_BY (mon): Rename to...
21407 (alt_mon): This, then synchronize with CLDR (nominative case).
21408 (abmon): Rename to...
21409 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
21410 (mon): Import from CLDR (genitive case).
21411 (abmon): Likewise.
21412 * localedata/locales/be_BY@latin (mon): Rename to...
21413 (alt_mon): This.
21414 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
21415
21416 * localedata/locales/be_BY@latin (lang_name): Reworded to
21417 "biełaruskaja mova".
21418
21419 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
21420
21421 [BZ #10871]
21422 * localedata/locales/el_CY (mon): Renamed to...
21423 (alt_mon): This.
21424 (mon): Import from CLDR (genitive case).
21425 * localedata/locales/el_GR: Likewise.
21426
21427 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
21428
21429 [BZ #10871]
21430 * localedata/locales/ru_RU (mon): Rename to...
21431 (alt_mon): This.
21432 (abmon): Rename to...
21433 (ab_alt_mon): This.
21434 (mon): Import from CLDR (genitive case).
21435 (abmon): Copy from the old content except the 5th month which is
21436 now in the genitive case, even when abbreviated.
21437 * localedata/locales/ru_UA: Likewise.
21438 * time/tst-strptime.c (day_tests): Add an actual example of
21439 a difference between %b and %Ob in Russian.
21440
21441 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
21442
21443 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
21444 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
21445 a `c' variable.
21446 * resolv/res-close.c: Include <stdlib.h>.
21447 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
21448 <sys/wait.h>, <time.h>, <sys/uio.h>.
21449 (NOT_CANCEL_H): Add inclusion guard.
21450 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
21451 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
21452 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
21453 return 0.
21454 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
21455 vm_address_t * to ElfW(Addr) * for dl_main parameter.
21456 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
21457 instead of void *.
21458 * sysdeps/pthread/timer_create.c (timer_create): Do not use
21459 timer_ptr2id to cast struct timer_node * to void *.
21460 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
21461 --disable-libcilkrts to gcc configure.
21462 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
21463 and make them the default for now.
21464 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
21465 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
21466 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
21467 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
21468 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
21469 MACH_IPC_COMPAT.
21470 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
21471 __task_terminate would ever return successfully.
21472 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
21473 to global scope.
21474 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
21475 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
21476 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
21477 critical section to make code simpler and avoid warning.
21478 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
21479 critical section to make code simpler and avoid warning.
21480 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
21481 const char * instead of char *.
21482 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
21483 __hurd_file_name_split, hurd_file_name_split,
21484 __hurd_directory_name_split, hurd_directory_name_split,
21485 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
21486 hurd_file_name_path_lookup): Make lookup function parameter take a
21487 const char *name instead of char *name.
21488 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
21489 __hurd_directory_name_split): Likewise.
21490 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
21491 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
21492 * sysdeps/mach/hurd/check_native.c: New file.
21493 * sysdeps/mach/hurd/check_pf.c: New file.
21494 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
21495 (__freeifaddrs): Define macro to freeifaddrs.
21496 * sysdeps/mach/hurd/libhurduser.abilist: New file.
21497 * sysdeps/mach/libmachuser.abilist: New file.
21498 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
21499 (do_test_bz20181): Rename accordingly.
21500 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
21501 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
21502 <sys/mount.h>.
21503 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
21504 version only if __USE_EXTERN_INLINES is defined.
21505 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
21506 __hurd_sockfail): Likewise.
21507 (_hurd_fd_get): Always declare functions, and provide inline versions
21508 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
21509 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
21510 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
21511 _hurd_port_set): Always declare functions, and provide inline versions
21512 only if __USE_EXTERN_INLINES and _LIBC are defined and
21513 IS_IN(libc).
21514 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
21515 _hurd_critical_section_unlock): Likewise.
21516 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
21517 * __hurd_threadvar_location): Likewise.
21518 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
21519 _hurd_userlink_clear): Likewise.
21520 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
21521 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
21522 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
21523 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
21524 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
21525 __spin_lock_locked): Likewise.
21526 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
21527 __spin_lock_locked): Likewise.
21528 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
21529 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
21530 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
21531 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
21532 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
21533 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
21534 _POSIX_NO_TRUNC): Define to 0.
21535 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
21536 check size against PTHREAD_STACK_MIN.
21537 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
21538 IS_IN(libpthread)]: Include <sigsetops.h>.
21539 * mach/Makefile (user-interfaces): Add mach/gnumach.
21540 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
21541 * sysdeps/mach/configure (mach_interface_list): Regenerate.
21542 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
21543 instead of invalid -1.
21544 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
21545 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
21546 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
21547 <net/ppp_defs.h>.
21548
21549 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
21550
21551 * hurd/fcntl-internal.h: New file.
21552
21553 2018-01-27 James Clarke <jrtc27@jrtc27.com>
21554
21555 * sysdeps/hppa/fpu/libm-test-ulps: Update.
21556
21557 * sysdeps/alpha/fpu/libm-test-ulps: Update.
21558
21559 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
21560
21561 [BZ #22701]
21562 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
21563 Build only shared objects.
21564
21565 2018-01-26 Carlos O'Donell <carlos@redhat.com>
21566
21567 * README: Update for hppa.
21568
21569 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21570
21571 * sysdeps/sparc/fpu/libm-test-ulps: Update
21572 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
21573
21574 2018-01-26 Carlos O'Donell <carlos@redhat.com>
21575
21576 Revert:
21577
21578 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21579
21580 [BZ #22563]
21581 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21582 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
21583 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21584 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
21585 to feature_1.
21586
21587 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21588
21589 [BZ #22563]
21590 * bits/types/__cancel_jmp_buf_tag.h: New file.
21591 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
21592 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
21593 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
21594 * nptl/Makefile (headers): Add
21595 bits/types/__cancel_jmp_buf_tag.h.
21596 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
21597 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
21598 * sysdeps/nptl/pthread.h: Include
21599 <bits/types/__cancel_jmp_buf_tag.h>.
21600 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
21601 __cancel_jmp_buf.
21602 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
21603
21604 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
21605
21606 [BZ #10871]
21607 * localedata/locales/uk_UA (mon): Renamed to...
21608 (alt_mon): This.
21609 (alt_digits): "0" removed and then renamed to...
21610 (mon): This.
21611 (date_fmt): Definition changed not to use the alternative
21612 digits hack.
21613
21614 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
21615
21616 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
21617 FLAG_RISCV_FLOAT_ABI_DOUBLE.
21618 * elf/elf.h (EF_RISCV_RVC): New define.
21619 (EF_RISCV_FLOAT_ABI): Likewise.
21620 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
21621 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
21622 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
21623 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
21624 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
21625 define.
21626 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
21627
21628 2018-01-25 Andreas Schwab <schwab@suse.de>
21629
21630 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
21631 single quotes.
21632 * sysdeps/gnu/configure: Regenerate.
21633 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
21634 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
21636 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
21637 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
21638 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
21639 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
21640 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
21641
21642 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
21643
21644 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
21645 URL, and run autoconf, make it the default for now.
21646
21647 2018-01-24 Joseph Myers <joseph@codesourcery.com>
21648
21649 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21650 soft-float ColdFire configuration.
21651
21652 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
21653 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
21654 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
21655
21656 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
21657 MicroBlaze file.
21658
21659 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
21660 ....
21661 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
21662 ... here.
21663 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
21664 New file.
21665
21666 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
21667 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
21668 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
21669 file.
21670
21671 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
21672
21673 [BZ #22742]
21674 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
21675 Rename to __reserved and add comment.
21676 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
21677 Rename to __reserved.
21678
21679 2018-01-24 Joseph Myers <joseph@codesourcery.com>
21680
21681 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21682 i686-gnu configurations.
21683 (Context.run_builds): Include mig, gnumach and hurd in components
21684 considered.
21685 (Context.checkout): Add mig, gnumach and hurd to components.
21686 (Context.checkout_tar): Add URL mappings for mig, gnumach and
21687 hurd.
21688 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
21689 (Config.build): Install gnumach headers, build mig and install
21690 hurd headers for 'gnu' OS.
21691 (Config.install_gnumach_headers): New function.
21692 (Config.install_hurd_headers): Likewise.
21693 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
21694 when building for 'gnu' OS.
21695
21696 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
21697
21698 * manual/tunables.texi (Hardware Capability Tunables): Fix
21699 spelling.
21700
21701 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
21702
21703 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
21704 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
21705 (ALTMON_11, ALTMON_12): Improve documentation.
21706 * manual/time.texi (strftime): Likewise.
21707
21708 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
21709
21710 [BZ #10871]
21711 * localedata/locales/pl_PL: Alternative month names added,
21712 primary month names are genitive now.
21713 * time/tst-strptime.c (day_tests): Actually use a genitive case
21714 of a month name in Polish language.
21715
21716 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
21717
21718 [BZ #10871]
21719 * manual/locale.texi: Document ALTMON_1..12 constants for
21720 nl_langinfo. Specify when to use ALTMON instead of MON.
21721 * manual/time.texi (strftime, strptime): Document GNU extension
21722 permitting O modifier with %B and %b. Specify when to use
21723 %OB instead of %B.
21724
21725 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
21726
21727 [BZ #10871]
21728 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
21729 names, define them as the same as abbreviated month names explicitly.
21730 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
21731 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
21732 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
21733 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
21734 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
21735 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
21736 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
21737 _NL_WABALTMON_12): New enum constants.
21738 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
21739 wab_alt_mon, and ab_alt_mon_defined members.
21740 (time_output): Output ab_alt_mon and wab_alt_mon members.
21741 (time_read): Read them, initialize them as copies of abmon and wabmon
21742 respectively if they are missing, initialize ab_alt_mon_defined.
21743 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
21744 * locale/programs/locfile-kw.h: Regenerate.
21745 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
21746 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
21747 and ru_RU.UTF-8.
21748 * time/strftime_l.c (a_altmonth, aam_len): New macros.
21749 [!COMPILE_WIDE] (ABALTMON_1): New macro.
21750 (__strftime_internal): Handle %Ob and %Oh formats.
21751 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
21752 (__strptime_internal): Handle %Ob and %Oh formats.
21753 * time/tst-strptime.c (day_tests): Add more tests to parse different
21754 forms of month names including the new %Ob format specifier.
21755
21756 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
21757
21758 [BZ #10871]
21759 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
21760 define them as the same as primary full month names explicitly.
21761 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
21762 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
21763 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
21764 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
21765 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
21766 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
21767 _NL_WALTMON_12): New enum constants.
21768 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
21769 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
21770 macros.
21771 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
21772 walt_mon, and alt_mon_defined members.
21773 (time_output): Output alt_mon and walt_mon members.
21774 (time_read): Read them, initialize them as copies of mon and wmon
21775 respectively if they are missing, initialize alt_mon_defined.
21776 * locale/programs/locfile-kw.gperf (alt_mon): Define.
21777 * locale/programs/locfile-kw.h: Regenerate.
21778 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
21779 * localedata/tst-langinfo.c (map): Add tests for the new constants
21780 ALTMON_1 .. ALTMON_12.
21781 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
21782 and pl_PL.UTF-8.
21783 * time/strftime_l.c (f_altmonth): New macro.
21784 (__strftime_internal): Handle %OB format.
21785 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
21786 (__strptime_internal): Handle %OB format.
21787 * time/tst-strptime.c (day_tests): Add tests to parse different forms
21788 of month names including the new %OB format specifier.
21789
21790 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21791
21792 [BZ #22685]
21793 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
21794 from ABORT_TRANSACTION.
21795 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
21796 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
21797 ABORT_TRANSACTION_IMPL): Likewise.
21798 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
21799 Linux code, but remove the code that aborts transactions.
21800
21801 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
21802
21803 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
21804
21805 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
21806
21807 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
21808 in date: "2004-14-09" should be "2004-09-14".
21809 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
21810 "2003-15-09" should be "2003-09-15".
21811
21812 2018-01-18 Arjun Shankar <arjun@redhat.com>
21813
21814 [BZ #22343]
21815 [BZ #22774]
21816 CVE-2018-6485
21817 CVE-2018-6551
21818 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
21819 after padding.
21820 (_int_memalign): check for integer overflow before calling
21821 _int_malloc.
21822 * malloc/tst-malloc-too-large.c: New test.
21823 * malloc/Makefile: Add tst-malloc-too-large.
21824
21825 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
21826
21827 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
21828 in date: "2017-24-07" should be "2017-07-24".
21829 * localedata/locales/mai_IN: Likewise.
21830 * localedata/locales/mai_NP: Likewise.
21831
21832 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
21833
21834 * po/ru.po: Update translations.
21835
21836 2018-01-17 Joseph Myers <joseph@codesourcery.com>
21837
21838 [BZ #22719]
21839 * sysdeps/hppa/backtrace.c: New file.
21840
21841 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
21842
21843 [BZ #22715]
21844 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
21845 align La_x86_64_retval to VEC_SIZE.
21846
21847 2018-01-16 Joseph Myers <joseph@codesourcery.com>
21848
21849 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
21850 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
21851
21852 2018-01-16 Florian Weimer <fweimer@redhat.com>
21853
21854 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
21855 Move tst-thread-exit-clobber ...
21856 [$(CXX)] (tests-unsupported): ... to here.
21857
21858 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
21859
21860 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
21861 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
21862 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
21863 (_dl_aarch64_cap_flags): Update.
21864 (_DL_HWCAP_COUNT): Update.
21865
21866 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
21867
21868 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
21869 (_DL_HWCAP_LAST): Remove.
21870 (_DL_HWCAP_COUNT): Move to ...
21871 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
21872 (_DL_HWCAP_COUNT): ... here.
21873
21874 2018-01-16 Florian Weimer <fweimer@redhat.com>
21875
21876 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
21877 mode with GNU extensions.
21878
21879 2018-01-15 Alan Hayward <alan.hayward@arm.com>
21880
21881 * elf/elf.h (NT_ARM_SVE): Define.
21882
21883 2018-01-15 Florian Weimer <fweimer@redhat.com>
21884
21885 [BZ #22636]
21886 * nptl/tst-minstack-throw.cc: New file.
21887 * nptl/Makefile (tests): Add tst-minstack-throw.
21888 (LDLIBS-tst-minstack-throw): Link with libstdc++.
21889 [!CXX] (tests-unsupported): Add tst-minstack-throw.
21890
21891 2018-01-15 Joseph Myers <joseph@codesourcery.com>
21892
21893 * scripts/build-many-glibcs.py (Context.checkout): Default
21894 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
21895 version to 1.1.0.
21896
21897 2018-01-13 Carlos O'Donell <carlos@redhat.com>
21898
21899 [BZ #22707]
21900 * elf/elf.h (DF_1_STUB): Define.
21901 (DF_1_PIE): Define.
21902
21903 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21904
21905 [BZ #22697]
21906 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
21907 Do not add 0.5 to integer or out-of-range arguments.
21908
21909 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
21910
21911 * po/bg.po: Update translations.
21912 * po/cs.po: Likewise.
21913 * po/de.po: Likewise.
21914 * po/ko.po: Likewise.
21915 * po/pl.po: Likewise.
21916 * po/sv.po: Likewise.
21917 * po/uk.po: Likewise.
21918 * po/vi.po: Likewise.
21919
21920 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21921
21922 * aarch64/start.S (_start): Use __wrap_main.
21923 (__wrap_main): New local symbol.
21924
21925 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
21926
21927 [BZ #22679]
21928 CVE-2018-1000001
21929 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
21930 generic_getcwd if the path returned by getcwd syscall is not absolute.
21931 * io/tst-getcwd-abspath.c: New test.
21932 * io/Makefile (tests): Add tst-getcwd-abspath.
21933
21934 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
21935
21936 * malloc/malloc.c (malloc_consolidate): Add size check.
21937
21938 2018-01-12 Florian Weimer <fweimer@redhat.com>
21939
21940 * support/write_message.c (write_message): Preserve errno.
21941 * support/check.c (print_failure): Likewise.
21942 * support/support_test_verify_impl.c (support_test_verify_impl):
21943 Likewise.
21944 * support/support_test_compare_failure.c
21945 (support_test_compare_failure): Likewise.
21946
21947 2018-01-12 Florian Weimer <fweimer@redhat.com>
21948
21949 [BZ #22701]
21950 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
21951 Prevent installation of libnsl.so.
21952 (libnsl-inhibit-o): Do not build (or install) static libraries.
21953
21954 2018-01-12 Egmont Koblinger <egmont@gmail.com>
21955
21956 [BZ #22657]
21957 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
21958 before the day number which may produce a double space.
21959 (date_fmt): Likewise.
21960
21961 2018-01-12 Joseph Myers <joseph@codesourcery.com>
21962
21963 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
21964 instead of fegetenv.
21965
21966 2018-01-11 Joseph Myers <joseph@codesourcery.com>
21967
21968 [BZ #22702]
21969 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
21970 comment to say exceptions are discarded.
21971 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
21972 __fegetenv.
21973 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
21974 be enabled.
21975
21976 2018-01-11 Florian Weimer <fweimer@redhat.com>
21977
21978 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
21979 and error message.
21980
21981 2018-01-11 Florian Weimer <fweimer@redhat.com>
21982
21983 [BZ #22636]
21984 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
21985 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
21986
21987 2018-01-10 Joseph Myers <joseph@codesourcery.com>
21988
21989 [BZ #22693]
21990 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
21991 negative arguments in test for NaN or infinity argument.
21992
21993 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
21994
21995 * po/libc.pot: Regenerate.
21996
21997 2018-01-10 Florian Weimer <fweimer@redhat.com>
21998
21999 [BZ #22636]
22000 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
22001 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
22002
22003 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22004
22005 * hurd/hurd/fd.h: Include <fcntl.h>
22006 (__hurd_at_flags): New function.
22007 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
22008 with call to __hurd_at_flags.
22009 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
22010 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
22011 __faccessat
22012 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
22013 (__access_noerrno): Use __faccessat_common instead of access_common.
22014 (__access): Likewise.
22015 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
22016 with a call to __faccessat.
22017 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
22018 (__faccessat_common): ... this. Move implementation of __access into it when
22019 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
22020 reauthenticate_cwdir_at helper to implement AT mechanism.
22021 (__faccessat_noerrno): New function, just calls __faccessat_common.
22022 (__faccessat): New function, just calls __faccessat_common.
22023 (faccessat): Define weak alias.
22024
22025 2018-01-10 Joseph Myers <joseph@codesourcery.com>
22026
22027 [BZ #22691]
22028 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22029 (CFLAGS-s_fmaxmagl.c): New variable.
22030 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
22031
22032 [BZ #22690]
22033 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
22034 long int for arguments of possibly overflowing addition or
22035 subtraction.
22036 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
22037
22038 2018-01-09 Joseph Myers <joseph@codesourcery.com>
22039
22040 [BZ #22688]
22041 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22042 (CFLAGS-e_remainderl.c): New variable.
22043
22044 [BZ #22687]
22045 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
22046 variable.
22047 (CFLAGS-s_cacoshl.c): Likewise.
22048 (CFLAGS-s_casinhl.c): Likewise.
22049 (CFLAGS-s_catanl.c): Likewise.
22050 (CFLAGS-s_catanhl.c): Likewise.
22051 (CFLAGS-s_cexpl.c): Likewise.
22052 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
22053 (CFLAGS-s_csinhl.c): Likewise.
22054 (CFLAGS-s_clogl.c): Likewise.
22055 (CFLAGS-s_clog10l.c): Likewise.
22056 (CFLAGS-s_csinl.c): Likewise.
22057 (CFLAGS-s_csqrtl.c): Likewise.
22058
22059 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
22060 2017-01-09 Svante Signell <svante.signell@gmail.com>
22061
22062 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
22063 (_hurd_exec_paths): New function.
22064 * hurd/hurd.h (_hurd_exec): Deprecate function.
22065 (_hurd_exec_paths): Declare function.
22066 * hurd/Versions: Export _hurd_exec_paths.
22067 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
22068 (__execve): Use __getcwd to build absolute path, and use
22069 _hurd_exec_paths instead of _hurd_exec.
22070 * sysdeps/mach/hurd/spawni.c: Likewise.
22071 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
22072 _hurd_exec.
22073
22074 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
22075
22076 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
22077 test instead of failing in case of ENOENT returned by posix_openpt.
22078
22079 2018-01-08 Florian Weimer <fweimer@redhat.com>
22080
22081 resolv: Support binary labels in test framework.
22082 * support/resolv_test.c (struct to_be_freed): Remove.
22083 (struct compressed_name): New.
22084 (allocate_compressed_name, ascii_tolower)
22085 (compare_compressed_name): New functions.
22086 (struct resolv_response_builder): Update type of
22087 compression_offsets for use with tsearch. Rempve to_be_freed.
22088 (response_push_pointer_to_free): Remove function.
22089 (resolv_response_add_name): Rewrite using struct compressed_name
22090 and tsearch instead of hsearch_r.
22091 (response_builder_allocate): Remove initialization of
22092 compression_offsets.
22093 (response_builder_free): Update for removal of to_be_freed. Use
22094 tdestroy instead of hdestroy_r.
22095 * resolv/Makefile (tests): Add tst-resolv-binary.
22096 (tst-resolv-binary): Link with -lresolv -lpthread.
22097
22098 2018-01-08 Florian Weimer <fweimer@redhat.com>
22099
22100 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
22101 time. Pass positive flag instead of negative flag to
22102 support_test_compare_failure.
22103 (support_test_compare_failure): Change negative parameter to
22104 positive.
22105 * support/support_test_compare_failure.c (report)
22106 (support_test_compare_failure): Likewise.
22107 * support/tst-test_compare.c (return_ssize_t, return_int): New.
22108 (do_test): Check int/size_t, ssize_t/size_t comparisons.
22109
22110 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
22111
22112 [BZ #22637]
22113 * nptl/descr.h (stackblock, stackblock_size): Update comments.
22114 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
22115 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
22116 stacksize.
22117 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
22118
22119 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
22120
22121 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22122 Add s_sincosf-sse2 and s_sincosf-fma.
22123 (CFLAGS-s_sincosf-fma.c): New.
22124 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
22125 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
22126 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
22127 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
22128 __sincosf is defined.
22129
22130 2018-01-08 Florian Weimer <fweimer@redhat.com>
22131
22132 * nptl/tst-thread-exit-clobber.cc: New file.
22133 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
22134 C++11 mode.
22135 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
22136 (tests): Add tst-thread-exit-clobber.
22137 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
22138
22139 2018-01-08 Florian Weimer <fweimer@redhat.com>
22140
22141 * support/check.h (support_static_assert): Define.
22142 (TEST_COMPARE): Use it.
22143
22144 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
22145
22146 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
22147 [!__RLIM_T_MATCHES_RLIM64_T]
22148 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
22149 __getrlimit64. Add libc_hidden_weak.
22150
22151 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
22152
22153 * elf/elf.h (R_RISCV_NONE): New define.
22154 (R_RISCV_32): Likewise.
22155 (R_RISCV_64): Likewise.
22156 (R_RISCV_RELATIVE): Likewise.
22157 (R_RISCV_COPY): Likewise.
22158 (R_RISCV_JUMP_SLOT): Likewise.
22159 (R_RISCV_TLS_DTPMOD32): Likewise.
22160 (R_RISCV_TLS_DTPMOD64): Likewise.
22161 (R_RISCV_TLS_DTPREL32): Likewise.
22162 (R_RISCV_TLS_DTPREL64): Likewise.
22163 (R_RISCV_TLS_TPREL32): Likewise.
22164 (R_RISCV_TLS_TPREL64): Likewise.
22165 * Makerules (make-link-multidir): Make directories before linking into
22166 them.
22167 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
22168 define.
22169 (VDSO_HASH_LINUX_4_15): Likewise.
22170 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
22171 in subdirectories of lib.
22172 * nptl/Makefile (/librt.so): Always depend on
22173 "$(shared-thread-library)".
22174
22175 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22176
22177 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
22178 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
22179 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
22180 (___tls_get_addr).
22181 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
22182 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
22183 "-O2 -march=i686".
22184 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
22185 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
22186 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
22187 * sysdeps/gnu/glob-lstat-compat.c: New file.
22188 * sysdeps/gnu/glob64-lstat-compat.c: New file.
22189 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
22190
22191 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22192
22193 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
22194 Reserve 16 chars to reloc_addr before calling _itoa_word.
22195
22196 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
22197
22198 [BZ #22678]
22199 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
22200 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
22201
22202 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
22203 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
22204
22205 * resource/tst-getrlimit.c: Add copyright header.
22206
22207 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
22208 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22209
22210 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
22211 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
22212 Define __GI_getrlimit64 as weak alias of __getrlimit64.
22213 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
22214 instead.
22215 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
22216 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
22217 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
22218 RLIM64_INFINITY): Fix values to match the kernel ones.
22219 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
22220 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
22221 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
22222 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
22223 getrlimit64@@GLIBC_2_27.
22224 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
22225 and setrlimit64.
22226 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
22227 getrlimit, setrlimit, getrlimit64 and setrlimit64.
22228 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
22229 setrlimit, getrlimit64 and setrlimit64.
22230
22231 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
22232
22233 [BZ #22648]
22234 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
22235 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
22236
22237 2018-01-04 Joseph Myers <joseph@codesourcery.com>
22238
22239 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
22240 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
22241 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
22242
22243 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22244
22245 [BZ #15479]
22246 [BZ #22666]
22247 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
22248 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
22249
22250 [BZ #15479]
22251 [BZ #22665]
22252 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
22253 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
22254 * sysdeps/alpha/fpu/s_floor.c: Likewise.
22255 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
22256
22257 2018-01-04 Florian Weimer <fweimer@redhat.com>
22258
22259 [BZ #22667]
22260 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
22261 Align the stack before calling exit.
22262 * stdlib/tst-makecontext-align.c: New file.
22263 * stdlib/Makefile (tests): Add tst-makecontext-align.
22264
22265 2018-01-04 Florian Weimer <fweimer@redhat.com>
22266
22267 Add support for calling dlvsym from libc.so.
22268 * include/dlfcn.h (__libc_dlvsym): Declare.
22269 * elf/Makefile (tests-static-internal): Add
22270 tst-libc_dlvsym-static.
22271 (tests-internal): Add tst-libc_dlvsym.
22272 (modules-names): Add tst-libc_dlvsym-dso.
22273 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
22274 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
22275 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
22276 object tst-libc_dlvsym-dso.so needs to be built before running
22277 these tests.
22278 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
22279 * elf/Versions: Export __libc_dlvsym.
22280 * elf/dl-libc.c (struct do_dlvsym_args): New.
22281 (do_dlvsym, __libc_dlvsym): New functions.
22282 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
22283 (_dl_open_hook2): New variable.
22284 (__libc_register_dl_open_hook): Set it.
22285 * elf/tst-libc_dlvsym-dso.c: New file.
22286 * elf/tst-libc_dlvsym-static.c: Likewise.
22287 * elf/tst-libc_dlvsym.c: Likewise.
22288 * elf/tst-libc_dlvsym.h: Likewise.
22289
22290 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
22291
22292 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
22293 include <sys/mount.h>.
22294
22295 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
22296
22297 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
22298 Add __NO_MATH_ERRNO__ check.
22299
22300 2018-01-02 Joseph Myers <joseph@codesourcery.com>
22301
22302 * sysdeps/mips/mips32/libm-test-ulps: Update.
22303 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22304
22305 2018-01-02 Florian Weimer <fweimer@redhat.com>
22306
22307 * misc/tst-pselect.c: Add copyright header.
22308
22309 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
22310
22311 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
22312 comment.
22313 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
22314 comment.
22315 (settrlimit): Rename into setrlimit.
22316 (__sttrlimit): Rename into __setrlimit.
22317
22318 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
22319 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
22320 never defined in that case.
22321
22322 2018-01-02 Joseph Myers <joseph@codesourcery.com>
22323
22324 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
22325
22326 * sysdeps/arm/libm-test-ulps: Update.
22327
22328 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
22329 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
22330
22331 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22332
22333 * NEWS: Add cosf and sincosf to list of optimized functions.
22334
22335 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
22336
22337 [BZ #22660]
22338 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
22339 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
22340 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
22341 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
22342
22343 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
22344
22345 [BZ #22433]
22346 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
22347
22348 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
22349 making a copy of it.
22350
22351 2018-01-01 Joseph Myers <joseph@codesourcery.com>
22352
22353 * manual/texinfo.tex: Update to version 2017-12-26.21 with
22354 trailing whitespace removed.
22355 * scripts/config.guess: Update to version 2018-01-01.
22356 * scripts/config.sub: Update to version 2018-01-01.
22357 * scripts/move-if-change: Update from gnulib.
22358
22359 * NEWS: Update copyright dates.
22360 * catgets/gencat.c (print_version): Likewise.
22361 * csu/version.c (banner): Likewise.
22362 * debug/catchsegv.sh: Likewise.
22363 * debug/pcprofiledump.c (print_version): Likewise.
22364 * debug/xtrace.sh (do_version): Likewise.
22365 * elf/ldconfig.c (print_version): Likewise.
22366 * elf/ldd.bash.in: Likewise.
22367 * elf/pldd.c (print_version): Likewise.
22368 * elf/sotruss.sh: Likewise.
22369 * elf/sprof.c (print_version): Likewise.
22370 * iconv/iconv_prog.c (print_version): Likewise.
22371 * iconv/iconvconfig.c (print_version): Likewise.
22372 * locale/programs/locale.c (print_version): Likewise.
22373 * locale/programs/localedef.c (print_version): Likewise.
22374 * login/programs/pt_chown.c (print_version): Likewise.
22375 * malloc/memusage.sh (do_version): Likewise.
22376 * malloc/memusagestat.c (print_version): Likewise.
22377 * malloc/mtrace.pl: Likewise.
22378 * manual/libc.texinfo: Likewise.
22379 * nptl/version.c (banner): Likewise.
22380 * nscd/nscd.c (print_version): Likewise.
22381 * nss/getent.c (print_version): Likewise.
22382 * nss/makedb.c (print_version): Likewise.
22383 * posix/getconf.c (main): Likewise.
22384 * scripts/test-installation.pl: Likewise.
22385 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
22386
22387 * All files with FSF copyright notices: Update copyright dates
22388 using scripts/update-copyrights.
22389 * locale/programs/charmap-kw.h: Regenerated.
22390 * locale/programs/locfile-kw.h: Likewise.
22391
22392 2017-12-31 Zack Weinberg <zackw@panix.com>
22393
22394 * libio/bits/libio-ldbl.h: Correct check for improper
22395 inclusion. Add own multiple include guard.
22396
22397 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
22398 Dmitry V. Levin <ldv@altlinux.org>
22399
22400 [BZ #22625]
22401 CVE-2017-16997
22402 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
22403 string token expansion. Check for NULL pointer or empty string possibly
22404 returned by expand_dynamic_string_token.
22405 (decompose_rpath): Check for empty path after dynamic string
22406 token expansion.
22407
22408 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
22409
22410 [BZ #22433]
22411 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
22412
22413 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
22414 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
22415 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
22416 and PTRACE_SYSCALL.
22417 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
22418 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22419 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22420 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22421 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22422 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
22423
22424 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
22425 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
22426 __ptrace_peeksiginfo_flags, ptrace): Move to ...
22427 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
22428 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22429 bits/ptrace-shared.h.
22430 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
22431 <bits/ptrace-shared.h>.
22432 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
22433 __ptrace_peeksiginfo_flags, ptrace): Remove.
22434 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22435 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22436 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22437 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22438 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
22439
22440 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
22441
22442 [BZ #17804]
22443 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
22444 end of the loop. Improve comments.
22445
22446 2017-12-29 Zack Weinberg <zackw@panix.com>
22447
22448 [BZ #22615]
22449 * manual/errno.texi (Checking for Errors): Explicitly say that errno
22450 might be set on success.
22451
22452 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
22453
22454 [BZ #22611]
22455 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
22456 is unchanged on success.
22457
22458 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
22459
22460 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
22461 updated.
22462 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
22463 expand_dynamic_string_token): Likewise.
22464 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
22465 is_path argument.
22466
22467 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
22468 contains ':'.
22469
22470 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
22471 is set and name contains ':', and all code depending on these checks.
22472
22473 2017-12-24 Zack Weinberg <zackw@panix.com>
22474
22475 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
22476 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
22477 respectively.
22478 * libio/libio.h: Rename the original version of this file to
22479 libio/bits/libio.h. Error out if not included by stdio.h or the
22480 stub libio.h.
22481 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
22482 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
22483 if not included by bits/libio.h or the stub _G_config.h.
22484 * sysdeps/unix/sysv/linux/_G_config.h: Move to
22485 sysdeps/unix/sysv/linux/bits. Error out if not included by
22486 bits/libio.h or the stub _G_config.h.
22487 * libio/stdio.h: Include bits/libio.h, not libio.h.
22488 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
22489 well as libio.h and _G_config.h.
22490
22491 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
22492 * libio/strfile.h, stdio-common/vfscanf.c
22493 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
22494 Include stdio.h, not _G_config.h nor libio.h.
22495 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
22496 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
22497
22498 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
22499
22500 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
22501
22502 [BZ #22347]
22503 * stdlib/getrandom.c (getrandom): Fix comment.
22504 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
22505
22506 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
22507
22508 [BZ #21161]
22509 * manual/arith.texi (strtoul): Fix a typo.
22510
22511 [BZ #22596]
22512 * manual/arith.texi (finite): Fix the description of the return
22513 value.
22514
22515 2017-12-22 Eric Blake <ebb9@byu.net>
22516
22517 Avoid gcc warnings on cygwin
22518 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
22519 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
22520 Avoid unused variable.
22521
22522 2017-12-22 Florian Weimer <fweimer@redhat.com>
22523
22524 * io/Makefile (routines): Add copy_file_range.
22525 (tests): Add tst-copy_file_range.
22526 (tests-static, tests-internal): Add tst-copy_file_range-compat.
22527 * io/Versions (GLIBC_2.27): Export copy_file_range.
22528 * io/copy_file_range-compat.c: New file.
22529 * io/copy_file_range.c: Likewise.
22530 * io/tst-copy_file_range-compat.c: Likewise.
22531 * io/tst-copy_file_range.c: Likewise.
22532 * manual/llio.texi (Copying File Data): New section.
22533 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
22534 * support/Makefile (libsupport-routines): Add support-xfstat,
22535 xftruncate, xlseek.
22536 * support/support-xfstat.c: New file.
22537 * support/xftruncate.c: Likewise.
22538 * support/xlseek.c: Likewise.
22539 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
22540 * sysdeps/unix/sysv/linux/**.abilist: Update.
22541 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
22542
22543 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
22544
22545 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22546 disable-multi-arch variant to aarch64-linux-gnu.
22547
22548 2017-12-20 Joseph Myers <joseph@codesourcery.com>
22549
22550 * manual/texinfo.tex: Update to version 2017-12-18.20 with
22551 trailing whitespace removed.
22552 * scripts/config.guess: Update to version 2017-12-17.
22553 * scripts/config.sub: Update to version 2017-11-23.
22554 * scripts/install-sh: Update to version 2017-09-23.17.
22555 * scripts/move-if-change: Update to version 2017-09-13 06:45.
22556
22557 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22558
22559 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
22560 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
22561 * sysdeps/tile/_mcount.S (__mcount): Likewise.
22562 * sysdeps/tile/crti.S (_init, _fini): Likewise.
22563 * sysdeps/tile/crtn.S: Likewise.
22564 * sysdeps/tile/dl-start.S (_start): Likewise.
22565 * sysdeps/tile/dl-trampoline.S: Likewise.
22566 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
22567 * sysdeps/tile/start.S (_start): Likewise.
22568 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
22569 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
22570 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
22571 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
22572 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
22573 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
22574 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
22575
22576 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
22577 comment.
22578 * sysdeps/tile/preconfigure: Remove tilegx folder.
22579 * sysdeps/tile/tilegx/Implies: Move definitions to ...
22580 * sysdeps/tile/Implies: ... here.
22581 * sysdeps/tile/tilegx/Makefile: Move rules to ...
22582 * sysdeps/tile/Makefile: ... here.
22583 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
22584 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
22585 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
22586 * sysdeps/tile/bits/wordsize.h: ... here.
22587 * sysdeps/tile/tilegx/*: Move to ...
22588 * sysdeps/tile/*: ... here.
22589 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
22590 * sysdeps/tile/tilegx32/Implies: ... here.
22591 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
22592 * sysdeps/tile/tilegx64/Implies: ... here.
22593 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
22594 to ...
22595 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
22596 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
22597 * sysdeps/unix/sysv/linux/tile/*: ... here.
22598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
22599 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
22600 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
22601 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
22602
22603 * README: Remove tilepro-*-linux-gnu from supported architecture.
22604 * scripts/build-many-glibcs.py: Likewise.
22605 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
22606 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
22607 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
22608 elf_machine_matches_host, elf_machine_dynamic,
22609 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
22610 howto, elf_machine_rela): Likewise.
22611 * sysdeps/tile/dl-start.S (_start): Likewise.
22612 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
22613 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
22614 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
22615 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
22616 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
22617 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
22618 Likewise.
22619 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
22620 * sysdeps/tile/preconfigure: Likewise.
22621 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
22622 POINTER_CHK_GUARD): Likewise.
22623 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
22624 * sysdeps/tile/start.S (_start): Likewise.
22625 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
22626 Likewise.
22627 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
22628 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
22629 CMOVNEZ): Remove.
22630 * sysdeps/unix/sysv/linux/tile/bits/environments.h
22631 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
22632 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
22633 Likewise.
22634 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
22635 * sysdeps/tile/tilepro/Implies: Remove file.
22636 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
22637 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
22638 * sysdeps/tile/tilepro/memchr.c: Likewise.
22639 * sysdeps/tile/tilepro/memcpy.S: Likewise.
22640 * sysdeps/tile/tilepro/memset.c: Likewise.
22641 * sysdeps/tile/tilepro/memusage.h: Likewise.
22642 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
22643 * sysdeps/tile/tilepro/strchr.c: Likewise.
22644 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
22645 * sysdeps/tile/tilepro/strlen.c: Likewise.
22646 * sysdeps/tile/tilepro/strrchr.c: Likewise.
22647 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
22648 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
22649 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
22650 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
22651 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
22652 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
22653 Likewise.
22654 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
22655 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22656 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
22657 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
22658 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22659 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
22660 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
22661 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
22662 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
22663 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
22664 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
22665 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
22666 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
22667 tilepro mention in comment.
22668
22669 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
22670 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
22671 * nptl/pthread_join_common.c: New file: common function used on
22672 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
22673 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
22674 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
22675 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
22676 (cleanup): Move definition to pthread_join_common.c.
22677 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
22678 Remove superflous checks.
22679 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
22680 Likewise.
22681
22682 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
22683
22684 * sysdeps/aarch64/libm-test-ulps: Update.
22685
22686 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22687
22688 * sysdeps/aarch64/memset.S (MEMSET): Define.
22689
22690 2017-12-20 Florian Weimer <fweimer@redhat.com>
22691
22692 [BZ #22635]
22693 nptl: Provide full implementation of pthread_self in libc.so.
22694 * nptl/Makefile (routines): Add pthread_self.
22695 (libpthread-routines): Replace pthread_self with
22696 compat-pthread_self.
22697 * nptl/forward.c (pthread_self): Remove.
22698 * nptl/nptl-init.c (pthread_functions): Do not initialize
22699 ptr_pthread_self.
22700 * nptl/pthread_self.c (pthread_self): Remove weak alias.
22701 * nptl/compat-pthread_self.c: New file.
22702 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
22703 Remove ptr_pthread_self.
22704
22705 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
22706
22707 * posix/regcomp.c: Fix spelling in comments.
22708 * posix/regex.h: Likewise.
22709 * posix/regex_internal.c: Likewise.
22710 * posix/regexec.c: Likewise.
22711
22712 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
22713
22714 [BZ #22377]
22715 * math/Makefile [C++] (tests): Add test for iseqsig.
22716 * math/math.h [C++] (iseqsig): New implementation, which does
22717 not rely on __MATH_TG/__builtin_types_compatible_p.
22718 * math/test-math-iseqsig.cc: New file.
22719 * sysdeps/powerpc/powerpc64le/Makefile
22720 (CFLAGS-test-math-iseqsig.cc): New variable.
22721
22722 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
22723
22724 * elf/dl-load.c (is_trusted_path): Remove.
22725 (fillin_rpath): Remove check_trusted argument and its use,
22726 all callers changed.
22727
22728 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22729
22730 [BZ #22630]
22731 * Makeconfig (link-pie-before-libc): Replace -pie with
22732 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
22733 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
22734 (tst-dlopen-aout-no-pie): New.
22735 (LDFLAGS-tst-prelink): Removed.
22736 (tst-prelink-no-pie): New.
22737 (LDFLAGS-tst-main1): Removed.
22738 (tst-main1-no-pie): New.
22739 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
22740 (tst-gmon-no-pie): New.
22741
22742 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22743
22744 * manual/install.texi: Document that --enable-static-pie
22745 implies PIE.
22746 * INSTALL: Regenerated.
22747
22748 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
22749
22750 [BZ #21309]
22751 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
22752 unsigned.
22753
22754 2017-12-19 Joseph Myers <joseph@codesourcery.com>
22755
22756 Revert:
22757
22758 2017-12-19 Joseph Myers <joseph@codesourcery.com>
22759
22760 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22761
22762 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22763
22764 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
22765 <errno.h>. Include "eexp.tbl".
22766 (half): New constant.
22767 (one): Likewise.
22768 (__ieee754_exp): Rewrite.
22769 (__slowexp): Remove prototype.
22770 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
22771 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
22772 * sysdeps/i386/fpu/slowexp.c: Likewise.
22773 * sysdeps/ia64/fpu/slowexp.c: Likewise.
22774 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
22775 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
22776 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
22777 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22778 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
22779 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
22780 comment.
22781 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
22782 (CPPFLAGS-slowexp.c): Remove variable.
22783 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22784 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
22785 (CFLAGS-slowexp-fma.c): Remove variable.
22786 (CFLAGS-slowexp-fma4.c): Likewise.
22787 (CFLAGS-slowexp-avx.c): Likewise.
22788 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
22789 define as macro.
22790 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
22791 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
22792 * math/Makefile (type-double-routines): Remove slowexp.
22793 * manual/probes.texi (slowexp_p6): Remove.
22794 (slowexp_p32): Likewise.
22795
22796 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22797
22798 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
22799 arithmetic.
22800
22801 * lib/glob.c (glob): Do not pass NULL to mempcpy.
22802
22803 2017-12-19 Joseph Myers <joseph@codesourcery.com>
22804
22805 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22806
22807 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22808
22809 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
22810 <errno.h>. Include "eexp.tbl".
22811 (half): New constant.
22812 (one): Likewise.
22813 (__ieee754_exp): Rewrite.
22814 (__slowexp): Remove prototype.
22815 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
22816 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
22817 * sysdeps/i386/fpu/slowexp.c: Likewise.
22818 * sysdeps/ia64/fpu/slowexp.c: Likewise.
22819 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
22820 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
22821 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
22822 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22823 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
22824 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
22825 comment.
22826 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
22827 (CPPFLAGS-slowexp.c): Remove variable.
22828 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22829 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
22830 (CFLAGS-slowexp-fma.c): Remove variable.
22831 (CFLAGS-slowexp-fma4.c): Likewise.
22832 (CFLAGS-slowexp-avx.c): Likewise.
22833 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
22834 define as macro.
22835 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
22836 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
22837 * math/Makefile (type-double-routines): Remove slowexp.
22838 * manual/probes.texi (slowexp_p6): Remove.
22839 (slowexp_p32): Likewise.
22840
22841 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22842 James Clarke <jrtc27@jrtc27.com>
22843
22844 [BZ #22603]
22845 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
22846 addition.
22847
22848 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22849
22850 [BZ #22605]
22851 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
22852 code.
22853
22854 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22855
22856 [BZ #22563]
22857 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22858 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
22859 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22860 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
22861 to feature_1.
22862
22863 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22864
22865 [BZ #22563]
22866 * bits/types/__cancel_jmp_buf_tag.h: New file.
22867 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
22868 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
22869 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
22870 * nptl/Makefile (headers): Add
22871 bits/types/__cancel_jmp_buf_tag.h.
22872 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
22873 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
22874 * sysdeps/nptl/pthread.h: Include
22875 <bits/types/__cancel_jmp_buf_tag.h>.
22876 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
22877 __cancel_jmp_buf.
22878 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
22879
22880 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
22881
22882 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22883 --enable-static-pie variants to x86_64, x32 and i686.
22884
22885 2017-12-19 Joseph Myers <joseph@codesourcery.com>
22886
22887 [BZ #22631]
22888 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
22889 argument for attrubutes. All callers changed.
22890 (__inline_mathop1): Likewise. All callers changed.
22891 (__inline_mathop): Likewise. All callers changed.
22892 [__USE_MISC] (scalbn): Use __inline_forward instead of
22893 __inline_forward_c.
22894 [__USE_ISOC99] (scalbln): Likewise.
22895 [__USE_ISOC99] (nearbyint): Likewise.
22896 [__USE_ISOC99] (lrint): Likewise.
22897 [__USE_MISC] (scalbnf): Likewise.
22898 [__USE_ISOC99] (scalblnf): Likewise.
22899 [__USE_ISOC99] (nearbyintf): Likewise.
22900 [__USE_ISOC99] (lrintf): Likewise.
22901 [__USE_MISC] (scalbnl): Likewise.
22902 [__USE_ISOC99] (scalblnl): Likewise.
22903 [__USE_ISOC99] (nearbyintl): Likewise.
22904 [__USE_ISOC99] (lrintl): Likewise.
22905 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
22906 __inline_mathop and __m81_defun changed.
22907
22908 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
22909 CPU or FPU for ARM hard-float configurations.
22910
22911 2017-12-18 Joseph Myers <joseph@codesourcery.com>
22912
22913 * nptl/tst-attr3.c: Include <libc-diag.h>.
22914 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
22915
22916 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
22917
22918 * string/tester.c (test_strncat): Also disable -Warray-bounds
22919 warnings for two tests.
22920
22921 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
22922
22923 [BZ #22614]
22924 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
22925 $(cc-pie-default) == yes.
22926 * config.make.in (cc-pie-default): New.
22927 * configure.ac (libc_cv_pie_default): Renamed to ...
22928 (libc_cv_cc_pie_default): This.
22929 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
22930 * configure: Regenerated.
22931
22932 2017-12-18 Florian Weimer <fweimer@redhat.com>
22933
22934 [BZ #20204]
22935 ld.so: Harden dl-libc/libdl hooks.
22936 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
22937 (rtld_active): New function.
22938 * dlfcn/dladdr.c (__dladdr): Call it.
22939 * dlfcn/dladdr1.c (__dladdr1): Likewise.
22940 * dlfcn/dlclose.c (__dlcose): Likewise.
22941 * dlfcn/dlerror.c (__dlerror): Likewise.
22942 * dlfcn/dlinfo.c (__dlinfo): Likewise.
22943 * dlfcn/dlmopen.c (__dlmopen): Likewise.
22944 * dlfcn/dlopen.c (__dlopen): Likewise.
22945 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
22946 * dlfcn/dlsym.c (__dlsym): Likewise.
22947 * dlfcn/dlvsym.c (__dlvsym): Likewise.
22948 * libio/vtables.c (_IO_vtable_check): Likewise.
22949 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
22950 (__libc_dlclose): Likewise.
22951 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
22952 assignment.
22953
22954 2017-12-18 Joseph Myers <joseph@codesourcery.com>
22955
22956 [BZ #22446]
22957 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
22958 buffers for readlink input and output.
22959
22960 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
22961
22962 [BZ #22624]
22963 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
22964 inhibit_stack_protector.
22965
22966 [BZ #22624]
22967 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
22968 inhibit_stack_protector.
22969
22970 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
22971
22972 [BZ #22627]
22973 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
22974 code and invocation.
22975
22976 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
22977
22978 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
22979
22980 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
22981
22982 [BZ #22505]
22983 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
22984
22985 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22986
22987 * sysdeps/s390/fpu/libm-test-ulps: Update.
22988
22989 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22990
22991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22992
22993 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22994
22995 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
22996 constants to s_sincosf.h file.
22997 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22998 * sysdeps/ieee754/flt-32/s_sincosf.c: New
22999 implementation.
23000 * sysdeps/ieee754/flt-32/s_sincosf.h:
23001 New file.
23002
23003 2017-12-12 Carlos O'Donell <carlos@redhat.com>
23004
23005 [BZ #14681]
23006 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
23007 before mtrace.
23008
23009 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
23010
23011 [BZ #19574]
23012 * INSTALL: Regenerated.
23013 * Makeconfig (real-static-start-installed-name): New.
23014 (pic-default): Updated for --enable-static-pie.
23015 (pie-default): New for --enable-static-pie.
23016 (default-pie-ldflag): Likewise.
23017 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
23018 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
23019 Replace $(static-start-installed-name) with
23020 $(real-static-start-installed-name).
23021 (+prectorT): Updated for --enable-static-pie.
23022 (+postctorT): Likewise.
23023 (CFLAGS-.o): Add $(pie-default).
23024 (CFLAGS-.op): Likewise.
23025 * NEWS: Mention --enable-static-pie.
23026 * config.h.in (ENABLE_STATIC_PIE): New.
23027 * configure.ac (--enable-static-pie): New configure option.
23028 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
23029 (have-static-pie): Likewise.
23030 Enable static PIE if linker supports --no-dynamic-linker.
23031 (ENABLE_STATIC_PIE): New AC_DEFINE.
23032 (enable-static-pie): New LIBC_CONFIG_VAR.
23033 * configure: Regenerated.
23034 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
23035 gr$(start-installed-name) for --enable-static-pie.
23036 (extra-objs): Likewise.
23037 (install-lib): Likewise.
23038 (extra-objs): Add static-reloc.o and static-reloc.os
23039 ($(objpfx)$(start-installed-name)): Also depend on
23040 $(objpfx)static-reloc.o.
23041 ($(objpfx)r$(start-installed-name)): New.
23042 ($(objpfx)g$(start-installed-name)): Also depend on
23043 $(objpfx)static-reloc.os.
23044 ($(objpfx)gr$(start-installed-name)): New.
23045 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
23046 in libc.a.
23047 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
23048 initimage.
23049 * csu/static-reloc.c: New file.
23050 * elf/Makefile (routines): Add dl-reloc-static-pie.
23051 (elide-routines.os): Likewise.
23052 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
23053 (tst-tls1-static-non-pie-no-pie): New.
23054 * elf/dl-reloc-static-pie.c: New file.
23055 * elf/dl-support.c (_dl_get_dl_main_map): New function.
23056 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
23057 STATIC_PIE_BOOTSTRAP.
23058 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
23059 * gmon/Makefile (tests): Add tst-gmon-static-pie.
23060 (tests-static): Likewise.
23061 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
23062 (tst-gmon-static-no-pie): New.
23063 (CFLAGS-tst-gmon-static-pie.c): Likewise.
23064 (CRT-tst-gmon-static-pie): Likewise.
23065 (tst-gmon-static-pie-ENV): Likewise.
23066 (tests-special): Likewise.
23067 ($(objpfx)tst-gmon-static-pie.out): Likewise.
23068 (clean-tst-gmon-static-pie-data): Likewise.
23069 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
23070 * gmon/tst-gmon-static-pie.c: New file.
23071 * manual/install.texi: Document --enable-static-pie.
23072 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
23073 (_dl_get_dl_main_map): Likewise.
23074 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
23075 * sysdeps/x86_64/configure.ac: Likewise.
23076 * sysdeps/i386/configure: Regenerated.
23077 * sysdeps/x86_64/configure: Likewise.
23078 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
23079 (ASFLAGS-.op): Likewise.
23080
23081 2017-12-15 Joseph Myers <joseph@codesourcery.com>
23082
23083 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
23084 * posix/tst-mmap-offset.c (fname): Use /tmp.
23085 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
23086
23087 2017-12-15 Steve Ellcey <sellcey@cavium.com>
23088
23089 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
23090
23091 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
23092
23093 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
23094 errno.
23095
23096 2017-12-15 Joseph Myers <joseph@codesourcery.com>
23097
23098 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
23099 --with-float=hard for arm-linux-gnueabihf configurations.
23100
23101 [BZ #14121]
23102 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
23103 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
23104 ($(mo-installed)): Use $(objpfx)%.mo.
23105 (realclean): Remove rule.
23106
23107 * po/Makefile (linguas): Remove rule and dependencies.
23108 (linguas.mo): Likewise.
23109 (.PHONY): Do not depend on linguas and linguas.mo.
23110 (podir): Remove variable.
23111 (pofiles): Likewise.
23112 [$(pofiles)] (%.po): Remove rule.
23113
23114 * sysdeps/sparc/sparc32/Makefile
23115 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
23116 start-of-line whitespace in argument of echo.
23117 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
23118 with whitespace. Generate __wrap_.udiv alias.
23119 * sysdeps/sparc/sparc32/rem.S: Regenerated.
23120 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
23121 * sysdeps/sparc/sparc32/udiv.S: Likewise.
23122 * sysdeps/sparc/sparc32/urem.S: Likewise.
23123
23124 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23125
23126 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
23127 for aligned inputs.
23128
23129 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
23130
23131 * benchtests/bench-strcmp.c: Print output in JSON format.
23132
23133 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
23134
23135 2017-12-14 Florian Weimer <fweimer@redhat.com>
23136
23137 [BZ #22607]
23138 CVE-2017-1000409
23139 * elf/dl-load.c (_dl_init_paths): Compute number of components in
23140 the expanded path string.
23141
23142 2017-12-14 Florian Weimer <fweimer@redhat.com>
23143
23144 [BZ #22606]
23145 CVE-2017-1000408
23146 * elf/dl-load.c (system_dirs): Update comment.
23147 (nsystem_dirs_len): Use array_length.
23148 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
23149
23150 2017-12-14 Florian Weimer <fweimer@redhat.com>
23151
23152 Simplify compiling most of support/ outside of glibc.
23153 * support/check_addrinfo.c: Include <string.h>.
23154 * support/check_dns_packet.c: Likewise.
23155 * support/check_hostent.c: Likewise.
23156 * support/support_can_chroot.c: Include <support/xunistd.h>.
23157 * support/support_format_addrinfo.c: Include <stdlib.h>
23158 * support/support_format_dns_packet.c: Include <stdbool.h>.
23159 * support/support_format_hostent.c: Include <stdlib.h>.
23160 * support/support_format_netent.c: Likewise.
23161 * support/support_write_string.c: Include <support/xunistd.h>.
23162 * support/xdlfcn.c: Include <stddef.h>.
23163
23164 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
23165
23166 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
23167
23168 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23169 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23170
23171 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23172 (sysdeps_routines): Add memset-niagara7.
23173 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
23174 Likewise.
23175 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
23176 file.
23177 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
23178 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
23179 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
23180 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
23181 Add niagara7 option.
23182 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
23183 memset.
23184
23185 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23186 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
23187 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
23188 Likewise.
23189 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
23190 New file.
23191 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
23192 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
23193 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
23194 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
23195 and __memmove_niagara7.
23196 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
23197 Add niagara7 option.
23198 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
23199 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
23200 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
23201 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
23202 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
23203
23204 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
23205
23206 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
23207 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
23208 * sysdeps/sparc/sparc64/memmove.S: Likewise.
23209 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
23210
23211 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
23212 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
23213 _dl_sparc_cap_flags array.
23214 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
23215
23216 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
23217
23218 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
23219 time whenever possible.
23220
23221 2017-12-12 Carlos O'Donell <carlos@redhat.com>
23222
23223 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
23224 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
23225
23226 2017-12-12 Joseph Myers <joseph@codesourcery.com>
23227
23228 * soft-fp/fmadf4.c: Move to ....
23229 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
23230 * soft-fp/fmasf4.c: Move to ....
23231 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
23232 * soft-fp/fmatf4.c: Move to ....
23233 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
23234 * sysdeps/ieee754/soft-fp/Makefile: New file.
23235 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
23236 * sysdeps/arm/preconfigure: Regenerated.
23237 * sysdeps/arm/nofpu/Implies: New file.
23238 * sysdeps/arm/s_fma.c: Remove file.
23239 * sysdeps/arm/s_fmaf.c: Likewise.
23240 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
23241 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
23242 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
23243 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
23244 * sysdeps/microblaze/s_fma.c: Remove file.
23245 * sysdeps/microblaze/s_fmaf.c: Likewise.
23246 * sysdeps/mips/mips32/nofpu/Implies: New file.
23247 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
23248 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
23249 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
23250 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
23251 * sysdeps/mips/ieee754/s_fma.c: Remove file.
23252 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
23253 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
23254 implementation.
23255 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
23256 * sysdeps/nios2/s_fma.c: Remove file.
23257 * sysdeps/nios2/s_fmaf.c: Likewise.
23258 * sysdeps/sh/nofpu/Implies: New file.
23259 * sysdeps/sh/s_fma.c: Remove file.
23260 * sysdeps/sh/s_fmaf.c: Likewise.
23261 * sysdeps/tile/Implies: Add ieee754/soft-fp.
23262 * sysdeps/tile/s_fma.c: Remove file.
23263 * sysdeps/tile/s_fmaf.c: Likewise.
23264
23265 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
23266
23267 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23268 Add s_cosf-sse2 and s_cosf-fma.
23269 (CFLAGS-s_cosf-fma.c): New.
23270 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
23271 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
23272 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
23273
23274 2017-12-12 Steve Ellcey <sellcey@cavium.com>
23275
23276 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
23277
23278 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23279
23280 * libio/Makefile (tests): Add tst-bz22415.
23281 (tst-bz22415-ENV): New rule.
23282 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
23283 (tests-special): Add tst-bz22415-mem.out.
23284 ($(objpfx)tst-bz22415-mem.out): New rule.
23285 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
23286 in case of a successful seek operation.
23287 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23288 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
23289 buffer is required.
23290 * libio/tst-bz22415.c: New test.
23291
23292 * sysdeps/ia64/fpu/libm-test-ulps: Update.
23293
23294 2017-12-12 James Clarke <jrtc27@jrtc27.com>
23295
23296 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
23297 __IPC_64 to 0 to avoid IPC_64 being set.
23298
23299 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
23300
23301 [BZ #22593]
23302 * math/bits/mathcalls.h (nextafter): Remove const.
23303 (nexttoward): Likewise.
23304
23305 2017-12-12 Joseph Myers <joseph@codesourcery.com>
23306
23307 * configure.ac (--with-fp): Remove configure option.
23308 (with_fp_cond): New variable.
23309 (libc_cv_with_fp): New configure test. Use this variable instead
23310 of with_fp.
23311 * configure: Regenerated.
23312 * config.make.in (with-fp): Use @libc_cv_with_fp@.
23313 * manual/install.texi (Configuring and compiling): Remove
23314 --without-fp.
23315 * INSTALL: Regenerated.
23316 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
23317 * sysdeps/mips/preconfigure (with_fp_cond): Define.
23318 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
23319 * sysdeps/sh/preconfigure (with_fp_cond): Define.
23320 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
23321 use --without-fp to configure glibc.
23322
23323 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
23324
23325 * manual/locale.texi (nl_langinfo): Fix a typo.
23326
23327 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
23328
23329 [BZ #22588]
23330 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
23331
23332 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
23333
23334 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
23335 (CFLAGS-argp-parse.c): Likewise.
23336 (CFLAGS-argp-fmtstream.c): Likewise.
23337 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
23338 (CPPFLAGS-sha512-crypt.c): Likewise.
23339 (CPPFLAGS-md5-crypt.c): Likewise.
23340 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
23341 (CFLAGS-stack_chk_fail_local.c): Likewise.
23342 (CFLAGS-backtrace.c): Likewise.
23343 (CFLAGS-sprintf_chk.c): Likewise.
23344 (CFLAGS-snprintf_chk.c): Likewise.
23345 (CFLAGS-vsprintf_chk.c): Likewise.
23346 (CFLAGS-vsnprintf_chk.c): Likewise.
23347 (CFLAGS-asprintf_chk.c): Likewise.
23348 (CFLAGS-vasprintf_chk.c): Likewise.
23349 (CFLAGS-obprintf_chk.c): Likewise.
23350 (CFLAGS-dprintf_chk.c): Likewise.
23351 (CFLAGS-vdprintf_chk.c): Likewise.
23352 (CFLAGS-printf_chk.c): Likewise.
23353 (CFLAGS-fprintf_chk.c): Likewise.
23354 (CFLAGS-vprintf_chk.c): Likewise.
23355 (CFLAGS-vfprintf_chk.c): Likewise.
23356 (CFLAGS-gets_chk.c): Likewise.
23357 (CFLAGS-fgets_chk.c): Likewise.
23358 (CFLAGS-fgets_u_chk.c): Likewise.
23359 (CFLAGS-fread_chk.c): Likewise.
23360 (CFLAGS-fread_u_chk.c): Likewise.
23361 (CFLAGS-swprintf_chk.c): Likewise.
23362 (CFLAGS-vswprintf_chk.c): Likewise.
23363 (CFLAGS-wprintf_chk.c): Likewise.
23364 (CFLAGS-fwprintf_chk.c): Likewise.
23365 (CFLAGS-vwprintf_chk.c): Likewise.
23366 (CFLAGS-vfwprintf_chk.c): Likewise.
23367 (CFLAGS-fgetws_chk.c): Likewise.
23368 (CFLAGS-fgetws_u_chk.c): Likewise.
23369 (CFLAGS-read_chk.c): Likewise.
23370 (CFLAGS-pread_chk.c): Likewise.
23371 (CFLAGS-pread64_chk.c): Likewise.
23372 (CFLAGS-recv_chk.c): Likewise.
23373 (CFLAGS-recvfrom_chk.c): Likewise.
23374 (CFLAGS-tst-longjmp_chk.c): Likewise.
23375 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
23376 (CFLAGS-tst-longjmp_chk2.c): Likewise.
23377 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
23378 (CFLAGS-tst-longjmp_chk3.c): Likewise.
23379 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
23380 (CFLAGS-tst-chk1.c): Likewise.
23381 (CFLAGS-tst-chk2.c): Likewise.
23382 (CFLAGS-tst-chk3.c): Likewise.
23383 (CFLAGS-tst-chk4.cc): Likewise.
23384 (CFLAGS-tst-chk5.cc): Likewise.
23385 (CFLAGS-tst-chk6.cc): Likewise.
23386 (CFLAGS-tst-lfschk1.c): Likewise.
23387 (CFLAGS-tst-lfschk2.c): Likewise.
23388 (CFLAGS-tst-lfschk3.c): Likewise.
23389 (CFLAGS-tst-lfschk4.cc): Likewise.
23390 (CFLAGS-tst-lfschk5.cc): Likewise.
23391 (CFLAGS-tst-lfschk6.cc): Likewise.
23392 (CFLAGS-tst-ssp-1.c): Likewise.
23393 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
23394 (CFLAGS-scandir64.c): Likewise.
23395 (CFLAGS-scandir-tail.c): Likewise.
23396 (CFLAGS-scandir64-tail.c): Likewise.
23397 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
23398 (CFLAGS-dl-tunables.c): Likewise.
23399 (CFLAGS-dl-runtime.c): Likewise.
23400 (CFLAGS-dl-lookup.c): Likewise.
23401 (CFLAGS-dl-iterate-phdr.c): Likewise.
23402 (CFLAGS-vismain.c): Likewise.
23403 (CFLAGS-tst-linkall-static.c): Likewise.
23404 (CFLAGS-tst-linkall-static.c): Likewise.
23405 (CPPFLAGS-dl-load.c): Likewise.
23406 (CFLAGS-ldconfig.c): Likewise.
23407 (CFLAGS-dl-cache.c): Likewise.
23408 (CFLAGS-cache.c): Likewise.
23409 (CFLAGS-rtld.c): Likewise.
23410 (CFLAGS-multiload.c): Likewise.
23411 (CFLAGS-filtmod1.c): Likewise.
23412 (CFLAGS-tst-align.c): Likewise.
23413 (CFLAGS-tst-align2.c): Likewise.
23414 (CFLAGS-tst-alignmod.c): Likewise.
23415 (CFLAGS-tst-alignmod2.c): Likewise.
23416 (CPPFLAGS-tst-execstack.c): Likewise.
23417 (CFLAGS-tst-ptrguard1-static.c): Likewise.
23418 (CFLAGS-tst-latepthreadmod.c): Likewise.
23419 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
23420 (CFLAGS-getgrnam_r.c): Likewise.
23421 (CFLAGS-getgrent_r.c): Likewise.
23422 (CFLAGS-getgrent.c): Likewise.
23423 (CFLAGS-fgetgrent.c): Likewise.
23424 (CFLAGS-fgetgrent_r.c): Likewise.
23425 (CFLAGS-putgrent.c): Likewise.
23426 (CFLAGS-initgroups.c): Likewise.
23427 (CFLAGS-getgrgid.c): Likewise.
23428 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
23429 (CFLAGS-getsgent.c): Likewise.
23430 (CFLAGS-fgetsgent.c): Likewise.
23431 (CFLAGS-fgetsgent_r.c): Likewise.
23432 (CFLAGS-putsgent.c): Likewise.
23433 (CFLAGS-getsgnam.c): Likewise.
23434 (CFLAGS-getsgnam_r.c): Likewise.
23435 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
23436 (CFLAGS-iconv_charmap.c): Likewise.
23437 (CFLAGS-dummy-repertoire.c): Likewise.
23438 (CFLAGS-charmap.c): Likewise.
23439 (CFLAGS-linereader.c): Likewise.
23440 (CFLAGS-simple-hash.c): Likewise.
23441 (CFLAGS-gconv_conf.c): Likewise.
23442 (CFLAGS-iconvconfig.c): Likewise.
23443 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23444 (CFLAGS-gethstbyad.c): Likewise.
23445 (CFLAGS-gethstbynm_r.c): Likewise.
23446 (CFLAGS-gethstbynm.c): Likewise.
23447 (CFLAGS-gethstbynm2_r.c): Likewise.
23448 (CFLAGS-gethstbynm2.c): Likewise.
23449 (CFLAGS-gethstent_r.c): Likewise.
23450 (CFLAGS-gethstent.c): Likewise.
23451 (CFLAGS-rcmd.c): Likewise.
23452 (CFLAGS-getnetbynm_r.c): Likewise.
23453 (CFLAGS-getnetbynm.c): Likewise.
23454 (CFLAGS-getnetbyad_r.c): Likewise.
23455 (CFLAGS-getnetbyad.c): Likewise.
23456 (CFLAGS-getnetent_r.c): Likewise.
23457 (CFLAGS-getnetent.c): Likewise.
23458 (CFLAGS-getaliasent_r.c): Likewise.
23459 (CFLAGS-getaliasent.c): Likewise.
23460 (CFLAGS-getrpcent_r.c): Likewise.
23461 (CFLAGS-getrpcent.c): Likewise.
23462 (CFLAGS-getservent_r.c): Likewise.
23463 (CFLAGS-getservent.c): Likewise.
23464 (CFLAGS-getprtent_r.c): Likewise.
23465 (CFLAGS-getprtent.c): Likewise.
23466 (CFLAGS-either_ntoh.c): Likewise.
23467 (CFLAGS-either_hton.c): Likewise.
23468 (CFLAGS-getnetgrent.c): Likewise.
23469 (CFLAGS-getnetgrent_r.c): Likewise.
23470 (CFLAGS-tst-checks-posix.c): Likewise.
23471 (CFLAGS-tst-sockaddr.c): Likewise.
23472 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
23473 (CFLAGS-tst-translit.c): Likewise.
23474 (CFLAGS-tst-gettext2.c): Likewise.
23475 (CFLAGS-tst-codeset.c): Likewise.
23476 (CFLAGS-tst-gettext3.c): Likewise.
23477 (CFLAGS-tst-gettext4.c): Likewise.
23478 (CFLAGS-tst-gettext5.c): Likewise.
23479 (CFLAGS-tst-gettext6.c): Likewise.
23480 * io/Makefile (CFLAGS-open.c): Likewise.
23481 (CFLAGS-open64.c): Likewise.
23482 (CFLAGS-creat.c): Likewise.
23483 (CFLAGS-creat64.c): Likewise.
23484 (CFLAGS-fcntl.c): Likewise.
23485 (CFLAGS-poll.c): Likewise.
23486 (CFLAGS-ppoll.c): Likewise.
23487 (CFLAGS-lockf.c): Likewise.
23488 (CFLAGS-statfs.c): Likewise.
23489 (CFLAGS-fstatfs.c): Likewise.
23490 (CFLAGS-statvfs.c): Likewise.
23491 (CFLAGS-fstatvfs.c): Likewise.
23492 (CFLAGS-fts.c): Likewise.
23493 (CFLAGS-fts64.c): Likewise.
23494 (CFLAGS-ftw.c): Likewise.
23495 (CFLAGS-ftw64.c): Likewise.
23496 (CFLAGS-lockf.c): Likewise.
23497 (CFLAGS-posix_fallocate.c): Likewise.
23498 (CFLAGS-posix_fallocate64.c): Likewise.
23499 (CFLAGS-fallocate.c): Likewise.
23500 (CFLAGS-fallocate64.c): Likewise.
23501 (CFLAGS-read.c): Likewise.
23502 (CFLAGS-write.c): Likewise.
23503 (CFLAGS-test-stat.c): Likewise.
23504 (CFLAGS-test-lfs.c): Likewise.
23505 * libio/Makefile (CFLAGS-fileops.c): Likewise.
23506 (CFLAGS-fputc.c): Likewise.
23507 (CFLAGS-fputwc.c): Likewise.
23508 (CFLAGS-freopen64.c): Likewise.
23509 (CFLAGS-freopen.c): Likewise.
23510 (CFLAGS-fseek.c): Likewise.
23511 (CFLAGS-fseeko64.c): Likewise.
23512 (CFLAGS-fseeko.c): Likewise.
23513 (CFLAGS-ftello64.c): Likewise.
23514 (CFLAGS-ftello.c): Likewise.
23515 (CFLAGS-fwide.c): Likewise.
23516 (CFLAGS-genops.c): Likewise.
23517 (CFLAGS-getc.c): Likewise.
23518 (CFLAGS-getchar.c): Likewise.
23519 (CFLAGS-getwc.c): Likewise.
23520 (CFLAGS-getwchar.c): Likewise.
23521 (CFLAGS-iofclose.c): Likewise.
23522 (CFLAGS-iofflush.c): Likewise.
23523 (CFLAGS-iofgetpos64.c): Likewise.
23524 (CFLAGS-iofgetpos.c): Likewise.
23525 (CFLAGS-iofgets.c): Likewise.
23526 (CFLAGS-iofgetws.c): Likewise.
23527 (CFLAGS-iofputs.c): Likewise.
23528 (CFLAGS-iofputws.c): Likewise.
23529 (CFLAGS-iofread.c): Likewise.
23530 (CFLAGS-iofsetpos64.c): Likewise.
23531 (CFLAGS-iofsetpos.c): Likewise.
23532 (CFLAGS-ioftell.c): Likewise.
23533 (CFLAGS-iofwrite.c): Likewise.
23534 (CFLAGS-iogetdelim.c): Likewise.
23535 (CFLAGS-iogetline.c): Likewise.
23536 (CFLAGS-iogets.c): Likewise.
23537 (CFLAGS-iogetwline.c): Likewise.
23538 (CFLAGS-ioputs.c): Likewise.
23539 (CFLAGS-ioseekoff.c): Likewise.
23540 (CFLAGS-ioseekpos.c): Likewise.
23541 (CFLAGS-iosetbuffer.c): Likewise.
23542 (CFLAGS-iosetvbuf.c): Likewise.
23543 (CFLAGS-ioungetc.c): Likewise.
23544 (CFLAGS-ioungetwc.c): Likewise.
23545 (CFLAGS-oldfileops.c): Likewise.
23546 (CFLAGS-oldiofclose.c): Likewise.
23547 (CFLAGS-oldiofgetpos64.c): Likewise.
23548 (CFLAGS-oldiofgetpos.c): Likewise.
23549 (CFLAGS-oldiofsetpos64.c): Likewise.
23550 (CFLAGS-oldiofsetpos.c): Likewise.
23551 (CFLAGS-peekc.c): Likewise.
23552 (CFLAGS-putc.c): Likewise.
23553 (CFLAGS-putchar.c): Likewise.
23554 (CFLAGS-putwc.c): Likewise.
23555 (CFLAGS-putwchar.c): Likewise.
23556 (CFLAGS-rewind.c): Likewise.
23557 (CFLAGS-wfileops.c): Likewise.
23558 (CFLAGS-wgenops.c): Likewise.
23559 (CFLAGS-oldiofopen.c): Likewise.
23560 (CFLAGS-iofopen.c): Likewise.
23561 (CFLAGS-iofopen64.c): Likewise.
23562 (CFLAGS-oldtmpfile.c): Likewise.
23563 (CFLAGS-tst_putwc.c): Likewise.
23564 * locale/Makefile (CFLAGS-md5.c): Likewise.
23565 (CFLAGS-charmap.c): Likewise.
23566 (CFLAGS-locfile.c): Likewise.
23567 (CFLAGS-charmap-dir.c): Likewise.
23568 * login/Makefile (CFLAGS-grantpt.c): Likewise.
23569 (CFLAGS-getpt.c): Likewise.
23570 (CFLAGS-pt_chown.c): Likewise.
23571 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
23572 (CFLAGS-obstack.c): Likewise.
23573 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
23574 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
23575 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
23576 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
23577 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
23578 (CFLAGS-test-tgmath.c): Likewise.
23579 (CFLAGS-test-tgmath2.c): Likewise.
23580 (CFLAGS-test-tgmath-ret.c): Likewise.
23581 (CFLAGS-test-powl.c): Likewise.
23582 (CFLAGS-test-snan.c): Likewise.
23583 (CFLAGS-test-signgam-finite.c): Likewise.
23584 (CFLAGS-test-signgam-finite-c99.c): Likewise.
23585 (CFLAGS-test-signgam-finite-c11.c): Likewise.
23586 (CFLAGS-test-signgam-uchar.c): Likewise.
23587 (CFLAGS-test-signgam-uchar-init.c): Likewise.
23588 (CFLAGS-test-signgam-uchar-static.c): Likewise.
23589 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
23590 (CFLAGS-test-signgam-uint.c): Likewise.
23591 (CFLAGS-test-signgam-uint-init.c): Likewise.
23592 (CFLAGS-test-signgam-uint-static.c): Likewise.
23593 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
23594 (CFLAGS-test-signgam-ullong.c): Likewise.
23595 (CFLAGS-test-signgam-ullong-init.c): Likewise.
23596 (CFLAGS-test-signgam-ullong-static.c): Likewise.
23597 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
23598 (CFLAGS-test-math-cxx11.cc): Likewise.
23599 (CFLAGS-test-math-isinff.cc): Likewise.
23600 (CFLAGS-test-math-iszero.cc): Likewise.
23601 (CFLAGS-test-math-issignaling.cc): Likewise.
23602 (CFLAGS-test-math-iscanonical.cc): Likewise.
23603 (CFLAGS-test-iszero-excess-precision.c): Likewise.
23604 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
23605 (CFLAGS-test-flt-eval-method.c): Likewise.
23606 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
23607 (CFLAGS-test-finite-macros.c): Likewise.
23608 * misc/Makefile (CFLAGS-select.c): Likewise.
23609 (CFLAGS-tsearch.c): Likewise.
23610 (CFLAGS-lsearch.c): Likewise.
23611 (CFLAGS-pselect.c): Likewise.
23612 (CFLAGS-readv.c): Likewise.
23613 (CFLAGS-writev.c): Likewise.
23614 (CFLAGS-preadv.c): Likewise.
23615 (CFLAGS-preadv64.c): Likewise.
23616 (CFLAGS-pwritev.c): Likewise.
23617 (CFLAGS-pwritev64.c): Likewise.
23618 (CFLAGS-preadv2.c): Likewise.
23619 (CFLAGS-preadv64v2.c): Likewise.
23620 (CFLAGS-pwritev2.c): Likewise.
23621 (CFLAGS-pwritev64v2.c): Likewise.
23622 (CFLAGS-usleep.c): Likewise.
23623 (CFLAGS-syslog.c): Likewise.
23624 (CFLAGS-error.c): Likewise.
23625 (CFLAGS-getpass.c): Likewise.
23626 (CFLAGS-mkstemp.c): Likewise.
23627 (CFLAGS-mkstemp64.c): Likewise.
23628 (CFLAGS-getsysstats.c): Likewise.
23629 (CFLAGS-getusershell.c): Likewise.
23630 (CFLAGS-err.c): Likewise.
23631 (CFLAGS-tst-tsearch.c): Likewise.
23632 (CFLAGS-msync.c): Likewise.
23633 (CFLAGS-fdatasync.c): Likewise.
23634 (CFLAGS-fsync.c): Likewise.
23635 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
23636 (CFLAGS-unwind.c): Likewise.
23637 (CFLAGS-unwind-forcedunwind.c): Likewise.
23638 (CFLAGS-pthread_cancel.c): Likewise.
23639 (CFLAGS-pthread_setcancelstate.c): Likewise.
23640 (CFLAGS-pthread_setcanceltype.c): Likewise.
23641 (CFLAGS-cancellation.c): Likewise.
23642 (CFLAGS-libc-cancellation.c): Likewise.
23643 (CFLAGS-pthread_exit.c): Likewise.
23644 (CFLAGS-forward.c): Likewise.
23645 (CFLAGS-pthread_testcancel.c): Likewise.
23646 (CFLAGS-pthread_join.c): Likewise.
23647 (CFLAGS-pthread_timedjoin.c): Likewise.
23648 (CFLAGS-pthread_once.c): Likewise.
23649 (CFLAGS-pthread_cond_wait.c): Likewise.
23650 (CFLAGS-sem_wait.c): Likewise.
23651 (CFLAGS-sem_timedwait.c): Likewise.
23652 (CFLAGS-fcntl.c): Likewise.
23653 (CFLAGS-lockf.c): Likewise.
23654 (CFLAGS-pread.c): Likewise.
23655 (CFLAGS-pread64.c): Likewise.
23656 (CFLAGS-pwrite.c): Likewise.
23657 (CFLAGS-pwrite64.c): Likewise.
23658 (CFLAGS-wait.c): Likewise.
23659 (CFLAGS-waitpid.c): Likewise.
23660 (CFLAGS-sigwait.c): Likewise.
23661 (CFLAGS-msgrcv.c): Likewise.
23662 (CFLAGS-msgsnd.c): Likewise.
23663 (CFLAGS-tcdrain.c): Likewise.
23664 (CFLAGS-open.c): Likewise.
23665 (CFLAGS-open64.c): Likewise.
23666 (CFLAGS-pause.c): Likewise.
23667 (CFLAGS-recv.c): Likewise.
23668 (CFLAGS-send.c): Likewise.
23669 (CFLAGS-accept.c): Likewise.
23670 (CFLAGS-sendto.c): Likewise.
23671 (CFLAGS-connect.c): Likewise.
23672 (CFLAGS-recvfrom.c): Likewise.
23673 (CFLAGS-recvmsg.c): Likewise.
23674 (CFLAGS-sendmsg.c): Likewise.
23675 (CFLAGS-close.c): Likewise.
23676 (CFLAGS-read.c): Likewise.
23677 (CFLAGS-write.c): Likewise.
23678 (CFLAGS-nanosleep.c): Likewise.
23679 (CFLAGS-sigsuspend.c): Likewise.
23680 (CFLAGS-msync.c): Likewise.
23681 (CFLAGS-fdatasync.c): Likewise.
23682 (CFLAGS-fsync.c): Likewise.
23683 (CFLAGS-pt-system.c): Likewise.
23684 (CFLAGS-tst-cleanup2.c): Likewise.
23685 (CFLAGS-tst-cleanupx2.c): Likewise.
23686 (CFLAGS-flockfile.c): Likewise.
23687 (CFLAGS-ftrylockfile.c): Likewise.
23688 (CFLAGS-funlockfile.c): Likewise.
23689 (CFLAGS-tst-initializers1.c): Likewise.
23690 (CFLAGS-tst-initializers1-c89.c): Likewise.
23691 (CFLAGS-tst-initializers1-c99.c): Likewise.
23692 (CFLAGS-tst-initializers1-c11.c): Likewise.
23693 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
23694 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
23695 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
23696 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
23697 (CFLAGS-nscd_getgr_r.c): Likewise.
23698 (CFLAGS-nscd_gethst_r.c): Likewise.
23699 (CFLAGS-nscd_getai.c): Likewise.
23700 (CFLAGS-nscd_initgroups.c): Likewise.
23701 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
23702 (CFLAGS-pause.c): Likewise.
23703 (CFLAGS-pread.c): Likewise.
23704 (CFLAGS-pread64.c): Likewise.
23705 (CFLAGS-pwrite.c): Likewise.
23706 (CFLAGS-pwrite64.c): Likewise.
23707 (CFLAGS-sleep.c): Likewise.
23708 (CFLAGS-wait.c): Likewise.
23709 (CFLAGS-waitid.c): Likewise.
23710 (CFLAGS-waitpid.c): Likewise.
23711 (CFLAGS-getopt.c): Likewise.
23712 (CFLAGS-wordexp.c): Likewise.
23713 (CFLAGS-sysconf.c): Likewise.
23714 (CFLAGS-pathconf.c): Likewise.
23715 (CFLAGS-fpathconf.c): Likewise.
23716 (CFLAGS-spawn.c): Likewise.
23717 (CFLAGS-spawnp.c): Likewise.
23718 (CFLAGS-spawni.c): Likewise.
23719 (CFLAGS-glob.c): Likewise.
23720 (CFLAGS-glob64.c): Likewise.
23721 (CFLAGS-getconf.c): Likewise.
23722 (CFLAGS-nanosleep.c): Likewise.
23723 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
23724 (CFLAGS-getpwent.c): Likewise.
23725 (CFLAGS-getpw.c): Likewise.
23726 (CFLAGS-fgetpwent_r.c): Likewise.
23727 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
23728 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
23729 (CFLAGS-mq_timedreceive.c): Likewise.
23730 (CFLAGS-mq_timedsend.c): Likewise.
23731 (CFLAGS-clock_nanosleep.c): Likewise.
23732 (CFLAGS-librt-cancellation.c): Likewise.
23733 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
23734 (CFLAGS-getspent.c): Likewise.
23735 (CFLAGS-fgetspent.c): Likewise.
23736 (CFLAGS-fgetspent_r.c): Likewise.
23737 (CFLAGS-putspent.c): Likewise.
23738 (CFLAGS-getspnam.c): Likewise.
23739 (CFLAGS-getspnam_r.c): Likewise.
23740 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
23741 (CFLAGS-sigsuspend.c): Likewise.
23742 (CFLAGS-sigtimedwait.c): Likewise.
23743 (CFLAGS-sigwait.c): Likewise.
23744 (CFLAGS-sigwaitinfo.c): Likewise.
23745 (CFLAGS-sigreturn.c): Likewise.
23746 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
23747 (CFLAGS-vfwprintf.c): Likewise.
23748 (CFLAGS-tmpfile.c): Likewise.
23749 (CFLAGS-tmpfile64.c): Likewise.
23750 (CFLAGS-tempname.c): Likewise.
23751 (CFLAGS-psignal.c): Likewise.
23752 (CFLAGS-vprintf.c): Likewise.
23753 (CFLAGS-cuserid.c): Likewise.
23754 (CFLAGS-errlist.c): Likewise.
23755 (CFLAGS-siglist.c): Likewise.
23756 (CFLAGS-scanf15.c): Likewise.
23757 (CFLAGS-scanf17.c): Likewise.
23758 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
23759 (CFLAGS-msort.c): Likewise.
23760 (CFLAGS-qsort.c): Likewise.
23761 (CFLAGS-system.c): Likewise.
23762 (CFLAGS-fmtmsg.c): Likewise.
23763 (CFLAGS-strfmon.c): Likewise.
23764 (CFLAGS-strfmon_l.c): Likewise.
23765 (CFLAGS-strfromd.c): Likewise.
23766 (CFLAGS-strfromf.c): Likewise.
23767 (CFLAGS-strfroml.c): Likewise.
23768 (CFLAGS-tst-bsearch.c): Likewise.
23769 (CFLAGS-tst-qsort.c): Likewise.
23770 (CFLAGS-tst-makecontext2.c): Likewise.
23771 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
23772 (CFLAGS-xnlm_prot.c): Likewise.
23773 (CFLAGS-xrstat.c): Likewise.
23774 (CFLAGS-xyppasswd.c): Likewise.
23775 (CFLAGS-xklm_prot.c): Likewise.
23776 (CFLAGS-xrex.c): Likewise.
23777 (CFLAGS-xsm_inter.c): Likewise.
23778 (CFLAGS-xmount.c): Likewise.
23779 (CFLAGS-xrusers.c): Likewise.
23780 (CFLAGS-xspray.c): Likewise.
23781 (CFLAGS-xnfs_prot.c): Likewise.
23782 (CFLAGS-xrquota.c): Likewise.
23783 (CFLAGS-xkey_prot.c): Likewise.
23784 (CFLAGS-auth_unix.c): Likewise.
23785 (CFLAGS-key_call.c): Likewise.
23786 (CFLAGS-pmap_rmt.c): Likewise.
23787 (CFLAGS-clnt_perr.c): Likewise.
23788 (CFLAGS-openchild.c): Likewise.
23789 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
23790 (CFLAGS-msgsnd.c): Likewise.
23791 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
23792 * time/Makefile (CFLAGS-tzfile.c): Likewise.
23793 (CFLAGS-tzset.c): Likewise.
23794 (CFLAGS-getdate.c): Likewise.
23795 (CFLAGS-test_time.c): Likewise.
23796 (CPPFLAGS-tst-tzname.c): Likewise.
23797 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
23798 (CFLAGS-zic.c): Likewise.
23799 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
23800 (CFLAGS-wcswidth.c): Likewise.
23801 (CFLAGS-wcstol.c): Likewise.
23802 (CFLAGS-wcstoul.c): Likewise.
23803 (CFLAGS-wcstoll.c): Likewise.
23804 (CFLAGS-wcstoull.c): Likewise.
23805 (CFLAGS-wcstod.c): Likewise.
23806 (CFLAGS-wcstold.c): Likewise.
23807 (CFLAGS-wcstof128.c): Likewise.
23808 (CFLAGS-wcstof.c): Likewise.
23809 (CFLAGS-wcstol_l.c): Likewise.
23810 (CFLAGS-wcstoul_l.c): Likewise.
23811 (CFLAGS-wcstoll_l.c): Likewise.
23812 (CFLAGS-wcstoull_l.c): Likewise.
23813 (CFLAGS-wcstod_l.c): Likewise.
23814 (CFLAGS-wcstold_l.c): Likewise.
23815 (CFLAGS-wcstof128_l.c): Likewise.
23816 (CFLAGS-wcstof_l.c): Likewise.
23817 (CPPFLAGS-tst-wchar-h.c): Likewise.
23818 (CPPFLAGS-wcstold_l.c): Likewise.
23819
23820 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
23821
23822 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
23823
23824 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23825 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23826
23827 * manual/tunables.texi (Hardware Capability Tunables): Document
23828 glibc.tune.cached_memopt.
23829 * sysdeps/powerpc/cpu-features.c: New file.
23830 * sysdeps/powerpc/cpu-features.h: New file.
23831 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
23832 _dl_powerpc_cpu_features.
23833 * sysdeps/powerpc/dl-tunables.list: New file.
23834 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
23835 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
23836 (INIT_ARCH): Initialize use_aligned_memopt.
23837 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
23838 IS_IN(rtld))]: Restrict dl_platform_init availability and
23839 initialize CPU features used by tunables.
23840 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
23841 Add memcpy-power8-cached.
23842 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
23843 __memcpy_power8_cached.
23844 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
23845 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
23846 New file.
23847
23848 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
23849
23850 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
23851 (CFLAGS-noinl-tester.c): Likewise.
23852 (CFLAGS-tst-strlen.c): Likewise.
23853 (CFLAGS-stratcliff.c): Likewise.
23854 (CFLAGS-test-ffs.c): Likewise.
23855 (CFLAGS-tst-inlcall.c): Likewise.
23856 (CFLAGS-tst-xbzero-opt.c): Likewise.
23857 (CFLAGS-memcpy.c): Likewise.
23858 (CFLAGS-wordcopy.c): Likewise.
23859
23860 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
23861
23862 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
23863 Store r15 on stack and add cfi rule.
23864 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
23865 Likewise.
23866
23867 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
23868
23869 [BZ #22577]
23870 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
23871 call.
23872
23873 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
23874
23875 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23876 Add s_sinf-sse2 and s_sinf-fma.
23877 (CFLAGS-s_sinf-fma.c): New.
23878 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
23879 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
23880 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
23881
23882 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
23883
23884 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
23885
23886 2017-12-07 Joseph Myers <joseph@codesourcery.com>
23887
23888 [BZ #22568]
23889 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
23890 part of result to imaginary part of argument if it is zero and the
23891 real part of the argument is not finite.
23892 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
23893 of result to real part of argument if it is zero and the imaginary
23894 part of the argument is not finite.
23895
23896 2017-12-07 Mike FABIAN <mfabian@redhat.com>
23897
23898 [BZ #22524]
23899 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
23900 and to the list of locales to be built for testing.
23901 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
23902 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
23903 and build the collation rules upon that.
23904
23905 2017-12-07 Joseph Myers <joseph@codesourcery.com>
23906
23907 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
23908 * manual/math.texi (Mathematics): Document support for _Float32.
23909 * math/Makefile (test-types): Add float32.
23910 * math/Versions (GLIBC_2.27): Add _Float32 functions.
23911 * stdlib/Versions (GLIBC_2.27): Likewise.
23912 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23913 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23914 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23915 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23916 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23917 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
23918 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23919 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
23920 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23921 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23922 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23923 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23924 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23925 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23926 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23927 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23928 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23929 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23930 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23931 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23932 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23933 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
23934 Likewise.
23935 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23936 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23937 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23938 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23939 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23941 Likewise.
23942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23943 Likewise.
23944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23945 Likewise.
23946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23947 Likewise.
23948
23949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23950 Likewise.
23951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
23952 Likewise.
23953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23954 Likewise.
23955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23956 Likewise.
23957 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23958 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23959 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23960 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23961 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23962 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23963 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23964 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23965 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23966 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23967 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
23968 Likewise.
23969 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23970 Likewise.
23971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23972 Likewise.
23973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23974 Likewise.
23975 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23976 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23977 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23978 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23979 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23980 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23981 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23982 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23983
23984 2017-12-06 Joseph Myers <joseph@codesourcery.com>
23985
23986 * stdlib/strtof.c: Include <bits/floatn.h>
23987 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
23988 and later undefine as macro. Define as weak alias if
23989 [!USE_WIDE_CHAR].
23990 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
23991 and later undefine as macro. Define as weak alias if
23992 [USE_WIDE_CHAR].
23993 * stdlib/strtof_l.c: Include <bits/floatn.h>
23994 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
23995 and later undefine as macro. Define as weak alias if
23996 [!USE_WIDE_CHAR].
23997 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
23998 and later undefine as macro. Define as weak alias if
23999 [USE_WIDE_CHAR].
24000
24001 * stdlib/strfromf.c: Include <bits/floatn.h>.
24002 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
24003 and later undefine as macro and define as weak alias.
24004
24005 * math/test-float32.h: New file.
24006
24007 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
24008 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
24009 (libm_alias_float_other_r): Create f32 alias.
24010 (libm_alias_float_r): Use semicolon before call to
24011 libm_alias_float_other_r.
24012
24013 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
24014 second argument to libm_alias_float_other.
24015 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
24016 second argument to libm_alias_float_other.
24017 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
24018 argument to libm_alias_float_other.
24019
24020 [BZ #22561]
24021 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
24022 real part of result for argument 0 + i * NaN.
24023 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
24024 results for tests of 0 + i * NaN.
24025
24026 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24027
24028 * sysdeps/alpha/fpu/libm-test-ulps: Update.
24029
24030 2017-12-06 David S. Miller <davem@davemloft.net>
24031
24032 * sysdeps/sparc/fpu/libm-test-ulps: Update
24033 exp_{downward,towardzero,upward} ulps.
24034
24035 2017-12-06 Joseph Myers <joseph@codesourcery.com>
24036
24037 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
24038 variables static.
24039
24040 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
24041 (Y0_2D): Likewise.
24042 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
24043 (Y0_2D): Likewise.
24044 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
24045 (Y0_2D): Likewise.
24046 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
24047 (Y0_2D): Likewise.
24048
24049 2017-12-06 Mike FABIAN <mfabian@redhat.com>
24050
24051 [BZ #22515]
24052 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
24053 and to the list of locales to be built for testing.
24054 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
24055 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
24056 and build the collation rules upon that.
24057
24058 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24059
24060 * NEWS: Add sinf to list of optimized functions.
24061
24062 2017-12-06 Joseph Myers <joseph@codesourcery.com>
24063
24064 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
24065 (__HAVE_FLOAT32X): Likewise.
24066 * manual/math.texi (Mathematics): Document support for _Float64
24067 and _Float32x.
24068 * math/Makefile (test-types): Add float64 and float32x.
24069 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
24070 functions.
24071 * stdlib/Versions (GLIBC_2.27): Likewise.
24072 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24073 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24074 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24075 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24076 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24077 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
24078 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24079 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
24080 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24081 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24082 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24083 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24084 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24085 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
24086 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24087 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
24088 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24089 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
24090 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24091 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
24092 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24093 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
24094 Likewise.
24095 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24096 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24097 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24098 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
24099 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
24101 Likewise.
24102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24103 Likewise.
24104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24105 Likewise.
24106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24107 Likewise.
24108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24109 Likewise.
24110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
24111 Likewise.
24112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24113 Likewise.
24114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24115 Likewise.
24116 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24117 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24118 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24119 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24120 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
24121 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24122 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24123 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24124 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24125 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24126 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
24127 Likewise.
24128 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24129 Likewise.
24130 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
24131 Likewise.
24132 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24133 Likewise.
24134 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24135 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24136 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24137 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24138 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24139 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24140 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24141 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24142
24143 2017-12-05 Joseph Myers <joseph@codesourcery.com>
24144
24145 * bits/floatn-common.h: Include <bits/long-double.h>.
24146 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
24147 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
24148 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
24149 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
24150 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
24151 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
24152 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
24153 (__builtin_huge_valf64): Use __builtin_huge_vall.
24154 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
24155 (__builtin_inff64): Use __builtin_infl.
24156 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
24157 (__builtin_nanf64): Use __builtin_nanl.
24158 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
24159 (__builtin_nansf64): Use __builtin_nansl.
24160
24161 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
24162 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24163 Carlos O'Donnell <carlos@redhat.com>
24164
24165 * elf/dl-tunables.list: Add elision parameters.
24166 * manual/tunables.texi: Add entries about elision tunable.
24167 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
24168 Add callback functions to dynamically enable/disable elision.
24169 Add multiple callbacks functions to set elision parameters.
24170 Deleted __libc_enable_secure check.
24171 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
24172 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
24173 * configure: Regenerated.
24174 * configure.ac: Option enable_lock_elision was deleted.
24175 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
24176 * config.make.in: Remove references to enable_lock_elision.
24177 * manual/install.texi: Elision configure option was removed.
24178 * INSTALL: Regenerated to remove enable_lock_elision.
24179 * nptl/Makefile:
24180 Disable elision so it can verify error case for destroying a mutex.
24181 * sysdeps/powerpc/nptl/elide.h:
24182 Cleanup ENABLE_LOCK_ELISION check.
24183 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
24184 * sysdeps/s390/configure: Regenerated.
24185 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
24186 * nptl/tst-mutex8.c:
24187 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
24188 * sysdeps/powerpc/powerpc32/sysdep.h:
24189 Deleted all ENABLE_LOCK_ELISION checks.
24190 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24191 * sysdeps/powerpc/sysdep.h: Likewise.
24192 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
24193 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
24194 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
24195 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
24196 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24197 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
24198 enable-lock-elision.
24199
24200 2017-12-05 Joseph Myers <joseph@codesourcery.com>
24201
24202 * stdlib/strtod.c: Include <bits/floatn.h>.
24203 (BUILD_DOUBLE): New macro.
24204 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24205 (strtof64): Define and later undefine as macro. Define as weak
24206 alias if [!USE_WIDE_CHAR].
24207 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24208 (wcstof64): Define and later undefine as macro. Define as weak
24209 alias if [USE_WIDE_CHAR].
24210 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24211 (strtof32x): Define and later undefine as macro. Define as weak
24212 alias if [!USE_WIDE_CHAR].
24213 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24214 (wcstof32x): Define and later undefine as macro. Define as weak
24215 alias if [USE_WIDE_CHAR].
24216 * stdlib/strtod_l.c: Include <bits/floatn.h>.
24217 (BUILD_DOUBLE): New macro.
24218 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24219 (strtof64_l): Define and later undefine as macro. Define as weak
24220 alias if [!USE_WIDE_CHAR].
24221 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24222 (wcstof64_l): Define and later undefine as macro. Define as weak
24223 alias if [USE_WIDE_CHAR].
24224 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24225 (strtof32x_l): Define and later undefine as macro. Define as weak
24226 alias if [!USE_WIDE_CHAR].
24227 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24228 (wcstof32x_l): Define and later undefine as macro. Define as weak
24229 alias if [USE_WIDE_CHAR].
24230
24231 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24232
24233 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
24234 (reduced): Use ones as double instead of integer.
24235
24236 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
24237
24238 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
24239
24240 2017-12-05 Joseph Myers <joseph@codesourcery.com>
24241
24242 * stdlib/strfromd.c: Include <bits/floatn.h>.
24243 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
24244 and later undefine as macro and define as weak alias.
24245 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
24246 Likewise.
24247
24248 * math/test-float32x.h: New file.
24249 * math/test-float64.h: Likewise.
24250
24251 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
24252 (libm_alias_double_other_r_f64): New macro.
24253 (libm_alias_double_other_r_f32x): Likewise.
24254 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
24255 libm_alias_double_other_r_f32x.
24256 (libm_alias_double_r): Use semicolon before call to
24257 libm_alias_double_other_r.
24258 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
24259 <bits/floatn.h>.
24260 (libm_alias_double_other_r_f64): New macro.
24261 (libm_alias_double_other_r_f32x): Likewise.
24262 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
24263 libm_alias_double_other_r_f32x.
24264
24265 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
24266
24267 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
24268 int.
24269 (SINF_FUNC): Likewise. Replace floor with simple casts.
24270
24271 2017-12-05 Mike FABIAN <mfabian@redhat.com>
24272
24273 [BZ #22517]
24274 * localedata/Makefile: Add et_EE.UTF-8 to test-input
24275 and to the list of locales to be built for testing.
24276 * localedata/et_EE.UTF-8.in: New file for testing the collation.
24277 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
24278 and build the collation rules upon that.
24279
24280 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
24281
24282 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
24283 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
24284 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
24285 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
24286 instead of __insn__xxx.
24287 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
24288 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
24289 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
24290 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
24291 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
24292 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
24293
24294 2017-12-05 Florian Weimer <fweimer@redhat.com>
24295
24296 Linux: Implement interfaces for memory protection keys
24297 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
24298 xsignal, xsysconf.
24299 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
24300 * support/xunistd.h (xsysconf): Declare.
24301 * support/xraise.c: New file.
24302 * support/xsigaction.c: Likewise.
24303 * support/xsignal.c: Likewise.
24304 * support/xsysconf.c: Likewise.
24305 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
24306 pkey_set, pkey_get, pkey_mprotect.
24307 [misc] (tests): Add tst-pkey.
24308 (tst-pkey): Link with -lpthread.
24309 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
24310 pkey_free, pkey_set, pkey_get, pkey_mprotect.
24311 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
24312 (PKEY_DISABLE_WRITE): Define.
24313 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
24314 Declare.
24315 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
24316 (SEGV_PKUERR): Add.
24317 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
24318 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
24319 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
24320 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
24321 Add.
24322 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
24323 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
24324 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
24325 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
24326 * sysdeps/unix/sysv/linux/**.abilist: Update.
24327
24328 2017-12-05 Florian Weimer <fweimer@redhat.com>
24329
24330 * support/tst-test_compare.c (subprocess): Use long long instead
24331 of long argument for consistent type width across 32-bit and
24332 64-bit architectures.
24333 (do_test): Adjust expected output.
24334
24335 2017-12-05 Joseph Myers <joseph@codesourcery.com>
24336
24337 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
24338 (cosf): Define using libm_alias_float.
24339 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
24340 (fabsf): Define using libm_alias_float.
24341 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
24342 (fmaf): Define using libm_alias_float.
24343 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
24344 (rintf): Define using libm_alias_float.
24345 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
24346 (sinf): Define using libm_alias_float.
24347 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
24348 <libm-alias-float.h>.
24349 (modff): Define using libm_alias_float.
24350 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
24351 <libm-alias-float.h>.
24352 (logbf): Define using libm_alias_float.
24353 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
24354 <libm-alias-float.h>.
24355 (ceilf): Define using libm_alias_float.
24356 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
24357 <libm-alias-float.h>.
24358 (copysignf): Define using libm_alias_float.
24359 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
24360 <libm-alias-float.h>.
24361 (floorf): Define using libm_alias_float.
24362 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
24363 <libm-alias-float.h>.
24364 (llrintf): Define using libm_alias_float.
24365 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
24366 <libm-alias-float.h>.
24367 (llroundf): Define using libm_alias_float.
24368 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
24369 <libm-alias-float.h>.
24370 (lrintf): Define using libm_alias_float.
24371 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
24372 <libm-alias-float.h>.
24373 (lroundf): Define using libm_alias_float.
24374 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
24375 <libm-alias-float.h>.
24376 (nearbyintf): Define using libm_alias_float.
24377 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
24378 <libm-alias-float.h>.
24379 (rintf): Define using libm_alias_float.
24380 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
24381 <libm-alias-float.h>.
24382 (roundf): Define using libm_alias_float.
24383 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
24384 <libm-alias-float.h>.
24385 (truncf): Define using libm_alias_float.
24386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
24387 Include <libm-alias-float.h>.
24388 (ceilf): Define using libm_alias_float.
24389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
24390 Include <libm-alias-float.h>.
24391 (copysignf): Define using libm_alias_float.
24392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
24393 Include <libm-alias-float.h>.
24394 (floorf): Define using libm_alias_float.
24395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
24396 Include <libm-alias-float.h>.
24397 (llrintf): Define using libm_alias_float.
24398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
24399 Include <libm-alias-float.h>.
24400 (llroundf): Define using libm_alias_float.
24401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
24402 Include <libm-alias-float.h>.
24403 (logbf): Define using libm_alias_float.
24404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
24405 Include <libm-alias-float.h>.
24406 (lrintf): Define using libm_alias_float.
24407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
24408 Include <libm-alias-float.h>.
24409 (lroundf): Define using libm_alias_float.
24410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
24411 Include <libm-alias-float.h>.
24412 (modff): Define using libm_alias_float.
24413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
24414 Include <libm-alias-float.h>.
24415 (roundf): Define using libm_alias_float.
24416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
24417 Include <libm-alias-float.h>.
24418 (truncf): Define using libm_alias_float.
24419 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
24420 <libm-alias-float.h>.
24421 (llrintf): Define using libm_alias_float.
24422 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
24423 <libm-alias-float.h>.
24424 (llroundf): Define using libm_alias_float.
24425 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
24426 <libm-alias-float.h>.
24427 (ceilf): Define using libm_alias_float.
24428 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
24429 <libm-alias-float.h>.
24430 (floorf): Define using libm_alias_float.
24431 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
24432 <libm-alias-float.h>.
24433 (llroundf): Define using libm_alias_float.
24434 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
24435 <libm-alias-float.h>.
24436 (lroundf): Define using libm_alias_float.
24437 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
24438 <libm-alias-float.h>.
24439 (roundf): Define using libm_alias_float.
24440 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
24441 <libm-alias-float.h>.
24442 (truncf): Define using libm_alias_float.
24443 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
24444 <libm-alias-float.h>.
24445 (copysignf): Define using libm_alias_float.
24446 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
24447 <libm-alias-float.h>.
24448 (llrintf): Define using libm_alias_float.
24449 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
24450 <libm-alias-float.h>.
24451 (llroundf): Define using libm_alias_float.
24452 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
24453 <libm-alias-float.h>.
24454 (lrintf): Define using libm_alias_float.
24455 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
24456 <libm-alias-float.h>.
24457 (lroundf): Define using libm_alias_float.
24458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
24459 <libm-alias-float.h>.
24460 (ceilf): Define using libm_alias_float.
24461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
24462 <libm-alias-float.h>.
24463 (copysignf): Define using libm_alias_float.
24464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
24465 <libm-alias-float.h>.
24466 (cosf): Define using libm_alias_float.
24467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
24468 <libm-alias-float.h>.
24469 (floorf): Define using libm_alias_float.
24470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
24471 <libm-alias-float.h>.
24472 (llrintf): Define using libm_alias_float.
24473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
24474 <libm-alias-float.h>.
24475 (llroundf): Define using libm_alias_float.
24476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
24477 <libm-alias-float.h>.
24478 (logbf): Define using libm_alias_float.
24479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
24480 <libm-alias-float.h>.
24481 (modff): Define using libm_alias_float.
24482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
24483 <libm-alias-float.h>.
24484 (roundf): Define using libm_alias_float.
24485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
24486 <libm-alias-float.h>.
24487 (sinf): Define using libm_alias_float.
24488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
24489 <libm-alias-float.h>.
24490 (truncf): Define using libm_alias_float.
24491 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
24492 <libm-alias-float.h>.
24493 (ceilf): Define using libm_alias_float.
24494 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
24495 <libm-alias-float.h>.
24496 (copysignf): Define using libm_alias_float.
24497 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
24498 <libm-alias-float.h>.
24499 (floorf): Define using libm_alias_float.
24500 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
24501 <libm-alias-float.h>.
24502 (llrintf): Define using libm_alias_float.
24503 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
24504 <libm-alias-float.h>.
24505 (llroundf): Define using libm_alias_float.
24506 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
24507 <libm-alias-float.h>.
24508 (nearbyintf): Define using libm_alias_float.
24509 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
24510 <libm-alias-float.h>.
24511 (rintf): Define using libm_alias_float.
24512 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
24513 <libm-alias-float.h>.
24514 (roundf): Define using libm_alias_float.
24515 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
24516 <libm-alias-float.h>.
24517 (truncf): Define using libm_alias_float.
24518 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
24519 <libm-alias-float.h>.
24520 (ceilf): Define using libm_alias_float.
24521 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
24522 <libm-alias-float.h>.
24523 (floorf): Define using libm_alias_float.
24524 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
24525 <libm-alias-float.h>.
24526 (llroundf): Define using libm_alias_float.
24527 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
24528 <libm-alias-float.h>.
24529 (roundf): Define using libm_alias_float.
24530 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
24531 <libm-alias-float.h>.
24532 (truncf): Define using libm_alias_float.
24533 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
24534 <libm-alias-float.h>.
24535 (copysignf): Define using libm_alias_float.
24536 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
24537 <libm-alias-float.h>.
24538 (llrintf): Define using libm_alias_float.
24539 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
24540 <libm-alias-float.h>.
24541 (llroundf): Define using libm_alias_float.
24542 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
24543 <libm-alias-float.h>.
24544 (cosf): Define using libm_alias_float.
24545 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
24546 <libm-alias-float.h>.
24547 (llrintf): Define using libm_alias_float.
24548 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
24549 <libm-alias-float.h>.
24550 (llroundf): Define using libm_alias_float.
24551 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
24552 <libm-alias-float.h>.
24553 (sinf): Define using libm_alias_float.
24554
24555 2017-12-04 Florian Weimer <fweimer@redhat.com>
24556
24557 * support/check.h (TEST_COMPARE): Define.
24558 (support_test_compare_failure): Declare.
24559 * support/Makefile (libsupport-routines): Add
24560 support_test_compare_failure.
24561 (tests): Add tst-test_compare.
24562 * support /support_test_compare_failure.c: New file.
24563 * support/tst-test_compare.c: Likewise.
24564
24565 2017-12-04 Mike FABIAN <mfabian@redhat.com>
24566
24567 [BZ #22527]
24568 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
24569 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
24570 available, this rewrite of the collation rules does reproduce
24571 the test file in the same order.
24572
24573 2017-12-04 Mike FABIAN <mfabian@redhat.com>
24574
24575 [BZ #10580]
24576 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
24577 digraphs in the month and day names. Using single code points for
24578 digraphs is deprecated. While there are dedicated Unicode
24579 codepoints, for the digraphs, these are included for backwards
24580 compatibility and modern texts use a sequence of Basic Latin
24581 characters. See: https://www.unicode.org/faq/ligature_digraph.html
24582 This makes the month and day names agree exactly with CLDR now,
24583 CLDR does not use the single code points for the digraphs either.
24584
24585 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
24586
24587 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
24588
24589 2017-12-04 Joseph Myers <joseph@codesourcery.com>
24590
24591 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
24592 of floor.
24593
24594 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
24595
24596 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
24597 Define only for libc.so.
24598
24599 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
24600
24601 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24602 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
24603 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
24604 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
24605 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24606
24607 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24608
24609 [BZ #5997]
24610 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
24611
24612 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
24613
24614 [BZ libc/19170]
24615 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
24616 PREINIT_FUNCTION_WEAK is nonzero.
24617 (gmon_initializer): New function. Put procedure label for it in
24618 .init_array section.
24619 (_init): Don't call PREINIT_FUNCTION.
24620 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
24621 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
24622 value when map argument is null.
24623
24624 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
24625 depi instruction from PIC pc-relative sequence.
24626 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
24627 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
24628 (elf_machine_load_address): Likewise.
24629 (elf_machine_runtime_setup): Likewise.
24630
24631 2017-12-02 Joseph Myers <joseph@codesourcery.com>
24632
24633 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
24634 <libm-alias-double.h>.
24635 (logb): Define using libm_alias_double.
24636 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
24637 <libm-alias-double.h>.
24638 (copysign): Define using libm_alias_double.
24639 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
24640 <libm-alias-double.h>.
24641 (llrint): Define using libm_alias_double.
24642 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
24643 <libm-alias-double.h>.
24644 (llround): Define using libm_alias_double.
24645 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
24646 <libm-alias-double.h>.
24647 (lrint): Define using libm_alias_double.
24648 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
24649 <libm-alias-double.h>.
24650 (lround): Define using libm_alias_double.
24651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
24652 Include <libm-alias-double.h>.
24653 (copysign): Define using libm_alias_double.
24654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
24655 Include <libm-alias-double.h>.
24656 (llrint): Define using libm_alias_double.
24657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
24658 Include <libm-alias-double.h>.
24659 (llround): Define using libm_alias_double.
24660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
24661 <libm-alias-double.h>.
24662 (logb): Define using libm_alias_double.
24663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
24664 Include <libm-alias-double.h>.
24665 (lrint): Define using libm_alias_double.
24666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
24667 Include <libm-alias-double.h>.
24668 (lround): Define using libm_alias_double.
24669 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
24670 <libm-alias-double.h>.
24671 (llrint): Define using libm_alias_double.
24672 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
24673 <libm-alias-double.h>.
24674 (llround): Define using libm_alias_double.
24675 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
24676 <libm-alias-double.h>.
24677 (llround): Define using libm_alias_double.
24678 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
24679 <libm-alias-double.h>.
24680 (lround): Define using libm_alias_double.
24681 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
24682 <libm-alias-double.h>.
24683 (copysign): Define using libm_alias_double.
24684 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
24685 <libm-alias-double.h>.
24686 (llrint): Define using libm_alias_double.
24687 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
24688 <libm-alias-double.h>.
24689 (llround): Define using libm_alias_double.
24690 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
24691 <libm-alias-double.h>.
24692 (lrint): Define using libm_alias_double.
24693 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
24694 <libm-alias-double.h>.
24695 (lround): Define using libm_alias_double.
24696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
24697 <libm-alias-double.h>.
24698 (copysign): Define using libm_alias_double.
24699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
24700 <libm-alias-double.h>.
24701 (llrint): Define using libm_alias_double.
24702 (lrint): Likewise.
24703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
24704 <libm-alias-double.h>.
24705 (llround): Define using libm_alias_double.
24706 (lround): Likewise.
24707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
24708 <libm-alias-double.h>.
24709 (logb): Define using libm_alias_double.
24710 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
24711 <libm-alias-double.h>.
24712 (copysign): Define using libm_alias_double.
24713 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
24714 <libm-alias-double.h>.
24715 (llrint): Define using libm_alias_double.
24716 (lrint): Likewise.
24717 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
24718 <libm-alias-double.h>.
24719 (llround): Define using libm_alias_double.
24720 (lround): Likewise.
24721 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
24722 <libm-alias-double.h>.
24723 (llround): Define using libm_alias_double.
24724 (lround): Likewise.
24725 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
24726 <libm-alias-double.h>.
24727 (copysign): Define using libm_alias_double.
24728 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
24729 <libm-alias-double.h>.
24730 (llrint): Define using libm_alias_double.
24731 (lrint): Likewise.
24732 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
24733 <libm-alias-double.h>.
24734 (llround): Define using libm_alias_double.
24735 (lround): Likewise.
24736 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
24737 <libm-alias-double.h>.
24738 (llrint): Define using libm_alias_double.
24739 (lrint): Likewise.
24740 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
24741 <libm-alias-double.h>.
24742 (llround): Define using libm_alias_double.
24743 (lround): Likewise.
24744
24745 2017-12-01 Joseph Myers <joseph@codesourcery.com>
24746
24747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
24748 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
24749 compat symbol based on llround.
24750
24751 * sysdeps/powerpc/power7/fpu/s_logb.c
24752 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
24753 symbol based on __logb, not on logb.
24754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
24755 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
24756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
24757 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
24758
24759 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
24760 (rint): Define using libm_alias_double.
24761 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
24762 <libm-alias-double.h>.
24763 (modf): Define using libm_alias_double.
24764 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
24765 <libm-alias-double.h>.
24766 (ceil): Define using libm_alias_double.
24767 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
24768 <libm-alias-double.h>.
24769 (floor): Define using libm_alias_double.
24770 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
24771 <libm-alias-double.h>.
24772 (nearbyint): Define using libm_alias_double.
24773 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
24774 <libm-alias-double.h>.
24775 (rint): Define using libm_alias_double.
24776 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
24777 <libm-alias-double.h>.
24778 (round): Define using libm_alias_double.
24779 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
24780 <libm-alias-double.h>.
24781 (trunc): Define using libm_alias_double.
24782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
24783 <libm-alias-double.h>.
24784 (ceil): Define using libm_alias_double.
24785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
24786 Include <libm-alias-double.h>.
24787 (floor): Define using libm_alias_double.
24788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
24789 <libm-alias-double.h>.
24790 (modf): Define using libm_alias_double.
24791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
24792 Include <libm-alias-double.h>.
24793 (round): Define using libm_alias_double.
24794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
24795 Include <libm-alias-double.h>.
24796 (trunc): Define using libm_alias_double.
24797 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
24798 <libm-alias-double.h>.
24799 (ceil): Define using libm_alias_double.
24800 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
24801 <libm-alias-double.h>.
24802 (floor): Define using libm_alias_double.
24803 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
24804 <libm-alias-double.h>.
24805 (round): Define using libm_alias_double.
24806 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
24807 <libm-alias-double.h>.
24808 (trunc): Define using libm_alias_double.
24809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
24810 <libm-alias-double.h>.
24811 (ceil): Define using libm_alias_double.
24812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
24813 <libm-alias-double.h>.
24814 (floor): Define using libm_alias_double.
24815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
24816 <libm-alias-double.h>.
24817 (modf): Define using libm_alias_double.
24818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
24819 <libm-alias-double.h>.
24820 (round): Define using libm_alias_double.
24821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
24822 <libm-alias-double.h>.
24823 (trunc): Define using libm_alias_double.
24824 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
24825 <libm-alias-double.h>.
24826 (ceil): Define using libm_alias_double.
24827 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
24828 <libm-alias-double.h>.
24829 (floor): Define using libm_alias_double.
24830 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
24831 <libm-alias-double.h>.
24832 (nearbyint): Define using libm_alias_double.
24833 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
24834 <libm-alias-double.h>.
24835 (rint): Define using libm_alias_double.
24836 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
24837 <libm-alias-double.h>.
24838 (round): Define using libm_alias_double.
24839 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
24840 <libm-alias-double.h>.
24841 (trunc): Define using libm_alias_double.
24842 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
24843 <libm-alias-double.h>.
24844 (ceil): Define using libm_alias_double.
24845 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
24846 <libm-alias-double.h>.
24847 (floor): Define using libm_alias_double.
24848 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
24849 <libm-alias-double.h>.
24850 (round): Define using libm_alias_double.
24851 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
24852 <libm-alias-double.h>.
24853 (trunc): Define using libm_alias_double.
24854
24855 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
24856 (fabs): Define using libm_alias_double.
24857 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
24858 (fma): Define using libm_alias_double.
24859 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
24860 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
24861 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
24862 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
24863
24864 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24865
24866 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
24867
24868 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
24869 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
24870 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
24871
24872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
24873 due redirect macro.
24874
24875 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
24876
24877 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
24878
24879 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24880
24881 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
24882 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
24883 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
24884 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
24885
24886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24887 (libm-sysdep_routines): Add s_nearbyintf-generic and
24888 s_nearbyint-generic.
24889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
24890 New file.
24891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
24892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
24893 Likewise.
24894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
24895 Likewise.
24896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
24897 file.
24898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
24899 Likewise.
24900
24901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24902 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
24903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
24904 file.
24905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
24906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
24907 Likewise.
24908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
24909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
24910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24911
24912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24913 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
24914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
24915 file.
24916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
24917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
24918 Likewise.
24919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
24920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
24921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
24922
24923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24924 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
24925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
24926 file.
24927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
24928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
24929 Likewise.
24930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
24931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
24932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24933
24934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
24935 (sysdep_calls): New rule.
24936 (sysdep_routines): Use sysdep_calls as base.
24937 (libm-sysdep_routines): Add generic rule for symbols shared with
24938 libc. Add s_copysign-generic and s_copysign-generic objects.
24939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
24940 New file.
24941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
24942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
24943 Likewise.
24944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
24945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
24946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
24947
24948 2017-12-01 Mike FABIAN <mfabian@redhat.com>
24949
24950 [BZ #22519]
24951 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
24952 the list of locales to be built for testing.
24953 * localedata/is_IS.UTF-8.in: New file.
24954 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
24955 on iso14651_t1.
24956
24957 2017-12-01 Joseph Myers <joseph@codesourcery.com>
24958
24959 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
24960 <libm-alias-float.h>.
24961 (fabsf): Define using libm_alias_float.
24962
24963 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
24964
24965 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
24966
24967 2017-11-30 Joseph Myers <joseph@codesourcery.com>
24968
24969 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
24970 <libm-alias-float.h>.
24971 (fabsf): Define using libm_alias_float.
24972 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
24973 <libm-alias-float.h>.
24974 (lrintf): Define using libm_alias_float.
24975 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
24976 <libm-alias-float.h>.
24977 (rintf): Define using libm_alias_float.
24978
24979 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
24980 <libm-alias-double.h>.
24981 (fabs): Define using libm_alias_double.
24982 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
24983 <libm-alias-double.h>.
24984 (lrint): Define using libm_alias_double.
24985 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
24986 <libm-alias-double.h>.
24987 (rint): Define using libm_alias_double.
24988
24989 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
24990 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
24991 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
24992 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
24993 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
24994 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
24995 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
24996 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
24997 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
24998 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
24999 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
25000 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
25001 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
25002 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
25003 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
25004 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
25005 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
25006 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
25007 s_atan_template.c.
25008 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
25009 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
25010 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
25011 s_ceil_template.c.
25012 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
25013 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
25014 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
25015 s_cos_template.c.
25016 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
25017 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
25018 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
25019 s_expm1_template.c.
25020 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
25021 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
25022 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
25023 s_fabs_template.c.
25024 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
25025 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
25026 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
25027 s_floor_template.c.
25028 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
25029 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
25030 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
25031 s_frexp_template.c.
25032 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
25033 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
25034 s_lrint_template.c.
25035 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
25036 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
25037 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
25038 s_modf_template.c.
25039 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
25040 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
25041 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
25042 s_nearbyint_template.c.
25043 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
25044 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
25045 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
25046 s_remquo_template.c.
25047 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
25048 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
25049 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
25050 s_rint_template.c.
25051 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
25052 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
25053 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
25054 s_sin_template.c.
25055 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
25056 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
25057 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
25058 s_sincos_template.c.
25059 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
25060 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
25061 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
25062 s_tan_template.c.
25063 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
25064 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
25065 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
25066 s_tanh_template.c.
25067 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
25068 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
25069 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
25070 s_trunc_template.c.
25071 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
25072 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
25073 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
25074 s_atan.c instead of including s_atan.c.
25075 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
25076 s_atanf.c instead of including s_atanf.c.
25077 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
25078 s_atanl.c instead of including s_atanl.c.
25079 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
25080 instead of s_atan.c.
25081 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
25082 instead of s_atanf.c.
25083 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
25084 instead of s_atanl.c.
25085
25086 * scripts/update-copyrights: Do not handle intl/plural.c
25087 specially.
25088
25089 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
25090
25091 [BZ #22432]
25092 * configure.ac (BISON): Require to be present.
25093 * configure: Regenerated.
25094 * intl/Makefile (generated): Add plural.c.
25095 [$(BISON) != no]: Make code unconditional.
25096 (plural.c): Change rule to $(objpfx)plural.c.
25097 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
25098 * intl/plural.c: Remove.
25099 * manual/install.texi (Tools for Compilation): Document bison as
25100 required.
25101 * INSTALL: Regenerated.
25102
25103 2017-11-30 Joseph Myers <joseph@codesourcery.com>
25104
25105 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
25106 <libm-alias-double.h>.
25107 (llrint): Define using libm_alias_double.
25108 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
25109 <libm-alias-float.h>.
25110 (llrintf): Define using libm_alias_float.
25111 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
25112 <libm-alias-ldouble.h>.
25113 (llrintl): Define using libm_alias_ldouble.
25114
25115 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
25116 declare_mgen_alias instead of weak_alias.
25117 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
25118 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
25119 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
25120
25121 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25122
25123 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25124 Add add_n-generic.
25125 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
25126 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
25127 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
25128
25129 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25130 Add submul_1-generic.
25131 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
25132 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
25133 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
25134
25135 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25136 Add addmul_1-generic.
25137 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
25138 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
25139 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
25140
25141 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25142 Add sub_n-generic.
25143 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
25144 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
25145 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
25146
25147 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25148 Add mul_1-generic.
25149 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
25150 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
25151 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
25152
25153 2017-11-30 Mike FABIAN <mfabian@redhat.com>
25154
25155 According to CLDR, collation rules for Serbian and Bosnian
25156 should be the same as for Croatian.
25157
25158 [BZ #22534]
25159 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
25160 and to the list of locales to be built for testing.
25161 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
25162 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
25163 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
25164 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
25165
25166 2017-11-30 Mike FABIAN <mfabian@redhat.com>
25167
25168 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
25169 to make test case pass.
25170 * localedata/hr_HR.UTF-8.in: Add more test strings.
25171
25172 2017-11-30 Mike FABIAN <mfabian@redhat.com>
25173
25174 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
25175
25176 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
25177
25178 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
25179 the list of locales to built for testing.
25180 * localedata/hr_HR.UTF-8.in: New file.
25181
25182 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
25183
25184 [BZ #10580]
25185 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
25186 iso14651_t1.
25187 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
25188 CLDR (except use ligatures for the digraphs, CLDR does not use
25189 the ligatures), add first_workday, some fixes in the date and time
25190 formats.
25191 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
25192 for Đ and đ.
25193 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
25194 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
25195 Add int_p_cs_precedes and int_n_cs_precedes.
25196 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
25197 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
25198 LC_MONETARY now).
25199 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
25200 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
25201 name_miss.
25202 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
25203 and lang_lib. Change postal_fmt.
25204
25205 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
25206
25207 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
25208 <setjmp.h>.
25209 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
25210 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
25211 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
25212 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
25213 * sysdeps/generic/setjmpP.h: New file.
25214 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
25215 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
25216 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
25217 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
25218 Add jmp_buf-ssp.sym.
25219 (tests): Add tst-saved_mask-1.
25220
25221 2017-11-30 Arjun Shankar <arjun@redhat.com>
25222
25223 [BZ #22375]
25224 CVE-2017-17426
25225 * malloc/malloc.c (__libc_malloc): Use checked_request2size
25226 instead of request2size.
25227
25228 2017-11-30 Joseph Myers <joseph@codesourcery.com>
25229
25230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
25231 (__lllrint): Remove alias.
25232 (lllrint): Likewise.
25233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
25234 (__lllrintf): Likewise.
25235 (lllrintf): Likewise.
25236
25237 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
25238 <libm-alias-float.h>.
25239 (copysignf): Define using libm_alias_float.
25240 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
25241 <libm-alias-float.h>.
25242 (fabsf): Define using libm_alias_float.
25243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25244 Include <libm-alias-float.h>.
25245 (copysignf): Define using libm_alias_float.
25246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
25247 <libm-alias-float.h>.
25248 (fabsf): Define using libm_alias_float.
25249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
25250 <libm-alias-float.h>.
25251 (fdimf): Define using libm_alias_float.
25252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
25253 <libm-alias-float.h>.
25254 (fmaf): Define using libm_alias_float.
25255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
25256 <libm-alias-float.h>.
25257 (llrintf): Define using libm_alias_float.
25258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
25259 Include <libm-alias-float.h>.
25260 (nearbyintf): Define using libm_alias_float.
25261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
25262 <libm-alias-float.h>.
25263 (rintf): Define using libm_alias_float.
25264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
25265 <libm-alias-float.h>.
25266 (llrintf): Define using libm_alias_float.
25267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
25268 <libm-alias-float.h>.
25269 (lrintf): Define using libm_alias_float.
25270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
25271 <libm-alias-float.h>.
25272 (nearbyintf): Define using libm_alias_float.
25273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
25274 <libm-alias-float.h>.
25275 (rintf): Define using libm_alias_float.
25276 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
25277 <libm-alias-float.h>.
25278 (ceilf): Define using libm_alias_float.
25279 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
25280 <libm-alias-float.h>.
25281 (floorf): Define using libm_alias_float.
25282 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
25283 <libm-alias-float.h>.
25284 (fmaf): Define using libm_alias_float.
25285 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
25286 <libm-alias-float.h>.
25287 (lrintf): Define using libm_alias_float.
25288 (llrintf): Likewise.
25289 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
25290 <libm-alias-float.h>.
25291 (nearbyintf): Define using libm_alias_float.
25292 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
25293 <libm-alias-float.h>.
25294 (rintf): Define using libm_alias_float.
25295 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
25296 <libm-alias-float.h>.
25297 (truncf): Define using libm_alias_float.
25298 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
25299 <libm-alias-float.h>.
25300 (copysignf): Define using libm_alias_float.
25301 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
25302 <libm-alias-float.h>.
25303 (fabsf): Define using libm_alias_float.
25304 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
25305 <libm-alias-float.h>.
25306 (lrintf): Define using libm_alias_float.
25307 (llrintf): Likewise.
25308 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
25309 <libm-alias-float.h>.
25310 (nearbyintf): Define using libm_alias_float.
25311 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
25312 <libm-alias-float.h>.
25313 (rintf): Define using libm_alias_float.
25314
25315 2017-11-29 Joseph Myers <joseph@codesourcery.com>
25316
25317 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
25318 <libm-alias-double.h>.
25319 (copysign): Define using libm_alias_double.
25320 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
25321 <libm-alias-double.h>.
25322 (fabs): Define using libm_alias_double.
25323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25324 Include <libm-alias-double.h>.
25325 (copysign): Define using libm_alias_double.
25326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
25327 <libm-alias-double.h>.
25328 (fabs): Define using libm_alias_double.
25329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
25330 <libm-alias-double.h>.
25331 (fdim): Define using libm_alias_double.
25332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
25333 <libm-alias-double.h>.
25334 (fma): Define using libm_alias_double.
25335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
25336 <libm-alias-double.h>.
25337 (llrint): Define using libm_alias_double.
25338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
25339 Include <libm-alias-double.h>.
25340 (nearbyint): Define using libm_alias_double.
25341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
25342 <libm-alias-double.h>.
25343 (rint): Define using libm_alias_double.
25344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
25345 <libm-alias-double.h>.
25346 (fabs): Define using libm_alias_double.
25347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
25348 <libm-alias-double.h>.
25349 (llrint): Define using libm_alias_double.
25350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
25351 <libm-alias-double.h>.
25352 (nearbyint): Define using libm_alias_double.
25353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
25354 <libm-alias-double.h>.
25355 (rint): Define using libm_alias_double.
25356 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
25357 <libm-alias-double.h>.
25358 (ceil): Define using libm_alias_double.
25359 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
25360 <libm-alias-double.h>.
25361 (floor): Define using libm_alias_double.
25362 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
25363 <libm-alias-double.h>.
25364 (fma): Define using libm_alias_double.
25365 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
25366 <libm-alias-double.h>.
25367 (lrint): Define using libm_alias_double.
25368 (llrint): Likewise.
25369 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
25370 <libm-alias-double.h>.
25371 (nearbyint): Define using libm_alias_double.
25372 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
25373 <libm-alias-double.h>.
25374 (rint): Define using libm_alias_double.
25375 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
25376 <libm-alias-double.h>.
25377 (trunc): Define using libm_alias_double.
25378 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
25379 <libm-alias-double.h>.
25380 (copysign): Define using libm_alias_double.
25381 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
25382 <libm-alias-double.h>.
25383 (fabs): Define using libm_alias_double.
25384 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
25385 <libm-alias-double.h>.
25386 (lrint): Define using libm_alias_double.
25387 (llrint): Likewise.
25388 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
25389 <libm-alias-double.h>.
25390 (nearbyint): Define using libm_alias_double.
25391 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
25392 <libm-alias-double.h>.
25393 (rint): Define using libm_alias_double.
25394
25395 [BZ #22229]
25396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
25397 <math_ldbl_opt.h>.
25398 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
25399
25400 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
25401 SPARC --disable-multi-arch glibc variants.
25402
25403 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
25404 <libm-alias-float.h>.
25405 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25406 if [SHARED].
25407 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
25408 <libm-alias-float.h>.
25409 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25410 if [SHARED].
25411 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
25412 <libm-alias-float.h>.
25413 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25414 if [SHARED].
25415 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
25416 <libm-alias-float.h>.
25417 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25418 if [SHARED].
25419 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
25420 <libm-alias-float.h>.
25421 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25422 if [SHARED].
25423 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
25424 <libm-alias-float.h>.
25425 (ceilf): Define using libm_alias_float.
25426 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
25427 <libm-alias-float.h>.
25428 (floorf): Define using libm_alias_float.
25429 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
25430 <libm-alias-float.h>.
25431 (fmaf): Define using libm_alias_float.
25432 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
25433 <libm-alias-float.h>.
25434 (nearbyintf): Define using libm_alias_float.
25435 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
25436 <libm-alias-float.h>.
25437 (rintf): Define using libm_alias_float.
25438 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
25439 <libm-alias-float.h>.
25440 (truncf): Define using libm_alias_float.
25441 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
25442 (copysignf): Define using libm_alias_float.
25443 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
25444 (cosf): Define using libm_alias_float.
25445 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
25446 (fabsf): Define using libm_alias_float.
25447 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
25448 (fmaxf): Define using libm_alias_float.
25449 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
25450 (fminf): Define using libm_alias_float.
25451 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
25452 (llrintf): Define using libm_alias_float.
25453 [!__ILP32__] (lrintf): Likewise.
25454 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
25455 (sincosf): Define using libm_alias_float.
25456 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
25457 (sinf): Define using libm_alias_float.
25458 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
25459 (lrintf): Define using libm_alias_float.
25460
25461 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
25462 <libm-alias-double.h>.
25463 (atan): Define using libm_alias_double.
25464 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
25465 <libm-alias-double.h>.
25466 (ceil): Define using libm_alias_double.
25467 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
25468 <libm-alias-double.h>.
25469 (floor): Define using libm_alias_double.
25470 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
25471 <libm-alias-double.h>.
25472 (fma): Define using libm_alias_double.
25473 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
25474 <libm-alias-double.h>.
25475 (nearbyint): Define using libm_alias_double.
25476 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
25477 <libm-alias-double.h>.
25478 (rint): Define using libm_alias_double.
25479 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
25480 <libm-alias-double.h>.
25481 (sin): Define using libm_alias_double.
25482 (cos): Likewise.
25483 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
25484 <libm-alias-double.h>.
25485 (tan): Define using libm_alias_double.
25486 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
25487 <libm-alias-double.h>.
25488 (trunc): Define using libm_alias_double.
25489 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
25490 (copysign): Define using libm_alias_double.
25491 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
25492 (fabs): Define using libm_alias_double.
25493 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
25494 (fmax): Define using libm_alias_double.
25495 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
25496 (fmin): Define using libm_alias_double.
25497 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
25498 (llrint): Define using libm_alias_double.
25499 [!__ILP32__] (lrint): Likewise.
25500 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
25501 (lrint): Define using libm_alias_double.
25502
25503 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25504
25505 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
25506 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
25507 objects.
25508 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
25509 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
25510 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
25511 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
25512 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
25513 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25514
25515 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
25516 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
25517 objects.
25518 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
25519 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
25520 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
25521 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
25522 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
25523 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25524
25525 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
25526 (libm-sysdep_routines): Add s_nearbyint-generic and
25527 s_nearbyintf-generic objects.
25528 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
25529 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
25530 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
25531 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
25532 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
25533 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
25534
25535 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
25536 Add s_finitef-generic and s_finite-generic objects.
25537 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
25538 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
25539 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
25540 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
25541 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
25542 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
25543
25544 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
25545 Add s_isinff-generic and s_isinf-generic objects.
25546 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
25547 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
25548 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
25549 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
25550 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
25551 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25552
25553 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
25554 Add s_isnanf-generic and s_isnan-generic objects.
25555 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
25556 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
25557 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
25558 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
25559 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
25560 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25561
25562 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
25563 macro.
25564 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
25565 rule.
25566 (sysdep_routines): Use sysdep_calls as base.
25567 (libm-sysdep_routines): Add generic rule for symbols shared with
25568 libc. Add s_signbit-generic and s_signbitf-generic objects.
25569 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
25570 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
25571 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
25572 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
25573 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
25574 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25575
25576 2017-11-29 Joseph Myers <joseph@codesourcery.com>
25577
25578 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
25579 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
25580 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
25581 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
25582 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
25583 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
25584 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
25585 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
25586 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
25587 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
25588 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
25589 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
25590 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
25591 libm_alias_float_r.
25592 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
25593 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
25594 (logf): Likewise.
25595 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
25596 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
25597 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
25598 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
25599 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
25600 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
25601 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
25602 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
25603 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
25604 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
25605 libm_alias_float.
25606 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
25607 (cosf): Likewise.
25608 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
25609 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
25610 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
25611 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
25612 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
25613 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
25614 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
25615 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
25616 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
25617 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
25618 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
25619 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
25620 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
25621 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
25622 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
25623 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
25624 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
25625 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
25626 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
25627 libm_alias_float.
25628 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
25629 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
25630 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
25631 * sysdeps/ia64/fpu/w_lgammaf_main.c
25632 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
25633 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
25634
25635 2017-11-28 Mike FABIAN <mfabian@redhat.com>
25636 Alexandre Oliva <aoliva@redhat.com>
25637
25638 [BZ #17750]
25639 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
25640 * localedata/fr_CA.UTF-8.in: New file with test data for backward
25641 accents sorting.
25642 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
25643 sorting.
25644 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
25645 * localedata/locales/de_DE (LC_COLLATE): Likewise.
25646 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
25647 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
25648 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
25649 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
25650 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
25651 instead of “ifdef DIACRIT_BACKWARD”.
25652
25653 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25654
25655 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
25656 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
25657 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
25658 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
25659 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
25660 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
25661 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
25662 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
25663 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
25664 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
25665 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
25666 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
25667 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
25668 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
25669 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
25670 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
25671 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
25672 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
25673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25674 ($(have-as-vis3) == yes): Remove conditional.
25675 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
25676 Likewise.
25677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
25678 file.
25679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
25680 file.
25681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
25682 file.
25683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
25684 file.
25685 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
25686 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
25687 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
25688 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
25689 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
25690 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
25691 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
25692 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
25693
25694 2017-11-29 Joseph Myers <joseph@codesourcery.com>
25695
25696 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
25697 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
25698 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
25699 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
25700 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
25701 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
25702 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
25703 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
25704 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
25705 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
25706 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
25707 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
25708 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
25709 libm_alias_double_r.
25710 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
25711 (log): Likewise.
25712 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
25713 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
25714 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
25715 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
25716 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
25717 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
25718 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
25719 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
25720 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
25721 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
25722 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
25723 libm_alias_double.
25724 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
25725 (cos): Likewise.
25726 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
25727 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
25728 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
25729 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
25730 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
25731 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
25732 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
25733 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
25734 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
25735 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
25736 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
25737 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
25738 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
25739 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
25740 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
25741 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
25742 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
25743 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
25744 libm_alias_double.
25745 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
25746 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
25747 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
25748 * sysdeps/ia64/fpu/w_lgamma_main.c
25749 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
25750 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
25751
25752 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
25753
25754 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
25755 address of $global$ into %dp register earlier. Use pc-relative
25756 instruction sequence for PIC case.
25757
25758 2017-11-28 Joseph Myers <joseph@codesourcery.com>
25759
25760 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
25761 (asinhf): Define using libm_alias_float.
25762 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
25763 (atanf): Define using libm_alias_float.
25764 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
25765 (cbrtf): Define using libm_alias_float.
25766 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
25767 (ceilf): Define using libm_alias_float.
25768 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
25769 (copysignf): Define using libm_alias_float.
25770 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
25771 (expm1f): Define using libm_alias_float.
25772 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
25773 (fabsf): Define using libm_alias_float.
25774 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
25775 (floorf): Define using libm_alias_float.
25776 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
25777 (fmaxf): Define using libm_alias_float.
25778 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
25779 (fminf): Define using libm_alias_float.
25780 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
25781 (frexpf): Define using libm_alias_float.
25782 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
25783 (llrintf): Define using libm_alias_float.
25784 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
25785 (logbf): Define using libm_alias_float.
25786 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
25787 (lrintf): Define using libm_alias_float.
25788 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
25789 (nearbyintf): Define using libm_alias_float.
25790 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
25791 (remquof): Define using libm_alias_float.
25792 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
25793 (rintf): Define using libm_alias_float.
25794 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
25795 (truncf): Define using libm_alias_float.
25796 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
25797 <libm-alias-float.h>.
25798 (exp2f): Define using libm_alias_float, or libm_alias_float_other
25799 if [SHARED].
25800 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
25801 <libm-alias-float.h>.
25802 (expf): Define using libm_alias_float, or libm_alias_float_other
25803 if [SHARED].
25804 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
25805 <libm-alias-float.h>.
25806 (log2f): Define using libm_alias_float, or libm_alias_float_other
25807 if [SHARED].
25808 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
25809 <libm-alias-float.h>.
25810 (logf): Define using libm_alias_float, or libm_alias_float_other
25811 if [SHARED].
25812 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
25813 <libm-alias-float.h>.
25814 (powf): Define using libm_alias_float, or libm_alias_float_other
25815 if [SHARED].
25816 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
25817 <libm-alias-float.h>.
25818 (cosf): Define using libm_alias_float.
25819 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
25820 <libm-alias-float.h>.
25821 (sincosf): Define using libm_alias_float.
25822 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
25823 <libm-alias-float.h>.
25824 (sinf): Define using libm_alias_float.
25825 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
25826 (fmaxf): Define using libm_alias_float.
25827 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
25828 (fminf): Define using libm_alias_float.
25829 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25830 <libm-alias-float.h>.
25831 (fmaf): Define using libm_alias_float.
25832
25833 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
25834 (asinh): Define using libm_alias_double.
25835 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
25836 (atan): Define using libm_alias_double.
25837 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
25838 (cbrt): Define using libm_alias_double.
25839 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
25840 (ceil): Define using libm_alias_double.
25841 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
25842 (copysign): Define using libm_alias_double.
25843 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
25844 (expm1): Define using libm_alias_double.
25845 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
25846 (fabs): Define using libm_alias_double.
25847 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
25848 (fdim): Define using libm_alias_double.
25849 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
25850 (floor): Define using libm_alias_double.
25851 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
25852 (fmax): Define using libm_alias_double.
25853 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
25854 (fmin): Define using libm_alias_double.
25855 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
25856 (frexp): Define using libm_alias_double.
25857 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
25858 (llrint): Define using libm_alias_double.
25859 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
25860 (logb): Define using libm_alias_double.
25861 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
25862 (lrint): Define using libm_alias_double.
25863 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
25864 (nearbyint): Define using libm_alias_double.
25865 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
25866 (remquo): Define using libm_alias_double.
25867 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
25868 (rint): Define using libm_alias_double.
25869 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
25870 (trunc): Define using libm_alias_double.
25871 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
25872 (fmax): Define using libm_alias_double.
25873 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
25874 (fmin): Define using libm_alias_double.
25875 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
25876 (fma): Define using libm_alias_double.
25877
25878 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
25879
25880 [BZ #22370]
25881 * elf/dl-hwcaps.c (ROUND): Removed.
25882 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
25883 and ELF_NOTE_NEXT_OFFSET.
25884 * elf/dl-load.c (ROUND): Removed.
25885 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
25886 * elf/readelflib.c (ROUND): Removed.
25887 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
25888 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
25889 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
25890 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
25891
25892 2017-11-28 Joseph Myers <joseph@codesourcery.com>
25893
25894 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
25895 [!__fmaf] (fmaf): Define using libm_alias_float.
25896
25897 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
25898 [!__fma] (fma): Define using libm_alias_double.
25899 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
25900
25901 2017-11-28 Mike FABIAN <mfabian@redhat.com>
25902
25903 [BZ #22336]
25904 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
25905 and implement the collation rules for cs from CLDR on top of that.
25906 * Makefile: Add cs_CZ.UTF-8 to test-input.
25907 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
25908
25909 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
25910
25911 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
25912
25913 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
25914 Icarus Sparry <icarus.w.sparry@intel.com>
25915
25916 * benchtests/Makefile:Add BENCHSET to allow subsets of
25917 benchmarks to be run.
25918 * benchtests/README: Add documentation for: Running subsets of
25919 benchmarks.
25920
25921 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
25922
25923 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
25924 range of tests names.
25925
25926 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
25927 result from property and remove "max", min" and "mean" from
25928 required properties based on benchtests/bench-skeleton.c.
25929
25930 2017-11-28 Florian Weimer <fweimer@redhat.com>
25931
25932 [BZ #20826]
25933 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
25934 due to Internet requirement.
25935 * posix/Makefile (tests): Remove tst-getaddrinfo4,
25936 tst-getaddrinfo5.
25937 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
25938
25939 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25940
25941 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
25942 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
25943 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
25944 (sysdep_routines): Add memset-ultra1.
25945 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
25946 file.
25947 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
25948 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
25949 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
25950 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
25951 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
25952 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
25953 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
25954 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25955
25956 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
25957 file.
25958 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
25959 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
25960 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
25961 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
25962 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
25963 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
25964 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
25965 macro.
25966 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
25967 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
25968 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
25969 (sysdep_routines): Add memcpy-ultra1.
25970 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
25971 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
25972
25973 2017-11-28 Joseph Myers <joseph@codesourcery.com>
25974
25975 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
25976 (cfloat_versions): Take function argument without trailing 'f'.
25977 Call libm_alias_float_other.
25978 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
25979 * sysdeps/alpha/fpu/cargf.c: Likewise.
25980 * sysdeps/alpha/fpu/cimagf.c: Likewise.
25981 * sysdeps/alpha/fpu/conjf.c: Likewise.
25982 * sysdeps/alpha/fpu/crealf.c: Likewise.
25983 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
25984 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
25985 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
25986 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
25987 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
25988 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
25989 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
25990 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
25991 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
25992 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
25993 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
25994 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
25995 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
25996 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
25997 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
25998 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
25999 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
26000 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
26001 (clog10f): Use libm_alias_float_other.
26002 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
26003 (ceilf): Define using libm_alias_float.
26004 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
26005 (copysignf): Define using libm_alias_float.
26006 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
26007 (fabsf): Define using libm_alias_float.
26008 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
26009 (floorf): Define using libm_alias_float.
26010 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
26011 (fmaxf): Define using libm_alias_float.
26012 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
26013 (fminf): Define using libm_alias_float.
26014 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
26015 (lrintf): Define using libm_alias_float.
26016 (llrintf): Likewise.
26017 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
26018 (lroundf): Define using libm_alias_float.
26019 (llroundf): Likewise.
26020 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
26021 (rintf): Define using libm_alias_float.
26022 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
26023 (truncf): Define using libm_alias_float.
26024
26025 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
26026 (ceilf): Define using libm_alias_float.
26027 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
26028 (floorf): Define using libm_alias_float.
26029 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
26030 (fmaf): Define using libm_alias_float.
26031 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
26032 (fmaxf): Define using libm_alias_float.
26033 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
26034 (fminf): Define using libm_alias_float.
26035 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
26036 (llrintf): Define using libm_alias_float.
26037 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
26038 (llroundf): Define using libm_alias_float.
26039 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
26040 (lrintf): Define using libm_alias_float.
26041 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
26042 (lroundf): Define using libm_alias_float.
26043 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
26044 <libm-alias-float.h>.
26045 (nearbyintf): Define using libm_alias_float.
26046 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
26047 (rintf): Define using libm_alias_float.
26048 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
26049 (roundf): Define using libm_alias_float.
26050 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
26051 (truncf): Define using libm_alias_float.
26052
26053 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
26054 (ceil): Define using libm_alias_double.
26055 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
26056 (copysign): Define using libm_alias_double.
26057 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
26058 (fabs): Define using libm_alias_double.
26059 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
26060 (floor): Define using libm_alias_double.
26061 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
26062 (fmax): Define using libm_alias_double.
26063 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
26064 (fmin): Define using libm_alias_double.
26065 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
26066 (lrint): Define using libm_alias_double.
26067 (llrint): Likewise.
26068 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
26069 (lround): Define using libm_alias_double.
26070 (llround): Likewise.
26071 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
26072 (rint): Define using libm_alias_double.
26073 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
26074 (trunc): Define using libm_alias_double.
26075
26076 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
26077 (libm_alias_double_r): Add semicolon after weak_alias call.
26078
26079 2017-11-27 Joseph Myers <joseph@codesourcery.com>
26080
26081 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
26082 (ceil): Define using libm_alias_double.
26083 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
26084 (floor): Define using libm_alias_double.
26085 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
26086 (fma): Define using libm_alias_double.
26087 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
26088 (fmax): Define using libm_alias_double.
26089 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
26090 (fmin): Define using libm_alias_double.
26091 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
26092 (llrint): Define using libm_alias_double.
26093 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
26094 (llround): Define using libm_alias_double.
26095 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
26096 (lrint): Define using libm_alias_double.
26097 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
26098 (lround): Define using libm_alias_double.
26099 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
26100 (nearbyint): Define using libm_alias_double.
26101 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
26102 (rint): Define using libm_alias_double.
26103 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
26104 (round): Define using libm_alias_double.
26105 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
26106 (trunc): Define using libm_alias_double.
26107
26108 2017-11-27 Florian Weimer <fweimer@redhat.com>
26109
26110 * sysdeps/unix/sysv/linux/mlock2.c: New file.
26111 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
26112 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
26113 (tests): Add tst-mlock2.
26114 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
26115 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
26116 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
26117 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
26118 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
26119 for mlock. Document mlock2.
26120
26121 2017-11-27 Joseph Myers <joseph@codesourcery.com>
26122
26123 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
26124 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
26125 Likewise.
26126 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
26127 Likewise.
26128 * sysdeps/x86/Makeconfig: New file.
26129 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
26130 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26131 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
26132 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26133 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
26134 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26135 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
26136 Likewise.
26137 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26138 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
26139 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26140 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
26141 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26142 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
26143 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26144 * manual/math.texi (Mathematics): Document support for _Float64x.
26145 * math/Versions (GLIBC_2.27): Add _Float64x functions.
26146 * stdlib/Versions (GLIBC_2.27): Likewise.
26147 * wcsmbs/Versions (GLIBC_2.27): Likewise.
26148 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
26149 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26150 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26151 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26152 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26153 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26154 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26155 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26156 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26157 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26158 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
26160 Likewise.
26161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26162 Likewise.
26163 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26164 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26165 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26166 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26167 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26168 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26169 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26170 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26171 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26172 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26173 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26174 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26175 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
26176 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26177
26178 2017-11-27 Andreas Schwab <schwab@suse.de>
26179
26180 * elf/Makefile (dl-routines): Add dl-sort-maps.
26181 * elf/dl-sort-maps.c: New file.
26182 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
26183 (_dl_sort_maps): Declare.
26184 * elf/dl-fini.c (_dl_sort_fini): Remove.
26185 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
26186 * elf/dl-close.c (_dl_close_worker): Likewise.
26187 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
26188 open-coding it.
26189 * elf/dl-open.c (dl_open_worker): Likewise.
26190
26191 2017-11-24 Joseph Myers <joseph@codesourcery.com>
26192
26193 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
26194 using libm_alias_float128.
26195 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
26196 Likewise.
26197 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
26198 Likewise.
26199 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
26200 (setpayloadsigf128): Likewise.
26201 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
26202 Likewise.
26203 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
26204 Likewise.
26205
26206 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
26207 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
26208 -mfloat128 to CFLAGS.
26209 ($(foreach
26210 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
26211 Likewise.
26212 (CFLAGS-libm-test-support-float64x.c): New variable.
26213 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
26214 $(f128-loader-link) to gnulib-tests.
26215
26216 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
26217 (libm_alias_float128_other_r): If
26218 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
26219 alias.
26220 (libm_alias_float128_r): Add semicolon after weak_alias call.
26221 * sysdeps/generic/libm-alias-ldouble.h
26222 (libm_alias_ldouble_other_r_f128): New macro.
26223 (libm_alias_ldouble_other_r_f64x): Likewise.
26224 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
26225 and libm_alias_ldouble_other_r_f64x.
26226 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
26227 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
26228 (libm_alias_ldouble_other_r_f128): New macro.
26229 (libm_alias_ldouble_other_r_f64x): Likewise.
26230 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
26231 and libm_alias_ldouble_other_r_f64x.
26232
26233 * stdlib/strfroml.c: Always include <stdlib.h>.
26234 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
26235 undefine as macro and define as weak alias.
26236 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
26237 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
26238 <stdlib.h>.
26239 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
26240 Define and later undefine as macro and define as weak alias.
26241
26242 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
26243 Define and later undefine as macro. Define as weak alias if
26244 [!USE_WIDE_CHAR].
26245 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
26246 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
26247 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
26248 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
26249 Define and later undefine as macro. Define as weak alias if
26250 [!USE_WIDE_CHAR].
26251 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
26252 Define and later undefine as macro. Define as weak alias if
26253 [USE_WIDE_CHAR].
26254 * sysdeps/ieee754/float128/strtof128_l.c
26255 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
26256 Define and later undefine as macro. Define as weak alias if
26257 [!USE_WIDE_CHAR].
26258 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
26259 Define and later undefine as macro. Define as weak alias if
26260 [USE_WIDE_CHAR].
26261 * sysdeps/ieee754/ldbl-128/strtold_l.c
26262 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
26263 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26264 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
26265 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
26266 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
26267 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
26268 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26269 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
26270 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
26271 * sysdeps/ieee754/ldbl-96/strtold_l.c
26272 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
26273 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26274 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
26275 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
26276
26277 * math/test-float64x.h: New file.
26278 * math/Makefile (type-float64x-yes): New variable.
26279 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
26280
26281 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
26282 function-like macro.
26283 (min_of_type_): Likewise.
26284 (min_of_type_l): Likewise.
26285 (min_of_type_f128): Likewise.
26286 (min_of_type): Pass () as last argument of __MATH_TG.
26287
26288 * stdlib/tst-strtod-round-skeleton.c
26289 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
26290 headers.
26291
26292 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
26293 for combinations of long double with _Float64 and _Float64x.
26294
26295 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
26296 (__DECL_SIMD_cosf32): Likewise.
26297 (__DECL_SIMD_cosf64): Likewise.
26298 (__DECL_SIMD_cosf32x): Likewise.
26299 (__DECL_SIMD_cosf64x): Likewise.
26300 (__DECL_SIMD_cosf128x): Likewise.
26301 (__DECL_SIMD_sinf16): Likewise.
26302 (__DECL_SIMD_sinf32): Likewise.
26303 (__DECL_SIMD_sinf64): Likewise.
26304 (__DECL_SIMD_sinf32x): Likewise.
26305 (__DECL_SIMD_sinf64x): Likewise.
26306 (__DECL_SIMD_sinf128x): Likewise.
26307 (__DECL_SIMD_sincosf16): Likewise.
26308 (__DECL_SIMD_sincosf32): Likewise.
26309 (__DECL_SIMD_sincosf64): Likewise.
26310 (__DECL_SIMD_sincosf32x): Likewise.
26311 (__DECL_SIMD_sincosf64x): Likewise.
26312 (__DECL_SIMD_sincosf128x): Likewise.
26313 (__DECL_SIMD_logf16): Likewise.
26314 (__DECL_SIMD_logf32): Likewise.
26315 (__DECL_SIMD_logf64): Likewise.
26316 (__DECL_SIMD_logf32x): Likewise.
26317 (__DECL_SIMD_logf64x): Likewise.
26318 (__DECL_SIMD_logf128x): Likewise.
26319 (__DECL_SIMD_expf16): Likewise.
26320 (__DECL_SIMD_expf32): Likewise.
26321 (__DECL_SIMD_expf64): Likewise.
26322 (__DECL_SIMD_expf32x): Likewise.
26323 (__DECL_SIMD_expf64x): Likewise.
26324 (__DECL_SIMD_expf128x): Likewise.
26325 (__DECL_SIMD_powf16): Likewise.
26326 (__DECL_SIMD_powf32): Likewise.
26327 (__DECL_SIMD_powf64): Likewise.
26328 (__DECL_SIMD_powf32x): Likewise.
26329 (__DECL_SIMD_powf64x): Likewise.
26330 (__DECL_SIMD_powf128x): Likewise.
26331
26332 * stdlib/Versions (libc): Move entries for wcstof128 and
26333 wcstof128_l to ....
26334 * wcsmbs/Versions (libc): ... here.
26335 Include <float128-abi.h>.
26336
26337 2017-11-24 Florian Weimer <fweimer@redhat.com>
26338
26339 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26340 bits/mman-shared.h.
26341 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
26342 <bits/mman-shared.h>.
26343 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
26344 to ...
26345 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
26346 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
26347 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
26348 <bits/mman-shared.h>.
26349
26350 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26351
26352 [BZ #22457]
26353 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
26354 posix_memalign/free.
26355 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
26356
26357 2017-11-22 Mike FABIAN <mfabian@redhat.com>
26358
26359 [BZ #22469]
26360 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
26361 and implement the collation rules for pl from CLDR on top of that.
26362 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
26363 of locales to be built for testing.
26364 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
26365
26366 2017-11-23 Joseph Myers <joseph@codesourcery.com>
26367
26368 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
26369 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
26370 libm_alias_ldouble_other.
26371 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
26372 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
26373 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
26374 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
26375 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
26376 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
26377 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
26378 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
26379 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
26380 libm_alias_ldouble_r.
26381 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
26382 libm_alias_ldouble_other.
26383 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
26384 (log10l): Likewise.
26385 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
26386 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
26387 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
26388 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
26389 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
26390 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
26391 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
26392 (atan2l): Likewise.
26393 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
26394 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
26395 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
26396 libm_alias_ldouble.
26397 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
26398 (cosl): Likewise.
26399 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
26400 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
26401 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
26402 (expl): Likewise.
26403 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
26404 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
26405 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
26406 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
26407 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
26408 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
26409 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
26410 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
26411 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
26412 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
26413 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
26414 libm_alias_ldouble.
26415 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
26416 libm_alias_ldouble_other.
26417 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
26418 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
26419 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
26420 libm_alias_ldouble.
26421 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
26422 libm_alias_ldouble_other.
26423 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
26424 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
26425 * sysdeps/ia64/fpu/w_lgammal_main.c
26426 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
26427 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
26428
26429 2017-11-23 Florian Weimer <fweimer@redhat.com>
26430
26431 * malloc/malloc.c (tcache_thread_shutdown): Rename from
26432 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
26433 alike. Remove freeres marker.
26434 * malloc/arena.c (arena_thread_freeres): Call
26435 tcache_thread_shutdown.
26436
26437 2017-11-23 Florian Weimer <fweimer@redhat.com>
26438
26439 [BZ #22459]
26440 Export nscd hash function as __nss_hash.
26441 * include/nss.h (__nss_hash): Declare.
26442 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
26443 symbol.
26444 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
26445 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
26446 of __nscd_hash.
26447 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
26448 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
26449 * nss/Makefiles (routines): Add nss_hash.
26450 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
26451 * nss/nss_hash.c: Rename from nis/nis_hash.c.
26452 (__nss_hash): Rename from __nis_hash. Define hidden alias.
26453 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
26454
26455 2017-11-23 Florian Weimer <fweimer@redhat.com>
26456
26457 [BZ #22478]
26458 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
26459 Return error code, not -1.
26460 * signal/tst-sigwait-eintr.c: New file.
26461 * signal/Makefile (tests): Add tst-sigwait-eintr.
26462
26463 2017-11-23 Florian Weimer <fweimer@redhat.com>
26464
26465 Linux: Add memfd_create system call wrapper
26466 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
26467 tst-memfd_create.
26468 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
26469 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
26470 [__USE_GNU] (memfd_create): Declare.
26471 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
26472 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
26473 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
26474 * sysdeps/unix/sysv/linux/**.abilist: Update.
26475 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
26476
26477 2017-11-22 Joseph Myers <joseph@codesourcery.com>
26478
26479 * localedata/gen-locale.sh: Fix typo in variable name.
26480
26481 * resolv/res_debug.c (p_secstodate): Condition definition on
26482 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
26483 directly as __p_secstodate, and as a compat symbol. Do not use
26484 libresolv_hidden_def.
26485 * resolv/resolv.h (p_secstodate): Remove macro and function
26486 declaration.
26487 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
26488 using p_secstodate.
26489 * include/resolv.h (__p_secstodate): Do not use
26490 libresolv_hidden_proto.
26491 * resolv/Makefile (tests): Move tst-p_secstodate to ....
26492 (tests-internal): ... here.
26493 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
26494 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
26495 and declare and use __p_secstodate and use compat_symbol_reference
26496 in that case.
26497 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
26498 implementation returning 77.
26499
26500 [BZ #22463]
26501 * resolv/res_debug.c: Include <libc-diag.h>.
26502 (p_secstodate): Assert time_t at least as wide as u_long. On
26503 overflow, use integer seconds since the epoch as output, or use
26504 "<overflow>" as output and set errno to EOVERFLOW if integer
26505 seconds since the epoch would be 14 or more characters.
26506 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
26507 for sprintf call.
26508 * resolv/tst-p_secstodate.c: New file.
26509 * resolv/Makefile (tests): Add tst-p_secstodate.
26510 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
26511
26512 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
26513 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
26514 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
26515
26516 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
26517
26518 * posix/regcomp.c (init_word_char): Add comments.
26519
26520 2017-11-22 Joseph Myers <joseph@codesourcery.com>
26521
26522 [BZ #22447]
26523 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
26524 strlen to compute length of ut_user and set trailing NUL byte of
26525 result explicitly.
26526
26527 2017-11-21 Mike FABIAN <mfabian@redhat.com>
26528
26529 [BZ #15537]
26530 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
26531 using “copy "iso14651_t1"” and then implementing the
26532 collation rules for lv from CLDR on top of that.
26533 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
26534 of locales to be built for testing.
26535 * lv_LV.UTF-8.in: New file with test data to test the Latvian
26536 sorting.
26537
26538 2017-11-21 Joseph Myers <joseph@codesourcery.com>
26539
26540 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
26541 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
26542 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
26543 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
26544 [__USE_MISC] (MADV_HWPOISON): New macro.
26545 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
26546
26547 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26548
26549 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
26550 -Wmissing-braces on GCC 4.9.
26551
26552 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
26553
26554 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
26555 * sysdeps/s390/s390-32/start.S (_start): Likewise
26556 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
26557 (thread_start): Likewise.
26558 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
26559 (thread_start): Likewise.
26560 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
26561 (__makecontext_ret): Likewise.
26562 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
26563 (__makecontext_ret): Likewise.
26564
26565 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
26566
26567 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
26568 __wcschrnul): Remove attribute_hidden.
26569
26570 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
26571
26572 regex: don't assume uint64_t or uint32_t
26573 This avoids -Werror=overflow errors for 32-bit systems in
26574 the 64-bit case. Problem reported by Joseph Myers in:
26575 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
26576 Also, when this code is used in Gnulib it ports to platforms
26577 that lack uint64_t and uint32_t. The C standard doesn't guarantee
26578 them, and on some 32-bit compilers there is no uint64_t.
26579 Problem reported by Gianluigi Tiesi in:
26580 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
26581 * posix/regcomp.c (init_word_char): Don't assume that the types
26582 uint64_t and uint32_t exist. Adapted from Gnulib patch
26583 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
26584 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
26585
26586 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
26587
26588 * sysdeps/aarch64/memset-reg.h: New file.
26589 * sysdeps/aarch64/memset.S: Use it.
26590 (__memset): Rename to MEMSET macro.
26591 [ZVA_MACRO]: Use zva_macro.
26592 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
26593 Add memset_generic and memset_falkor.
26594 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
26595 (__libc_ifunc_impl_list): Add memset ifuncs.
26596 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
26597 local variable zva_size.
26598 * sysdeps/aarch64/multiarch/memset.c: New file.
26599 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
26600 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
26601 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
26602 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
26603 (DCZID_DZP_MASK): New macro.
26604 (DCZID_BS_MASK): Likewise.
26605 (init_cpu_features): Read and set zva_size.
26606 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
26607 (struct cpu_features): New member zva_size.
26608
26609 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
26610 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
26611 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
26612
26613 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
26614 backwards. Fix timing computation.
26615 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
26616 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
26617 on memset by N at a time. Fix timing computation.
26618
26619 2017-11-20 Florian Weimer <fweimer@redhat.com>
26620
26621 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
26622 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
26623
26624 2017-11-19 Florian Weimer <fweimer@redhat.com>
26625
26626 manual: Document mprotect
26627 * manual/memory.texi (Memory Protection): New section.
26628 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
26629 documentation of PROT_* flags and reference the Memory Protection
26630 section instead.
26631
26632 2017-11-19 Florian Weimer <fweimer@redhat.com>
26633
26634 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
26635 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
26636 (Scatter-Gather): ... to here. Remove misleading comment.
26637
26638 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
26639
26640 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
26641 style.
26642
26643 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
26644 when /proc/<pid>/setgroups does not exist.
26645
26646 2017-11-18 Florian Weimer <fweimer@redhat.com>
26647
26648 * sysdeps/unix/sysv/linux/tst-ttyname.c
26649 (become_root_in_mount_ns): Remove.
26650 (do_in_chroot_1): Call support_enter_mount_namespace.
26651 (do_in_chroot_2): Likewise.
26652 (do_test): Call support_become_root early.
26653
26654 2017-11-18 Florian Weimer <fweimer@redhat.com>
26655
26656 * support/namespace.h (support_enter_mount_namespace): Declare.
26657 * support/support_enter_mount_namespace.c: New file.
26658 * support/Makefile (libsupport-routines): Add
26659 support_enter_mount_namespace.
26660
26661 2017-11-18 Florian Weimer <fweimer@redhat.com>
26662
26663 * support/temp_file.c (support_create_temp_directory): Use
26664 test_dir and do not rely on the presence of the XXXXXX suffix.
26665 * support/temp_file.h (support_create_temp_directory): Update
26666 comment.
26667 * support/tst-xreadlink.c (do_test): Adjust.
26668 * support/support_chroot.c (support_chroot_create): Likewise.
26669
26670 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26671
26672 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
26673 macro.
26674 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
26675 htm-no-suspend.
26676
26677 2017-11-17 Joseph Myers <joseph@codesourcery.com>
26678
26679 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
26680 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
26681 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
26682 (ceill): Define using libm_alias_ldouble.
26683 * sysdeps/x86_64/fpu/s_copysignl.S: Include
26684 <libm-alias-ldouble.h>.
26685 (copysignl): Define using libm_alias_ldouble.
26686 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
26687 (fabsl): Define using libm_alias_ldouble.
26688 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
26689 (floorl): Define using libm_alias_ldouble.
26690 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
26691 (fmaxl): Define using libm_alias_ldouble.
26692 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
26693 (fminl): Define using libm_alias_ldouble.
26694 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
26695 (llrintl): Define using libm_alias_ldouble.
26696 (lrintl): Likewise.
26697 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
26698 <libm-alias-ldouble.h>.
26699 (nearbyintl): Define using libm_alias_ldouble.
26700 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
26701 (truncl): Define using libm_alias_ldouble.
26702 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
26703 <libm-alias-ldouble.h>.
26704 (lrintl): Define using libm_alias_ldouble.
26705
26706 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
26707 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
26708 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
26709 (asinhl): Define using libm_alias_ldouble.
26710 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
26711 (atanl): Define using libm_alias_ldouble.
26712 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
26713 (cbrtl): Define using libm_alias_ldouble.
26714 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
26715 (ceill): Define using libm_alias_ldouble.
26716 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
26717 (copysignl): Define using libm_alias_ldouble.
26718 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
26719 (fabsl): Define using libm_alias_ldouble.
26720 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
26721 (floorl): Define using libm_alias_ldouble.
26722 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
26723 (fmaxl): Define using libm_alias_ldouble.
26724 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
26725 (fminl): Define using libm_alias_ldouble.
26726 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
26727 (frexpl): Define using libm_alias_ldouble.
26728 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
26729 (llrintl): Define using libm_alias_ldouble.
26730 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
26731 (logbl): Define using libm_alias_ldouble.
26732 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
26733 (lrintl): Define using libm_alias_ldouble.
26734 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
26735 (nearbyintl): Define using libm_alias_ldouble.
26736 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
26737 (nextafterl): Define using libm_alias_ldouble.
26738 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
26739 (remquol): Define using libm_alias_ldouble.
26740 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
26741 (rintl): Define using libm_alias_ldouble.
26742 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
26743 (truncl): Define using libm_alias_ldouble.
26744 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
26745 (fmaxl): Define using libm_alias_ldouble.
26746 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
26747 (fminl): Define using libm_alias_ldouble.
26748
26749 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
26750 to C syntax instead of availability and properties of types.
26751 * bits/floatn.h [!__ASSEMBLER]: Likewise.
26752 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
26753 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
26754 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
26755 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
26756 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
26757
26758 2017-11-17 Florian Weimer <fweimer@redhat.com>
26759
26760 support_become_root: Enable file creation in namespaces.
26761 * support/support_become_root.c (setup_mapping): New function.
26762 (support_become_root): Call it.
26763
26764 2017-11-17 Joseph Myers <joseph@codesourcery.com>
26765
26766 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
26767 macro.
26768
26769 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26770
26771 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
26772 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
26773
26774 2017-11-16 Joseph Myers <joseph@codesourcery.com>
26775
26776 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
26777
26778 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
26779 version to 4.14.
26780
26781 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
26782
26783 * INSTALL: Fix botched up regeneration.
26784
26785 * NEWS: Update sourceare link to https.
26786 * configure.ac: Likewise.
26787 * crypt/md5test-giant.c: Likewise.
26788 * dlfcn/bug-atexit1.c: Likewise.
26789 * dlfcn/bug-atexit2.c: Likewise.
26790 * localedata/README: Likewise.
26791 * malloc/tst-mallocfork.c: Likewise.
26792 * manual/install.texi: Likewise.
26793 * nptl/tst-pthread-getattr.c: Likewise.
26794 * stdio-common/tst-fgets.c: Likewise.
26795 * stdio-common/tst-fwrite.c: Likewise.
26796 * sunrpc/Makefile: Likewise.
26797 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
26798 * wcsmbs/tst-mbrtowc2.c: Likewise.
26799 * configure: Regenerate.
26800 * INSTALL: Regenerate.
26801
26802 2017-11-15 Martin Sebor <msebor@redhat.com>
26803
26804 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
26805 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
26806 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
26807
26808 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
26809
26810 [BZ #22145]
26811 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
26812 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
26813
26814 [BZ #22145]
26815 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
26816 Defer is_pty check until end of the function.
26817 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26818
26819 [BZ #22145]
26820 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
26821 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
26822 (ttyname): Likewise.
26823 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
26824 (__ttyname_r): Likewise.
26825
26826 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
26827 int to bool.
26828
26829 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
26830
26831 * manual/terminal.texi (Is It a Terminal):
26832 Mention ENODEV for ttyname and ttyname_r.
26833
26834 2017-11-15 Joseph Myers <joseph@codesourcery.com>
26835
26836 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
26837 constant and macro.
26838
26839 * sysdeps/unix/sysv/linux/bits/mman-linux.h
26840 [__USE_MISC] (MADV_WIPEONFORK): New macro.
26841 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
26842 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
26843 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
26844 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
26845
26846 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26847
26848 * signal/sigrelse.c (sigrelse): Optimize implementation.
26849
26850 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
26851 (__sigpause): Rely on __sigsuspend to implement single thread
26852 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
26853
26854 2017-11-15 Joseph Myers <joseph@codesourcery.com>
26855
26856 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
26857 kernel version to 4.14.
26858
26859 2017-11-15 Steve Ellcey <sellcey@cavium.com>
26860
26861 [BZ #22442]
26862 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
26863 Check if ifname is too long.
26864
26865 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
26866
26867 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
26868
26869 2017-11-15 Mike FABIAN <mfabian@redhat.com>
26870
26871 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
26872 was accidentally lost.
26873
26874 2017-11-15 Mike FABIAN <mfabian@redhat.com>
26875
26876 * localedata/locales/az_IR: Add standard copyright header.
26877
26878 2017-11-15 Florian Weimer <fweimer@redhat.com>
26879
26880 [BZ #22439]
26881 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
26882 not just the top one. Output a new "subheaps" statistic.
26883
26884 2017-11-15 Florian Weimer <fweimer@redhat.com>
26885
26886 [BZ #22408]
26887 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
26888 under the per-arena lock.
26889 * malloc/Makefile (tests): Add tst-malloc_info.
26890 (tst-malloc_info): Link with libpthread.
26891 * malloc/tst-malloc_info.c: New file.
26892
26893 2017-11-15 Joseph Myers <joseph@codesourcery.com>
26894
26895 [BZ #21660]
26896 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
26897 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
26898 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
26899 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
26900 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
26901 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
26902 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
26903 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
26904 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
26905 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
26906 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
26907 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
26908 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
26909 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
26910 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
26911 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
26912 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
26913 (__floating_type): Likewise.
26914 (__real_integer_type): Likewise.
26915 (__complex_integer_type): Likewise.
26916 (__expr_is_real): Likewise.
26917 (__tgmath_real_type_sub): Likewise.
26918 (__tgmath_real_type): Likewise.
26919 (__tgmath_complex_type_sub): Likewise.
26920 (__tgmath_complex_type): Likewise.
26921 (__TGMATH_F128): Likewise.
26922 (__TGMATH_CF128): Likewise.
26923 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
26924 new macros.
26925 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
26926 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
26927 Likewise.
26928 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
26929 Likewise.
26930 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
26931 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
26932 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
26933 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
26934 Likewise.
26935 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
26936 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
26937 Likewise.
26938 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
26939 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
26940 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
26941 Likewise.
26942 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
26943 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
26944 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
26945 (cimag): Likewise.
26946 (creal): Likewise.
26947
26948 2017-11-14 Joseph Myers <joseph@codesourcery.com>
26949
26950 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
26951 for stpncpy calls for GCC 8.
26952 (test_strncat): Disable -Wstringop-truncation warning for strncat
26953 calls for GCC 8. Disable -Wstringop-overflow= warning for one
26954 strncat call for GCC 7.
26955 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
26956 calls for GCC 8.
26957 (test_memcmp): Use memcpy instead of strncpy for calls not copying
26958 trailing NUL.
26959
26960 * string/bug-strncat1.c: Include <libc-diag.h>.
26961 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
26962
26963 2017-11-13 Claude Paroz <claude@2xlibre.net>
26964
26965 [BZ #22387]
26966 * localedata/locales/aa_DJ: Improved readibility by replacing
26967 <Uxxxx> sequences in the ASCII printable range by their ASCII
26968 character equivalents.
26969 * localedata/locales/aa_ER: Likewise.
26970 * localedata/locales/aa_ER@saaho: Likewise.
26971 * localedata/locales/aa_ET: Likewise.
26972 * localedata/locales/af_ZA: Likewise.
26973 * localedata/locales/agr_PE: Likewise.
26974 * localedata/locales/ak_GH: Likewise.
26975 * localedata/locales/am_ET: Likewise.
26976 * localedata/locales/anp_IN: Likewise.
26977 * localedata/locales/ar_AE: Likewise.
26978 * localedata/locales/ar_BH: Likewise.
26979 * localedata/locales/ar_DZ: Likewise.
26980 * localedata/locales/ar_EG: Likewise.
26981 * localedata/locales/ar_IN: Likewise.
26982 * localedata/locales/ar_IQ: Likewise.
26983 * localedata/locales/ar_JO: Likewise.
26984 * localedata/locales/ar_KW: Likewise.
26985 * localedata/locales/ar_LB: Likewise.
26986 * localedata/locales/ar_LY: Likewise.
26987 * localedata/locales/ar_MA: Likewise.
26988 * localedata/locales/ar_OM: Likewise.
26989 * localedata/locales/ar_QA: Likewise.
26990 * localedata/locales/ar_SA: Likewise.
26991 * localedata/locales/ar_SD: Likewise.
26992 * localedata/locales/ar_SS: Likewise.
26993 * localedata/locales/ar_SY: Likewise.
26994 * localedata/locales/ar_TN: Likewise.
26995 * localedata/locales/ar_YE: Likewise.
26996 * localedata/locales/as_IN: Likewise.
26997 * localedata/locales/ast_ES: Likewise.
26998 * localedata/locales/ayc_PE: Likewise.
26999 * localedata/locales/az_AZ: Likewise.
27000 * localedata/locales/az_IR: Likewise.
27001 * localedata/locales/be_BY: Likewise.
27002 * localedata/locales/be_BY@latin: Likewise.
27003 * localedata/locales/bem_ZM: Likewise.
27004 * localedata/locales/ber_DZ: Likewise.
27005 * localedata/locales/ber_MA: Likewise.
27006 * localedata/locales/bg_BG: Likewise.
27007 * localedata/locales/bhb_IN: Likewise.
27008 * localedata/locales/bho_IN: Likewise.
27009 * localedata/locales/bi_VU: Likewise.
27010 * localedata/locales/bn_BD: Likewise.
27011 * localedata/locales/bn_IN: Likewise.
27012 * localedata/locales/bo_CN: Likewise.
27013 * localedata/locales/bo_IN: Likewise.
27014 * localedata/locales/br_FR: Likewise.
27015 * localedata/locales/brx_IN: Likewise.
27016 * localedata/locales/bs_BA: Likewise.
27017 * localedata/locales/byn_ER: Likewise.
27018 * localedata/locales/ca_AD: Likewise.
27019 * localedata/locales/ca_ES: Likewise.
27020 * localedata/locales/ca_FR: Likewise.
27021 * localedata/locales/ca_IT: Likewise.
27022 * localedata/locales/ce_RU: Likewise.
27023 * localedata/locales/chr_US: Likewise.
27024 * localedata/locales/cmn_TW: Likewise.
27025 * localedata/locales/crh_UA: Likewise.
27026 * localedata/locales/cs_CZ: Likewise.
27027 * localedata/locales/csb_PL: Likewise.
27028 * localedata/locales/cv_RU: Likewise.
27029 * localedata/locales/cy_GB: Likewise.
27030 * localedata/locales/da_DK: Likewise.
27031 * localedata/locales/de_AT: Likewise.
27032 * localedata/locales/de_BE: Likewise.
27033 * localedata/locales/de_CH: Likewise.
27034 * localedata/locales/de_DE: Likewise.
27035 * localedata/locales/de_IT: Likewise.
27036 * localedata/locales/de_LI: Likewise.
27037 * localedata/locales/de_LU: Likewise.
27038 * localedata/locales/doi_IN: Likewise.
27039 * localedata/locales/dv_MV: Likewise.
27040 * localedata/locales/dz_BT: Likewise.
27041 * localedata/locales/el_CY: Likewise.
27042 * localedata/locales/el_GR: Likewise.
27043 * localedata/locales/en_AG: Likewise.
27044 * localedata/locales/en_AU: Likewise.
27045 * localedata/locales/en_BW: Likewise.
27046 * localedata/locales/en_CA: Likewise.
27047 * localedata/locales/en_DK: Likewise.
27048 * localedata/locales/en_GB: Likewise.
27049 * localedata/locales/en_HK: Likewise.
27050 * localedata/locales/en_IE: Likewise.
27051 * localedata/locales/en_IL: Likewise.
27052 * localedata/locales/en_IN: Likewise.
27053 * localedata/locales/en_NG: Likewise.
27054 * localedata/locales/en_NZ: Likewise.
27055 * localedata/locales/en_PH: Likewise.
27056 * localedata/locales/en_SG: Likewise.
27057 * localedata/locales/en_US: Likewise.
27058 * localedata/locales/en_ZA: Likewise.
27059 * localedata/locales/en_ZM: Likewise.
27060 * localedata/locales/en_ZW: Likewise.
27061 * localedata/locales/eo: Likewise.
27062 * localedata/locales/es_AR: Likewise.
27063 * localedata/locales/es_BO: Likewise.
27064 * localedata/locales/es_CL: Likewise.
27065 * localedata/locales/es_CO: Likewise.
27066 * localedata/locales/es_CR: Likewise.
27067 * localedata/locales/es_CU: Likewise.
27068 * localedata/locales/es_DO: Likewise.
27069 * localedata/locales/es_EC: Likewise.
27070 * localedata/locales/es_ES: Likewise.
27071 * localedata/locales/es_GT: Likewise.
27072 * localedata/locales/es_HN: Likewise.
27073 * localedata/locales/es_MX: Likewise.
27074 * localedata/locales/es_NI: Likewise.
27075 * localedata/locales/es_PA: Likewise.
27076 * localedata/locales/es_PE: Likewise.
27077 * localedata/locales/es_PR: Likewise.
27078 * localedata/locales/es_PY: Likewise.
27079 * localedata/locales/es_SV: Likewise.
27080 * localedata/locales/es_US: Likewise.
27081 * localedata/locales/es_UY: Likewise.
27082 * localedata/locales/es_VE: Likewise.
27083 * localedata/locales/et_EE: Likewise.
27084 * localedata/locales/eu_ES: Likewise.
27085 * localedata/locales/eu_ES@euro: Likewise.
27086 * localedata/locales/fa_IR: Likewise.
27087 * localedata/locales/ff_SN: Likewise.
27088 * localedata/locales/fi_FI: Likewise.
27089 * localedata/locales/fil_PH: Likewise.
27090 * localedata/locales/fo_FO: Likewise.
27091 * localedata/locales/fr_BE: Likewise.
27092 * localedata/locales/fr_CA: Likewise.
27093 * localedata/locales/fr_CH: Likewise.
27094 * localedata/locales/fr_FR: Likewise.
27095 * localedata/locales/fr_LU: Likewise.
27096 * localedata/locales/fur_IT: Likewise.
27097 * localedata/locales/fy_DE: Likewise.
27098 * localedata/locales/fy_NL: Likewise.
27099 * localedata/locales/ga_IE: Likewise.
27100 * localedata/locales/gd_GB: Likewise.
27101 * localedata/locales/gez_ER: Likewise.
27102 * localedata/locales/gez_ET: Likewise.
27103 * localedata/locales/gl_ES: Likewise.
27104 * localedata/locales/gu_IN: Likewise.
27105 * localedata/locales/gv_GB: Likewise.
27106 * localedata/locales/ha_NG: Likewise.
27107 * localedata/locales/hak_TW: Likewise.
27108 * localedata/locales/he_IL: Likewise.
27109 * localedata/locales/hi_IN: Likewise.
27110 * localedata/locales/hif_FJ: Likewise.
27111 * localedata/locales/hne_IN: Likewise.
27112 * localedata/locales/hr_HR: Likewise.
27113 * localedata/locales/hsb_DE: Likewise.
27114 * localedata/locales/ht_HT: Likewise.
27115 * localedata/locales/hu_HU: Likewise.
27116 * localedata/locales/hy_AM: Likewise.
27117 * localedata/locales/i18n: Likewise.
27118 * localedata/locales/ia_FR: Likewise.
27119 * localedata/locales/id_ID: Likewise.
27120 * localedata/locales/ig_NG: Likewise.
27121 * localedata/locales/ik_CA: Likewise.
27122 * localedata/locales/is_IS: Likewise.
27123 * localedata/locales/it_CH: Likewise.
27124 * localedata/locales/it_IT: Likewise.
27125 * localedata/locales/iu_CA: Likewise.
27126 * localedata/locales/ja_JP: Likewise.
27127 * localedata/locales/ka_GE: Likewise.
27128 * localedata/locales/kk_KZ: Likewise.
27129 * localedata/locales/kl_GL: Likewise.
27130 * localedata/locales/kn_IN: Likewise.
27131 * localedata/locales/ko_KR: Likewise.
27132 * localedata/locales/kok_IN: Likewise.
27133 * localedata/locales/ks_IN: Likewise.
27134 * localedata/locales/ks_IN@devanagari: Likewise.
27135 * localedata/locales/ku_TR: Likewise.
27136 * localedata/locales/kw_GB: Likewise.
27137 * localedata/locales/ky_KG: Likewise.
27138 * localedata/locales/lb_LU: Likewise.
27139 * localedata/locales/lg_UG: Likewise.
27140 * localedata/locales/li_BE: Likewise.
27141 * localedata/locales/li_NL: Likewise.
27142 * localedata/locales/lij_IT: Likewise.
27143 * localedata/locales/ln_CD: Likewise.
27144 * localedata/locales/lo_LA: Likewise.
27145 * localedata/locales/lt_LT: Likewise.
27146 * localedata/locales/lv_LV: Likewise.
27147 * localedata/locales/lzh_TW: Likewise.
27148 * localedata/locales/mag_IN: Likewise.
27149 * localedata/locales/mai_IN: Likewise.
27150 * localedata/locales/mg_MG: Likewise.
27151 * localedata/locales/mhr_RU: Likewise.
27152 * localedata/locales/mi_NZ: Likewise.
27153 * localedata/locales/mk_MK: Likewise.
27154 * localedata/locales/ml_IN: Likewise.
27155 * localedata/locales/mn_MN: Likewise.
27156 * localedata/locales/mni_IN: Likewise.
27157 * localedata/locales/mr_IN: Likewise.
27158 * localedata/locales/ms_MY: Likewise.
27159 * localedata/locales/mt_MT: Likewise.
27160 * localedata/locales/my_MM: Likewise.
27161 * localedata/locales/nan_TW: Likewise.
27162 * localedata/locales/nan_TW@latin: Likewise.
27163 * localedata/locales/nb_NO: Likewise.
27164 * localedata/locales/nds_DE: Likewise.
27165 * localedata/locales/nds_NL: Likewise.
27166 * localedata/locales/ne_NP: Likewise.
27167 * localedata/locales/nhn_MX: Likewise.
27168 * localedata/locales/niu_NU: Likewise.
27169 * localedata/locales/niu_NZ: Likewise.
27170 * localedata/locales/nl_AW: Likewise.
27171 * localedata/locales/nl_BE: Likewise.
27172 * localedata/locales/nl_NL: Likewise.
27173 * localedata/locales/nn_NO: Likewise.
27174 * localedata/locales/nr_ZA: Likewise.
27175 * localedata/locales/nso_ZA: Likewise.
27176 * localedata/locales/oc_FR: Likewise.
27177 * localedata/locales/om_ET: Likewise.
27178 * localedata/locales/om_KE: Likewise.
27179 * localedata/locales/or_IN: Likewise.
27180 * localedata/locales/os_RU: Likewise.
27181 * localedata/locales/pa_IN: Likewise.
27182 * localedata/locales/pa_PK: Likewise.
27183 * localedata/locales/pap_AW: Likewise.
27184 * localedata/locales/pap_CW: Likewise.
27185 * localedata/locales/pl_PL: Likewise.
27186 * localedata/locales/ps_AF: Likewise.
27187 * localedata/locales/pt_BR: Likewise.
27188 * localedata/locales/pt_PT: Likewise.
27189 * localedata/locales/quz_PE: Likewise.
27190 * localedata/locales/raj_IN: Likewise.
27191 * localedata/locales/ro_RO: Likewise.
27192 * localedata/locales/ru_RU: Likewise.
27193 * localedata/locales/ru_UA: Likewise.
27194 * localedata/locales/rw_RW: Likewise.
27195 * localedata/locales/sa_IN: Likewise.
27196 * localedata/locales/sat_IN: Likewise.
27197 * localedata/locales/sc_IT: Likewise.
27198 * localedata/locales/sd_IN: Likewise.
27199 * localedata/locales/sd_IN@devanagari: Likewise.
27200 * localedata/locales/se_NO: Likewise.
27201 * localedata/locales/sgs_LT: Likewise.
27202 * localedata/locales/shs_CA: Likewise.
27203 * localedata/locales/si_LK: Likewise.
27204 * localedata/locales/sid_ET: Likewise.
27205 * localedata/locales/sk_SK: Likewise.
27206 * localedata/locales/sl_SI: Likewise.
27207 * localedata/locales/sm_WS: Likewise.
27208 * localedata/locales/so_DJ: Likewise.
27209 * localedata/locales/so_ET: Likewise.
27210 * localedata/locales/so_KE: Likewise.
27211 * localedata/locales/so_SO: Likewise.
27212 * localedata/locales/sq_AL: Likewise.
27213 * localedata/locales/sq_MK: Likewise.
27214 * localedata/locales/sr_ME: Likewise.
27215 * localedata/locales/sr_RS: Likewise.
27216 * localedata/locales/sr_RS@latin: Likewise.
27217 * localedata/locales/ss_ZA: Likewise.
27218 * localedata/locales/st_ZA: Likewise.
27219 * localedata/locales/sv_FI: Likewise.
27220 * localedata/locales/sv_SE: Likewise.
27221 * localedata/locales/sw_KE: Likewise.
27222 * localedata/locales/sw_TZ: Likewise.
27223 * localedata/locales/szl_PL: Likewise.
27224 * localedata/locales/ta_IN: Likewise.
27225 * localedata/locales/ta_LK: Likewise.
27226 * localedata/locales/tcy_IN: Likewise.
27227 * localedata/locales/te_IN: Likewise.
27228 * localedata/locales/tg_TJ: Likewise.
27229 * localedata/locales/th_TH: Likewise.
27230 * localedata/locales/the_NP: Likewise.
27231 * localedata/locales/ti_ER: Likewise.
27232 * localedata/locales/ti_ET: Likewise.
27233 * localedata/locales/tig_ER: Likewise.
27234 * localedata/locales/tk_TM: Likewise.
27235 * localedata/locales/tl_PH: Likewise.
27236 * localedata/locales/tn_ZA: Likewise.
27237 * localedata/locales/to_TO: Likewise.
27238 * localedata/locales/tpi_PG: Likewise.
27239 * localedata/locales/tr_CY: Likewise.
27240 * localedata/locales/tr_TR: Likewise.
27241 * localedata/locales/ts_ZA: Likewise.
27242 * localedata/locales/tt_RU: Likewise.
27243 * localedata/locales/tt_RU@iqtelif: Likewise.
27244 * localedata/locales/ug_CN: Likewise.
27245 * localedata/locales/uk_UA: Likewise.
27246 * localedata/locales/unm_US: Likewise.
27247 * localedata/locales/ur_IN: Likewise.
27248 * localedata/locales/ur_PK: Likewise.
27249 * localedata/locales/uz_UZ: Likewise.
27250 * localedata/locales/uz_UZ@cyrillic: Likewise.
27251 * localedata/locales/ve_ZA: Likewise.
27252 * localedata/locales/vi_VN: Likewise.
27253 * localedata/locales/wa_BE: Likewise.
27254 * localedata/locales/wae_CH: Likewise.
27255 * localedata/locales/wal_ET: Likewise.
27256 * localedata/locales/wo_SN: Likewise.
27257 * localedata/locales/xh_ZA: Likewise.
27258 * localedata/locales/yi_US: Likewise.
27259 * localedata/locales/yo_NG: Likewise.
27260 * localedata/locales/yue_HK: Likewise.
27261 * localedata/locales/yuw_PG: Likewise.
27262 * localedata/locales/zh_CN: Likewise.
27263 * localedata/locales/zh_HK: Likewise.
27264 * localedata/locales/zh_SG: Likewise.
27265 * localedata/locales/zh_TW: Likewise.
27266 * localedata/locales/zu_ZA: Likewise.
27267
27268 2017-11-13 Florian Weimer <fweimer@redhat.com>
27269
27270 * support/next_to_fault.h, support/next_to_fault.c: New files.
27271 * support/Makefile (libsupport-routines): Add next_to_fault.
27272 * resolv/tst-inet_pton.c (struct next_to_fault)
27273 (next_to_fault_allocate, next_to_fault_free): Remove.
27274 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
27275
27276 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
27277
27278 * elf/dl-support.c: Include <dl-procruntime.c>.
27279 * include/link.h: Include <link_map.h>.
27280 * sysdeps/generic/dl-procruntime.c: New file.
27281 * sysdeps/generic/link_map.h: Likewise.
27282 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
27283 the writable ld.so namespace.
27284
27285 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
27286
27287 timezone: pacify GCC -Wstringop-truncation
27288 Problem reported by Martin Sebor in:
27289 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
27290 * timezone/zic.c (writezone): Use memcpy, not strncpy.
27291
27292 2017-11-12 Florian Weimer <fweimer@redhat.com>
27293
27294 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
27295 tst-xreadlink.
27296 (tests): Add tst-xreadlink.
27297 * support/support.h (xstrndup): Declare.
27298 * support/xunistd.h (xunlink, xreadlink): Declare.
27299 * support/temp_file.h (support_create_temp_directory): Declare.
27300 * support/temp_file.c (support_create_temp_directory): New function.
27301 * support/support_chroot.c (support_chroot_create): Use it.
27302 * support/xreadlink.c: New file.
27303 * support/xstrndup.c: Likewise.
27304 * support/xunlink.c: Likewise.
27305 * support/tst-xreadlink.c: Likewise.
27306
27307 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
27308
27309 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
27310
27311 2017-11-11 Florian Weimer <fweimer@redhat.com>
27312
27313 [BZ #22409]
27314 [BZ #22412]
27315 * resolv/res_comp.c (printable_string, binary_hnok)
27316 (binary_leading_dash): New functions.
27317 (res_hnok): Reimplement using these functions and ns_name_pton.
27318 (res_ownok): Likewise.
27319 (res_mailok): Reimplement using printable_string, ns_name_pton and
27320 binary_hnok.
27321 (res_dnok): Reimplement using printable_string and ns_name_pton.
27322 * resolv/tst-res_hnok.c (tests): Add additional tests.
27323 (LETTERDIGITS, PRINTABLE): Define.
27324 (do_test): Adjust one_char results.
27325
27326 2017-11-11 Florian Weimer <fweimer@redhat.com>
27327
27328 [BZ #22413]
27329 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
27330 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
27331
27332 2017-11-11 Florian Weimer <fweimer@redhat.com>
27333
27334 * resolv/tst-ns_name_pton.c: New file.
27335 * resolv/Makefile (tests): Add tst-ns_name_pton.
27336 (tst-ns_name_pton): Link against libresolv.
27337
27338 2017-11-11 Florian Weimer <fweimer@redhat.com>
27339
27340 * resolv/tst-res_hnok.c: New file.
27341 * resolv/Makefile (tests): Add tst-res_hnok.
27342 (tst-res_hnok): Link against libresolv.
27343
27344 2017-11-11 Florian Weimer <fweimer@redhat.com>
27345
27346 * resolv/tst-resolv-network.c: Use test framework instead explicit
27347 main function.
27348
27349 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
27350
27351 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
27352 <jmp_buf-macros.h>.
27353 [!_ISOMAC] (STR_HELPER): New.
27354 [!_ISOMAC] (STR): Likewise.
27355 [!_ISOMAC] (TEST_SIZE): Likewise.
27356 [!_ISOMAC] (TEST_ALIGN): Likewise.
27357 [!_ISOMAC] (TEST_OFFSET): Likewise.
27358 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
27359 field offsets of jmp_buf as well as sigjmp_buf.
27360 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
27361 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
27362 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
27363 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
27364 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
27365 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
27366 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
27367 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
27368 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
27369 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
27370 Likewise.
27371 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
27372 Likewise.
27373 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
27374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
27375 Likewise.
27376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
27377 Likewise.
27378 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
27379 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
27380 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
27381 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
27382 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
27383 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
27384 Likewise.
27385 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
27386 Likewise.
27387 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
27388 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
27389 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
27390
27391 2017-11-07 Joseph Myers <joseph@codesourcery.com>
27392
27393 * include/float.h
27394 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27395 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
27396 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27397 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
27398 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27399 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
27400 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27401 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
27402 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27403 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
27404 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27405 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
27406 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27407 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
27408 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27409 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
27410 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27411 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
27412 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27413 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
27414 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27415 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
27416 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27417 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
27418 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27419 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
27420 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27421 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
27422 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27423 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
27424 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27425 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
27426 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27427 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
27428 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27429 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
27430 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27431 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
27432 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27433 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
27434 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27435 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
27436 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27437 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
27438 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27439 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
27440 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27441 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
27442 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27443 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
27444 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27445 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
27446 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27447 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
27448 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27449 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
27450 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27451 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
27452 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27453 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
27454 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27455 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
27456 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27457 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
27458 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27459 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
27460 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27461 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
27462 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27463 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
27464 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27465 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
27466 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27467 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
27468 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27469 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
27470 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27471 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
27472 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27473 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
27474 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27475 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
27476 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27477 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
27478 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27479 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
27480 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
27481 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
27482
27483 * stdlib/tst-strtod.h (F16): New macro.
27484 (F32): Likewise.
27485 (F64): Likewise.
27486 (F32X): Likewise.
27487 (F64X): Likewise.
27488 (F128X): Likewise.
27489 (IF_FLOAT16): Likewise.
27490 (IF_FLOAT32): Likewise.
27491 (IF_FLOAT64): Likewise.
27492 (IF_FLOAT32X): Likewise.
27493 (IF_FLOAT64X): Likewise.
27494 (IF_FLOAT128X): Likewise.
27495 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
27496 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
27497 (STRTOD_TEST_FOREACH): Likewise.
27498 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
27499 (CHOOSE_f64): Likewise.
27500 (CHOOSE_f32x): Likewise.
27501 (CHOOSE_f64x): Likewise.
27502
27503 2017-11-07 Andreas Schwab <schwab@suse.de>
27504
27505 * nptl/Makefile (tests-internal): Remove tst-typesizes.
27506
27507 2017-11-07 Mike FABIAN <mfabian@redhat.com>
27508
27509 [BZ #22403]
27510 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
27511 to be escaped.
27512 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
27513 to be escaped.
27514
27515 2017-11-07 Claude Paroz <claude@2xlibre.net>
27516
27517 [BZ #22403]
27518 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
27519 to be escaped.
27520 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
27521 to be escaped.
27522 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
27523 to be escaped.
27524
27525 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27526
27527 [BZ #22298]
27528 * nptl/allocatestack.c (allocate_stack): Check if
27529 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
27530 __PTHREAD_MUTEX_HAVE_PREV is defined.
27531 * nptl/descr.h (pthread): Likewise.
27532 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
27533 Likewise.
27534 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
27535 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
27536 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
27537 * sysdeps/nptl/bits/thread-shared-types.h
27538 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
27539 defines.
27540 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
27541 of __WORDSIZE for internal layout.
27542 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
27543 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
27544 instead of __WORDSIZE whether to use an union for __spins and __list
27545 fields.
27546 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
27547 case.
27548 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
27549 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
27550 defines.
27551 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
27552 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27553 Likewise.
27554 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
27555 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27556 Likewise.
27557 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
27558 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27559 Likewise.
27560 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
27561 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27562 Likewise.
27563 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
27564 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27565 Likewise.
27566 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
27567 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27568 Likewise.
27569 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
27570 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27571 Likewise.
27572 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
27573 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27574 Likewise.
27575 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
27576 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27577 Likewise.
27578 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
27579 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27580 Likewise.
27581 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
27582 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27583 Likewise.
27584 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
27585 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27586 Likewise.
27587 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
27588 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27589 Likewise.
27590 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
27591 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
27592 Likewise.
27593
27594 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
27595 New macros.
27596 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
27597 checks for expected input type size.
27598 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
27599 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
27600 Likewise.
27601 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
27602 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
27603 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
27604 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
27605 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
27606 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
27607 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
27608 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
27609 superflous runtime assert check.
27610 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
27611 Likewise.
27612 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
27613 Likewise.
27614 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
27615 Likewise.
27616 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
27617 Likewise.
27618 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
27619 Likewise.
27620 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
27621 Likewise.
27622 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
27623 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
27624 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
27625 Likewise.
27626 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
27627 Likewise.
27628 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
27629 Likewise.
27630 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
27631 Likewise.
27632 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
27633 Likewise.
27634 * nptl/pthread_attr_setinheritsched.c
27635 (__pthread_attr_setinheritsched): Likewise.
27636 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
27637 Likewise.
27638 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
27639 Likewise.
27640 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
27641 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
27642 __old_pthread_attr_setstack): Likewise.
27643 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
27644 Likewise.
27645 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
27646 Likewise.
27647 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
27648 Likewise.
27649 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
27650 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
27651 Likewise.
27652 * nptl/tst-typesizes.c: Remove file.
27653
27654 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
27655 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
27656 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
27657 checks for internal pthread_mutex_t offsets.
27658 * sysdeps/aarch64/nptl/pthread-offsets.h
27659 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
27660 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
27661 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
27662 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
27663 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
27664 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
27665 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
27666 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
27667 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
27668 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
27669 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
27670 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
27671 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
27672 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
27673 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
27674 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
27675 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
27676 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
27677
27678 2017-11-07 Florian Weimer <fweimer@redhat.com>
27679
27680 * bits/mman-linux.h: Move ...
27681 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
27682 comment.
27683 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
27684 outdated comment.
27685
27686 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27687
27688 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
27689 Redefine STRNLEN as __strnlen_power8.
27690
27691 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27692
27693 * signal/sighold.c (sighold): Optimize implementation.
27694
27695 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
27696 __NR_rt_sigqueueinfo.
27697
27698 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
27699 __sigtimedwait.
27700 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
27701 assume __NR_rt_sigtimedwait.
27702 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
27703 and add LIBC_CANCEL_HANDLED for cancellation marking.
27704 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
27705
27706 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
27707 (sysdeps_routines): Add memchr_noneon.
27708 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
27709 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
27710 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
27711 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
27712 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
27713 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
27714 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
27715
27716 * sysdeps/arm/arm-ifunc.h: New file.
27717 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
27718 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
27719 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
27720 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
27721 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
27722 (__memcpy_neon): Avoid create hidden alias.
27723 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
27724 (__memcpy_vfp): Likewise.
27725 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
27726 (sysdep_routines): Add memcpy_arm.
27727 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
27728
27729 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
27730
27731 [BZ #22362]
27732 * Makerules (make-link-multidir): New.
27733 * config.make.in (multidir): New.
27734 * configure.ac (libc_cv_multidir): New. AC_SUBST.
27735 * configure: Regenerated.
27736 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
27737 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
27738 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
27739 New target.
27740
27741 2017-11-06 Joseph Myers <joseph@codesourcery.com>
27742
27743 [BZ #22402]
27744 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
27745 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
27746
27747 2017-11-04 Mike FABIAN <mfabian@redhat.com>
27748
27749 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
27750 to be escaped.
27751
27752 2017-11-04 Florian Weimer <fweimer@redhat.com>
27753
27754 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
27755
27756 2017-11-03 Joseph Myers <joseph@codesourcery.com>
27757
27758 * math/math.h [__HAVE_DISTINCT_FLOAT16
27759 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
27760 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
27761 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
27762 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
27763 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
27764 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
27765 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
27766 (__MATH_TG_F32): New macro.
27767 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
27768 (__MATH_TG_F64X): Likewise.
27769 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
27770 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
27771
27772 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
27773
27774 * po/de.po: Update translations.
27775 * po/ru.po: Likewise.
27776
27777 2017-11-03 Florian Weimer <fweimer@redhat.com>
27778
27779 * manual/filesys.texi (Hard Links): Document linkat.
27780
27781 2017-11-03 Joseph Myers <joseph@codesourcery.com>
27782
27783 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
27784 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
27785 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
27786 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
27787 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
27788 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
27789 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
27790 the same as _Float128.
27791 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
27792 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
27793 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
27794
27795 * stdlib/stdlib.h
27796 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
27797 Declare.
27798 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
27799 Likewise.
27800 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
27801 Likewise.
27802 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27803 (strtof32x): Likewise.
27804 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27805 (strtof64x): Likewise.
27806 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27807 (strtof128x): Likewise.
27808 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27809 (strfromf16): Likewise.
27810 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27811 (strfromf32): Likewise.
27812 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27813 (strfromf64): Likewise.
27814 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27815 (strfromf32x): Likewise.
27816 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27817 (strfromf64x): Likewise.
27818 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27819 (strfromf128x): Likewise.
27820 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
27821 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
27822 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
27823 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
27824 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
27825 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
27826
27827 2017-11-03 Richard Henderson <rth@twiddle.net>
27828
27829 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
27830
27831 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27832
27833 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
27834
27835 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27836
27837 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
27838 DT_TLSDESC_GOT initialization.
27839 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
27840 (_dl_tlsdesc_resolve_hold): Likewise.
27841 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
27842 (_dl_tlsdesc_resolve_hold): Likewise.
27843 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
27844 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
27845
27846 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27847
27848 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
27849
27850 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27851
27852 [BZ #18572]
27853 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
27854 non-lazily for R_ARM_TLS_DESC.
27855
27856 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27857
27858 [BZ #17078]
27859 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
27860 R_ARM_TLS_DESC case.
27861 (elf_machine_lazy_rel): Remove the prelink check.
27862
27863 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27864
27865 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
27866 DT_TLSDESC_GOT initialization.
27867 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
27868 (_dl_tlsdesc_resolve_rela): Likewise.
27869 (_dl_tlsdesc_resolve_hold): Likewise.
27870 (_dl_tlsdesc_undefweak): Remove ldar.
27871 (_dl_tlsdesc_dynamic): Likewise.
27872 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
27873 (_dl_tlsdesc_resolve_rela): Likewise.
27874 (_dl_tlsdesc_resolve_hold): Likewise.
27875 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
27876 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
27877 (_dl_tlsdesc_resolve_rela): Likewise.
27878 (_dl_tlsdesc_resolve_hold): Likewise.
27879
27880 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27881
27882 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
27883 binding and initialization non-lazily for R_AARCH64_TLSDESC.
27884
27885 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27886
27887 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
27888 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27889
27890 2017-11-02 Joseph Myers <joseph@codesourcery.com>
27891
27892 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
27893 Declare.
27894 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
27895 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
27896 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
27897 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
27898 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
27899 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
27900 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
27901 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
27902 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
27903 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
27904 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
27905
27906 2017-11-02 Mike FABIAN <mfabian@redhat.com>
27907
27908 [BZ #22382]
27909 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
27910 * localedata/locales/tpi_PG: Add standard header.
27911
27912 2017-11-02 Florian Weimer <fweimer@redhat.com>
27913
27914 test-errno-linux: quotactl can fail with EPERM in containers.
27915 * sysdeps/unix/sysv/linux/test-errno-linux.c
27916 (LIST, LIST_FORWARD): New macros.
27917 (check_error_in_list): New function.
27918 (test_wrp_rv): Accept list of permitted error codes.
27919 (test_wrp_rv2): Remove.
27920 (test_wrp): Call test_wrp_rv with list of error codes.
27921 (test_wrp2): Accept list of error codes.
27922 (do_test): Adjust. Allow EPERM for quotactl.
27923
27924 2017-11-02 Florian Weimer <fweimer@redhat.com>
27925
27926 * stdio-common/bug16.c (do_test): Use array_length.
27927 * stdio-common/errlist.c (_sys_nerr): Likewise.
27928 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
27929 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
27930 * stdio-common/psiginfo.c (psiginfo): Use array_length.
27931 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
27932 (do_test): Use array_length.
27933 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
27934 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
27935 * stdio-common/tst-printf-round.c (do_test): Likewise.
27936 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
27937 (CHECK): Use array_length.
27938 * stdio-common/tstdiomisc.c (t3, F): Likewise.
27939 * stdio-common/tstscanf.c (main): Likewise.
27940 * stdio-common/vfprintf.c (process_string_arg): Likewise.
27941
27942 2017-11-02 Florian Weimer <fweimer@redhat.com>
27943
27944 Add array_length and array_end macros.
27945 * include/array_length.h: New file.
27946
27947 2017-11-02 Florian Weimer <fweimer@redhat.com>
27948
27949 [BZ #22332]
27950 * posix/tst-glob-tilde.c (do_noescape): New variable.
27951 (one_test): Process it.
27952 (do_test): Set do_noescape. Add unescaping test case.
27953
27954 2017-11-01 Joseph Myers <joseph@codesourcery.com>
27955
27956 * math/complex.h
27957 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
27958 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
27959 with appropriate macros defined and undefined.
27960 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
27961 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27962 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
27963 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27964 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
27965 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27966 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
27967 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27968 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
27969 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
27970
27971 * math/complex.h
27972 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
27973 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
27974 that for long double. Do not condition define and undefine of
27975 _Mdouble_complex_ on [__CFLOAT128].
27976
27977 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
27978
27979 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
27980 of <sysdeps/generic/sysdep.h>.
27981 (ALIGNARG): Removed.
27982 (ASM_SIZE_DIRECTIVE): Likewise.
27983 (ENTRY): Likewise.
27984 (END): Likewise.
27985 (ENTRY_CHK): Likewise.
27986 (END_CHK): Likewise.
27987 (syscall_error): Likewise.
27988 (mcount): Likewise.
27989 (PSEUDO_END): Likewise.
27990 (L): Likewise.
27991 (atom_text_section): Likewise.
27992 * sysdeps/x86/sysdep.h: New file.
27993 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
27994 of <sysdeps/generic/sysdep.h>.
27995 (ALIGNARG): Removed.
27996 (ASM_SIZE_DIRECTIVE): Likewise.
27997 (ENTRY): Likewise.
27998 (END): Likewise.
27999 (ENTRY_CHK): Likewise.
28000 (END_CHK): Likewise.
28001 (syscall_error): Likewise.
28002 (mcount): Likewise.
28003 (PSEUDO_END): Likewise.
28004 (L): Likewise.
28005 (atom_text_section): Likewise.
28006
28007 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
28008
28009 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
28010 category of LC_CTYPE set to "i18n:2012".
28011 * localedata/locales/i18n_ctype: Regenerate.
28012
28013 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
28014
28015 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
28016 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
28017 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
28018 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
28019
28020 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
28021 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
28022 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
28023 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
28024
28025 2017-10-31 Joseph Myers <joseph@codesourcery.com>
28026
28027 * math/complex.h
28028 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
28029 New macro.
28030 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
28031 Likewise.
28032 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
28033 Likewise.
28034 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28035 (CMPLXF32X): Likewise.
28036 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28037 (CMPLXF64X): Likewise.
28038 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28039 (CMPLXF128X): Likewise.
28040
28041 * math/math.h
28042 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
28043 (__MATH_EVAL_FMT2): Define to add 0.0f.
28044
28045 2017-10-31 Alan Modra <amodra@gmail.com>
28046
28047 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
28048 include sysdep.h.
28049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
28050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
28051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
28052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
28053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
28054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
28055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
28056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
28057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
28058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
28059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
28060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
28061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
28062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
28063 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
28064 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
28065 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
28066 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
28067 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
28068 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
28069 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
28070 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
28071 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
28072 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
28073 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
28074 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
28075 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
28076 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
28077 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
28078 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
28079 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
28080 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
28081 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
28082 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
28083 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
28084 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
28085 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
28086 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
28087 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
28088 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
28089 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
28090 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
28091 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
28092 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
28093 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
28094 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
28095 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
28096 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
28097 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
28098 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
28099 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
28100 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
28101 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
28102 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
28103 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
28104 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
28105 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
28106 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
28107 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
28108 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
28109 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
28110 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
28111 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
28112 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
28113 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
28114 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
28115 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
28116 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
28117 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
28118
28119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
28120 include sysdep.h and math_ldbl_opt.h.
28121
28122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
28123 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
28124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
28125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
28126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
28127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
28128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
28129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
28130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
28131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
28132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
28133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
28134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
28135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
28136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
28137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
28138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
28139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
28140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
28141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
28142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
28143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
28144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
28145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
28146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
28147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
28148
28149 2017-10-31 Alan Modra <amodra@gmail.com>
28150
28151 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
28152 string/strncase_l.c, not string/strncase.c.
28153 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
28154 (libc_hidden_def): Redefine.
28155
28156 2017-10-31 Alan Modra <amodra@gmail.com>
28157
28158 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
28159 (__STRCMP, STRCMP, __strcasecmp_l): Define.
28160 (__strcasecmp): Don't define.
28161
28162 2017-10-31 Alan Modra <amodra@gmail.com>
28163
28164 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
28165 IS_IN (libc).
28166 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
28167 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
28168 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
28169
28170 2017-10-31 Alan Modra <amodra@gmail.com>
28171
28172 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
28173 USE_AS_STPNCPY.
28174
28175 2017-10-31 Alan Modra <amodra@gmail.com>
28176
28177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
28178 Redefine only when SHARED.
28179
28180 2017-10-30 Joseph Myers <joseph@codesourcery.com>
28181
28182 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
28183 Include <bits/math-finite.h> with appropriate macros defined and
28184 undefined.
28185 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
28186 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
28187 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
28188 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
28189 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
28190
28191 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
28192 [!_Mlong_double_] (_Mlong_double_): Likewise.
28193 [!_Mfloat16_] (_Mfloat16_): Likewise.
28194 [!_Mfloat32_] (_Mfloat32_): Likewise.
28195 [!_Mfloat64_] (_Mfloat64_): Likewise.
28196 [!_Mfloat128_] (_Mfloat128_): Likewise.
28197 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
28198 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
28199 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
28200 (_Mdouble_): Define without indirection through those macros.
28201 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
28202 [!_Mfloat128_] (_Mfloat128_): Likewise.
28203 [_Mlong_double_] (_Mlong_double_): Likewise.
28204 (_Mdouble_): Define without indirection through those macros.
28205 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
28206 not add -D_Mlong_double_=double.
28207 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
28208 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
28209
28210 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
28211
28212 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
28213
28214 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
28215
28216 * sysdeps/x86/libc-start.c: Reformat.
28217
28218 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
28219
28220 [BZ #22353]
28221 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
28222 (1): Renamed to ...
28223 (L(Src0)): This.
28224 (L(Src1)): New.
28225 (L(Src2)): Likewise.
28226 (L(1)): Renamed to ...
28227 (L(Src3)): This.
28228
28229 2017-10-30 Joseph Myers <joseph@codesourcery.com>
28230
28231 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
28232 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
28233 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
28234 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
28235 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
28236 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
28237 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
28238 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
28239 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
28240 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
28241 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
28242 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
28243 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
28244 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
28245 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
28246 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
28247 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
28248 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
28249 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
28250 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
28251 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
28252 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
28253 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
28254 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
28255 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
28256 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
28257 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
28258 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
28259 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
28260 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
28261 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
28262 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
28263 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
28264 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
28265 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
28266 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
28267 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
28268 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
28269 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
28270 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
28271 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
28272 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
28273 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
28274 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
28275 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
28276 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
28277 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
28278 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
28279 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
28280 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
28281 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
28282 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
28283 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
28284 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
28285 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
28286 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
28287 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
28288 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
28289 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
28290 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
28291 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
28292 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
28293 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
28294 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
28295 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
28296 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
28297
28298 2017-10-30 Florian Weimer <fweimer@redhat.com>
28299
28300 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
28301 always defined.
28302 * io/tst-mkdirat.c (do_test): Likewise.
28303 * io/tst-mkfifoat.c (do_test): Likewise.
28304 * io/tst-mknodat.c (do_test): Likewise.
28305 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
28306 * locale/programs/locale.c (select_dirs): Likewise.
28307 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
28308 * posix/bug-glob2.c (my_readdir): Likewise.
28309 * posix/tst-dir.c (main): Likewise.
28310 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
28311 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
28312
28313 2017-10-30 Florian Weimer <fweimer@redhat.com>
28314
28315 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
28316 just __USE_GNU.
28317
28318 2017-10-30 Florian Weimer <fweimer@redhat.com>
28319
28320 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
28321 Convert to support/test-driver.c.
28322 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
28323 New macro parameters.
28324 (PRINTF): Remove macro. Use test_verbose conditionals instead.
28325 * posix/tst-gnuglob.c: New file.
28326 * posix/tst-gnuglob64.c: Likewise.
28327 * posix/Makefile (tests): Add tst-gnuglob64.
28328
28329 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
28330
28331 [BZ #19485]
28332 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
28333 and use a better translation for March in “mon”.
28334 * localedata/locales/csb_PL: Use more ASCII to improve the
28335 readability of the source.
28336
28337 2017-10-30 Mike FABIAN <mfabian@redhat.com>
28338
28339 [BZ #13953]
28340 * localedata/locales/km_KH: Use ASCII as much
28341 as possible for better readability of the source and
28342 remove useless comments.
28343 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
28344 was commented out and apparently wrong anyway because it was
28345 using Lao characters. If Buddhist era should be used
28346 for km_KH, a native speaker should write the correct formaat
28347 for Khmer.
28348 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
28349 (According to CLDR, the first weekday for Cambodia is Sunday).
28350 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
28351 (These were using Lao characters which must be wrong. If we get
28352 the correct data from a native speaker, we could add it back, until
28353 then it is better not to have name_mr and name_mrs at all than
28354 having it wrong).
28355
28356 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
28357
28358 * locale/loadlocale.c: Correct size of
28359 _nl_value_type_LC_<category> arrays.
28360
28361 2017-10-27 Joseph Myers <joseph@codesourcery.com>
28362
28363 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
28364 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
28365 with appropriate macros defined and undefined.
28366 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
28367 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
28368 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
28369 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
28370 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
28371
28372 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
28373
28374 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
28375 "-O2 -march=i586".
28376
28377 2017-10-27 Mike FABIAN <mfabian@redhat.com>
28378
28379 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
28380 with lowercase letters to make it agree with CLDR.
28381
28382 2017-10-27 Mike FABIAN <mfabian@redhat.com>
28383
28384 [BZ #15260]
28385 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
28386 first letters of yesstr and nostr in yesexpr and noexpr,
28387 not for the full words.
28388 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
28389 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
28390 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
28391 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
28392 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
28393 first letters of yesstr and nostr in yesexpr and noexpr,
28394 until now only English was matched in yesexpr and noexpr.
28395 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
28396 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
28397 fil but not for tl. As tl and fil are very similar, using fil
28398 is probably better than using English.
28399
28400 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
28401
28402 [BZ #21706]
28403 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
28404 in yesstr and nostr.
28405
28406 2017-10-26 Joseph Myers <joseph@codesourcery.com>
28407
28408 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
28409 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
28410 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
28411 Likewise.
28412 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
28413 Likewise.
28414 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
28415 Likewise.
28416 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
28417 Likewise.
28418 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28419 (SNANF128X): Likewise.
28420
28421 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
28422 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
28423 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28424 (HUGE_VAL_F32): Likewise.
28425 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28426 (HUGE_VAL_F64): Likewise.
28427 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28428 (HUGE_VAL_F32X): Likewise.
28429 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28430 (HUGE_VAL_F64X): Likewise.
28431 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28432 (HUGE_VAL_F128X): Likewise.
28433
28434 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
28435
28436 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
28437 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
28438 for the br_FR locale.
28439
28440 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
28441
28442 [BZ #21706]
28443 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
28444
28445 2017-10-25 Carlos O'Donell <carlos@redhat.com>
28446
28447 * locale/programs/record-status.h: Define globals, and function
28448 prototypes. Move function bodies...
28449 * locale/programs/record-status.c: ... to here. New file.
28450 * iconv/Makefile (iconv_prog-modules): Add record-status.
28451 * locale/Makefile (lib-modules): Likewise.
28452 * iconv/iconv_prog.c: Remove verbose.
28453 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
28454 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
28455 record a warning about ASCII compatibility.
28456 * locale/programs/ld-monetary.c (monetary_finish): If
28457 warn_int_curr_symbol is true then record a warning about the symbol
28458 not being in our ISO 4217 list.
28459 * locale/programs/locale.c: Include record-status.h. Remove verbose.
28460 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
28461 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
28462 (OPT_NO_WARN): Define.
28463 (OPT_WARN): Define.
28464 (options): Add entry for --no-warnings, and --warnings.
28465 (set_warnings): New function to enable/disable warnings.
28466 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
28467 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
28468 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
28469 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
28470 Pass flags to generate_locale.
28471 (generate_locale): Accept new flag argument and pass it to localedef
28472 invocation.
28473 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
28474 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
28475
28476 * localedata/Makefile (test-input-data): Use full file name.
28477 * localedata/da_DK.in: Rename to...
28478 * localedata/da_DK.ISO-8859-1.in: ...this.
28479 * localedata/de_DE.in: Rename to...
28480 * localedata/de_DE.ISO-8859-1.in: ...this.
28481 * localedata/en_US.in: Rename to...
28482 * localedata/en_US.ISO-8859-1.in: ...this.
28483 * localedata/fr_FR.in: Rename to...
28484 * localedata/fr_FR.UTF-8.in: ... this.
28485 * localedata/hr_HR.in: Rename to...
28486 * localedata/hr_HR.ISO-8859-2.in: ...this.
28487 * localedata/hu_HU.in: Rename to...
28488 * localedata/hu_HU.UTF-8.in: ...this.
28489 * localedata/si_LK.in: Rename to...
28490 * localedata/si_LK.UTF-8.in: ...this.
28491 * localedata/sv_SE.in: Rename to...
28492 * localedata/sv_SE.ISO-8859-1.in: ...this.
28493 * localedata/tr_TR.in: Rename to...
28494 * localedata/tr_TR.UTF-8.in: ...this.
28495 * localedata/uk_UA.in: Rename to...
28496 * localedata/uk_UA.UTF-8.in: ...this.
28497 * localedata/sort-test.sh: Test file is locale name with the
28498 suffix.
28499
28500 * localedata/unicode-gen/Makefile (check_i18n): Rename to
28501 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
28502 file.
28503 * localedata/locales/i18n_ctype: Regenerate.
28504 * localedata/locales/tr_TR: Likewise.
28505 * localedata/locales/translit_circle: Likewise.
28506 * localedata/locales/translit_cjk_compat: Likewise.
28507 * localedata/locales/translit_combining: Likewise.
28508 * localedata/locales/translit_compat: Likewise.
28509 * localedata/locales/translit_font: Likewise.
28510 * localedata/locales/translit_fraction: Likewise.
28511
28512 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28513
28514 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
28515 lxvd2x/stxvd2x with lvx/stvx.
28516 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
28517
28518 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
28519
28520 * include/alloc_buffer.h: Replace "if if " with "if " in
28521 comments.
28522 * sysdeps/mips/memcpy.S: Likkewise.
28523 * sysdeps/mips/memset.S: Likewise.
28524 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
28525 Likewise.
28526 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
28527 Likewise.
28528 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
28529 Likewise.
28530
28531 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28532
28533 [BZ #15261]
28534 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
28535 yesexpr and noexpr.
28536 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
28537 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
28538 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
28539 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
28540 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
28541 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
28542 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
28543
28544 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28545
28546 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
28547 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
28548 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
28549 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
28550 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
28551 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
28552 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
28553 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
28554 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
28555 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
28556 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
28557 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
28558
28559 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28560
28561 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
28562 as possible for better readability of the source.
28563 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
28564 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
28565 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
28566 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
28567 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
28568 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
28569 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
28570 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
28571 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
28572 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
28573 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
28574 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
28575 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
28576 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
28577 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
28578 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
28579 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
28580 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
28581 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
28582 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
28583 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
28584 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
28585 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
28586 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
28587 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
28588 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
28589 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
28590 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
28591 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
28592 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
28593 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
28594 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
28595 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
28596 * localedata/locales/en_US (LC_MESSAGES): Likewise.
28597 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
28598 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
28599 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
28600 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
28601 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
28602 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
28603 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
28604 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
28605 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
28606 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
28607 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
28608 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
28609 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
28610 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
28611 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
28612 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
28613 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
28614 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
28615 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
28616 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
28617 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
28618 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
28619 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
28620 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
28621 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
28622 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
28623 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
28624 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
28625 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
28626 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
28627 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
28628 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
28629 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
28630 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
28631 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
28632 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
28633 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
28634 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
28635 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
28636 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
28637 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
28638 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
28639 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
28640 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
28641 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
28642 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
28643 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
28644 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
28645 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
28646 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
28647 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
28648 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
28649 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
28650 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
28651 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
28652 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
28653 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
28654 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
28655 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
28656 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
28657 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
28658 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
28659 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
28660 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
28661 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
28662 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
28663 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
28664 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
28665 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
28666 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
28667 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
28668 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
28669 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
28670 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
28671 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
28672 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
28673 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
28674 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
28675 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
28676 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
28677 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
28678 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
28679 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
28680 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
28681 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
28682 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
28683 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
28684 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
28685 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
28686 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
28687 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
28688 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
28689 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
28690 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
28691 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
28692 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
28693 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
28694 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
28695 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
28696 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
28697 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
28698 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
28699 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
28700 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
28701 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
28702 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
28703 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
28704 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
28705 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
28706 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
28707 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
28708 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
28709 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
28710 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
28711 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
28712 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
28713 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
28714 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
28715 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
28716 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
28717 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
28718 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
28719 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
28720 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
28721 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
28722 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
28723 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
28724 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
28725 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
28726 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
28727 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
28728 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
28729 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
28730 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
28731 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
28732 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
28733 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
28734 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
28735 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
28736 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
28737
28738 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28739
28740 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
28741 (Use first letters of yesstr and nostr correctly instead of using
28742 full words).
28743
28744 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28745
28746 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
28747 (Use first letters of yesstr and nostr correctly).
28748
28749 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28750
28751 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
28752 also check for the first characters of yesstr and nostr.
28753 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
28754 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
28755
28756 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28757
28758 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
28759 also check for Chinese characters.
28760
28761 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28762
28763 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
28764 match also for the contents of yesstr and nostr. As the first letter
28765 of yesstr and nostr is equal, checking only for the first letter
28766 is not enough.
28767
28768 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28769
28770 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
28771 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
28772
28773 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28774
28775 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
28776 of main contributor.
28777
28778 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28779
28780 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
28781 instead of using English.
28782
28783 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28784
28785 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
28786 by including the first letters of nostr and yesexpr in the regexp.
28787 Also make it more readable by using ASCII where possible.
28788
28789 2017-10-25 Mike FABIAN <mfabian@redhat.com>
28790
28791 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
28792 the first letter of nostr in the regexp. It agrees with CLDR now.
28793 Also make it more readable by using ASCII where possible.
28794
28795 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28796
28797 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
28798 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
28799 these strings contain a U+17D6 (which somewhat looks like a colon)
28800 instead of a real colon to separate the full words for “yes”
28801 and “no” from the single letter responses.
28802
28803 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28804
28805 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
28806 it agree with CLDR (include the first letter of yesstr).
28807 Also make it more readable by using ASCII where possible.
28808
28809 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28810
28811 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
28812 and improve yesexpr and noexpr. The yesstr and nostr apparently
28813 came from CLDR. And CLDR has a bug there: these strings contain
28814 a U+0903 (which looks like a colon) instead of a real colon
28815 to separate the full words for “yes” and “no” from the single
28816 letter responses.
28817
28818 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28819
28820 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
28821 letters of the full yesstr and nostr in yesexpr and noexpr.
28822
28823 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28824
28825 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
28826 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
28827 * localedata/locales/an_ES: Make source more readable by using ASCII
28828 where possible.
28829
28830 2017-10-24 Mike FABIAN <mfabian@redhat.com>
28831
28832 [BZ #20952]
28833 * localedata/locales/yuw_PG: New file.
28834 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
28835 * locale/iso-639.def: Add Yau (Uruwa).
28836
28837 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
28838
28839 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
28840
28841 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
28842
28843 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
28844 (__libc_realloc): Likewise.
28845 (_mid_memalign): Likewise.
28846 (__libc_calloc): Likewise.
28847
28848 2017-10-23 Mike FABIAN <mfabian@redhat.com>
28849
28850 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
28851 by adding the generic +1 and -0 as in all other locales.
28852 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
28853 day names and make it more readable by using ASCII where possible.
28854
28855 2017-10-24 Joseph Myers <joseph@codesourcery.com>
28856
28857 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
28858 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
28859
28860 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28861
28862 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
28863 WNOHANG in waitpid call.
28864
28865 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
28866
28867 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
28868 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
28869
28870 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
28871 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
28872 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
28873 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
28874 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
28875 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
28876 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
28877 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
28878 variables.
28879
28880 2017-10-23 Michael Collison <michael.collison@arm.com>
28881
28882 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
28883 with __builtin_sqrt.
28884 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
28885 with __builtin_sqrtf.
28886 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
28887 with __builtin_ceil.
28888 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
28889 with __builtin_ceilf.
28890 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
28891 with __builtin_floor.
28892 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
28893 with __builtin_floorf.
28894 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
28895 with __builtin_fma.
28896 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
28897 with __builtin_fmaf.
28898 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
28899 with __builtin_fmax.
28900 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
28901 with __builtin_fmaxf.
28902 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
28903 with __builtin_fmin.
28904 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
28905 with __builtin_fminf.
28906 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
28907 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
28908 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
28909 with builtin_rint and conversion to int.
28910 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
28911 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
28912 with builtin_llround.
28913 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
28914 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
28915 with builtin_rint and conversion to long int.
28916 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
28917 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
28918 with builtin_lround.
28919 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
28920 with builtin_lroundf.
28921 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
28922 statements with __builtin_nearbyint.
28923 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
28924 statements with __builtin_nearbyintf.
28925 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
28926 with __builtin_rint.
28927 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
28928 with __builtin_rintf.
28929 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
28930 with __builtin_round.
28931 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
28932 with __builtin_roundf.
28933 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
28934 with __builtin_trunc.
28935 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
28936 with __builtin_truncf.
28937 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
28938 and s_l[l]round[f].c too.
28939
28940 2017-10-23 Alan Modra <amodra@gmail.com>
28941
28942 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
28943 Adjust stack after restoring regs. Add missing LR cfi_restore.
28944
28945 2017-10-23 Alan Modra <amodra@gmail.com>
28946
28947 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
28948 Move LR save and frame setup/teardown and LR restore to
28949 immediately around memset call. Provide cfi.
28950
28951 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28952
28953 * sysdeps/i386/fpu/e_powf.S: Removed.
28954 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
28955 * sysdeps/i386/fpu/w_powf.c: Likewise.
28956 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
28957 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28958 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28959 Add e_powf-sse2.
28960 (CFLAGS-e_powf-sse2.c): New.
28961 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
28962 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
28963
28964 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28965
28966 * sysdeps/i386/fpu/e_log2f.S: Removed.
28967 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
28968 * sysdeps/i386/fpu/w_log2f.c: Likewise.
28969 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
28970 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28971 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
28972 Add e_log2f-sse2.
28973 (CFLAGS-e_log2f-sse2.c): New.
28974 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
28975 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
28976
28977 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28978
28979 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28980 Add e_powf-fma.
28981 (CFLAGS-e_powf-fma.c): New.
28982 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
28983 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
28984
28985 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28986
28987 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28988 Add e_log2f-fma.
28989 (CFLAGS-e_log2f-fma.c): New.
28990 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
28991 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
28992
28993 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
28994
28995 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28996 Add e_logf-fma.
28997 (CFLAGS-e_logf-fma.c): New.
28998 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
28999 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
29000
29001 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29002
29003 * sysdeps/i386/fpu/e_logf.S: Removed.
29004 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
29005 * sysdeps/i386/fpu/w_logf.c: Likewise.
29006 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
29007 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
29008 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29009 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29010 Add e_logf-sse2.
29011 (CFLAGS-e_logf-sse2.c): New.
29012 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
29013 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
29014
29015 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29016
29017 * sysdeps/i386/fpu/e_exp2f.S: Removed.
29018 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
29019 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
29020 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29021 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29022 Add e_exp2f-sse2.
29023 (CFLAGS-e_exp2f-sse2.c): New.
29024 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
29025 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
29026
29027 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29028
29029 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29030 Add e_exp2f-fma.
29031 (CFLAGS-e_exp2f-fma.c): New.
29032 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
29033 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
29034
29035 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29036
29037 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
29038 * sysdeps/i386/fpu/e_expf.S: Likewise.
29039 * sysdeps/i386/fpu/math_errf.c: Likewise.
29040 * sysdeps/i386/fpu/w_expf.c: Likewise.
29041 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
29042 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29043 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
29044 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
29045 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29046 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29047 Remove e_expf-ia32.
29048 (CFLAGS-e_expf-sse2.c): New.
29049 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
29050 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
29051
29052 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29053
29054 * sysdeps/x86_64/fpu/e_expf.S: Removed.
29055 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
29056 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
29057 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
29058 e_expf.c.
29059 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
29060 New.
29061 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
29062 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
29063 Renamed to ...
29064 (__redirect_expf): This.
29065 (SYMBOL_NAME): Changed to expf.
29066 (__ieee754_expf): Renamed to ...
29067 (__expf): This.
29068 (__GI___expf): This.
29069 (__ieee754_expf): Add strong_alias.
29070 (__expf_finite): Likewise.
29071 (__expf): New.
29072 Include <sysdeps/ieee754/flt-32/e_expf.c>.
29073
29074 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
29075
29076 [BZ #22332]
29077 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
29078 unescaping.
29079
29080 2017-10-21 Florian Weimer <fweimer@redhat.com>
29081
29082 * posix/Makefile (tests): Add tst-glob-tilde.
29083 (tests-special): Add tst-glob-tilde-mem.out
29084 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
29085 (tst-glob-tilde-mem.out): Add mtrace check.
29086 * posix/tst-glob-tilde.c: New file.
29087
29088 2017-10-20 Joseph Myers <joseph@codesourcery.com>
29089
29090 * bits/floatn-common.h: New file.
29091 * math/Makefile (headers): Add bits/floatn-common.h.
29092 * bits/floatn.h: Include <bits/floatn-common.h>.
29093 * sysdeps/ia64/bits/floatn.h: Likewise.
29094 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
29095 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
29096 * sysdeps/powerpc/bits/floatn.h: Likewise.
29097 * sysdeps/x86/bits/floatn.h: Likewise.
29098
29099 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29100
29101 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
29102 indicates whether compiler emits an warning for alias for
29103 functions with incompatible types.
29104
29105 [BZ #22273]
29106 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
29107 the auxiliary process is terminated by a signal before calling _exit
29108 or execve.
29109
29110 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
29111
29112 [BZ #21265]
29113 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
29114 New.
29115 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
29116 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
29117 and bit_arch_XSAVEC_Usable if needed.
29118 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
29119 and bit_arch_Use_dl_runtime_resolve_opt.
29120 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
29121 Removed.
29122 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
29123 (bit_arch_Prefer_No_AVX512): Updated.
29124 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
29125 (bit_arch_XSAVEC_Usable): New.
29126 (STATE_SAVE_OFFSET): Likewise.
29127 (STATE_SAVE_MASK): Likewise.
29128 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
29129 (cpu_features): Add xsave_state_size and xsave_state_full_size.
29130 (index_arch_Use_dl_runtime_resolve_opt): Removed.
29131 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
29132 (index_arch_XSAVEC_Usable): New.
29133 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
29134 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
29135 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
29136 is enabled.
29137 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
29138 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
29139 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
29140 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
29141 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
29142 _dl_runtime_resolve_xsavec.
29143 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
29144 Removed.
29145 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
29146 instead of VEC_SIZE.
29147 (REGISTER_SAVE_BND0): Removed.
29148 (REGISTER_SAVE_BND1): Likewise.
29149 (REGISTER_SAVE_BND3): Likewise.
29150 (REGISTER_SAVE_RAX): Always defined to 0.
29151 (VMOV): Removed.
29152 (_dl_runtime_resolve_avx): Likewise.
29153 (_dl_runtime_resolve_avx_slow): Likewise.
29154 (_dl_runtime_resolve_avx_opt): Likewise.
29155 (_dl_runtime_resolve_avx512): Likewise.
29156 (_dl_runtime_resolve_avx512_opt): Likewise.
29157 (_dl_runtime_resolve_sse): Likewise.
29158 (_dl_runtime_resolve_sse_vex): Likewise.
29159 (USE_FXSAVE): New.
29160 (_dl_runtime_resolve_fxsave): Likewise.
29161 (USE_XSAVE): Likewise.
29162 (_dl_runtime_resolve_xsave): Likewise.
29163 (USE_XSAVEC): Likewise.
29164 (_dl_runtime_resolve_xsavec): Likewise.
29165 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
29166 Removed.
29167 (_dl_runtime_resolve_avx512_opt): Likewise.
29168 (_dl_runtime_resolve_avx): Likewise.
29169 (_dl_runtime_resolve_avx_opt): Likewise.
29170 (_dl_runtime_resolve_sse): Likewise.
29171 (_dl_runtime_resolve_sse_vex): Likewise.
29172 (_dl_runtime_resolve_fxsave): New.
29173 (_dl_runtime_resolve_xsave): Likewise.
29174 (_dl_runtime_resolve_xsavec): Likewise.
29175
29176 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
29177
29178 [BZ #22320]
29179 CVE-2017-15670
29180 * posix/glob.c (__glob): Fix one-byte overflow.
29181
29182 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
29183
29184 * malloc/malloc.c (sysdep-cancel.h): Add include.
29185
29186 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
29187
29188 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
29189
29190 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
29191
29192 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
29193 (tests): Remove $(objpfx)ga_test depdendency.
29194 * resolv/ga_test.c: Remove file.
29195
29196 2017-10-20 Mike FABIAN <mfabian@redhat.com>
29197
29198 [BZ #18812]
29199 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
29200 * localedata/locales/kab_DZ: New file.
29201
29202 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
29203
29204 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
29205 _dl_relocate_static_pie instead of _dl_start to compute load
29206 address in static PIE.
29207
29208 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
29209
29210 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
29211
29212 2017-10-20 Mike FABIAN <mfabian@redhat.com>
29213
29214 [BZ #13605]
29215 * localedata/SUPPORTED: Add shn_MM/UTF-8.
29216 * localedata/locales/shn_MM: New file.
29217
29218 2017-10-20 Florian Weimer <fweimer@redhat.com>
29219
29220 [BZ #22321]
29221 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
29222 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
29223 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
29224 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
29225 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
29226 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
29227
29228 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
29229
29230 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29231
29232 2017-10-19 Joseph Myers <joseph@codesourcery.com>
29233
29234 * sysdeps/mips/ieee754/bits/floatn.h: New file.
29235
29236 [BZ #22322]
29237 * sysdeps/mips/bits/long-double.h: Move to ....
29238 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
29239
29240 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
29241
29242 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
29243
29244 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
29245 H.J. Lu <hongjiu.lu@intel.com>
29246
29247 [BZ #22299]
29248 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
29249 GLRO(dl_platform) to NULL.
29250 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
29251 (modules-names): Add tst-platformmod-1 and
29252 x86_64/tst-platformmod-2.
29253 (CFLAGS-tst-platform-1.c): New.
29254 (CFLAGS-tst-platformmod-1.c): Likewise.
29255 (CFLAGS-tst-platformmod-2.c): Likewise.
29256 (LDFLAGS-tst-platformmod-2.so): Likewise.
29257 ($(objpfx)tst-platform-1): Likewise.
29258 ($(objpfx)tst-platform-1.out): Likewise.
29259 (tst-platform-1-ENV): Likewise.
29260 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
29261 * sysdeps/x86_64/tst-platform-1.c: New file.
29262 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
29263 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
29264
29265 2017-10-19 Mike FABIAN <mfabian@redhat.com>
29266
29267 [BZ #13994]
29268 * locale/iso-639.def: Add Karbi.
29269 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
29270 * localedata/locales/mjw_IN: New file.
29271
29272 2017-10-18 Joseph Myers <joseph@codesourcery.com>
29273
29274 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
29275 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
29276 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
29277 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
29278 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
29279 (libm_alias_ldouble_other_r): Also create _Float128 alias.
29280 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
29281 <bits/floatn.h>.
29282 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
29283 (libm_alias_ldouble_other_r): Also create _Float128 alias.
29284 * manual/math.texi (Mathematics): Document additional architecture
29285 support for _Float128.
29286 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
29287 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
29288 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
29289 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29290 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29291 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
29292 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
29293 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
29294 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29295 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
29296 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29297 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
29298 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29299 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
29300 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29301
29302 2017-10-18 Renlin Li <renlin.li@arm.com>
29303
29304 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
29305 _DYNAMIC symbol to calculate load address.
29306
29307 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
29308
29309 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
29310 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
29311 summary bits.
29312 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
29313 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
29314
29315 2017-10-18 Mike FABIAN <mfabian@redhat.com>
29316
29317 [BZ #16777]
29318 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
29319 and improve readability by using more ASCII.
29320 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
29321 and improve readability by using more ASCII.
29322
29323 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
29324
29325 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
29326 not all targets support atomics on bool.
29327
29328 2017-10-17 Joseph Myers <joseph@codesourcery.com>
29329
29330 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
29331 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
29332 __f128.
29333 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
29334 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
29335 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
29336 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
29337 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
29338 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
29339
29340 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29341
29342 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
29343 defines.
29344
29345 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
29346
29347 [BZ #22159]
29348 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
29349 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
29350 (do_check_remalloced_chunk): Fix build bug.
29351 (do_check_malloc_state): Add assert that checks arena->top.
29352 (malloc_consolidate): Remove initialization.
29353 (int_mallinfo): Remove call to malloc_consolidate.
29354 (__libc_mallopt): Clarify why malloc_consolidate is needed.
29355
29356 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
29357
29358 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
29359 (have_fastchunks): Remove.
29360 (clear_fastchunks): Remove.
29361 (set_fastchunks): Remove.
29362 (malloc_state): Add have_fastchunks.
29363 (malloc_init_state): Use have_fastchunks.
29364 (do_check_malloc_state): Remove incorrect invariant checks.
29365 (_int_malloc): Use have_fastchunks.
29366 (_int_free): Likewise.
29367 (malloc_consolidate): Likewise.
29368
29369 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
29370
29371 * malloc/malloc.c (tcache_put): Inline.
29372 (tcache_get): Inline.
29373
29374 2017-10-17 Jordi Mallach <jordi@gnu.org>
29375
29376 Aurelien Jarno <aurelien@aurel32.net>
29377 [BZ #2522]
29378 * localedata/locales/ca_ES@valencia: New file.
29379 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
29380
29381 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
29382
29383 [BZ #22296]
29384 * math/math.h: Let signbit use the builtin in C++ mode with gcc
29385 < 6.x
29386
29387 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29388
29389 * scripts/build-many-glibcs.py (Context.add_all_configs):
29390 Add arm-linux-gnueabihf multiarch extra_glibcs.
29391
29392 * sysdeps/generic/ifunc-init.h: New file.
29393 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
29394
29395 2017-10-17 Mike FABIAN <mfabian@redhat.com>
29396
29397 [BZ #22019]
29398 * localedata/locales/el_GR: Set n_cs_precedes to 0.
29399 * localedata/locales/el_CY: copy "el_GR" because it is identical.
29400 * stdlib/tst-strfmon_l.c: adapt test case.
29401
29402 2017-10-16 Joseph Myers <joseph@codesourcery.com>
29403
29404 * sysdeps/generic/float128-abi.h: New file.
29405 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
29406 non-__prefixed symbols to ....
29407 * math/Versions: ... here. Include <float128-abi.h>.
29408 * stdlib/Versions ... and here. Include <float128-abi.h>
29409
29410 2017-10-16 Florian Weimer <fweimer@redhat.com>
29411
29412 * version.h (VERSION): Switch to ".9000" as the development
29413 version suffix.
29414
29415 2017-10-16 Florian Weimer <fweimer@redhat.com>
29416
29417 [BZ #22050]
29418 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
29419 compat_symbol_reference to access non-default version.
29420
29421 2017-10-16 Florian Weimer <fweimer@redhat.com>
29422
29423 * malloc/Makefile (others-extras): Set to mcheck-init.o.
29424
29425 2017-10-16 Carlos O'Donell <carlos@redhat.com>
29426
29427 * include/shlib-compat.h (compat_symbol_reference): Update
29428 comment.
29429
29430 2017-10-16 Joseph Myers <joseph@codesourcery.com>
29431
29432 * math/Makefile (test-types): Add
29433 $(type-float128-$(float128-alias-fcts)).
29434 * math/test-float128.h (TYPE_STR): Define conditional on
29435 [FLT128_MANT_DIG == LDBL_MANT_DIG].
29436 (ULP_IDX): Likewise.
29437 (ULP_I_IDX): Likewise.
29438
29439 * stdlib/strtold.c: Include <bits/floatn.h>
29440 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
29441 and later undefine as macro. Define as weak alias if
29442 [!USE_WIDE_CHAR].
29443 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
29444 and later undefine as macro. Define as weak alias if
29445 [USE_WIDE_CHAR].
29446 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
29447 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
29448 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
29449 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
29450 Define and later undefine as macro. Define as weak alias if
29451 [USE_WIDE_CHAR].
29452 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
29453 <bits/floatn.h>.
29454 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
29455 Define and later undefine as macro. Define as weak alias if
29456 [!USE_WIDE_CHAR].
29457 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
29458 Define and later undefine as macro. Define as weak alias if
29459 [USE_WIDE_CHAR].
29460
29461 2017-10-15 Carlos O'Donell <carlos@redhat.com>
29462
29463 * localedata/collate-test.c (allocate_arrays): Don't use \n in
29464 record_verbose messages.
29465
29466 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
29467
29468 [BZ #22052]
29469 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
29470 to silence -O3 -Wall warning with GCC 7.
29471
29472 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
29473
29474 * Makeconfig (+link-static-before-libc): Use the first of
29475 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
29476 * gmon/Makefile (tests): Add tst-gmon-static.
29477 (tests-static): Likewise.
29478 (CFLAGS-tst-gmon-static.c): New.
29479 (CRT-tst-gmon-static): Likewise.
29480 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
29481 (tst-gmon-static-ENV): Likewise.
29482 (tests-special): Likewise.
29483 ($(objpfx)tst-gmon-static.out): Likewise.
29484 (clean-tst-gmon-static-data): Likewise.
29485 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
29486 * gmon/tst-gmon-static-gprof.sh: New file.
29487 * gmon/tst-gmon-static.c: Likewise.
29488
29489 2017-10-13 Carlos O'Donell <carlos@redhat.com>
29490
29491 [BZ #22295]
29492 * locale/programs/linereader.c (get_string): Don't warn on
29493 non-symbolic character.
29494
29495 [BZ #22294]
29496 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
29497 int_curr_symbol.
29498
29499 [BZ #22292]
29500 * locale/programs/record-status.h: New file
29501 * locale/programs/locale.c: Add comment.
29502 * locale/programs/charmap-dir.c: Don't include error.h.
29503 (charmap_opendir): Use record_error.
29504 * locale/programs/charmap.c: Don't include error.h.
29505 (charmap_read): Use record_error, and record_warning.
29506 (parse_charmap): Likewise.
29507 * locale/programs/ld-address.c: Don't include error.h.
29508 (address_finish): Use record_error, and record_warning.
29509 * locale/programs/ld-collate.c: Don't include error.h.
29510 (collate_finish): Use record_error, and record_error_at_line.
29511 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
29512 (ctype_class_new): Likewise.
29513 (ctype_map_new): Likewise.
29514 (set_one_default): Likewise.
29515 (set_class_defaults): Likewise.
29516 (translit_flatten): Likewise.
29517 (allocate_arrays): Use record_error, and record_verbose.
29518 * locale/programs/ld-identification.c: Don't include error.h.
29519 (indentation_finish): Use record_error and record_warning.
29520 * locale/programs/ld-measurement.c: Don't include error.h.
29521 (measurement_finish): Use record_error.
29522 * locale/programs/ld-messages.c
29523 (message_finish): Likewise.
29524 * locale/programs/ld-monetary.c
29525 (monetary_finish): Likewise.
29526 * locale/programs/ld-name.c (name_finish): Use record_error
29527 and record_warning.
29528 * locale/programs/ld-numeric.c
29529 (numeric_finish): Use record_error.
29530 * locale/programs/ld-paper.c: Don't include error.h.
29531 (paper_finish): Use record_error.
29532 * locale/programs/ld-telephone.c: Don't include error.h.
29533 (telephone_finish): Use record_error.
29534 * locale/programs/ld-time.c (time_finish): Likewise.
29535 * locale/programs/linereader.h (lr_error): Make inline func.
29536 * locale/programs/localedef.c: Define recorded_warning_count,
29537 and recorded_error_count.
29538 (main): Use record_error. Use recorded_error_count and
29539 recorded_warning_count to issue correct error returns.
29540 (add_to_readlist): Use record_error.
29541 (find_locale): Likewise.
29542 (load_locale): Likewise.
29543 * locale/programs/localedef.h: Remove be_quiet
29544 and WITH_CUR_LOCALE.
29545 * locale/programs/locarchive.c (compare_from_file): Use
29546 record_error.
29547 * locale/programs/locfile.c (write_locale_data): Use
29548 record_error.
29549 * locale/programs/repertoire.c: Dont include error.h.
29550 (repertoire_complain): Use record_error.
29551 * localedata/tst-fmon.sh: Expect failures from localedef.
29552 * localedata/tst-locale.sh: Likewise.
29553 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
29554
29555 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
29556 (REPORTS): Likewise.
29557 (check): Likewise.
29558 (i18n): Rename to...
29559 (i18n_ctype): ...this.
29560 (i18n-report): Rename to...
29561 (i18n_ctype-report): ...this.
29562 * localedata/locales/i18n_ctype: Regenerate.
29563 * localedata/locales/i18n: copy i18n_ctype.
29564
29565 2017-10-13 Joseph Myers <joseph@codesourcery.com>
29566
29567 * stdlib/strfroml.c: Include <bits/floatn.h>.
29568 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
29569 Define before include of <stdlib.h> and undefine afterwards, then
29570 define as weak alias.
29571
29572 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
29573 Undefine and restore default definition. Use
29574 libm_alias_ldouble_other.
29575
29576 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
29577
29578 [BZ #22153]
29579 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
29580 in coredumps.
29581
29582 2017-10-13 James Clarke <jrtc27@jrtc27.com>
29583
29584 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29585 Assign sym_map to be map for local symbols, as TLS relocations
29586 use sym_map to determine whether the symbol is defined and to
29587 extract the TLS information.
29588 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
29589 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29590
29591 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29592
29593 [BZ #22189]
29594 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
29595 (math_force_eval): Add powerpc version.
29596
29597 [BZ #22142]
29598 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
29599 -DBL_MAX.
29600 (do_test): Likewise.
29601 * stdio-common/tst-printf.sh: Likewise.
29602 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
29603 ifdef clause in order to set the carry bit right. Replace r0 by
29604 0 without changing the behavior.
29605
29606 2017-10-13 Joseph Myers <joseph@codesourcery.com>
29607
29608 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
29609 <libm-alias-ldouble.h>.
29610 (fabsl): Define using libm_alias_ldouble.
29611 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
29612 <libm-alias-ldouble.h>.
29613 (fabsl): Define using libm_alias_ldouble.
29614
29615 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
29616 Remove conditional code.
29617
29618 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
29619 Rename to __clog10_internal_l.
29620 (__clog10_internal_l): Define aliases using
29621 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
29622 with __clog10.
29623
29624 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29625
29626 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
29627 * benchtests/sincosf-inputs: New file.
29628 * benchtests/cosf-inputs: New file.
29629 * benchtests/sinf-inputs: New file.
29630
29631 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
29632
29633 * posix/tst-spawn.c (do_test): Wait for both children.
29634
29635 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
29636
29637 [BZ #22284]
29638 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
29639 tests-pie): Add tst-gmon-pie.
29640 (CFLAGS-tst-gmon-pie.c): New.
29641 (CRT-tst-gmon-pie): Likewise.
29642 (tst-gmon-pie-ENV): Likewise.
29643 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
29644 ($(objpfx)tst-gmon-pie.out): Likewise.
29645 (clean-tst-gmon-pie-data): Likewise.
29646 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
29647 * gmon/gmon.c [PIC]: Include <link.h>.
29648 [PIC] (callback): New function.
29649 (write_hist): Add an argument for load address. Subtract load
29650 address from PCs.
29651 (write_call_graph): Likewise.
29652 (write_gmon): Call __dl_iterate_phdr to get load address, pass
29653 it to write_hist and write_call_graph.
29654 * gmon/tst-gmon-pie.c: New file.
29655
29656 2017-10-11 Joseph Myers <joseph@codesourcery.com>
29657
29658 * math/Makefile (test-types-basic): New variable.
29659 (test-types): Likewise.
29660 (libm-test-support): Use $(test-types) instead of $(types).
29661 (libm-tests-base-normal): Likewise.
29662 (libm-tests-base-finite): Likewise.
29663 (libm-tests-base-inline): Likewise.
29664 (generated): Likewise.
29665 ($(objpfx)libm-test-support-$(t).c): Likewise.
29666 (libm-tests-for-type iterator): Likewise.
29667 (libm-test-support iterator): Likewise.
29668 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
29669 (ulp_idx): Use ULP_IDX.
29670 * math/test-ldouble.h: Include <float.h>.
29671 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
29672 (ULP_IDX): New macro.
29673 (ULP_I_IDX): Likewise.
29674 * math/test-double.h (ULP_IDX): Likewise.
29675 (ULP_I_IDX): Likewise.
29676 * math/test-float.h (ULP_IDX): Likewise.
29677 (ULP_I_IDX): Likewise.
29678 * math/test-float128.h (ULP_IDX): Likewise.
29679 (ULP_I_IDX): Likewise.
29680
29681 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29682
29683 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
29684 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
29685 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
29686 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
29687 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
29688 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
29689 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
29690 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
29691 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
29692 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
29693 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
29694 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
29695 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
29696 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29697 (SINGLE_THREAD_BY_GLOBAL): Define.
29698 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
29699 Likewise.
29700 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
29701 Likewise.
29702 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
29703 Likewise.
29704 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
29705 Likewise.
29706 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
29707 (SINGLE_THREAD_BY_GLOBAL): Likewise.
29708 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
29709 Likewise.
29710
29711 2017-10-11 Andreas Schwab <schwab@suse.de>
29712
29713 * nis/Makefile (aux): Remove.
29714 * nscd/Makefile (aux): Add nscd_hash.
29715 (nscd-modules): Likewise.
29716 ($(objpfx)nscd): Don't depend on libnsl.
29717 * nscd/nscd_hash.c: New file.
29718 * nscd/nscd_hash.h: Likewise.
29719 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
29720 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
29721 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
29722 instead of <nis/rpcsvc/nis.h>.
29723 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
29724
29725 2017-10-11 Florian Weimer <fweimer@redhat.com>
29726
29727 [BZ #22078]
29728 Avoid large NSS buffers with many addresses, aliases.
29729 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
29730 using dynarrays and struct alloc_buffer.
29731 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
29732 (tst-nss-files-hosts-multi): Link with -ldl.
29733 * nss/tst-nss-files-hosts-multi.c: New file.
29734
29735 2017-10-11 Florian Weimer <fweimer@redhat.com>
29736
29737 [BZ #18023]
29738 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
29739 scratch_buffer. Eliminate gotos.
29740
29741 2017-10-11 Joseph Myers <joseph@codesourcery.com>
29742
29743 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
29744 libm_alias_ldouble_other.
29745 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
29746 undefine and redefine.
29747 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
29748 (exp10l): Do not define here.
29749 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
29750 (weak_alias): Undefine and redefine.
29751 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
29752 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
29753 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
29754 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
29755
29756 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
29757 [!__fma] (fma): Define using libm_alias_double.
29758 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
29759 [!__fmaf] (fmaf): Define using libm_alias_float.
29760 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
29761 (fmal): Define using libm_alias_ldouble.
29762
29763 2017-10-10 Joseph Myers <joseph@codesourcery.com>
29764
29765 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
29766 New macro.
29767 (libm_alias_double_other): Likewise.
29768 (libm_alias_double_r): Use libm_alias_double_other_r.
29769 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
29770 New macro.
29771 (libm_alias_float_other): Likewise.
29772 (libm_alias_float_r): Use libm_alias_float_other_r.
29773 * sysdeps/generic/libm-alias-float128.h
29774 (libm_alias_float128_other_r): New macro.
29775 (libm_alias_float128_other): Likewise.
29776 (libm_alias_float128_r): Use libm_alias_float128_other_r.
29777 * sysdeps/generic/libm-alias-ldouble.h
29778 (libm_alias_ldouble_other_r): New macro.
29779 (libm_alias_ldouble_other): Likewise.
29780 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
29781 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
29782 (libm_alias_double_other_r): New macro.
29783 (libm_alias_double_other): Likewise.
29784 (libm_alias_double_r): Use libm_alias_double_other_r.
29785 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
29786 (libm_alias_ldouble_other_r): New macro.
29787 (libm_alias_ldouble_other): Likewise.
29788 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
29789 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
29790 [!USE_AS_COMPAT]: Use libm_alias_double_other.
29791 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
29792 [!USE_AS_COMPAT]: Use libm_alias_float_other.
29793 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
29794 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
29795 * math/w_exp2f.c: Use libm_alias_float_other.
29796 * math/w_expf.c: Likewise.
29797 * math/w_log2f.c: Likewise.
29798 * math/w_logf.c: Likewise.
29799 * math/w_powf.c: Likewise.
29800 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
29801 [!__exp2f]: Use libm_alias_float_other.
29802 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
29803 [!__expf]: Use libm_alias_float_other.
29804 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
29805 [!__log2f]: Use libm_alias_float_other.
29806 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
29807 [!__logf]: Use libm_alias_float_other.
29808 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
29809 [!__powf]: Use libm_alias_float_other.
29810
29811 2017-10-10 Florian Weimer <fweimer@redhat.com>
29812
29813 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
29814 function.
29815 (_nss_files_gethostbyname3_r): Call it.
29816
29817 2017-10-09 Joseph Myers <joseph@codesourcery.com>
29818
29819 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
29820 error. Remove default definition of declare_mgen_alias.
29821 [!declare_mgen_alias_r]: Likewise.
29822 * sysdeps/generic/math-type-macros-double.h
29823 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
29824 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
29825 (declare_mgen_alias_r): Likewise.
29826 * sysdeps/generic/math-type-macros-float128.h
29827 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
29828 * sysdeps/generic/math-type-macros-ldouble.h
29829 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
29830 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
29831 macro.
29832 (declare_mgen_alias_r_s): Likewise.
29833 (declare_mgen_alias_r): Likewise.
29834 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
29835 (lgamma_r): Define using libm_alias_double_r.
29836 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
29837 (lgammaf_r): Define using libm_alias_float_r.
29838 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
29839 (lgammal_r): Define using libm_alias_ldouble_r.
29840 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
29841 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
29842
29843 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29844
29845 * lib/glob.c (__glob_pattern_type): Remove now-spurious
29846 extern declaration.
29847
29848 2017-10-09 Joseph Myers <joseph@codesourcery.com>
29849
29850 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
29851
29852 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
29853
29854 [BZ #21326]
29855 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
29856 [__cplusplus >= 201103] (__USE_ISOC99): Define.
29857 * math/Makefile (test-math-cxx11): New test.
29858 * math/test-math-cxx11.cc: New file.
29859
29860 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
29861
29862 * login/openpty.c (openpty): Close slave pty file descriptor on error.
29863
29864 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
29865 call to allocate the slave pty file descriptor.
29866
29867 2017-10-06 Joseph Myers <joseph@codesourcery.com>
29868
29869 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
29870 [!__fma] (fma): Define using libm_alias_double.
29871 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
29872 [!__fma] (fma): Define using libm_alias_double.
29873
29874 * sysdeps/ieee754/float128/float128_private.h: Include
29875 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
29876 (libm_alias_ldouble_r): Undefine and redefine.
29877 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
29878 <libm-alias-ldouble.h>.
29879 (asinhl): Define using libm_alias_ldouble.
29880 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
29881 <libm-alias-ldouble.h>.
29882 (atanl): Define using libm_alias_ldouble.
29883 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
29884 <libm-alias-ldouble.h>.
29885 (cbrtl): Define using libm_alias_ldouble.
29886 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
29887 <libm-alias-ldouble.h>.
29888 (ceill): Define using libm_alias_ldouble.
29889 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
29890 <libm-alias-ldouble.h>.
29891 (copysignl): Define using libm_alias_ldouble.
29892 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
29893 <libm-alias-ldouble.h>.
29894 (cosl): Define using libm_alias_ldouble.
29895 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
29896 <libm-alias-ldouble.h>.
29897 (erfl): Define using libm_alias_ldouble.
29898 (erfcl): Likewise.
29899 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
29900 <libm-alias-ldouble.h>.
29901 (expm1l): Define using libm_alias_ldouble.
29902 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
29903 <libm-alias-ldouble.h>.
29904 (fabsl): Define using libm_alias_ldouble.
29905 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
29906 <libm-alias-ldouble.h>.
29907 (floorl): Define using libm_alias_ldouble.
29908 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
29909 <libm-alias-ldouble.h>.
29910 (fmal): Define using libm_alias_ldouble.
29911 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
29912 <libm-alias-ldouble.h>.
29913 (frexpl): Define using libm_alias_ldouble.
29914 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
29915 libm_alias_ldouble.
29916 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
29917 <libm-alias-ldouble.h>.
29918 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
29919 libm_alias_ldouble.
29920 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
29921 <libm-alias-ldouble.h>.
29922 (getpayloadl): Define using libm_alias_ldouble.
29923 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
29924 <libm-alias-ldouble.h>.
29925 (llrintl): Define using libm_alias_ldouble.
29926 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
29927 <libm-alias-ldouble.h>.
29928 (llroundl): Define using libm_alias_ldouble.
29929 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
29930 <libm-alias-ldouble.h>.
29931 (logbl): Define using libm_alias_ldouble.
29932 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
29933 <libm-alias-ldouble.h>.
29934 (lrintl): Define using libm_alias_ldouble.
29935 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
29936 <libm-alias-ldouble.h>.
29937 (lroundl): Define using libm_alias_ldouble.
29938 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
29939 <libm-alias-ldouble.h>.
29940 (modfl): Define using libm_alias_ldouble.
29941 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
29942 <libm-alias-ldouble.h>.
29943 (nearbyintl): Define using libm_alias_ldouble.
29944 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
29945 <libm-alias-ldouble.h>.
29946 (nextafterl): Define using libm_alias_ldouble.
29947 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
29948 <libm-alias-ldouble.h>.
29949 (nextupl): Define using libm_alias_ldouble.
29950 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
29951 <libm-alias-ldouble.h>.
29952 (remquol): Define using libm_alias_ldouble.
29953 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
29954 <libm-alias-ldouble.h>.
29955 (rintl): Define using libm_alias_ldouble.
29956 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
29957 <libm-alias-ldouble.h>.
29958 (roundevenl): Define using libm_alias_ldouble.
29959 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
29960 <libm-alias-ldouble.h>.
29961 (roundl): Define using libm_alias_ldouble.
29962 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
29963 using libm_alias_ldouble.
29964 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
29965 <libm-alias-ldouble.h>.
29966 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
29967 Define using libm_alias_ldouble.
29968 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
29969 <libm-alias-ldouble.h>.
29970 (sincosl): Define using libm_alias_ldouble.
29971 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
29972 <libm-alias-ldouble.h>.
29973 (sinl): Define using libm_alias_ldouble.
29974 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
29975 <libm-alias-ldouble.h>.
29976 (tanhl): Define using libm_alias_ldouble.
29977 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
29978 <libm-alias-ldouble.h>.
29979 (tanl): Define using libm_alias_ldouble.
29980 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
29981 <libm-alias-ldouble.h>.
29982 (totalorderl): Define using libm_alias_ldouble.
29983 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
29984 <libm-alias-ldouble.h>.
29985 (totalordermagl): Define using libm_alias_ldouble.
29986 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
29987 <libm-alias-ldouble.h>.
29988 (truncl): Define using libm_alias_ldouble.
29989 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
29990 libm_alias_ldouble.
29991 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
29992 libm_alias_ldouble.
29993 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
29994 <libm-alias-ldouble.h>.
29995 (weak_alias): Do not undefine and redefine.
29996 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
29997 (copysignl): Define with long_double_symbol only if [IS_IN
29998 (libc)].
29999 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
30000 <libm-alias-ldouble.h>.
30001 (weak_alias): Do not undefine and redefine.
30002 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
30003 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
30004 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
30005 <libm-alias-ldouble.h>.
30006 (weak_alias): Do not undefine and redefine.
30007 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
30008 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
30009 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
30010 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
30011 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
30012 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
30013 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
30014 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
30015 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
30016 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
30017 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
30018 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
30019 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
30020 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
30021 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
30022 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
30023 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
30024 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
30025 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
30026 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
30027 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
30028 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
30029 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
30030 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
30031 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
30032 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
30033
30034 2017-10-06 Carlos O'Donell <carlos@redhat.com>
30035
30036 [BZ #22111]
30037 * malloc/malloc.c (tcache_shutting_down): Use bool type.
30038 (tcache_thread_freeres): Set tcache_shutting_down before
30039 freeing the tcache.
30040 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
30041 * malloc/tst-malloc-tcache-leak.c: New file.
30042
30043 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30044
30045 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
30046 back to powerpc32 file.
30047 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
30048 (memrchr): Add __memrchr_power8 to ifunc list.
30049 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
30050 extra bytes for unaligned inputs.
30051
30052 2017-10-06 Joseph Myers <joseph@codesourcery.com>
30053
30054 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
30055 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
30056 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
30057 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
30058 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
30059
30060 2017-10-05 Joseph Myers <joseph@codesourcery.com>
30061
30062 * sysdeps/arm/libm-test-ulps: Update.
30063
30064 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
30065 <libm-alias-ldouble.h>.
30066 (asinhl): Define using libm_alias_ldouble.
30067 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
30068 <libm-alias-ldouble.h>.
30069 (cbrtl): Define using libm_alias_ldouble.
30070 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
30071 <libm-alias-ldouble.h>.
30072 (copysignl): Define using libm_alias_ldouble.
30073 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
30074 <libm-alias-ldouble.h>.
30075 (cosl): Define using libm_alias_ldouble.
30076 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
30077 <libm-alias-ldouble.h>.
30078 (erfl): Define using libm_alias_ldouble.
30079 (erfcl): Likewise.
30080 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
30081 <libm-alias-ldouble.h>.
30082 (fmal): Define using libm_alias_ldouble.
30083 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
30084 <libm-alias-ldouble.h>.
30085 (frexpl): Define using libm_alias_ldouble.
30086 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
30087 libm_alias_ldouble.
30088 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
30089 <libm-alias-ldouble.h>.
30090 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
30091 libm_alias_ldouble.
30092 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
30093 <libm-alias-ldouble.h>.
30094 (getpayloadl): Define using libm_alias_ldouble.
30095 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
30096 <libm-alias-ldouble.h>.
30097 (llrintl): Define using libm_alias_ldouble.
30098 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
30099 <libm-alias-ldouble.h>.
30100 (llroundl): Define using libm_alias_ldouble.
30101 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
30102 <libm-alias-ldouble.h>.
30103 (lrintl): Define using libm_alias_ldouble.
30104 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
30105 <libm-alias-ldouble.h>.
30106 (lroundl): Define using libm_alias_ldouble.
30107 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
30108 <libm-alias-ldouble.h>.
30109 (modfl): Define using libm_alias_ldouble.
30110 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
30111 <libm-alias-ldouble.h>.
30112 (nextupl): Define using libm_alias_ldouble.
30113 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
30114 <libm-alias-ldouble.h>.
30115 (remquol): Define using libm_alias_ldouble.
30116 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
30117 <libm-alias-ldouble.h>.
30118 (roundevenl): Define using libm_alias_ldouble.
30119 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
30120 <libm-alias-ldouble.h>.
30121 (roundl): Define using libm_alias_ldouble.
30122 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
30123 using libm_alias_ldouble.
30124 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
30125 <libm-alias-ldouble.h>.
30126 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
30127 <libm-alias-ldouble.h>.
30128 (setpayloadsigl): Define using libm_alias_ldouble.
30129 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
30130 <libm-alias-ldouble.h>.
30131 (sincosl): Define using libm_alias_ldouble.
30132 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
30133 <libm-alias-ldouble.h>.
30134 (sinl): Define using libm_alias_ldouble.
30135 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
30136 <libm-alias-ldouble.h>.
30137 (tanhl): Define using libm_alias_ldouble.
30138 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
30139 <libm-alias-ldouble.h>.
30140 (tanl): Define using libm_alias_ldouble.
30141 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
30142 <libm-alias-ldouble.h>.
30143 (totalorderl): Define using libm_alias_ldouble.
30144 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
30145 <libm-alias-ldouble.h>.
30146 (totalordermagl): Define using libm_alias_ldouble.
30147 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
30148 libm_alias_ldouble.
30149 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
30150 libm_alias_ldouble.
30151
30152 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
30153
30154 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
30155 memmove_falkor.
30156 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
30157 (__libc_ifunc_impl_list): Likewise.
30158 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
30159 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
30160
30161 * benchtests/bench-memmove-walk.c: New file.
30162 * benchtests/Makefile (string-benchset): Add it.
30163
30164 * benchtests/bench-memset-walk.c: New file.
30165 * benchtests/Makefile (string-benchset): Add it.
30166
30167 * benchtests/bench-memcpy-walk.c: New file.
30168 * benchtests/Makefile (string-benchset): Add it.
30169
30170 2017-10-05 Florian Weimer <fweimer@redhat.com>
30171
30172 nscd: Eliminate compilation time dependency in the build output.
30173 * nscd/nscd_stat.c (STATDATA_VERSION)
30174 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
30175 (STATDATA_VERSION_FULL): New macro definitions.
30176 (compilation): Remove.
30177 (struct statdata): Adjust version member.
30178 (send_stats): Set version from STATDATA_VERSION_FULL.
30179 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
30180
30181 2017-10-05 Joseph Myers <joseph@codesourcery.com>
30182
30183 * configure.ac (--enable-add-ons): Remove option.
30184 (machine): Do not mention add-ons in comment.
30185 (LIBC_PRECONFIGURE): Likewise.
30186 (add_ons): Remove variable and sanity checks and logic to locate
30187 add-ons.
30188 (add_ons_automatic): Remove variable.
30189 (configured_add_ons): Likewise.
30190 (add_ons_sfx): Likewise.
30191 (add_ons_pfx): Likewise.
30192 (add_on_subdirs): Likewise.
30193 (sysnames_add_ons): Likewise. Remove loop over add-ons and
30194 consideration of add-ons in Implies handling.
30195 (sysdeps_add_ons): Likewise.
30196 * configure: Regenerated.
30197 * libidn/configure.ac: Remove.
30198 * libidn/configure: Likewise.
30199 * sysdeps/unix/inet/configure.ac: New file.
30200 * sysdeps/unix/inet/configure: New generated file.
30201 * sysdeps/unix/inet/Subdirs: Add libidn.
30202 * Makeconfig (sysdeps-srcdirs): Remove variable.
30203 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
30204 ($(common-objpfx)config.status): Do not depend on add-on files.
30205 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
30206 comment.
30207 (all-subdirs): Do not include $(add-on-subdirs).
30208 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
30209 * config.make.in (add-ons): Remove variable.
30210 (add-on-subdirs): Likewise.
30211 (sysdeps-add-ons): Likewise.
30212 * manual/Makefile (add-chapters): Remove.
30213 ($(objpfx)texis): Do not depend on $(add-chapters).
30214 (nonexamples): Do not handle $(add-chapters).
30215 (examples): Do not handle $(add-ons).
30216 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
30217 libc-texinfo.sh.
30218 * manual/install.texi (Installation): Do not mention add-ons.
30219 (--enable-add-ons): Do not document configure option.
30220 * INSTALL: Regenerated.
30221 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
30222 * manual/maint.texi (Hierarchy Conventions): Do not mention
30223 add-ons.
30224 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
30225 --enable-add-ons.
30226 * scripts/gen-sorted.awk: Do not handle Subdirs files from
30227 add-ons.
30228 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
30229 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
30230
30231 2017-10-05 Andreas Schwab <schwab@suse.de>
30232
30233 [BZ #15142]
30234 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
30235 (_IO_flush_all_lockp): Always lock list_all_lock.
30236 (_IO_flush_all_linebuffered): Likewise.
30237 (_IO_unbuffer_all): Likewise.
30238
30239 2017-10-05 Florian Weimer <fweimer@redhat.com>
30240
30241 [BZ #15436]
30242 Do not flush stdio streams on abort.
30243 * stdlib/abort.c (fflush): Remove macro definition.
30244 (abort): Remove stages related to stdio flushing.
30245
30246 2017-10-05 Florian Weimer <fweimer@redhat.com>
30247
30248 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
30249
30250 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
30251
30252 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
30253
30254 2017-10-05 Florian Weimer <fweimer@redhat.com>
30255
30256 * support/support_format_hostent.c (support_format_hostent): Add
30257 more error information for NETDB_INTERNAL.
30258
30259 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
30260
30261 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
30262 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
30263 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
30264 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
30265 AC_DEFINE if multi-arch is enabled.
30266 * sysdeps/i386/configure: Regenerated.
30267
30268 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
30269
30270 * Makeconfig (+link-static-before-libc): Use
30271 $(DEFAULT-LDFLAGS-$(@F)).
30272 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
30273 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
30274 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
30275
30276 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
30277
30278 * elf/Makefile (tests): Add tst-main1.
30279 (modules-names): Add tst-main1mod.
30280 ($(objpfx)tst-main1): New.
30281 (CRT-tst-main1): Likewise.
30282 (LDFLAGS-tst-main1): Likewise.
30283 (LDLIBS-tst-main1): Likewise.
30284 (tst-main1mod.so-no-z-defs): Likewise.
30285 * elf/tst-main1.c: New file.
30286 * elf/tst-main1mod.c: Likewise.
30287
30288 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
30289
30290 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
30291
30292 2017-10-04 Joseph Myers <joseph@codesourcery.com>
30293
30294 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
30295 (fma): Define using libm_alias_double.
30296 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
30297 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
30298 <math_ldbl_opt.h>.
30299 (fmal): Do not define as compat symbol here.
30300 * sysdeps/alpha/fpu/s_fma.c: New file.
30301
30302 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
30303
30304 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
30305
30306 2017-10-04 Joseph Myers <joseph@codesourcery.com>
30307
30308 [BZ #22229]
30309 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
30310 <math_ldbl_opt.h>
30311 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
30312 and libc.
30313 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
30314 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
30315 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
30316 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
30317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
30318 Include <math_ldbl_opt.h>
30319 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
30320 and libc.
30321 (compat_symbol): Undefine and redefine.
30322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
30323 <math_ldbl_opt.h>
30324 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
30325 (compat_symbol): Undefine and redefine.
30326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
30327 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
30328 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
30329 GLIBC_2_1 for libm.
30330 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
30331 GLIBC_2.0 copysignl symbol.
30332 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
30333 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
30334
30335 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
30336
30337 2017-10-04 Florian Weimer <fweimer@redhat.com>
30338
30339 * scripts/check-local-headers.sh: Ignore nspr4 header file
30340 directory in addition to nspr.
30341
30342 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
30343
30344 [BZ #17956]
30345 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
30346 * configure: Regenerate.
30347 * crypt/Makefile (nss-cpp-flags): New variable.
30348 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
30349 (CPPFLAGS-md5-crypt.c): Use it.
30350 * scripts/check-local-headers.sh: Ignore nspr header file
30351 directory.
30352
30353 2017-10-04 Andreas Schwab <schwab@suse.de>
30354
30355 * nis/Makefile (services): Remove compat.
30356 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
30357 ($(objpfx)libnss_compat.so): Remove rule.
30358 * nis/Versions (libnss_compat): Remove.
30359 * nss/Makefile (services): Add compat.
30360 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
30361 * nss/Versions (libnss_compat): Define.
30362 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
30363 Don't include <rpc/types.h>. Replace bool_t by bool.
30364 * nss/nss_compat/compat-initgroups.c: Likewise.
30365 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
30366 instead of <rpcsrv/ypclnt.h>.
30367 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
30368 yp_get_default_domain.
30369 * nss/nss_compat/compat-pwd.c: Likewise.
30370 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
30371 yp_get_default_domain.
30372 * nss/nss_compat/nisdomain.c: New file.
30373 * nss/nss_compat/nisdomain.h: Likewise.
30374
30375 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
30376
30377 [BZ #22244]
30378 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
30379 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30380
30381 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
30382
30383 [BZ #22243]
30384 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
30385 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
30386
30387 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30388
30389 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
30390 "movl main@GOTOFF(%ebx), %eax".
30391
30392 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30393
30394 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
30395 allow undefined _DYNAMIC in PIE libc.a.
30396 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
30397 Likewse.
30398
30399 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30400
30401 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
30402 check _DYNAMIC.
30403
30404 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30405
30406 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
30407 check _DYNAMIC.
30408
30409 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30410
30411 * math/test-math-iscanonical.cc (error): Replace bool with int.
30412
30413 2017-10-03 Joseph Myers <joseph@codesourcery.com>
30414
30415 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
30416 (modf): Define using libm_alias_double, only if [!__modf].
30417 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
30418 <libm-alias-double.h>.
30419 (modf): Define using libm_alias_double, only if [!__modf].
30420 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
30421 compat symbol here.
30422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
30423 (weak_alias): Do not undefine and redefine.
30424 (strong_alias): Likewise.
30425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
30426 (weak_alias): Likewise.
30427 (strong_alias): Likewise.
30428
30429 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
30430 (logb): Define using libm_alias_double, only if [!__logb].
30431 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
30432 <libm-alias-double.h>.
30433 (logb): Define using libm_alias_double, only if [!__logb].
30434 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
30435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
30436 (weak_alias): Do not undefine and redefine.
30437 (strong_alias): Likewise.
30438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
30439 (weak_alias): Likewise.
30440 (strong_alias): Likewise.
30441
30442 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30443
30444 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
30445 Check SHARED instead PIC.
30446
30447 2017-10-03 Joseph Myers <joseph@codesourcery.com>
30448
30449 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
30450 [!__fmaf] (fmaf): Define using libm_alias_float.
30451
30452 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
30453 (frexp): Define using libm_alias_double.
30454 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
30455 <libm-alias-double.h>.
30456 (frexp): Define using libm_alias_double.
30457 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
30458 compat symbol here.
30459
30460 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30461
30462 [BZ #22235]
30463 * math/math.h: Trivial fix for unbalanced parentheses in comment.
30464 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
30465 (CFLAGS-test-math-iscanonical.cc): New variable.
30466 * math/test-math-iscanonical.cc: New file.
30467 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
30468 Provide a C++ implementation based on function overloading,
30469 rather than using __MATH_TG, which uses C-only builtins.
30470 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
30471 Likewise.
30472 * sysdeps/powerpc/powerpc64le/Makefile
30473 (CFLAGS-test-math-iscanonical.cc): New variable.
30474
30475 2017-10-03 Joseph Myers <joseph@codesourcery.com>
30476
30477 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
30478 (ceil): Define using libm_alias_double.
30479 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
30480 (floor): Define using libm_alias_double.
30481 * sysdeps/ieee754/dbl-64/s_llround.c: Include
30482 <libm-alias-double.h>.
30483 (llround): Define using libm_alias_double.
30484 * sysdeps/ieee754/dbl-64/s_lround.c: Include
30485 <libm-alias-double.h>.
30486 (lround): Define using libm_alias_double.
30487 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
30488 <libm-alias-double.h>.
30489 (nearbyint): Define using libm_alias_double.
30490 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
30491 <libm-alias-double.h>.
30492 (remquo): Define using libm_alias_double.
30493 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
30494 (rint): Define using libm_alias_double.
30495 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
30496 (round): Define using libm_alias_double.
30497 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
30498 (trunc): Define using libm_alias_double.
30499 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
30500 <libm-alias-double.h>.
30501 (ceil): Define using libm_alias_double.
30502 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
30503 <libm-alias-double.h>.
30504 (floor): Define using libm_alias_double.
30505 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
30506 <libm-alias-double.h>.
30507 (llround): Define using libm_alias_double.
30508 [_LP64] (lround): Likewise.
30509 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
30510 <libm-alias-double.h>.
30511 [!_LP64] (lround): Define using libm_alias_double.
30512 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
30513 <libm-alias-double.h>.
30514 (nearbyint): Define using libm_alias_double.
30515 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
30516 <libm-alias-double.h>.
30517 (remquo): Define using libm_alias_double.
30518 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
30519 <libm-alias-double.h>.
30520 (rint): Define using libm_alias_double.
30521 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
30522 <libm-alias-double.h>.
30523 (round): Define using libm_alias_double.
30524 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
30525 <libm-alias-double.h>.
30526 (trunc): Define using libm_alias_double.
30527 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
30528 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
30529 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
30530 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
30531 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
30532 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
30533 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
30534 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
30535 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
30536
30537 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
30538
30539 * math/w_remainder.c: New file.
30540 * math/w_remainderf.c: New file.
30541 * math/w_remainderl.c: New file.
30542
30543 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
30544
30545 * elf/rtld.c (BOOTSTRAP_MAP): New.
30546 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
30547 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
30548 Likewise.
30549 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
30550 Likewise.
30551 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
30552 Likewise.
30553
30554 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
30555
30556 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
30557 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
30558 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
30559 rtld_hidden_data_ver): Define to empty.
30560 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
30561 __assert_perror_fail): Likewise.
30562 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
30563 (__rewinddir): Likewise.
30564 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
30565 (__profile_frequency): Likewise.
30566 * include/setjmp.h (__sigsetjmp): Likewise.
30567 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
30568 __libc_sigaction): Likewise.
30569 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
30570 not set hidden attribute.
30571 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
30572 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
30573 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
30574 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
30575 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
30576 __fxstatat64): Likewise.
30577 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
30578 (__uname): Likewise.
30579 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
30580 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
30581 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
30582 (NO_RTLD_HIDDEN): Set.
30583 * sysdeps/mach/hurd/configure: Refresh.
30584 * config.h.in: Refresh.
30585
30586 2017-10-02 Joseph Myers <joseph@codesourcery.com>
30587
30588 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
30589 (atan): Define using libm_alias_double.
30590 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
30591 (tan): Define using libm_alias_double.
30592 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
30593 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
30594
30595 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
30596 define as weak alias of __atan. Do not define any aliases if
30597 [__atan].
30598 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
30599 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
30600 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
30601 as weak alias of __tan. Do not define any aliases if [__tan].
30602 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
30603 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
30604 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
30605 __atan.
30606 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
30607 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
30608 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
30609 and define as weak alias of __atan.
30610 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
30611 __atan.
30612 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
30613 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
30614 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
30615 define as weak alias of __tan.
30616
30617 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
30618
30619 * math/w_lgamma.c: New file.
30620 * math/w_lgammaf.c: New file.
30621 * math/w_lgammal.c: New file.
30622
30623 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
30624
30625 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
30626 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
30627 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
30628 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
30629 * sysdeps/ieee754/flt-32/w_logf.c: New file.
30630 * sysdeps/ieee754/flt-32/w_powf.c: New file.
30631 * sysdeps/i386/fpu/w_log2f.c: New file.
30632 * sysdeps/i386/fpu/w_logf.c: New file.
30633 * sysdeps/i386/fpu/w_powf.c: New file.
30634 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
30635 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
30636 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
30637
30638 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
30639 H.J. Lu <hongjiu.lu@intel.com>
30640
30641 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
30642 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
30643 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
30644 * sysdeps/ieee754/flt-32/w_expf.c: New file.
30645 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
30646 the new expf code.
30647 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
30648 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
30649 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
30650 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
30651 * sysdeps/i386/fpu/w_exp2f.c: New file.
30652 * sysdeps/i386/fpu/w_expf.c: New file.
30653 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
30654 * sysdeps/x86_64/fpu/w_expf.c: New file.
30655
30656 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
30657
30658 * math/Versions (logf): New libm symbol at GLIBC_2.27.
30659 (log2f): Likewise.
30660 (powf): Likewise.
30661 * math/w_log2f.c: New file.
30662 * math/w_logf.c: New file.
30663 * math/w_powf.c: New file.
30664 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
30665 * math/w_logf_compat.c (__logf_compat): Likewise.
30666 * math/w_powf_compat.c (__powf_compat): Likewise.
30667 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
30668 * sysdeps/ia64/fpu/e_logf.S: Likewise.
30669 * sysdeps/ia64/fpu/e_powf.S: Likewise.
30670 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
30671 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
30672 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
30673 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
30674 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
30675 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
30676 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
30677 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
30678 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
30679 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
30680 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
30681 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
30682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
30683 Likewise.
30684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30685 Likewise.
30686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
30687 Likewise.
30688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
30689 Likewise.
30690 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
30691 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
30692 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
30693 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
30694 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
30695 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
30696 Likewise.
30697 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
30698 Likewise.
30699 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
30700 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
30701 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
30702
30703 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30704
30705 * sysdeps/powerpc/powerpc64/multiarch/Makefile
30706 (sysdep_routines): Add memrchr_power8.
30707 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30708 (memrchr): Add __memrchr_power8 to list of memrchr functions.
30709 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
30710 New file.
30711 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
30712 (memrchr): Add __memrchr_power8 to ifunc list.
30713 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
30714
30715 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30716
30717 [BZ #18822]
30718 * sysdeps/unix/sysv/linux/posix_fadvise64.c
30719 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
30720 libc_hidden_def.
30721 * sysdeps/unix/sysv/linux/posix_fallocate64.c
30722 (__posix_fallocate64_l64): Likewise.
30723
30724 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30725
30726 [BZ #18822]
30727 * sysdeps/unix/sysv/linux/sched_setaffinity.c
30728 (__sched_setaffinity_new): Add libc_hidden_proto and
30729 libc_hidden_def.
30730
30731 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30732
30733 [BZ #18822]
30734 * include/glob.h (__glob64): Add libc_hidden_proto.
30735 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
30736 libc_hidden_def.
30737
30738 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30739
30740 [BZ #18822]
30741 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
30742 attribute_hidden.
30743
30744 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30745
30746 [BZ #18822]
30747 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
30748
30749 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30750
30751 [BZ #18822]
30752 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
30753 libc_hidden_def.
30754
30755 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30756
30757 [BZ #18822]
30758 * csu/version.c (__libc_print_version): Add attribute_hidden.
30759
30760 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30761
30762 [BZ #18822]
30763 * include/libc-internal.h (__init_misc): Add attribute_hidden.
30764
30765 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30766
30767 [BZ #18822]
30768 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
30769
30770 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30771
30772 [BZ #18822]
30773 * nscd/nscd_helper.c (__nis_hash): New prototype.
30774
30775 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30776
30777 [BZ #18822]
30778 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
30779 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
30780 libc_hidden_def.
30781 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
30782 * termios/tcgetattr.c (__tcgetattr): Likewise.
30783
30784 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30785
30786 [BZ #18822]
30787 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
30788 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
30789 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
30790 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
30791 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
30792
30793 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30794
30795 [BZ #18822]
30796 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
30797
30798 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30799
30800 [BZ #18822]
30801 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
30802 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
30803
30804 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30805
30806 [BZ #18822]
30807 * intl/hash-string.h (__hash_string): Add attribute_hidden.
30808
30809 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30810
30811 [BZ #18822]
30812 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
30813 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
30814
30815 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30816
30817 [BZ #18822]
30818 * include/ifreq.h: New file.
30819 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
30820 (__ifreq): Likewise.
30821 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
30822 (__ifreq): Likewise.
30823
30824 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30825
30826 [BZ #18822]
30827 * include/idna.h: New file.
30828 * inet/getnameinfo.c: Include <idna.h> instead of
30829 <libidn/idna.h>.
30830 (__idna_to_unicode_lzlz): Removed.
30831 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
30832 <libidn/idna.h>.
30833 (__idna_to_ascii_lz): Removed.
30834 (__idna_to_unicode_lzlz): Likewise.
30835
30836 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30837
30838 [BZ #18822]
30839 * include/plural-exp.h: New file.
30840 * intl/plural-exp.c: Include <plural-exp.h> instead of
30841 "plural-exp.h".
30842
30843 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30844
30845 [BZ #18822]
30846 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
30847 "getsourcefilter.h".
30848 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
30849 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
30850 "getsourcefilter.h".
30851 (__get_sol): Removed.
30852
30853 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30854
30855 [BZ #18822]
30856 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
30857 to ...
30858 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
30859
30860 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30861
30862 [BZ #18822]
30863 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
30864 attribute_hidden.
30865
30866 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30867
30868 [BZ #18822]
30869 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
30870
30871 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30872
30873 [BZ #18822]
30874 * include/search.h (__tdestroy): Add libc_hidden_proto.
30875 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
30876
30877 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30878
30879 [BZ #18822]
30880 * include/assert.h (__assert_fail_base): Add attribute_hidden.
30881
30882 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30883
30884 [BZ #18822]
30885 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
30886 attribute_hidden.
30887
30888 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30889
30890 [BZ #18822]
30891 * include/signal.h (__kill): Add libc_hidden_proto.
30892 (__sigblock): Likewise.
30893 (__sigprocmask): Likewise.
30894 (__sigaltstack): Likewise.
30895 * signal/kill.c (__kill): Add libc_hidden_def.
30896 * signal/sigblock.c (__sigblock): Likewise.
30897 * signal/sigprocmask.c (__sigprocmask): Likewise.
30898 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
30899 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
30900 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
30901 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
30902 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
30903 Likewise.
30904 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
30905 Likewise.
30906 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
30907 (__sigprocmask): Likewise.
30908 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
30909 Likewise.
30910 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
30911 (__sigprocmask): Likewise.
30912 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
30913 Likewise.
30914
30915 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30916
30917 [BZ #18822]
30918 * include/string.h (__strsep): Add libc_hidden_proto.
30919 * string/strsep.c (__strsep): Add libc_hidden_def.
30920
30921 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30922
30923 [BZ #18822]
30924 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
30925 attribute_hidden.
30926 (__spawni): Likewise.
30927
30928 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30929
30930 [BZ #18822]
30931 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
30932 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
30933 libc_hidden_def.
30934
30935 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30936
30937 [BZ #18822]
30938 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
30939
30940 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30941
30942 [BZ #18822]
30943 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
30944 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
30945 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
30946 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
30947 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
30948 Likewise.
30949 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
30950 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
30951
30952 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30953
30954 [BZ #18822]
30955 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
30956 (__dcigettext): Likewise.
30957
30958 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30959
30960 [BZ #18822]
30961 * include/sys/sysinfo.h (__get_nprocs_conf): Add
30962 libc_hidden_proto.
30963 (__get_nprocs): Likewise.
30964 (__get_phys_pages): Likewise.
30965 (__get_avphys_pages): Likewise.
30966 (__get_child_max): Add attribute_hidden.
30967 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
30968 (__get_nprocs): Likewise.
30969 (__get_phys_pages): Likewise.
30970 (__get_avphys_pages): Likewise.
30971 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
30972 libc_hidden_def.
30973 (__get_nprocs): Likewise.
30974 (__get_phys_pages): Likewise.
30975 (__get_avphys_pages): Likewise.
30976 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
30977 libc_hidden_def.
30978 (__get_nprocs_conf): Likewise.
30979 (__get_phys_pages): Likewise.
30980 (__get_avphys_pages): Likewise.
30981
30982 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30983
30984 [BZ #18822]
30985 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
30986 attribute_hidden.
30987 (__netlink_close): Likewise.
30988 (__netlink_free_handle): Likewise.
30989 (__netlink_request): Likewise.
30990
30991 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
30992
30993 [BZ #18822]
30994 * include/rpc/rpc.h (__rpc_thread_variables): Add
30995 attribute_hidden.
30996 (__rpc_thread_svc_cleanup): Likewise.
30997 (__rpc_thread_clnt_cleanup): Likewise.
30998 (__rpc_thread_key_cleanup): Likewise.
30999
31000 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31001
31002 [BZ #18822]
31003 * include/sys/uio.h (__readv): Add libc_hidden_proto.
31004 (__writev): Likewise.
31005 * misc/readv.c (__readv): Add libc_hidden_def.
31006 * misc/writev.c (__writev): Likewise.
31007 * sysdeps/posix/readv.c (__readv): Likewise.
31008 * sysdeps/posix/writev.c (__writev): Likewise.
31009 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
31010 (__readv): Likewise.
31011 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
31012 (__writev): Likewise.
31013
31014 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31015
31016 [BZ #18822]
31017 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
31018 (__regcomp): Add libc_hidden_proto.
31019 (__regexec): Likewise.
31020 (__regfree): Likewise.
31021 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
31022 (__regfree): Likewise.
31023 * posix/regexec.c (__regexec): Likewise.
31024
31025 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31026
31027 [BZ #18822]
31028 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
31029 (__getutent): Likewise.
31030 (__getutid): Likewise.
31031 (__getutline): Likewise.
31032 (__pututline): Likewise.
31033 (__getutent_r): Likewise.
31034 (__getutid_r): Likewise.
31035 (__getutline_r): Likewise.
31036 (__utmpname): Add attribute_hidden.
31037 (__setutent): Likewise.
31038 (__endutent): Likewise.
31039 * login/getutent.c (__getutent): Add libc_hidden_def.
31040 * login/getutent_r.c (__getutent_r): Likewise.
31041 (__pututline): Likewise.
31042 * login/getutid.c (__getutid): Likewise.
31043 * login/getutid_r.c (__getutid_r): Likewise.
31044 * login/getutline.c (__getutline): Likewise.
31045 * login/getutline_r.c (__getutline_r): Likewise.
31046 * login/updwtmp.c (__updwtmp): Likewise.
31047
31048 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31049
31050 [BZ #18822]
31051 * include/dirent.h (__opendir): Always add attribute_hidden.
31052 (__fdopendir): Likewise.
31053 (__closedir): Likewise.
31054 (__readdir): Likewise.
31055 (__readdir64): Add libc_hidden_proto.
31056 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
31057 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
31058 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
31059 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
31060 New alias.
31061
31062 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31063
31064 [BZ #18822]
31065 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
31066 * include/netdb.h (__gethostbyaddr_r): Likewise.
31067 (__gethostbyname_r): Likewise.
31068 (__gethostbyname2_r): Likewise.
31069 (__getnetbyaddr_r): Likewise.
31070 (__getnetbyname_r): Likewise.
31071 (__getservbyname_r): Likewise.
31072 (__getservbyport_r): Likewise.
31073 (__getprotobyname_r): Likewise.
31074 (__getprotobynumber_r): Likewise.
31075 (__getnetgrent_r): Likewise.
31076 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
31077 (__getrpcbynumber_r): Likewise.
31078 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
31079
31080 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31081
31082 [BZ #18822]
31083 * include/stdio.h (__fcloseall): Add attribute_hidden.
31084 (__getline): Likewise.
31085 (__path_search): Likewise.
31086 (__gen_tempname): Likewise.
31087 (__libc_message): Likewise.
31088 (__flockfile): Likewise.
31089 (__funlockfile): Likewise.
31090 (__fxprintf): Likewise.
31091 (__fxprintf_nocancel): Likewise.
31092
31093 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31094
31095 [BZ #18822]
31096 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
31097 (__sgetsgent_r): Likewise.
31098
31099 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31100
31101 [BZ #18822]
31102 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
31103 (__statfs64): Likewise.
31104 (__fstatfs64): Likewise.
31105 * include/sys/statvfs.h (__statvfs64): Likewise.
31106 (__fstatvfs64): Likewise.
31107 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
31108 (__statfs_filesize_max): Likewise.
31109 (__statfs_symlinks): Likewise.
31110 (__statfs_chown_restricted): Likewise.
31111
31112 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31113
31114 [BZ #18822]
31115 * include/time.h (__tzstring): Add attribute_hidden.
31116 (__tzfile_read): Likewise.
31117 (__tzfile_compute): Likewise.
31118 (__tzfile_default): Likewise.
31119 (__tzset_parse_tz): Likewise.
31120 (__offtime): Likewise.
31121 (__asctime_r): Likewise.
31122 (__tzset): Likewise.
31123 (__tz_convert): Likewise.
31124 (__getdate_r): Likewise.
31125 (__getclktck): Likewise.
31126
31127 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31128
31129 [BZ #18822]
31130 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
31131 (__nscd_unmap): Likewise.
31132 (__nscd_cache_search): Likewise.
31133 (__nscd_get_nl_timestamp): Likewise.
31134 (__nscd_getpwnam_r): Likewise.
31135 (__nscd_getpwuid_r): Likewise.
31136 (__nscd_getgrnam_r): Likewise.
31137 (__nscd_getgrgid_r): Likewise.
31138 (__nscd_gethostbyname_r): Likewise.
31139 (__nscd_gethostbyname2_r): Likewise.
31140 (__nscd_gethostbyaddr_r): Likewise.
31141 (__nscd_getai): Likewise.
31142 (__nscd_getgrouplist): Likewise.
31143 (__nscd_getservbyname_r): Likewise.
31144 (__nscd_getservbyport_r): Likewise.
31145 (__nscd_innetgr): Likewise.
31146 (__nscd_setnetgrent): Likewise.
31147
31148 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31149
31150 [BZ #18822]
31151 * include/gmp.h: Declare internal functions only if _ISOMAC is
31152 undefined.
31153 (__mpn_extract_double): Add attribute_hidden.
31154 (__mpn_extract_long_double): Likewise.
31155 (__mpn_extract_float128): Likewise.
31156 (__mpn_construct_float): Likewise.
31157 (__mpn_construct_double): Likewise.
31158 (__mpn_construct_long_double): Likewise.
31159 (__mpn_construct_float128): Likewise.
31160 (mpn_add_1): Likewise.
31161 (mpn_addmul_1): Likewise.
31162 (mpn_add_n): Likewise.
31163 (mpn_cmp): Likewise.
31164 (mpn_divrem): Likewise.
31165 (mpn_lshift): Likewise.
31166 (mpn_mul): Likewise.
31167 (mpn_mul_1): Likewise.
31168 (mpn_rshift): Likewise.
31169 (mpn_sub_1): Likewise.
31170 (mpn_submul_1): Likewise.
31171 (mpn_sub_n): Likewise.
31172
31173 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31174
31175 [BZ #18822]
31176 * include/wchar.h (__wcsnlen): Add attribute_hidden.
31177 (__wcscat): Likewise.
31178 (__btowc): Likewise.
31179 (__wcrtomb): Likewise.
31180 (__mbsrtowcs): Likewise.
31181 (__wcsrtombs): Likewise.
31182 (__mbsnrtowcs): Likewise.
31183 (__wcsnrtombs): Likewise.
31184 (__wcsncpy): Likewise.
31185 (__wcpncpy): Likewise.
31186 (__wmemcpy): Likewise.
31187 (__wmempcpy): Likewise.
31188 (__wmemmove): Likewise.
31189 (__wcschrnul): Likewise.
31190 (__vfwscanf): Likewise.
31191 (__vswprintf): Likewise.
31192 (__fwprintf): Likewise.
31193 (__vfwprintf): Likewise.
31194
31195 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31196
31197 [BZ #18822]
31198 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
31199 (__getgrgid_r): Likewise.
31200 (__getgrnam_r): Likewise.
31201 * include/pwd.h (__getpwuid_r): Likewise.
31202 (__getpwnam_r): Likewise.
31203 (__fgetpwent_r): Likewise.
31204 * include/shadow.h (__getspnam_r): Likewise.
31205 (__sgetspent_r): Likewise.
31206 (__fgetspent_r): Likewise.
31207
31208 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31209
31210 [BZ #18822]
31211 * include/unistd.h (__access): Add attribute_hidden.
31212 (__lseek64): Likewise.
31213 (__libc_pread64): Likewise.
31214 (__pipe2): Likewise.
31215 (__sleep): Likewise.
31216 (__chdir): Likewise.
31217 (__fchdir): Likewise.
31218 (__getcwd): Likewise.
31219 (__rmdir): Likewise.
31220 (__execvpe): Likewise.
31221 (__execve): Likewise.
31222 (__setsid): Likewise.
31223 (__getuid): Likewise.
31224 (__geteuid): Likewise.
31225 (__getgid): Likewise.
31226 (__getegid): Likewise.
31227 (__getgroups): Likewise.
31228 (__group_member): Likewise.
31229 (__ttyname_r): Likewise.
31230 (__isatty): Likewise.
31231 (__readlink): Likewise.
31232 (__unlink): Likewise.
31233 (__gethostname): Likewise.
31234 (__profil): Likewise.
31235 (__getdtablesize): Likewise.
31236 (__brk): Likewise.
31237 (__ftruncate): Likewise.
31238 (__ftruncate64): Likewise.
31239
31240 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31241
31242 [BZ #18822]
31243 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
31244 * argp/argp-fs-xinl.c: Likewise.
31245 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
31246 * argp/argp-parse.c: Include <argp.h>.
31247 * argp/argp-xinl.c: Likewise.
31248 * include/argp-fmtstream.h: New file.
31249 * include/argp.h (__argp_error): Add attribute_hidden.
31250 (__argp_failure): Likewise.
31251 (__argp_input): Likewise.
31252 (__argp_state_help): Likewise.
31253
31254 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31255
31256 [BZ #18822]
31257 * include/wchar.h (____wcstof_l_internal): New prototype.
31258 (____wcstod_l_internal): Likewise.
31259 (____wcstold_l_internal): Likewise.
31260 (____wcstol_l_internal): Likewise.
31261 (____wcstoul_l_internal): Likewise.
31262 (____wcstoll_l_internal): Likewise.
31263 (____wcstoull_l_internal): Likewise.
31264 (____wcstof128_l_internal): Likewise.
31265 * sysdeps/ieee754/float128/wcstof128.c
31266 (____wcstof128_l_internal): Removed.
31267 * sysdeps/ieee754/float128/wcstof128_l.c
31268 (____wcstof128_l_internal): Likewise.
31269 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
31270 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
31271 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
31272 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
31273 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
31274 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
31275 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
31276 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
31277 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
31278 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
31279
31280 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31281
31282 [BZ #18822]
31283 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
31284 instead of <sys/statvfs.h>.
31285 (__internal_statvfs): Removed.
31286 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
31287 instead of <sys/statvfs.h>.
31288 (__internal_statvfs64): Removed.
31289 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
31290 "internal_statvfs.h" instead of <sys/statvfs.h>.
31291 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
31292 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
31293 instead of <sys/statvfs.h>.
31294 (__internal_statvfs): Removed.
31295 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
31296 instead of <sys/statvfs.h>.
31297 (__internal_statvfs64): Removed.
31298
31299 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31300
31301 [BZ #18822]
31302 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
31303 (__gconv_close): Likewise.
31304 (__gconv): Likewise.
31305 (__gconv_find_transform): Likewise.
31306 (__gconv_lookup_cache): Likewise.
31307 (__gconv_compare_alias_cache): Likewise.
31308 (__gconv_load_cache): Likewise.
31309 (__gconv_get_path): Likewise.
31310 (__gconv_close_transform): Likewise.
31311 (__gconv_release_cache): Likewise.
31312 (__gconv_find_shlib): Likewise.
31313 (__gconv_release_shlib): Likewise.
31314 (__gconv_get_builtin_trans): Likewise.
31315 (__gconv_compare_alias): Likewise.
31316 * include/dlfcn.h (_dlerror_run): Likewise.
31317 * include/stdio.h (__fortify_fail_abort): Likewise.
31318 * include/time.h (__tz_compute): Likewise.
31319 (__strptime_internal): Likewise.
31320 * intl/gettextP.h (_nl_find_domain): Likewise.
31321 (_nl_load_domain): Likewise.
31322 (_nl_find_msg): Likewise.
31323 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
31324 (EXTRACT_PLURAL_EXPRESSION): Likewise.
31325 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
31326 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
31327 (__gai_find_request): Likewise.
31328 (__gai_remove_request): Likewise.
31329 (__gai_notify): Likewise.
31330 (__gai_notify_only): Likewise.
31331 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
31332 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
31333 (_dl_non_dynamic_init): Likewise.
31334 (_dl_aux_init): Likewise.
31335 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
31336 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
31337 Likewise.
31338 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
31339 (__wcsmbs_clone_conv): Likewise.
31340 (__wcsmbs_named_conv): Likewise.
31341
31342 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31343
31344 [BZ #18822]
31345 * include/stdlib.h (__random): Add attribute_hidden.
31346 (__random_r): Likewise.
31347 (__srandom_r): Likewise.
31348 (__initstate_r): Likewise.
31349 (__setstate_r): Likewise.
31350 (__erand48_r): Likewise.
31351 (__nrand48_r): Likewise.
31352 (__jrand48_r): Likewise.
31353 (__srand48_r): Likewise.
31354 (__seed48_r): Likewise.
31355 (__lcong48_r): Likewise.
31356 (__drand48_iterate): Likewise.
31357 (__setenv): Likewise.
31358 (__unsetenv): Likewise.
31359 (__clearenv): Likewise.
31360 (__ptsname_r): Likewise.
31361 (__posix_openpt): Likewise.
31362 (__add_to_environ): Likewise.
31363 (__realpath): Add libc_hidden_proto.
31364 (__ecvt_r): Likewise.
31365 (__fcvt_r): Likewise.
31366 (__qecvt_r): Likewise.
31367 (__qfcvt_r): Likewise.
31368 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
31369 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
31370
31371 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31372
31373 [BZ #18822]
31374 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
31375 * include/time.h (__mktime_internal): Likewise.
31376 * libio/iolibio.h (__fopen_internal): Likewise.
31377
31378 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
31379
31380 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
31381 pointer in frame.
31382 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
31383 Correct offset used to restore PIC register.
31384
31385 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
31386
31387 [BZ libc/22165]
31388 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
31389 code to load address of __getcontext_ret when generating PIC code.
31390
31391 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
31392
31393 * elf/Makefile (tests-static-internal): Add
31394 tst-tls1-static-non-pie.
31395 (LDFLAGS-tst-tls1-static-non-pie): New.
31396 * elf/tst-tls1-static-non-pie.c: New file.
31397
31398 2017-09-29 Joseph Myers <joseph@codesourcery.com>
31399
31400 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
31401 (asinh): Define using libm_alias_double.
31402 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
31403 (cbrt): Define using libm_alias_double.
31404 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
31405 <libm-alias-double.h>.
31406 (copysign): Define using libm_alias_double.
31407 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
31408 (erf): Define using libm_alias_double.
31409 (erfc): Likewise.
31410 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
31411 (expm1): Define using libm_alias_double.
31412 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
31413 (fabs): Define using libm_alias_double.
31414 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
31415 libm_alias_double.
31416 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
31417 <libm-alias-double.h>.
31418 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
31419 libm_alias_double.
31420 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
31421 <libm-alias-double.h>.
31422 (getpayload): Define using libm_alias_double.
31423 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
31424 <libm-alias-double.h>.
31425 (llrint): Define using libm_alias_double.
31426 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
31427 (lrint): Define using libm_alias_double.
31428 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
31429 <libm-alias-double.h>.
31430 (nextup): Define using libm_alias_double.
31431 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
31432 <libm-alias-double.h>.
31433 (roundeven): Define using libm_alias_double.
31434 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
31435 libm_alias_double.
31436 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
31437 <libm-alias-double.h>.
31438 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
31439 using libm_alias_double.
31440 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
31441 (cos): Define using libm_alias_double.
31442 (sin): Likewise.
31443 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
31444 <libm-alias-double.h>.
31445 (sincos): Define using libm_alias_double.
31446 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
31447 (tanh): Define using libm_alias_double.
31448 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
31449 <libm-alias-double.h>.
31450 (totalorder): Define using libm_alias_double.
31451 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
31452 <libm-alias-double.h>.
31453 (totalordermag): Define using libm_alias_double.
31454 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
31455 libm_alias_double.
31456 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
31457 libm_alias_double.
31458 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
31459 <libm-alias-double.h>.
31460 (getpayload): Define using libm_alias_double.
31461 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
31462 <libm-alias-double.h>.
31463 (roundeven): Define using libm_alias_double.
31464 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
31465 <libm-alias-double.h>.
31466 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
31467 <libm-alias-double.h>.
31468 (totalorder): Define using libm_alias_double.
31469 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
31470 <libm-alias-double.h>.
31471 (totalordermag): Define using libm_alias_double.
31472 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
31473 libc compat symbol here.
31474 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
31475 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
31476 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
31477 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
31478 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
31479 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
31480 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
31481 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
31482 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
31483 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
31484
31485 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
31486
31487 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
31488 _dl_relocate_static_pie instead of _dl_start to compute load
31489 address in static PIE. Return 0 if _DYNAMIC is undefined for
31490 static executable.
31491
31492 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
31493
31494 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
31495 _DYNAMIC is undefined for static executable.
31496
31497 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
31498
31499 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
31500
31501 2017-09-29 Joseph Myers <joseph@codesourcery.com>
31502
31503 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31504
31505 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
31506
31507 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
31508 (__ieee754_lgamma_r): Use fabs rather than __fabs.
31509 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
31510 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
31511 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
31512 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
31513 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
31514 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
31515 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
31516 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
31517 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
31518 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
31519 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
31520 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
31521 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
31522 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
31523 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
31524
31525 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
31526
31527 * math/bits/cmathcalls.h (cimag): Remove inline.
31528 (creal): Remove inline.
31529 (conj): Remove inline.
31530
31531 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31532
31533 * math/Makefile (type-float-routines): Add e_powf_log2_data.
31534 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
31535 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
31536 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
31537 (issignalingf_inline): Likewise.
31538 (POWF_LOG2_TABLE_BITS): Likewise.
31539 (POWF_LOG2_POLY_ORDER): Likewise.
31540 (POWF_SCALE_BITS): Likewise.
31541 (POWF_SCALE): Likewise.
31542 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
31543 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
31544 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
31545
31546 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31547
31548 * math/Makefile (type-float-routines): Add e_log2f_data.
31549 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
31550 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
31551 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
31552 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
31553 * sysdeps/i386/fpu/e_log2f_data.c: New file.
31554 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
31555 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
31556
31557 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31558
31559 * math/Makefile (type-float-routines): Add e_logf_data.
31560 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
31561 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
31562 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
31563 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
31564 * sysdeps/i386/fpu/e_logf_data.c: New file.
31565 * sysdeps/ia64/fpu/e_logf_data.c: New file.
31566 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
31567
31568 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
31569
31570 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
31571 undefined _DYNAMIC in PIE libc.a.
31572 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
31573 Likewse.
31574
31575 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
31576
31577 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
31578 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
31579 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
31580 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
31581 (__signbit): Remove.
31582 (__signbitl): Remove.
31583 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
31584 (__signbit): Remove.
31585 (__signbitl): Remove.
31586 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
31587 (__signbit): Remove.
31588 (__signbitl): Remove.
31589 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
31590 (__signbit): Remove.
31591 (__signbitl): Remove.
31592 * sysdeps/tile/bits/mathinline.h: Delete file.
31593 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
31594 (__signbit): Remove.
31595 (__signbitl): Remove.
31596
31597 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
31598
31599 * math/math.h: Improve handling of C99 isgreater macros.
31600 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
31601 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
31602 * sysdeps/powerpc/bits/mathinline.h: Likewise.
31603 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31604 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
31605
31606 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
31607
31608 * sysdeps/aarch64/libm-test-ulps: Update.
31609
31610 2017-09-28 Joseph Myers <joseph@codesourcery.com>
31611
31612 [BZ #22225]
31613 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31614 math_opt_barrier on argument when doing arithmetic on it.
31615 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
31616 Likewise. Use math_force_eval not math_opt_barrier after
31617 arithmetic.
31618 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
31619 math_opt_barrier on argument when doing arithmetic on it.
31620 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31621 Likewise.
31622
31623 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
31624
31625 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
31626 libc_hidden_def.
31627 (__freeifaddrs): Likewise.
31628
31629 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
31630
31631 * include/dirent.h (__dirfd): New declaration.
31632 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
31633 alias.
31634 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
31635 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
31636 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
31637 * include/unistd.h (__revoke): New declaration.
31638 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
31639 alias.
31640 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
31641 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
31642 revoke.
31643 * include/dirent.h (__seekdir): New declaration.
31644 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
31645 redefine as weak alias.
31646 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
31647 of seekdir.
31648 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
31649 and use libc_hidden_def on them.
31650 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
31651 them.
31652 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
31653 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
31654 instead of getifaddrs and freeifaddrs.
31655
31656 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
31657
31658 [BZ #18822]
31659 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
31660 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
31661 (__dso_handle): Remove declaration.
31662 * dlfcn/tstatexit.c (__dso_handle): Removed.
31663 (main): Don't check __dso_handle.
31664 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
31665 (main): Don't check __dso_handle.
31666 * include/dso_handle.h: New file.
31667 * malloc/mtrace.c: Include <dso_handle.h>.
31668 (mtrace): Pass __dso_handle directly.
31669 * nptl/pthread_atfork.c: Include <dso_handle.h>.
31670 (__dso_handle): Remove declaration.
31671 (__pthread_atfork): Pass __dso_handle directly.
31672 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
31673 (__dso_handle): Removed.
31674 * posix/wordexp-test.c: Include <dso_handle.h>.
31675 (__dso_handle): Remove declaration.
31676 (__app_register_atfork): Pass __dso_handle directly.
31677 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
31678 (__dso_handle): Remove declaration.
31679 (at_quick_exit): Pass __dso_handle directly.
31680 * stdlib/atexit.c: Include <dso_handle.h>.
31681 (__dso_handle): Remove declaration.
31682 (atexit): Pass __dso_handle directly.
31683 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
31684 (__dso_handle): Removed.
31685
31686 2017-09-26 Joseph Myers <joseph@codesourcery.com>
31687
31688 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
31689 using VDSO.
31690
31691 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
31692
31693 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
31694 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
31695 values to correct default value for given type.
31696
31697 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
31698
31699 [BZ #22101]
31700 * elf/Makefile (tests): Add tst-debug1.
31701 ($(objpfx)tst-debug1): New.
31702 ($(objpfx)tst-debug1.out): Likewise.
31703 ($(objpfx)tst-debug1mod1.so): Likewise.
31704 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
31705 with p_filesz == 0.
31706 * elf/tst-debug1.c: New file.
31707
31708 2017-09-26 Joseph Myers <joseph@codesourcery.com>
31709
31710 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
31711 Define using __ifunc.
31712
31713 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31714
31715 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
31716 exp2f() values.
31717
31718 2017-09-26 Joseph Myers <joseph@codesourcery.com>
31719
31720 [BZ #22156]
31721 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
31722
31723 2017-09-26 Florian Weimer <fweimer@redhat.com>
31724
31725 * resolv/Makefile (tests-internal): Fix typo in comment.
31726
31727 2017-09-26 Florian Weimer <fweimer@redhat.com>
31728
31729 * resolv/nss_dns/dns-host.c: Fix typo in comment.
31730
31731 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31732
31733 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
31734 Use an union instead of a max_align_t array for __space,
31735 so that __space is the same size on all platforms.
31736 * malloc/scratch_buffer_grow_preserve.c
31737 (__libc_scratch_buffer_grow_preserve): Likewise.
31738
31739 [BZ #22183]
31740 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
31741 version to 2.
31742 * posix/Makefile (routines): Add glob-lstat-compat and
31743 glob64-lstat-compat.
31744 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
31745 * posix/glob-lstat-compat.c: New file.
31746 * posix/glob64-lstat-compat.c: Likewise.
31747 * posix/tst-glob_lstat_compat.c: Likewise.
31748 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
31749 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
31750 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
31751 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
31752 Likewise.
31753 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
31754 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
31755 * posix/glob.c (glob_lstat): New function.
31756 (glob): Rename to __glob and add versioned symbol to 2.27.
31757 (glob_in_dir): Use glob_lstat.
31758 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
31759 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
31760 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
31761 2.27.
31762 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
31763 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
31764 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
31765 gl_lstat on glob call.
31766 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
31767 and glob64 symbols.
31768 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
31769 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
31770 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
31771 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
31772 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
31773 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
31774 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
31775 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
31776 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
31777 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
31778 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
31779 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
31780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
31781 Likewise.
31782 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
31783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
31784 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
31785 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
31786 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
31787 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
31788 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
31789 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
31790 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
31791 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
31792 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
31793 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
31794
31795 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
31796
31797 * configure.ac (AS): Require binutils 2.25 or later.
31798 * configure: Regenerated.
31799
31800 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
31801
31802 [BZ #22207]
31803 * stdlib/test-atexit-race-common.c (do_test): Minimize required
31804 VM size.
31805
31806 2017-09-25 DJ Delorie <dj@redhat.com>
31807
31808 [BZ #22161]
31809 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
31810 resetting timeout.
31811
31812 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
31813
31814 * sysdeps/ieee754/dbl-64/sincos32.h
31815 [SINCCOS32_H]: Remove define.
31816 [SINCOS32_H]: Define.
31817
31818 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
31819
31820 * math/Versions (expf): New libm symbol at GLIBC_2.27.
31821 (exp2f): Likewise.
31822 * math/w_exp2f.c: New file.
31823 * math/w_expf.c: New file.
31824 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
31825 * math/w_expf_compat.c (__expf_compat): Likewise.
31826 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
31827 * sysdeps/ia64/fpu/e_expf.S: Likewise.
31828 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
31829 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
31830 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
31831 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
31832 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
31833 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
31834 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
31835 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
31836 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
31837 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
31838 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
31839 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
31840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
31841 Likewise.
31842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31843 Likewise.
31844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
31845 Likewise.
31846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
31847 Likewise.
31848 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
31849 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
31850 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
31851 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
31852 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
31853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
31854 Likewise.
31855 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
31856 Likewise.
31857 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
31858 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
31859 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
31860
31861 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
31862
31863 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
31864 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
31865 (roundtoint, converttoint): Likewise.
31866 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
31867 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
31868 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
31869 * sysdeps/ieee754/flt-32/math_config.h: New file.
31870 * sysdeps/ieee754/flt-32/math_errf.c: New file.
31871 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
31872 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
31873 * sysdeps/i386/fpu/math_errf.c: New file.
31874 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
31875 * sysdeps/ia64/fpu/math_errf.c: New file.
31876 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
31877 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
31878
31879 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
31880
31881 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
31882 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
31883 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
31884 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
31885 to make sure that these symbols are defined.
31886 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
31887 of <limits.h>
31888 (__need_NULL): Do not define.
31889 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
31890 alignment.
31891 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
31892 CMGROUP_MAX, cmsgcred): Do not define.
31893 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
31894 NULL.
31895 * bits/socket.h: Likewise.
31896 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
31897 __gettimeofday instead of gettimeofday.
31898 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
31899 instead of settimeofday.
31900
31901 2017-09-22 Joseph Myers <joseph@codesourcery.com>
31902
31903 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
31904 (asinhf): Define using libm_alias_float.
31905 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
31906 (atanf): Define using libm_alias_float.
31907 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
31908 (cbrtf): Define using libm_alias_float.
31909 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
31910 (ceilf): Define using libm_alias_float.
31911 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
31912 <libm-alias-float.h>.
31913 (copysignf): Define using libm_alias_float.
31914 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
31915 (cosf): Define using libm_alias_float.
31916 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
31917 (erff): Define using libm_alias_float.
31918 (erfcf): Likewise.
31919 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
31920 (expm1f): Define using libm_alias_float.
31921 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
31922 (fabsf): Define using libm_alias_float.
31923 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
31924 (floorf): Define using libm_alias_float.
31925 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
31926 (frexpf): Define using libm_alias_float.
31927 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
31928 libm_alias_float.
31929 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
31930 <libm-alias-float.h>.
31931 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
31932 libm_alias_float.
31933 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
31934 <libm-alias-float.h>.
31935 (getpayloadf): Define using libm_alias_float.
31936 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
31937 <libm-alias-float.h>.
31938 (llrintf): Define using libm_alias_float.
31939 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
31940 <libm-alias-float.h>.
31941 (llroundf): Define using libm_alias_float.
31942 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
31943 (logbf): Define using libm_alias_float.
31944 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
31945 (lrintf): Define using libm_alias_float.
31946 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
31947 (lroundf): Define using libm_alias_float.
31948 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
31949 (modff): Define using libm_alias_float.
31950 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
31951 <libm-alias-float.h>.
31952 (nearbyintf): Define using libm_alias_float.
31953 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
31954 <libm-alias-float.h>.
31955 (nextafterf): Define using libm_alias_float.
31956 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
31957 <libm-alias-float.h>.
31958 (nextupf): Define using libm_alias_float.
31959 * sysdeps/ieee754/flt-32/s_remquof.c: Include
31960 <libm-alias-float.h>.
31961 (remquof): Define using libm_alias_float.
31962 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
31963 (rintf): Define using libm_alias_float.
31964 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
31965 <libm-alias-float.h>.
31966 (roundevenf): Define using libm_alias_float.
31967 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
31968 (roundf): Define using libm_alias_float.
31969 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
31970 using libm_alias_float.
31971 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
31972 <libm-alias-float.h>.
31973 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
31974 Define using libm_alias_float.
31975 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
31976 <libm-alias-float.h>.
31977 (sincosf): Define using libm_alias_float.
31978 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
31979 (sinf): Define using libm_alias_float.
31980 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
31981 (tanf): Define using libm_alias_float.
31982 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
31983 (tanhf): Define using libm_alias_float.
31984 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
31985 <libm-alias-float.h>.
31986 (totalorderf): Define using libm_alias_float.
31987 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
31988 <libm-alias-float.h>.
31989 (totalordermagf): Define using libm_alias_float.
31990 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
31991 (truncf): Define using libm_alias_float.
31992 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
31993 libm_alias_float.
31994 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
31995 libm_alias_float.
31996
31997 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31998
31999 [BZ #22146]
32000 math/math.h: Let fpclassify use the builtin in C++ mode, even
32001 when optimazing for size.
32002
32003 2017-09-22 Joseph Myers <joseph@codesourcery.com>
32004
32005 * csu/Makefile (generated): Do not add version-info.h.
32006 (before-compile): Likewise.
32007 (all-Banner-files): Remove variable.
32008 ($(objpfx)version-info.h): Remove rule.
32009 * csu/version.c (banner): Do not include "version-info.h".
32010 * libidn/Banner: Remove.
32011 * manual/contrib.texi (Simon Josefsson): New entry.
32012
32013 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32014
32015 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
32016 Remove conditionals on LDBL_MANT_DIG.
32017 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
32018 (__ieee754_lgammal_r): Likewise.
32019
32020 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32021
32022 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
32023 _Float128 and L().
32024 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
32025 _Float128 and L(). Replace _Float128 with long double and L(x)
32026 with xL, throughout the file.
32027 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
32028 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
32029 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
32030 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
32031
32032 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32033
32034 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
32035 sysdeps/ieee754/ldbl-128ibm.
32036 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
32037 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
32038 of including it. Keep _Float128 and L() intact. These will be
32039 reviewed by a separate patch.
32040 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
32041 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
32042 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
32043 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
32044
32045 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32046
32047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
32048 (__finitef128): Define to __redirect___finitef128.
32049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
32050 (__isinff128): Define to __redirect___isinff128.
32051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
32052 (__isnanf128): Define to __redirect___isnanf128.
32053
32054 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32055
32056 * sysdeps/powerpc/powerpc64le/Makefile
32057 (CFLAGS-tst-strtod-nan-locale.c): New variable.
32058 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
32059
32060 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
32061 Carlos O'Donell <carlos@redhat.com>
32062
32063 [BZ #22180]
32064 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
32065 * stdlib/test-dlclose-exit-race.c: New file.
32066 * stdlib/test-dlclose-exit-race-helper.c: New file.
32067 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
32068
32069 2017-09-21 Joseph Myers <joseph@codesourcery.com>
32070
32071 * crypt/Banner: Remove file.
32072 * nptl/Banner: Likewise.
32073 * resolv/Banner: Likewise.
32074 * soft-fp/Banner: Likewise.
32075 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
32076 ($(objpfx)version.d): Remove dependency on banner.h.
32077 ($(objpfx)version.os): Likewise.
32078 * nptl/version.c (banner): Do not include banner.h.
32079 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
32080 Jelinek and BIND code.
32081
32082 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
32083 Carlos O'Donell <carlos@redhat.com>
32084
32085 * support/xdlfcn.h: New file.
32086 * support/xdlfcn.c: New file.
32087 * support/Makefile (libsupport-routines): Add xdlfcn.
32088 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
32089
32090 2017-09-20 Joseph Myers <joseph@codesourcery.com>
32091
32092 [BZ #20142]
32093 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32094 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
32095 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
32096 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
32097 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
32098 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
32099 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
32100 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
32101
32102 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
32103 Ricky Zhou <rickyz@google.com>
32104 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
32105
32106 [BZ #14333]
32107 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
32108 Remove atomics.
32109 (__new_exitfn): Fail registration when we finished at_exit processing.
32110 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
32111 * stdlib/on_exit.c (__on_exit): Likewise.
32112 * stdlib/exit.c (__exit_funcs_done): New variable.
32113 (__run_exit_handlers): Use __exit_funcs_lock.
32114 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
32115 declarations.
32116 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
32117 (test-cxa_atexit-race, test-on_exit-race): New tests.
32118 * stdlib/test-atexit-race-common.c: New file.
32119 * stdlib/test-atexit-race.c: New file.
32120 * stdlib/test-at_quick_exit-race.c: New file.
32121 * stdlib/test-cxa_atexit-race.c: New file.
32122 * stdlib/test-on_exit-race.c: New file.
32123
32124 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
32125
32126 * benchtests/Makefile: Add exp2f and log2f benchmarks.
32127 * benchtests/exp2f-inputs: Copy of expf-inputs.
32128 * benchtests/log2f-inputs: Copy of logf-inputs.
32129
32130 2017-09-19 Joseph Myers <joseph@codesourcery.com>
32131
32132 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
32133 Explicitly take address of first element of array arguments in
32134 call to INLINE_SYSCALL.
32135
32136 2017-09-19 Andreas Schwab <schwab@suse.de>
32137
32138 [BZ #22134]
32139 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
32140 execveat first.
32141 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
32142 unimplemented.
32143 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
32144 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
32145 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32146 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
32147 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32148 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
32149 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32150 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
32151 * posix/Makefile (tests): Add tst-fexecve.
32152 * posix/tst-fexecve.c: New file.
32153
32154 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
32155
32156 * benchtests/Makefile: Add logf benchmark.
32157 * benchtests/logf-inputs: Add reduced trace from wrf_r.
32158
32159 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
32160
32161 * benchtests/Makefile: Add expf benchmark.
32162 * benchtests/expf-inputs: Add reduced trace from wrf_r.
32163
32164 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
32165
32166 * csu/Makefile: Add -funwind-tables to libc-start.c.
32167 * debug/Makefile: Add -funwind-tables to backtrace.c.
32168 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
32169 * sysdeps/arm/Makefile: Likewise.
32170 * sysdeps/i386/Makefile: Likewise.
32171 * sysdeps/m68k/Makefile: Likewise.
32172 * sysdeps/mips/Makefile: Likewise.
32173 * sysdeps/nios2/Makefile: Likewise.
32174 * sysdeps/sh/Makefile: Likewise.
32175 * sysdeps/sparc/Makefile: Likewise.
32176
32177 2017-09-19 Joseph Myers <joseph@codesourcery.com>
32178
32179 * benchtests/Makefile (bench-math): Add trunc and truncf.
32180 (CFLAGS-bench-trunc.c): New variable.
32181 (CFLAGS-bench-truncf.c): Likewise.
32182 * benchtests/trunc-inputs: New file.
32183 * benchtests/truncf-inputs: Likewise.
32184
32185 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32186
32187 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
32188
32189 2017-09-18 Joseph Myers <joseph@codesourcery.com>
32190
32191 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
32192 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
32193 redefine.
32194 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
32195 (exp10l): Define as weak alias.
32196 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
32197 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
32198 and redefine.
32199 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
32200 (remainderl): Define as weak alias.
32201
32202 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
32203 (fmal): Define using libm_alias_ldouble.
32204 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
32205 (acoshl): Define using libm_alias_ldouble.
32206 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
32207 (acosl): Define using libm_alias_ldouble.
32208 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
32209 (asinl): Define using libm_alias_ldouble.
32210 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
32211 (atan2l): Define using libm_alias_ldouble.
32212 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
32213 (atanhl): Define using libm_alias_ldouble.
32214 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
32215 (coshl): Define using libm_alias_ldouble.
32216 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
32217 (exp10l): Define using libm_alias_ldouble.
32218 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
32219 (exp2l): Define using libm_alias_ldouble.
32220 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
32221 (expl): Define using libm_alias_ldouble.
32222 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
32223 (fmodl): Define using libm_alias_ldouble.
32224 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
32225 (hypotl): Define using libm_alias_ldouble.
32226 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
32227 (j0l): Define using libm_alias_ldouble.
32228 (y0l): Likewise.
32229 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
32230 (j1l): Define using libm_alias_ldouble.
32231 (y1l): Likewise.
32232 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
32233 (jnl): Define using libm_alias_ldouble.
32234 (ynl): Likewise.
32235 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
32236 (log10l): Define using libm_alias_ldouble.
32237 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
32238 (log2l): Define using libm_alias_ldouble.
32239 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
32240 (logl): Define using libm_alias_ldouble.
32241 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
32242 (powl): Define using libm_alias_ldouble.
32243 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
32244 (remainderl): Define using libm_alias_ldouble.
32245 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
32246 (sinhl): Define using libm_alias_ldouble.
32247 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
32248 (sqrtl): Define using libm_alias_ldouble.
32249 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
32250 (tgammal): Define using libm_alias_ldouble.
32251 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
32252 (exp10l): Do not use long_double_symbol here.
32253 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
32254 [LIBM_SVID_COMPAT] (remainderl): Likewise.
32255 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
32256 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
32257 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
32258 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
32259 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
32260 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
32261 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
32262 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
32263 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
32264 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
32265 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
32266 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
32267 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
32268 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
32269 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
32270 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
32271 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
32272 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
32273 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
32274 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
32275
32276 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
32277
32278 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
32279 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
32280
32281 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
32282
32283 * io/read.c (read): Add libc_hidden_weak.
32284 * sysdeps/mach/hurd/read.c (read): Likewise.
32285 * io/write.c (write): Likewise.
32286 * sysdeps/mach/hurd/write.c (write): Likewise.
32287 * io/pread64.c (__pread64): Likewise.
32288 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
32289 * posix/pread64.c (__pread64): Add libc_hidden_def.
32290
32291 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
32292
32293 * benchtests/scripts/compare_strings.py: New option -g.
32294 (draw_graph): Print a message that a graph is being generated.
32295 (process_results): Generate graph only if -g is passed.
32296 (main): Process option -g.
32297
32298 * benchtests/scripts/compare_strings.py (process_results):
32299 Better spacing for output.
32300
32301 * benchtests/scripts/compare_strings.py: Use argparse.
32302 * benchtests/README: Document existence of compare_strings.py.
32303
32304 2017-09-15 Joseph Myers <joseph@codesourcery.com>
32305
32306 * math/s_fma.c: Include <libm-alias-double.h>.
32307 (fma): Define using libm_alias_double.
32308 * math/s_nextafter.c: Include <libm-alias-double.h>.
32309 (nextafter): Define using libm_alias_double.
32310 * math/w_acos_compat.c: Include <libm-alias-double.h>.
32311 (acos): Define using libm_alias_double.
32312 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
32313 (aocsh): Define using libm_alias_double.
32314 * math/w_asin_compat.c: Include <libm-alias-double.h>.
32315 (asin): Define using libm_alias_double.
32316 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
32317 (atan2): Define using libm_alias_double.
32318 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
32319 (atanh): Define using libm_alias_double.
32320 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
32321 (cosh): Define using libm_alias_double.
32322 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
32323 (exp10): Define using libm_alias_double.
32324 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
32325 (exp2): Define using libm_alias_double.
32326 * math/w_exp_compat.c: Include <libm-alias-double.h>.
32327 (exp): Define using libm_alias_double.
32328 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
32329 (fmod): Define using libm_alias_double.
32330 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
32331 (hypot): Define using libm_alias_double.
32332 * math/w_j0_compat.c: Include <libm-alias-double.h>.
32333 (j0): Define using libm_alias_double.
32334 (y0): Likewise.
32335 * math/w_j1_compat.c: Include <libm-alias-double.h>.
32336 (j1): Define using libm_alias_double.
32337 (y1): Likewise.
32338 * math/w_jn_compat.c: Include <libm-alias-double.h>.
32339 (jn): Define using libm_alias_double.
32340 (yn): Likewise.
32341 * math/w_log10_compat.c: Include <libm-alias-double.h>.
32342 (log10): Define using libm_alias_double.
32343 * math/w_log2_compat.c: Include <libm-alias-double.h>.
32344 (log2): Define using libm_alias_double.
32345 * math/w_log_compat.c: Include <libm-alias-double.h>.
32346 (log): Define using libm_alias_double.
32347 * math/w_pow_compat.c: Include <libm-alias-double.h>.
32348 (pow): Define using libm_alias_double.
32349 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
32350 (remainder): Define using libm_alias_double.
32351 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
32352 (sinh): Define using libm_alias_double.
32353 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
32354 (sqrt): Define using libm_alias_double.
32355 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
32356 (tgamma): Define using libm_alias_double.
32357 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
32358 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
32359 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
32360 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
32361 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
32362 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
32363 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
32364 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
32365 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
32366 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
32367 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
32368 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
32369 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
32370 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
32371 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
32372 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
32373 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
32374 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
32375 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
32376 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
32377 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
32378 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
32379 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
32380 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
32381 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
32382
32383 * math/e_acoshl.c: Remove.
32384 * math/e_acosl.c: Likewise.
32385 * math/e_asinl.c: Likewise.
32386 * math/e_atan2l.c: Likewise.
32387 * math/e_atanhl.c: Likewise.
32388 * math/e_coshl.c: Likewise.
32389 * math/e_expl.c: Likewise.
32390 * math/e_fmodl.c: Likewise.
32391 * math/e_gammal_r.c: Likewise.
32392 * math/e_hypotl.c: Likewise.
32393 * math/e_j0l.c: Likewise.
32394 * math/e_j1l.c: Likewise.
32395 * math/e_jnl.c: Likewise.
32396 * math/e_lgammal_r.c: Likewise.
32397 * math/e_log10l.c: Likewise.
32398 * math/e_log2l.c: Likewise.
32399 * math/e_logl.c: Likewise.
32400 * math/e_powl.c: Likewise.
32401 * math/e_rem_pio2l.c: Likewise.
32402 * math/e_sinhl.c: Likewise.
32403 * math/e_sqrtf128.c: Likewise.
32404 * math/e_sqrtl.c: Likewise.
32405 * math/k_cosl.c: Likewise.
32406 * math/k_sinl.c: Likewise.
32407 * math/k_tanl.c: Likewise.
32408 * math/s_asinhl.c: Likewise.
32409 * math/s_atanl.c: Likewise.
32410 * math/s_cbrtl.c: Likewise.
32411 * math/s_erfl.c: Likewise.
32412 * math/s_expm1l.c: Likewise.
32413 * math/s_log1pl.c: Likewise.
32414 * math/s_tanhl.c: Likewise.
32415
32416 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32417
32418 [BZ #21745]
32419 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
32420 [$(subdir) = math] (sysdep_calls): New variable. Has the
32421 previous contents of sysdep_routines, but re-sorted..
32422 [$(subdir) = math] (sysdep_routines): Re-use the contents from
32423 sysdep_calls.
32424 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
32425 defined in sysdep_calls and replace by the respective m_* names.
32426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
32427 (compat_symbol): Undefine to avoid duplicated compat symbols in
32428 libc.
32429
32430 2017-09-15 Joseph Myers <joseph@codesourcery.com>
32431
32432 * math/s_fmaf.c: Include <libm-alias-float.h>.
32433 (fmaf): Define using libm_alias_float.
32434 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
32435 (acosf): Define using libm_alias_float.
32436 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
32437 (acoshf): Define using libm_alias_float.
32438 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
32439 (asinf): Define using libm_alias_float.
32440 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
32441 (atan2f): Define using libm_alias_float.
32442 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
32443 (atanhf): Define using libm_alias_float.
32444 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
32445 (coshf): Define using libm_alias_float.
32446 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
32447 (exp10f): Define using libm_alias_float.
32448 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
32449 (fmodf): Define using libm_alias_float.
32450 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
32451 (hypotf): Define using libm_alias_float.
32452 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
32453 (j0f): Define using libm_alias_float.
32454 (y0f): Likewise.
32455 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
32456 (j1f): Define using libm_alias_float.
32457 (y1f): Likewise.
32458 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
32459 (jnf): Define using libm_alias_float.
32460 (ynf): Likewise.
32461 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
32462 (log10f): Define using libm_alias_float.
32463 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
32464 (log2f): Define using libm_alias_float.
32465 * math/w_logf_compat.c: Include <libm-alias-float.h>.
32466 (logf): Define using libm_alias_float.
32467 * math/w_powf_compat.c: Include <libm-alias-float.h>.
32468 (powf): Define using libm_alias_float.
32469 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
32470 (remainderf): Define using libm_alias_float.
32471 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
32472 (sinhf): Define using libm_alias_float.
32473 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
32474 (sqrtf): Define using libm_alias_float.
32475 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
32476 (tgammaf): Define using libm_alias_float.
32477
32478 2017-09-14 Joseph Myers <joseph@codesourcery.com>
32479
32480 * include/math.h (roundeven): Change hidden_proto call to
32481 __roundeven.
32482 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
32483 alias.
32484 [NO_LONG_DOUBLE] (__j0l): New strong alias.
32485 (y0): Rename to __y0 and define as weak alias.
32486 [NO_LONG_DOUBLE] (__y0l): New strong alias.
32487 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
32488 alias.
32489 (y0f): Rename to __y0f and define as weak alias.
32490 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
32491 alias.
32492 [NO_LONG_DOUBLE] (__j1l): New strong alias.
32493 (y1): Rename to __y1 and define as weak alias.
32494 [NO_LONG_DOUBLE] (__y1l): New strong alias.
32495 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
32496 alias.
32497 (y1f): Rename to __y1f and define as weak alias.
32498 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
32499 alias.
32500 [NO_LONG_DOUBLE] (__jnl): New strong alias.
32501 (yn): Rename to __yn and define as weak alias.
32502 [NO_LONG_DOUBLE] (__ynl): New strong alias.
32503 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
32504 alias.
32505 (ynf): Rename to __ynf and define as weak alias.
32506 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
32507 (fromfp): Define as weak alias.
32508 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
32509 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
32510 (fromfpx): Define as weak alias.
32511 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
32512 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
32513 __getpayload and define as weak alias.
32514 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
32515 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
32516 __roundeven and define as weak alias.
32517 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
32518 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
32519 __setpayload.
32520 (setpayload): Define as weak alias.
32521 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
32522 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
32523 __setpayloadsig.
32524 (setpayloadsig): Define as weak alias.
32525 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
32526 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
32527 __totalorder and define as weak alias.
32528 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
32529 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
32530 to __totalordermag and define as weak alias.
32531 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
32532 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
32533 (ufromfp): Define as weak alias.
32534 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
32535 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
32536 __ufromfpx.
32537 (ufromfpx): Define as weak alias.
32538 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
32539 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
32540 Rename to __getpayload and define as weak alias.
32541 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
32542 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
32543 Rename to __roundeven and define as weak alias.
32544 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
32545 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
32546 Rename to __totalorder and define as weak alias.
32547 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
32548 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
32549 (totalordermag): Rename to __totalordermag and define as weak
32550 alias.
32551 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
32552 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
32553 macro.
32554 (__roundevenl): Likewise.
32555 (__totalorderl): Likewise.
32556 (__totalordermagl): Likewise
32557 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
32558 __fromfpf128.
32559 (fromfpf128): Define as weak alias.
32560 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
32561 __fromfpxf128.
32562 (fromfpxf128): Define as weak alias.
32563 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
32564 __setpayloadf128.
32565 (setpayloadf128): Define as weak alias.
32566 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
32567 __setpayloadsigf128.
32568 (setpayloadsigf128): Define as weak alias.
32569 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
32570 __ufromfpf128.
32571 (ufromfpf128): Define as weak alias.
32572 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
32573 __ufromfpxf128.
32574 (ufromfpxf128): Define as weak alias.
32575 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
32576 (fromfpf): Define as weak alias.
32577 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
32578 __fromfpxf.
32579 (fromfpxf): Define as weak alias.
32580 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
32581 __getpayloadf and define as weak alias.
32582 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
32583 __roundevenf and define as weak alias.
32584 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
32585 __setpayloadf.
32586 (setpayloadf): Define as weak alias.
32587 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
32588 __setpayloadsigf.
32589 (setpayloadsigf): Define as weak alias.
32590 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
32591 __totalorderf and define as weak alias.
32592 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
32593 Rename to __totalordermagf and define as weak alias.
32594 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
32595 __ufromfpf.
32596 (ufromfpf): Define as weak alias.
32597 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
32598 __ufromfpxf.
32599 (ufromfpxf): Define as weak alias.
32600 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
32601 __fromfpl.
32602 (fromfpl): Define as weak alias.
32603 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
32604 __fromfpxl.
32605 (fromfpxl): Define as weak alias.
32606 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
32607 to __getpayloadl and define as weak alias.
32608 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
32609 __roundevenl and define as weak alias.
32610 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
32611 __setpayloadl.
32612 (setpayloadl): Define as weak alias.
32613 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
32614 __setpayloadsigl.
32615 (setpayloadsigl): Define as weak alias.
32616 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
32617 to __totalorderl and define as weak alias.
32618 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
32619 Rename to __totalordermagl and define as weak alias.
32620 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
32621 __ufromfpl.
32622 (ufromfpl): Define as weak alias.
32623 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
32624 __ufromfpxl.
32625 (ufromfpxl): Define as weak alias.
32626 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
32627 __fromfpl.
32628 (fromfpl): Define as weak alias.
32629 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
32630 __fromfpxl.
32631 (fromfpxl): Define as weak alias.
32632 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
32633 Rename to __getpayloadl and define as weak alias.
32634 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
32635 to __roundevenl and define as weak alias. Call __roundeven
32636 instead of roundeven.
32637 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
32638 __setpayloadl.
32639 (setpayloadl): Define as weak alias.
32640 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
32641 __setpayloadsigl.
32642 (setpayloadsigl): Define as weak alias.
32643 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
32644 Rename to __totalorderl and define as weak alias.
32645 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
32646 Rename to __totalordermagl and define as weak alias.
32647 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
32648 __ufromfpl.
32649 (ufromfpl): Define as weak alias.
32650 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
32651 __ufromfpxl.
32652 (ufromfpxl): Define as weak alias.
32653 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
32654 __fromfpl.
32655 (fromfpl): Define as weak alias.
32656 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
32657 __fromfpxl.
32658 (fromfpxl): Define as weak alias.
32659 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
32660 __getpayloadl and define as weak alias.
32661 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
32662 __roundevenl and define as weak alias.
32663 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
32664 __setpayloadl.
32665 (setpayloadl): Define as weak alias.
32666 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
32667 __setpayloadsigl.
32668 (setpayloadsigl): Define as weak alias.
32669 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
32670 __totalorderl and define as weak alias.
32671 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
32672 Rename to __totalordermagl and define as weak alias.
32673 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
32674 __ufromfpl.
32675 (ufromfpl): Define as weak alias.
32676 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
32677 __ufromfpxl.
32678 (ufromfpxl): Define as weak alias.
32679
32680 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
32681
32682 * benchtests/bench-string.h (realloc_bufs): New function.
32683 (test_init): Call it.
32684 * benchtests/bench-memset-large.c (do_test): Likewise.
32685 * benchtests/bench-memset.c (do_test): Likewise.
32686
32687 * benchtests/bench-memset-large.c: Print output in JSON
32688 format.
32689 * benchtests/bench-memset.c: Likewise.
32690
32691 2017-09-14 Mike FABIAN <mfabian@redhat.com>
32692
32693 [BZ #21084]
32694 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
32695 * iconvdata/Makefile: Add IBM858.
32696 * iconvdata/gconv-modules: Likewise.
32697 * iconvdata/tst-tables.sh: Likewise.
32698 * iconvdata/ibm858.c: New file.
32699 * localedata/charmaps/IBM858: Likewise.
32700
32701 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
32702
32703 [BZ #22023]
32704 * locales/niu_NZ (LC_TIME): copy "niu_NU".
32705 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
32706
32707 2017-09-14 Mike FABIAN <mfabian@redhat.com>
32708
32709 [BZ #22112]
32710 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
32711 and add tel_int_fmt.
32712
32713 2017-09-14 Joseph Myers <joseph@codesourcery.com>
32714
32715 * sysdeps/generic/libm-alias-float128.h: New file.
32716 * sysdeps/generic/math-type-macros-float128.h: Include
32717 <libm-alias-float128.h>.
32718 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
32719
32720 2017-09-13 Joseph Myers <joseph@codesourcery.com>
32721
32722 * sysdeps/generic/libm-alias-ldouble.h: New file.
32723 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
32724 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
32725 * sysdeps/generic/math-type-macros-ldouble.h: Include
32726 <libm-alias-ldouble.h>.
32727 [!declare_mgen_alias] (declare_mgen_alias): Define to use
32728 libm_alias_ldouble.
32729
32730 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
32731
32732 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
32733 * math/w_exp_compat.c: ... here.
32734 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
32735 * math/w_expf_compat.c: ... here.
32736 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
32737 * math/w_expl_compat.c: ... here.
32738 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
32739 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
32740 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
32741 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
32742
32743 2017-09-13 Joseph Myers <joseph@codesourcery.com>
32744
32745 * math/w_scalbln_template.c (strong_alias): Do not undefine and
32746 redefine.
32747 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
32748 macro.
32749 (ldexpl): Only define as compat symbol for libc, not libm.
32750 (scalbnl): Define as compat symbol for libc here.
32751 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
32752 define for [IS_IN (libc)].
32753 (__ldexpl_2): Remove alias.
32754 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
32755 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
32756 name in long_double_symbol call.
32757 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
32758 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
32759 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
32760 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
32761 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
32762 Remove macro.
32763 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
32764 Define as compat symbol.
32765
32766 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32767
32768 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
32769 * sysdeps/unix/sysv/linux/alpha/Makefile
32770 [$(subdir) = csu] (sysdep_routines): Remove rule.
32771
32772 2017-09-13 Joseph Myers <joseph@codesourcery.com>
32773
32774 * sysdeps/generic/libm-alias-double.h: New file.
32775 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
32776 * sysdeps/generic/math-type-macros-double.h: Include
32777 <libm-alias-double.h>.
32778 [declare_mgen_alias] (declare_mgen_alias): Define to use
32779 libm_alias_double.
32780 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
32781 (M_LIBM_NEED_COMPAT): Remove macro.
32782 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
32783 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
32784 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
32785 code.
32786 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32787 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32788 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32789 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32790 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32791 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32792 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32793 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32794 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32795 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32796 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32797 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32798 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32799 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32800 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32801 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32802 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32803 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32804 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32805 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32806 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32807 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32808 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32809 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32810 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32811 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32812 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
32813 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
32814 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
32815 macro.
32816 (declare_mgen_alias): New macro.
32817 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
32818 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
32819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
32820 (M_LIBM_NEED_COMPAT): Remove macro.
32821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
32822 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
32823 <first-versions.h>.
32824 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
32825 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
32826
32827 2017-09-12 Joseph Myers <joseph@codesourcery.com>
32828
32829 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
32830 (declare_mgen_alias_2): Remove.
32831 * sysdeps/generic/math-type-macros-double.h
32832 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
32833 Likewise.
32834 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
32835 alias.
32836 (ldexp): Define with declare_mgen_alias.
32837 (scalbn): Likewise.
32838
32839 2017-09-12 Steve Ellcey <sellcey@cavium.com>
32840
32841 * grp/initgroups.c: Include config.h.
32842 (DEFAULT_CONFIG): New macro.
32843 (internal_getgrouplist): Use DEFAULT_CONFIG.
32844 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32845 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
32846 (DEFAULT_DEFCONFIG): New macro.
32847 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
32848 * nss/grp-lookup.c: Include config.h
32849 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
32850 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
32851 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
32852 * manual/nss.texi: Update default values section.
32853
32854 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
32855
32856 [BZ #21967]
32857 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
32858 New.
32859 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
32860 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
32861 Handle MathVec_Prefer_No_AVX512.
32862 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
32863 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
32864 is set.
32865
32866 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
32867
32868 * posix/sched_primax.c (__sched_get_priority_max): Add
32869 libc_hidden_def.
32870 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
32871 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
32872 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
32873 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
32874 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
32875 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
32876 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
32877 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
32878 Add aliases.
32879
32880 2017-09-11 Joseph Myers <joseph@codesourcery.com>
32881
32882 * sysdeps/generic/libm-alias-float.h: New file.
32883 * sysdeps/generic/math-type-macros-float.h: Include
32884 <libm-alias-float.h>.
32885 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
32886
32887 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
32888
32889 [BZ #22093]
32890 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
32891 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
32892 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
32893 (HWCAP_IMPORTANT): Likewise.
32894 (HWCAP_X86_64): New enum.
32895 (HWCAP_X86_AVX512_1): Updated.
32896 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
32897 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
32898 (modules-names): Add x86_64/tst-x86_64mod-1.
32899 (LDFLAGS-tst-x86_64mod-1.so): New.
32900 ($(objpfx)tst-x86_64-1): Likewise.
32901 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
32902 (tst-x86_64-1-clean): Likewise.
32903 * sysdeps/x86_64/tst-x86_64-1.c: New file.
32904 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
32905
32906 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
32907
32908 * po/sv.po: Update translations.
32909 * po/fr.po: Likewise.
32910
32911 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32912
32913 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
32914 seconds.
32915 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
32916 seconds.
32917 * elf/rtld-Rules: Fix $(error) use.
32918
32919 2017-09-09 Mike FABIAN <mfabian@redhat.com>
32920
32921 [BZ #14925]
32922 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
32923 * locale/iso-639.def: Change “Bengali” to “Bangla”.
32924 * localedata/locales/bn_BD: “Bengali” was still used in some
32925 comments. Change it to “Bangla”.
32926
32927 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
32928
32929 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
32930
32931 2017-09-08 Steve Ellcey <sellcey@cavium.com>
32932
32933 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
32934 thunderx2t99p1 to list of cpu names.
32935 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
32936 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
32937
32938 2017-09-08 Steve Ellcey <sellcey@cavium.com>
32939
32940 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
32941 Use strcmp instead of tunable_is_name.
32942
32943 2017-09-08 Joseph Myers <joseph@codesourcery.com>
32944
32945 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32946 (F_GET_RW_HINT): New macro.
32947 [__USE_GNU] (F_SET_RW_HINT): Likewise.
32948 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
32949 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
32950 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
32951 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
32952 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
32953 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
32954 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
32955 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
32956
32957 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32958 (F_ADD_SEALS): New macro.
32959 [__USE_GNU] (F_GET_SEALS): Likewise.
32960 [__USE_GNU] (F_SEAL_SEAL): Likewise.
32961 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
32962 [__USE_GNU] (F_SEAL_GROW): Likewise.
32963 [__USE_GNU] (F_SEAL_WRITE): Likewise.
32964
32965 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32966
32967 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
32968 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
32969 * posix/glob_internal.h (__glob_pattern_type):
32970 * posix/glob.c (glob):
32971 * posix/glob_pattern_p.c (__glob_pattern_p):
32972 Use them.
32973
32974 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
32975 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
32976 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
32977 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
32978 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
32979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
32980 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
32981 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
32982 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
32983 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32984 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
32985 * sysdeps/wordsize-64/glob.c: Likewise.
32986 * sysdeps/wordsize-64/glob64.c: Likewise.
32987 * sysdeps/wordsize-64/globfree.c: Likewise.
32988 * sysdeps/wordsize-64/globfree64.c: Likewise.
32989 * sysdeps/unix/sysv/linux/glob.c: New file.
32990 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
32991 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
32992 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
32993 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
32994 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
32995 adds !GLOB_NO_OLD_VERSION as an extra condition.
32996 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
32997 using relative path instead of absolute one.
32998 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
32999 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33000 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33001 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
33002 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
33003 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
33004
33005 [BZ #1062]
33006 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
33007 (glob): Use the same scratch buffer for both getlogin_r and
33008 getpwnam_r. Don’t require preallocation of the login name. This
33009 simplifies storage allocation, and corrects the handling of
33010 long login names.
33011
33012 [BZ #1062]
33013 * posix/glob.c (glob): Port recent patches to platforms
33014 lacking getpwnam_r.
33015 (glob): Fix longstanding misuse of errno after getpwnam_r, which
33016 returns an error number rather than setting errno.
33017
33018 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
33019 instead of GCC extension.
33020 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
33021 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
33022 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
33023
33024 [BZ #866]
33025 [BZ #1062]
33026 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
33027 * posix/bug-glob1.c: Remove file.
33028 * posix/tst-glob_symlinks.c: New file.
33029 * posix/glob.c (__lstat64): New macro.
33030 (is_dir): New function.
33031 (glob, glob_in_dir): Match symlinks even if they are dangling.
33032 (link_stat, link_exists_p): Remove. All uses removed.
33033
33034 [BZ #1062]
33035 [BZ #19971]
33036 * posix/glob.c (struct readdir_result): Remove skip_entry member.
33037 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
33038 All uses removed.
33039
33040 [BZ #1062]
33041 CVE-2017-15671
33042 * posix/Makefile (routines): Add globfree, globfree64, and
33043 glob_pattern_p.
33044 * posix/flexmember.h: New file.
33045 * posix/glob_internal.h: Likewise.
33046 * posix/glob_pattern_p.c: Likewise.
33047 * posix/globfree.c: Likewise.
33048 * posix/globfree64.c: Likewise.
33049 * sysdeps/gnu/globfree64.c: Likewise.
33050 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
33051 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
33052 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
33053 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
33054 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
33055 * sysdeps/wordsize-64/globfree.c: Likewise.
33056 * sysdeps/wordsize-64/globfree64.c: Likewise.
33057 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
33058 [NDEBUG): Remove comments.
33059 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
33060 (dirent_type): New type. Use uint_fast8_t not
33061 uint8_t, as C99 does not require uint8_t.
33062 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
33063 (struct readdir_result): Use dirent_type. Do not define skip_entry
33064 unless it is needed; this saves a byte on platforms lacking d_ino.
33065 (readdir_result_type, readdir_result_skip_entry):
33066 New functions, replacing ...
33067 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
33068 these functions, which were removed. This makes the callers
33069 easier to read. All callers changed.
33070 (D_INO_TO_RESULT): Now empty if there is no d_ino.
33071 (size_add_wrapv, glob_use_alloca): New static functions.
33072 (glob, glob_in_dir): Check for size_t overflow in several places,
33073 and fix some size_t checks that were not quite right.
33074 Remove old code using SHELL since Bash no longer
33075 uses this.
33076 (glob, prefix_array): Separate MS code better.
33077 (glob_in_dir): Remove old Amiga and VMS code.
33078 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
33079 separate files.
33080 (glob_in_dir): Do not rely on undefined behavior in accessing
33081 struct members beyond their bounds. Use a flexible array member
33082 instead
33083 (link_stat): Rename from link_exists2_p and return -1/0 instead of
33084 0/1. Caller changed.
33085 (glob): Fix memory leaks.
33086 * posix/glob64 (globfree64): Move to separate file.
33087 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
33088 (globfree64): Remove hidden alias.
33089 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
33090 oldglob.
33091 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
33092 separate file.
33093 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
33094 define.
33095 Move compat code to separate file.
33096 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
33097 separate file.
33098
33099 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
33100
33101 * resolv/tst-resolv-qtypes.c (domain): Changed to
33102 "const char domain[] =".
33103
33104 2017-09-07 Joseph Myers <joseph@codesourcery.com>
33105
33106 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
33107 version to 3.1.6.
33108
33109 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
33110 (TCP_MD5SIG_EXT): Likewise.
33111 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
33112 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
33113 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
33114
33115 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
33116
33117 2017-09-07 Mike FABIAN <mfabian@redhat.com>
33118
33119 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
33120
33121 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
33122
33123 [BZ #22100]
33124 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
33125
33126 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
33127
33128 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
33129 before assuming that the file is empty. Avoid testing buffer content
33130 when nread == 0.
33131
33132 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33133
33134 [BZ #18858]
33135 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
33136 Remove define.
33137 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
33138 Likewise.
33139 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
33140 Likewise.
33141 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
33142 Likewise.
33143 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
33144 Likewise.
33145 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
33146 Likewise.
33147 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
33148 Likewise.
33149
33150 2017-09-06 Florian Weimer <fweimer@redhat.com>
33151
33152 * malloc/dynarray_emplace_enlarge.c
33153 (__libc_dynarray_emplace_enlarge): Add missing else.
33154
33155 2017-09-06 Florian Weimer <fweimer@redhat.com>
33156
33157 [BZ #22096]
33158 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
33159 case of failure to obtain the global conf object.
33160
33161 2017-09-06 Florian Weimer <fweimer@redhat.com>
33162
33163 [BZ #22095]
33164 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
33165 dynarray allocation failure.
33166
33167 2017-09-06 Florian Weimer <fweimer@redhat.com>
33168
33169 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
33170 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
33171 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
33172 New functions.
33173 (response): Call them. Add 'p', '6' flag processing.
33174 (test_reverse): New function.
33175 (test_get2_any): Call it.
33176 (test_no_inet6): Add 'p' test.
33177 (test_inet6): Likewise.
33178
33179 2017-09-06 Florian Weimer <fweimer@redhat.com>
33180
33181 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
33182 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
33183 the QNAME.
33184 (test_gai): Adjust query names. Add additional tests.
33185 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
33186 test_get2. Adjust query names. Add additional tests.
33187 (test_no_inet6): New function, extracted from threadfunc.
33188 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
33189 Add additional tests.
33190
33191 2017-09-06 Mike FABIAN <mfabian@redhat.com>
33192
33193 [BZ #22070]
33194 * localedata/unicode-gen/utf8_gen.py: Set the width for
33195 characters with Prepended_Concatenation_Mark property to 1
33196 * localedata/charmaps/UTF-8: Updated using the improved script.
33197
33198 2017-09-06 Mike FABIAN <mfabian@redhat.com>
33199
33200 [BZ #21750]
33201 * localedata/unicode-gen/utf8_gen.py: Improve the script to
33202 use the range notation for all ranges of neighbouring characters
33203 with the same width.
33204
33205 2017-09-05 Joseph Myers <joseph@codesourcery.com>
33206
33207 * sysdeps/generic/math-type-macros-double.h: Include
33208 <math-svid-compat.h>.
33209 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
33210 * sysdeps/generic/math-type-macros-float.h: Include
33211 <math-svid-compat.h>.
33212 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
33213 * sysdeps/generic/math-type-macros-ldouble.h: Include
33214 <math-svid-compat.h>.
33215 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
33216 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
33217 condition.
33218 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
33219 * math/w_acosf_compat.c: Likewise.
33220 * math/w_acosh_compat.c: Likewise.
33221 * math/w_acoshf_compat.c: Likewise.
33222 * math/w_acoshl_compat.c: Likewise.
33223 * math/w_acosl_compat.c: Likewise.
33224 * math/w_asin_compat.c: Likewise.
33225 * math/w_asinf_compat.c: Likewise.
33226 * math/w_asinl_compat.c: Likewise.
33227 * math/w_atan2_compat.c: Likewise.
33228 * math/w_atan2f_compat.c: Likewise.
33229 * math/w_atan2l_compat.c: Likewise.
33230 * math/w_atanh_compat.c: Likewise.
33231 * math/w_atanhf_compat.c: Likewise.
33232 * math/w_atanhl_compat.c: Likewise.
33233 * math/w_cosh_compat.c: Likewise.
33234 * math/w_coshf_compat.c: Likewise.
33235 * math/w_coshl_compat.c: Likewise.
33236 * math/w_exp10_compat.c: Likewise.
33237 * math/w_exp10f_compat.c: Likewise.
33238 * math/w_exp10l_compat.c: Likewise.
33239 * math/w_exp2_compat.c: Likewise.
33240 * math/w_exp2f_compat.c: Likewise.
33241 * math/w_exp2l_compat.c: Likewise.
33242 * math/w_fmod_compat.c: Likewise.
33243 * math/w_fmodf_compat.c: Likewise.
33244 * math/w_fmodl_compat.c: Likewise.
33245 * math/w_hypot_compat.c: Likewise.
33246 * math/w_hypotf_compat.c: Likewise.
33247 * math/w_hypotl_compat.c: Likewise.
33248 * math/w_j0_compat.c: Likewise.
33249 * math/w_j0f_compat.c: Likewise.
33250 * math/w_j0l_compat.c: Likewise.
33251 * math/w_j1_compat.c: Likewise.
33252 * math/w_j1f_compat.c: Likewise.
33253 * math/w_j1l_compat.c: Likewise.
33254 * math/w_jn_compat.c: Likewise.
33255 * math/w_jnf_compat.c: Likewise.
33256 * math/w_jnl_compat.c: Likewise.
33257 * math/w_lgamma_r_compat.c: Likewise.
33258 * math/w_lgammaf_r_compat.c: Likewise.
33259 * math/w_lgammal_r_compat.c: Likewise.
33260 * math/w_log10_compat.c: Likewise.
33261 * math/w_log10f_compat.c: Likewise.
33262 * math/w_log10l_compat.c: Likewise.
33263 * math/w_log2_compat.c: Likewise.
33264 * math/w_log2f_compat.c: Likewise.
33265 * math/w_log2l_compat.c: Likewise.
33266 * math/w_log_compat.c: Likewise.
33267 * math/w_logf_compat.c: Likewise.
33268 * math/w_logl_compat.c: Likewise.
33269 * math/w_pow_compat.c: Likewise.
33270 * math/w_powf_compat.c: Likewise.
33271 * math/w_powl_compat.c: Likewise.
33272 * math/w_remainder_compat.c: Likewise.
33273 * math/w_remainderf_compat.c: Likewise.
33274 * math/w_remainderl_compat.c: Likewise.
33275 * math/w_sinh_compat.c: Likewise.
33276 * math/w_sinhf_compat.c: Likewise.
33277 * math/w_sinhl_compat.c: Likewise.
33278 * math/w_sqrt_compat.c: Likewise.
33279 * math/w_sqrtf_compat.c: Likewise.
33280 * math/w_sqrtl_compat.c: Likewise.
33281 * math/w_tgamma_compat.c: Likewise.
33282 * math/w_tgammaf_compat.c: Likewise.
33283 * math/w_tgammal_compat.c: Likewise.
33284 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
33285 [LIBM_SVID_COMPAT].
33286 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
33287 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
33288 [LIBM_SVID_COMPAT].
33289 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
33290 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
33291 [LIBM_SVID_COMPAT].
33292 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
33293 * sysdeps/i386/fpu/w_sqrt.c: New file.
33294 * sysdeps/ia64/fpu/w_acos.c: Likewise.
33295 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
33296 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
33297 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
33298 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
33299 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
33300 * sysdeps/ia64/fpu/w_asin.c: Likewise.
33301 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
33302 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
33303 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
33304 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
33305 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
33306 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
33307 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
33308 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
33309 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
33310 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
33311 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
33312 * sysdeps/ia64/fpu/w_exp.c: Likewise.
33313 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
33314 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
33315 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
33316 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
33317 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
33318 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
33319 * sysdeps/ia64/fpu/w_expf.c: Likewise.
33320 * sysdeps/ia64/fpu/w_expl.c: Likewise.
33321 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
33322 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
33323 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
33324 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
33325 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
33326 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
33327 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
33328 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
33329 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
33330 * sysdeps/ia64/fpu/w_log.c: Likewise.
33331 * sysdeps/ia64/fpu/w_log10.c: Likewise.
33332 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
33333 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
33334 * sysdeps/ia64/fpu/w_log2.c: Likewise.
33335 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
33336 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
33337 * sysdeps/ia64/fpu/w_logf.c: Likewise.
33338 * sysdeps/ia64/fpu/w_logl.c: Likewise.
33339 * sysdeps/ia64/fpu/w_pow.c: Likewise.
33340 * sysdeps/ia64/fpu/w_powf.c: Likewise.
33341 * sysdeps/ia64/fpu/w_powl.c: Likewise.
33342 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
33343 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
33344 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
33345 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
33346 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
33347 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
33348 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
33349 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
33350 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
33351 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
33352 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
33353 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
33354 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
33355 [LIBM_SVID_COMPAT].
33356 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
33357 * sysdeps/ieee754/k_standard.c: Likewise.
33358 * sysdeps/ieee754/k_standardf.c: Likewise.
33359 * sysdeps/ieee754/k_standardl.c: Likewise.
33360 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
33361 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
33362 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
33363 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
33364 long_double_symbol call on [LIBM_SVID_COMPAT].
33365 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
33366 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
33367 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
33368 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
33369 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
33370 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
33371 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
33372 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
33373 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
33374 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
33375 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
33376 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
33377 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
33378 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
33379 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
33380 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
33381 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
33382 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
33383 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
33384 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
33385 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
33386 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
33387
33388 2017-09-05 Steve Ellcey <sellcey@cavium.com>
33389
33390 * include/shlib-compat.h (TEST_COMPAT): New Macro.
33391 * malloc/tst-mallocstate.c: Convert from test-skeleton
33392 to test-driver. Ifdef code using TEST_COMPAT macro.
33393 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
33394 * math/test-matherr.c: Likewise.
33395
33396 2017-09-05 Joseph Myers <joseph@codesourcery.com>
33397
33398 [BZ #22086]
33399 * debug/pcprofiledump.c (main): Use byte-swapped mask when
33400 comparing word with byte-swapped constant.
33401
33402 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
33403
33404 [BZ #20498]
33405 * locale/iso-639.def: add Miskito.
33406 * localedata/SUPPORTED: Add miq_NI/UTF-8.
33407 * localedata/locales/miq_NI: New file.
33408
33409 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
33410
33411 [BZ #18822]
33412 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
33413 (__mkdir): Likewise.
33414 * io/chmod.c (__chmod): Add libc_hidden_def.
33415 * io/mkdir.c (__mkdir): Likewise.
33416 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
33417 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
33418 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
33419 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
33420
33421 2017-09-04 Joseph Myers <joseph@codesourcery.com>
33422
33423 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
33424 version to 4.13.
33425
33426 [BZ #22082]
33427 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
33428 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
33429
33430 2017-09-04 Florian Weimer <fweimer@redhat.com>
33431
33432 * math/math.h: Issue warning if log is defined.
33433
33434 2017-09-04 Joseph Myers <joseph@codesourcery.com>
33435
33436 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
33437 kernel version to 4.13.
33438
33439 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
33440
33441 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
33442 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
33443 parameter.
33444 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
33445 just <bits/types.h>.
33446 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
33447 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
33448 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
33449 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
33450 * misc/preadv2.c: Include <errno.h>.
33451 * misc/preadv64v2.c: Include <errno.h>.
33452 * misc/pwritev2.c: Include <errno.h>.
33453 * misc/pwritev64v2.c: Include <errno.h>.
33454 * sysdeps/posix/preadv2.c: Include <errno.h>.
33455 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
33456 Fix <unistd.h> inclusion.
33457 * sysdeps/posix/pwritev2.c: Include <errno.h>.
33458 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
33459 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
33460 __strtoul_internal): New functions.
33461 * sysdeps/posix/pause.c: Include <sigsetops.h>.
33462 * sysdeps/posix/system.c: Include <sigsetops.h>.
33463 * sysdeps/mach/hurd/i386/Makefile
33464 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
33465 [$(subdir) = csu] (sysdep-only-routines): Likewise.
33466 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
33467 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
33468 __feraiseexcept_renamed to feraiseexcept instead of
33469 __GI_feraiseexcept.
33470 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
33471 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
33472 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
33473 RWF_NOWAIT): Define to 0 if undefined already.
33474 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
33475 boils down to 0.
33476 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
33477 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
33478
33479 2017-09-01 Joseph Myers <joseph@codesourcery.com>
33480
33481 * manual/math.texi (pow10): Do not document.
33482 (pow10f): Likewise.
33483 (pow10l): Likewise.
33484 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
33485 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
33486 * math/libm-test-exp10.inc (pow10_test): Remove.
33487 (do_test): Do not call pow10.
33488 * math/w_exp10_compat.c (pow10): Make into compat symbol.
33489 [NO_LONG_DOUBLE] (pow10l): Likewise.
33490 * math/w_exp10f_compat.c (pow10f): Likewise.
33491 * math/w_exp10l_compat.c (pow10l): Likewise.
33492 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
33493 (pow10): Make into compat symbol.
33494 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
33495 (pow10f): Make into compat symbol.
33496 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
33497 (pow10l): Make into compat symbol.
33498 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
33499 pow10.
33500 (CFLAGS-nldbl-pow10.c): Remove variable..
33501 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
33502 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
33503 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
33504 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
33505 Undefine and redefine.
33506 (pow10l): Make into compat symbol.
33507 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
33508 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
33509 * sysdeps/arm/libm-test-ulps: Likewise.
33510 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
33511 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
33512 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
33513 * sysdeps/microblaze/libm-test-ulps: Likewise.
33514 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
33515 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
33516 * sysdeps/nios2/libm-test-ulps: Likewise.
33517 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33518 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
33519 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33520 * sysdeps/sh/libm-test-ulps: Likewise.
33521 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33522 * sysdeps/tile/libm-test-ulps: Likewise.
33523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33524
33525 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
33526
33527 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
33528
33529 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
33530
33531 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
33532 "../ChangeLog.old/ChangeLog.8".
33533 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
33534 "../ChangeLog.old/ChangeLog.14".
33535
33536 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
33537
33538 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
33539 Threads Library.
33540
33541 2017-09-01 Joseph Myers <joseph@codesourcery.com>
33542
33543 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
33544
33545 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
33546
33547 * csu/version.c (banner): Remove "by Roland McGrath et al.".
33548 * nptl/Banner: Remove "by Ulrich Drepper et al.".
33549
33550 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
33551
33552 * stdlib/tst-atexit-common.c (do_test): Test support for at least
33553 32 atexit handlers.
33554
33555 2017-09-01 Zack Weinberg <zackw@panix.com>
33556
33557 * math/math.h (HUGE_VAL): Improve commentary.
33558
33559 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33560 Andreas Schwab <schwab@suse.de>
33561
33562 [BZ #21530]
33563 * include/stdio.h (__gen_tempfd): New function.
33564 * stdio-common/Makefile (routines): Add gentempfd.
33565 * stdio-common/gentempfd.c: New file.
33566 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
33567 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
33568 unnamed file first.
33569
33570 2017-09-01 Florian Weimer <fweimer@redhat.com>
33571
33572 [BZ #21915]
33573 [BZ #21922]
33574 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
33575 result to determine success or failure, not the errno value.
33576 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
33577 (tst-nss-files-hosts-erange): Link with -ldl.
33578 * nss/tst-nss-files-hosts-erange.c: New file.
33579 * nss/tst-resolv-basic.c (response): Handle nodata.example.
33580 (do_test): Add NO_DATA tests.
33581 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
33582 (do_test): Call it.
33583
33584 2017-09-01 Florian Weimer <fweimer@redhat.com>
33585
33586 [BZ #21922]
33587 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
33588 coming from gethostbyname2_r.
33589
33590 2017-09-01 Florian Weimer <fweimer@redhat.com>
33591
33592 * support/namespace.h (struct support_chroot_configuration): Add
33593 hosts, host_conf.
33594 (struct support_chroot): Add path_hosts, path_host_conf.
33595 * support/support_chroot.c (write_file): New function.
33596 (support_chroot_create): Call it to process /etc/resolv.conf,
33597 /etc/hosts, /etc/host.conf.
33598 (support_chroot_free): Update.
33599
33600 2017-09-01 Florian Weimer <fweimer@redhat.com>
33601
33602 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
33603 status indicates it is set.
33604
33605 2017-09-01 Florian Weimer <fweimer@redhat.com>
33606
33607 [BZ #20532]
33608 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
33609 function lookup failures more reliable.
33610
33611 2017-09-01 Florian Weimer <fweimer@redhat.com>
33612
33613 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
33614 (getcanonname): Likewise.
33615 (gaih_inet): Likewise.
33616
33617 2017-09-01 Florian Weimer <fweimer@redhat.com>
33618
33619 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
33620 (getcanonname): Likewise.
33621 (gaih_inet): Likewise.
33622
33623 2017-08-31 Steve Ellcey <sellcey@cavium.com>
33624 Richard Henderson <rth@twiddle.net>
33625
33626 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
33627 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
33628 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
33629 (IREG_SIZE, OREG_SIZE): New macros.
33630 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
33631 (IREG_SIZE, OREG_SIZE): New macros.
33632 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
33633 (IREG_SIZE): New macro.
33634 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
33635 (IREG_SIZE): New macro.
33636 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
33637 New includes.
33638 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
33639 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
33640 (__CONCATX): Handle exceptions correctly on large values that may
33641 set FE_INVALID.
33642 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
33643 Initialize if not already set.
33644 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
33645
33646 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33647
33648 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
33649 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
33650 Likewise.
33651 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
33652 Likewise.
33653 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
33654 Likewise.
33655 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
33656 Likewise.
33657 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
33658 Likewise.
33659 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
33660 Likewise.
33661 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
33662 Likewise.
33663 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
33664 (NO_CANCELLATION): Likewise.
33665 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
33666 Likewise.
33667 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
33668 Likewise.
33669 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
33670 Likewise.
33671 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
33672 (NO_CANCELLATION): Likewise.
33673 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
33674 (NO_CANCELLATION): Likewise.
33675 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
33676 Likewise
33677 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
33678 Likewise.
33679 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
33680 Likewise.
33681 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
33682 Likewise.
33683 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
33684 hidden prototype.
33685 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
33686 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
33687
33688 2017-08-31 Steve Ellcey <sellcey@cavium.com>
33689
33690 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
33691 in resolver call.
33692
33693 2017-08-31 Florian Weimer <fweimer@redhat.com>
33694
33695 * include/libc-symbols.h (internal_function): Remove.
33696
33697 2017-08-31 Florian Weimer <fweimer@redhat.com>
33698
33699 * stdlib/fmtmsg.c (internal_addseverity): Remove
33700 internal_function.
33701
33702 2017-08-31 Florian Weimer <fweimer@redhat.com>
33703
33704 * stdio-common/printf_fp.c (group_number): Remove
33705 internal_function.
33706 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
33707
33708 2017-08-31 Florian Weimer <fweimer@redhat.com>
33709
33710 * posix/fnmatch.c (internal_function): Remove definition.
33711 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
33712 * posix/regcomp.c (peek_token, init_word_char)
33713 (duplicate_node_closure, fetch_token, peek_token)
33714 (peek_token_bracket, build_range_exp, build_collating_symbol):
33715 Likewise.
33716 * posix/regex_internal.c (re_string_construct_common)
33717 (create_ci_newstate, create_cd_newstate, re_string_allocate)
33718 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
33719 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
33720 (re_string_translate_buffer, re_string_reconstruct)
33721 (re_string_peek_byte_case, re_string_fetch_byte_case)
33722 (re_string_destruct, re_string_context_at, re_node_set_alloc)
33723 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
33724 (re_node_set_add_intersect, re_node_set_init_union)
33725 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
33726 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
33727 (re_dfa_add_node, calc_state_hash, re_acquire_state)
33728 (re_acquire_state_context): Likewise.
33729 * posix/regex_internal.h (internal_function): Remove definition.
33730 (re_string_realloc_buffers, build_wcs_buffer)
33731 (build_wcs_upper_buffer, build_upper_buffer)
33732 (re_string_translate_buffer, re_string_context_at)
33733 (re_string_char_size_at, re_string_wchar_at)
33734 (re_string_elem_size_at): Likewise.
33735 * posix/regexec.c (match_ctx_init, match_ctx_clean)
33736 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
33737 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
33738 (re_search_internal, re_search_2_stub, re_search_stub)
33739 (re_copy_regs, prune_impossible_nodes, check_matching)
33740 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
33741 (free_fail_stack_return, sift_states_iter_mb)
33742 (sift_states_backward, build_sifted_states)
33743 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
33744 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
33745 (check_subexp_limits, sift_states_bkref, merge_state_array)
33746 (find_recover_state, transit_state, merge_state_with_log)
33747 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
33748 (transit_state_mb, transit_state_bkref, get_subexp)
33749 (get_subexp_sub, find_subexp_node, check_arrival)
33750 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
33751 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
33752 (check_node_accept_bytes, find_collation_sequence_value)
33753 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
33754 (acquire_init_state_context, check_halt_node_context)
33755 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
33756 (sub_epsilon_src_nodes): Likewise.
33757 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
33758 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
33759 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
33760 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
33761 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
33762 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
33763 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
33764 * sysdeps/posix/ttyname.c (getttyname): Likewise.
33765 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
33766 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
33767 (PREADV): Likewise.
33768 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
33769 (PREADV): Likewise.
33770 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
33771 (PWRITEV): Likewise.
33772 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
33773 (PWRITEV): Likewise.
33774 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
33775 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
33776
33777 2017-08-31 Florian Weimer <fweimer@redhat.com>
33778
33779 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
33780 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
33781 Remove internal_function.
33782 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
33783 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
33784 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
33785 (__deallocate_stack, __libc_pthread_init)
33786 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
33787 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
33788 (__libc_disable_asynccancel, __librt_disable_asynccancel):
33789 Likewise.
33790 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
33791 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
33792 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
33793 Likewise.
33794 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
33795 (__pthread_mutex_unlock_usercnt): Likewise.
33796
33797 2017-08-31 Florian Weimer <fweimer@redhat.com>
33798
33799 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
33800 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
33801 (fts_safe_changedir): Remove internal_function.
33802 * io/ftw.c (internal_function): Remove definition.
33803 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
33804
33805 2017-08-31 Florian Weimer <fweimer@redhat.com>
33806
33807 * inet/deadline.c (__deadline_current_time)
33808 (__deadline_from_timeval, __deadline_to_ms): Remove
33809 internal_function.
33810 * inet/getnameinfo.c (nrl_domainname): Likewise.
33811 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
33812 * inet/inet6_option.c (add_pad): Likewise.
33813 * inet/net-internal.h (__deadline_current_time)
33814 (__deadline_from_timeval, __deadline_to_ms): Likewise.
33815 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
33816 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
33817 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
33818
33819 2017-08-31 Joseph Myers <joseph@codesourcery.com>
33820
33821 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
33822 include <bits/nan.h>.
33823 * math/Makefile (headers): Remove bits/nan.h.
33824 * bits/nan.h: Remove.
33825 * sysdeps/ieee754/bits/nan.h: Likewise.
33826 * sysdeps/mips/bits/nan.h: Likewise.
33827
33828 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
33829 not include <bits/inf.h>.
33830 * math/Makefile (headers): Remove bits/inf.h.
33831 * bits/inf.h: Remove.
33832 * sysdeps/ieee754/bits/inf.h: Likewise.
33833
33834 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
33835 bits/huge_vall.h or bits/huge_val_flt128.h.
33836 (HUGE_VAL): Define directly here.
33837 [__USE_ISOC99] (HUGE_VALF): Likewise.
33838 [__USE_ISOC99] (HUGE_VALL): Likewise.
33839 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33840 (HUGE_VAL_F128): Likewise.
33841 * math/Makefile (headers): Remove bits/huge_val.h,
33842 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
33843 * bits/huge_val.h: Remove.
33844 * bits/huge_val_flt128.h: Likewise.
33845 * bits/huge_valf.h: Likewise.
33846 * bits/huge_vall.h: Likewise.
33847 * sysdeps/ia64/bits/huge_vall.h: Likewise.
33848 * sysdeps/ieee754/bits/huge_val.h: Likewise.
33849 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
33850 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
33851 * sysdeps/sh/bits/huge_val.h: Likewise.
33852 * sysdeps/sparc/bits/huge_vall.h: Likewise.
33853 * sysdeps/x86/bits/huge_vall.h: Likewise.
33854
33855 2017-08-31 Florian Weimer <fweimer@redhat.com>
33856
33857 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
33858 internal_function.
33859 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
33860 Likewise.
33861 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
33862 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
33863 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
33864 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
33865 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33866 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
33867 * elf/dl-libc.c (dlerror_run): Likewise.
33868 * elf/dl-load.c (add_name_to_object, decompose_rpath)
33869 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
33870 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
33871 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
33872 Likewise.
33873 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
33874 (_dl_higher_prime_number, _dl_strtoul): Likewise.
33875 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
33876 * elf/dl-profile.c (_dl_start_profile): Likewise.
33877 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
33878 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
33879 Likewise.
33880 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
33881 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
33882 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
33883 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
33884 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
33885 (_dl_allocate_tls_storage): Likewise.
33886 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
33887 (_dl_check_all_versions): Likewise.
33888 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
33889 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
33890 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
33891 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
33892 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
33893 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
33894 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
33895 internal_function from __dl_start.
33896 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
33897 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
33898 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
33899 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
33900 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
33901 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
33902 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
33903 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
33904 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
33905 (_dl_next_ld_env_entry, _dl_important_hwcaps)
33906 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
33907 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
33908 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
33909 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
33910 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
33911 Likewise.
33912 (struct rtld_global_ro): Remove internal_function from the
33913 _dl_lookup_symbol_x member.
33914 (_dl_symbol_value): Remove. No longer defined anywhere.
33915 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
33916 internal_function.
33917 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
33918 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
33919 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
33920 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
33921 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
33922 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
33923 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
33924 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
33925 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
33926 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
33927 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
33928 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
33929
33930 2017-08-31 Florian Weimer <fweimer@redhat.com>
33931
33932 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
33933 Remove internal_function.
33934 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
33935 Likewise.
33936 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
33937 Likewise.
33938
33939 2017-08-31 Florian Weimer <fweimer@redhat.com>
33940
33941 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
33942 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
33943 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
33944
33945 2017-08-31 Florian Weimer <fweimer@redhat.com>
33946
33947 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
33948 (__gai_enqueue_request): Remove internal_function.
33949 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
33950 (__gai_remove_request, __gai_notify, __gai_notify_only)
33951 (__gai_sigqueue): Likewise.
33952 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
33953 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
33954 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
33955 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
33956 Likewise.
33957
33958 2017-08-31 Florian Weimer <fweimer@redhat.com>
33959
33960 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
33961 * include/dirent.h (__opendirat, __getdents, __getdents64)
33962 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
33963 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
33964 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33965 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
33966 Likewise.
33967 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
33968
33969 2017-08-31 Florian Weimer <fweimer@redhat.com>
33970
33971 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
33972 internal_function.
33973 (GETCWD_RETURN_TYPE): Likewise.
33974
33975 2017-08-31 Florian Weimer <fweimer@redhat.com>
33976
33977 * include/time.h (__tz_compute, __strptime_internal): Remove
33978 internal_function.
33979 * time/strptime_l.c (__strptime_internal): Likewise.
33980 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
33981
33982 2017-08-31 Florian Weimer <fweimer@redhat.com>
33983
33984 * iconv/gconv.c (__gconv): Remove internal_function.
33985 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
33986 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
33987 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
33988 (__gconv_release_cache): Likewise.
33989 * iconv/gconv_close.c (__gconv_close): Likewise.
33990 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
33991 (read_conf_file, __gconv_get_path): Likewise.
33992 * iconv/gconv_db.c (derivation_lookup, add_derivation)
33993 (__gconv_release_step, gen_steps, increment_counter)
33994 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
33995 (__gconv_close_transform, free_modules_db): Likewise.
33996 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
33997 Likewise.
33998 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
33999 (__gconv_find_transform, __gconv_lookup_cache)
34000 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
34001 (__gconv_close_transform, __gconv_release_cache)
34002 (__gconv_loaded_object, __gconv_release_shlib)
34003 (__gconv_compare_alias): Likewise.
34004 * iconv/gconv_open.c (__gconv_open): Likewise.
34005 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
34006 * iconv/iconvconfig.c (add_module): Likewise.
34007 * intl/dcigettext.c (plural_lookup, guess_category_value)
34008 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
34009 * intl/eval-plural.h (plural_eval): Likewise.
34010 * intl/finddomain.c (_nl_find_domain): Likewise.
34011 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
34012 (_nl_load_domain, _nl_find_msg): Likewise.
34013 (internal_function): Remove definition.
34014 * intl/loadinfo.h (internal_function): Likewise.
34015 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
34016 internal_function.
34017 * intl/localealias.c (internal_function): Remove definition.
34018 (read_alias_file): Remove internal_function.
34019 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
34020 * intl/plural-exp.h (internal_function): Remove definition.
34021 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
34022 internal_function.
34023 * intl/plural.c: Regenerate.
34024 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
34025 * locale/coll-lookup.c (__collidx_table_lookup)
34026 (__collseq_table_lookup): Likewise.
34027 * locale/coll-lookup.h (__collidx_table_lookup)
34028 (__collseq_table_lookup): Likewise.
34029 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
34030 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34031 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
34032 (_nl_unload_locale): Likewise.
34033 * locale/localeinfo.h (struct __locale_data): Remove
34034 internal_function from cleanup member.
34035 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
34036 (_nl_remove_locale, _nl_load_locale_from_archive)
34037 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
34038 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
34039 (_nl_cleanup_time): Remove internal_function.
34040 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
34041 (_nl_parse_alt_digit): Likewise.
34042 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
34043 (_nl_select_era_entry): Likewise.
34044 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
34045 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
34046 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
34047 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
34048 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
34049
34050 2017-08-31 Florian Weimer <fweimer@redhat.com>
34051
34052 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
34053 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
34054 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
34055 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
34056 Likewise.
34057 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
34058 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
34059 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
34060 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
34061 Likewise.
34062 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
34063
34064 2017-08-31 Florian Weimer <fweimer@redhat.com>
34065
34066 * misc/getttyent.c (skip, value): Remove internal_function.
34067 * misc/syslog.c (openlog_internal): Likewise.
34068 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
34069
34070 2017-08-31 Florian Weimer <fweimer@redhat.com>
34071
34072 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
34073 (__nss_rewrite_field): Remove internal_function.
34074 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34075 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
34076 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34077 * nss/nsswitch.c (nss_parse_file, nss_getline)
34078 (nss_parse_service_list, nss_new_service): Likewise.
34079 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
34080 * nss/valid_field.c (__nss_valid_field): Likewise.
34081 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
34082
34083 2017-08-31 Florian Weimer <fweimer@redhat.com>
34084
34085 * malloc/arena.c (__malloc_fork_lock_parent)
34086 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
34087 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
34088 internal_function from defintions.
34089 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
34090 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
34091 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
34092 internal_function from declarations.
34093 * malloc/malloc.c (internal_function): Do not define.
34094 (mem2mem_check): Remove internal_function from declaration.
34095 (munmap_chunk, mremap_chunk): Remove internal_function.
34096 * malloc/mtrace.c (tr_where): Likewise.
34097
34098 2017-08-31 Florian Weimer <fweimer@redhat.com>
34099
34100 * include/rpc/pmap_clnt.h (__get_socket): Remove
34101 internal_function.
34102 * sunrpc/auth_des.c (synchronize): Likewise.
34103 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
34104 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
34105 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
34106 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
34107 (key_call): Likewise.
34108 * sunrpc/pm_getport.c (__get_socket): Likewise.
34109 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
34110 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
34111 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
34112 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
34113 (invalidate): Likewise.
34114 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
34115 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
34116 (set_input_fragment, get_input_bytes): Likewise.
34117
34118 2017-08-31 Florian Weimer <fweimer@redhat.com>
34119
34120 * malloc/malloc.c (_int_free): Remove locked variable and related
34121 asserts.
34122
34123 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
34124
34125 [BZ #22051]
34126 * Makerules (build-module-helper-objlist): Filter out
34127 $(elf-objpfx)sofini.os.
34128 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
34129 needed.
34130
34131 2017-08-31 Florian Weimer <fweimer@redhat.com>
34132
34133 * libio/fcloseall.c: Assume weak_alias is defined.
34134 * libio/feof.c: Likewise.
34135 * libio/fileno.c: Likewise.
34136 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
34137 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
34138 definitions.
34139 (_IO_file_open): Call __open directly.
34140 (_IO_new_file_sync): Assume ESPIPE is defined.
34141 (_IO_file_seekoff_maybe_mmap): Call __read directly.
34142 (_IO_new_file_write): Call __write directly.
34143 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
34144 * libio/ftello64.c (__ftello64): Assume EIO is defined.
34145 * libio/genops.c: Assume _LIBC is defined.
34146 (save_for_backup): Remove internal_function.
34147 * libio/getc.c: Assume weak_alias is defined.
34148 * libio/getwc.c: Likewise.
34149 * libio/iofclose.c: Assume _LIBC is defined.
34150 * libio/iofdopen.c: Likewise.
34151 (_IO_fcntl): Remove macro definition.
34152 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
34153 Call __fcntl directly.
34154 * libio/iofflush.c: Assume weak_alias is defined.
34155 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
34156 defined.
34157 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
34158 * libio/iofgets.c: Likewise.
34159 * libio/iofopen.c: Assume _LIBC is defined.
34160 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
34161 * libio/iofputs.c: Assume weak_alias is defined.
34162 * libio/iofread.c: Likewise.
34163 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
34164 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
34165 * libio/ioftell.c: Assume weak_alias is defined.
34166 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
34167 * libio/iofwide.c: Assume _LIBC is defined.
34168 (_IO_fwide): Drop SHARED conditional because it is implied by
34169 SHLIB_COMPAT.
34170 * libio/iofwrite.c: Assume weak_alias is defined.
34171 * libio/iogetdelim.c: Likewise.
34172 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
34173 * libio/iogetwline.c (wmemcpy): Remove macro definition.
34174 (_IO_getwline): Call __wmemcpy directly.
34175 * libio/iopopen.c: Assume _LIBC is defined.
34176 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
34177 (_IO_close): Remove macro definitions.
34178 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
34179 _exit directly.
34180 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
34181 directly.
34182 * libio/ioputs.c: Assume weak_alias is defined.
34183 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
34184 * libio/iosetbuffer.c: Assume weak_alias is defined.
34185 * libio/iosetvbuf.c: Likewise.
34186 * libio/ioungetc.c: Likewise.
34187 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
34188 libc_hidden_def, libc_hidden_weak, NULL are defined.
34189 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
34190 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
34191 defined.
34192 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
34193 definitions.
34194 (_IO_old_file_init_internal): Drop SHARED conditional because it
34195 is implied by SHLIB_COMPAT.
34196 (_IO_old_file_fopen): Call __open directly.
34197 (_IO_old_file_sync): Assume ESPIPE is defined.
34198 (_IO_old_file_write): Call __write directly.
34199 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
34200 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
34201 Call __fcntl directly.
34202 * libio/oldiofgetpos.c: Assume weak_alias is defined.
34203 (_IO_old_fgetpos): Assume EIO is defined.
34204 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
34205 (_IO_old_fgetpos64): Assume EIO is defined.
34206 * libio/oldiofsetpos.c: Assume weak_alias is defined.
34207 (_IO_old_fsetpos): Assume EIO is defined.
34208 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
34209 (_IO_old_fsetpos64): Assume EIO is defined.
34210 * libio/oldiopopen.c: Assume _LIBC is defined.
34211 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
34212 (_IO_close): Remove macro definitions.
34213 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
34214 directly.
34215 (_IO_old_proc_close): Call __close, __waitpid directly.
34216 * libio/put.c: Assume weak_alias is defined.
34217 * libio/stdfiles.c: Assume _LIBC is defined.
34218 * libio/stdio.c: Likewise.
34219 * libio/wfileops.c: Likewise.
34220 (_IO_wfile_sync): Assume ESPIPE is defined.
34221 * libio/wgenops.c: Assume _LIBC is defined.
34222 (save_for_wbackup): Remove internal_function.
34223
34224 2017-08-31 Florian Weimer <fweimer@redhat.com>
34225
34226 * malloc/malloc.c (top_check): Change return type to void. Remove
34227 internal_function.
34228 * malloc/hooks.c (top_check): Likewise.
34229 (malloc_check, realloc_check, memalign_check): Adjust.
34230
34231 2017-08-30 Joseph Myers <joseph@codesourcery.com>
34232
34233 [BZ #21457]
34234 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
34235 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
34236 sigcontext and namespace requirements.
34237 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
34238 * sysdeps/m68k/sys/ucontext.h: Likewise.
34239 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
34240 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
34241 <bits/sigcontext.h>.
34242 (__ctx): Define earlier.
34243 (mcontext_t): Define structure contents rather than using struct
34244 sigcontext.
34245 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
34246 __glibc_reserved1 instead of __reserved.
34247 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
34248 <bits/sigcontext.h>.
34249 (__ctx): Define earlier.
34250 (mcontext_t): Define structure contents rather than using struct
34251 sigcontext.
34252 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
34253 mcontext_t instead of struct sigcontext.
34254 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
34255 <bits/sigcontext.h>.
34256 (__ctx): Define earlier.
34257 (mcontext_t): Define structure contents rather than using struct
34258 sigcontext.
34259 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
34260 <bits/sigcontext.h>.
34261 (__ctx): Define earlier.
34262 (mcontext_t): Define structure contents rather than using struct
34263 sigcontext.
34264 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
34265 mcontext_t instead of struct sigcontext.
34266 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
34267 mcontext_t instead of struct sigcontext.
34268 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
34269 <bits/sigcontext.h>.
34270 (__ctx): New macro.
34271 (struct __ia64_fpreg_mcontext): New type.
34272 (mcontext_t): Define structure contents rather than using struct
34273 sigcontext.
34274 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
34275 (uc_sigmask): Define using __ctx.
34276 (uc_stack): Likewise.
34277 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
34278 <bits/sigcontext.h>.
34279 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34280 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
34281 <bits/sigcontext.h>.
34282 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
34283 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
34284 <bits/sigcontext.h>.
34285 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
34286 <bits/sigcontext.h>.
34287 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
34288 <bits/sigcontext.h>.
34289 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
34290 <bits/sigcontext.h>.
34291 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
34292 <bits/sigcontext.h>.
34293 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
34294 <bits/sigcontext.h>.
34295 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
34296 <bits/sigcontext.h>.
34297 (__ctx): Define earlier.
34298 (mcontext_t): Define structure contents rather than using struct
34299 sigcontext.
34300 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
34301 <bits/sigcontext.h>. Include <bits/types.h>.
34302 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
34303 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
34304 (test-xfail-XPG42/ucontext.h/conform): Likewise.
34305 (test-xfail-UNIX98/signal.h/conform): Likewise.
34306 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
34307 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
34308 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
34309 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
34310 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
34311 (test-xfail-POSIX2008/signal.h/conform): Likewise.
34312 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
34313 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
34314 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
34315
34316 2017-08-30 Florian Weimer <fweimer@redhat.com>
34317
34318 * malloc/dynarray_emplace_enlarge.c
34319 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
34320 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
34321 * malloc/tst-dynarray.c (test_long_overflow): New function.
34322 (do_test): Call it.
34323
34324 2017-08-30 Florian Weimer <fweimer@redhat.com>
34325
34326 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
34327 (set_arena_corrupt): Remove definitions.
34328 (mtrim): Do not check for corrupt arena.
34329 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
34330 Likewise.
34331
34332 2017-08-30 Florian Weimer <fweimer@redhat.com>
34333
34334 [BZ #21754]
34335 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
34336 check_action.
34337 (ptmalloc_init): Do not set or use check_action.
34338 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
34339 call to malloc_printerr. Remove return statement.
34340 (free_check): Likewise. Remove arena unlock.
34341 (top_check): Update comment. Adjust call to malloc_printerr.
34342 Remove heap repair code.
34343 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
34344 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
34345 (sysmalloc): Adjust call to malloc_printerr.
34346 (munmap_chunk, __libc_realloc): Likewise. Remove return
34347 statement.
34348 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
34349 Remove errout label and corresponding gotos.
34350 (_int_free): Likewise. Remove arena unlock.
34351 (do_set_mallopt_check): Do not set check_action.
34352 (malloc_printerr): Adjust parameter list. Do not mark arena as
34353 corrupt.
34354 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
34355 comment.
34356 * manual/probes.texi (Memory Allocation Probes): Remove
34357 memory_mallopt_check_action.
34358
34359 2017-08-30 Steve Ellcey <sellcey@cavium.com>
34360
34361 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
34362 Use pointer to uint64_t instead of long int for sp.
34363
34364 2017-08-30 Florian Weimer <fweimer@redhat.com>
34365
34366 [BZ #21754]
34367 * malloc/malloc.c (malloc_printerr): Always terminate the process,
34368 without printing a backtrace. Do not leak any information in the
34369 error message.
34370 * manual/memory.texi (Heap Consistency Checking): Update.
34371 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
34372
34373 2017-08-30 Florian Weimer <fweimer@redhat.com>
34374
34375 Do not scale NPTL tests with available number of CPUs.
34376 * nptl/tst-cond16.c (count): Set to constant value of 8.
34377 * nptl/tst-cond18.c (count): Likewise.
34378
34379 2017-08-29 Joseph Myers <joseph@codesourcery.com>
34380
34381 [BZ #22035]
34382 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
34383 Define to take a second argument that is a macro that
34384 concatentates a suffix, not the suffix itself.
34385 (__CONCAT_d): New macro.
34386 (__CONCAT_f): Likewise.
34387 (__CONCAT_l): Likewise.
34388
34389 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
34390
34391 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
34392 by child.
34393
34394 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34395 Aurelien Jarno <aurelien@aurel32.net>
34396 Maciej W. Rozycki <macro@imgtec.com>
34397
34398 [BZ #21956]
34399 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
34400 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
34401 `mips16-syscall6' and `mips16-syscall7'.
34402 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
34403 (CFLAGS-mips16-syscall7.c): Remove.
34404 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
34405 Remove `__mips16_syscall5', `__mips16_syscall6' and
34406 `__mips16_syscall7'.
34407 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
34408 (__mips16_syscall0): Rename `__mips16_syscall_return' to
34409 `__mips_syscall_return'.
34410 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
34411 (__mips16_syscall1): Likewise.
34412 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
34413 (__mips16_syscall2): Likewise.
34414 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
34415 (__mips16_syscall3): Likewise.
34416 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
34417 (__mips16_syscall4): Likewise.
34418 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
34419 Remove.
34420 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
34421 Remove.
34422 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
34423 Remove.
34424 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
34425 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
34426 `__mips16_syscall5'. Remove prototype.
34427 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
34428 `__mips16_syscall6'. Remove prototype.
34429 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
34430 `__mips16_syscall7'. Remove prototype.
34431 (__nomips16, __mips16_syscall_return): Move to...
34432 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
34433 (__nomips16, __mips_syscall_return): ... here.
34434 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
34435 `__mips16_syscall_return' to `__mips_syscall_return'.
34436 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
34437 `internal_syscall##nr'.
34438 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
34439 `internal_syscall##nr'.
34440 (FORCE_FRAME_POINTER): Remove.
34441 (__mips_syscall5): New prototype.
34442 (internal_syscall5): Rewrite to call `__mips_syscall5'.
34443 (__mips_syscall6): New prototype.
34444 (internal_syscall6): Rewrite to call `__mips_syscall6'.
34445 (__mips_syscall7): New prototype.
34446 (internal_syscall7): Rewrite to call `__mips_syscall7'.
34447 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
34448 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
34449 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
34450 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
34451 (sysdep_routines): Add libc-do-syscall.
34452 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
34453 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
34454
34455 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34456
34457 [BZ #21672]
34458 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
34459 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
34460 (advise_stack_range): New function.
34461 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
34462 stack non required to advise_stack_range at allocatestack.c
34463
34464 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
34465
34466 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
34467
34468 2017-08-29 Florian Weimer <fweimer@redhat.com>
34469
34470 [BZ #22026]
34471 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
34472 __end_fct. Mangle __end_fct after setting it to NULL.
34473 * iconv/Makefile (tests): Add tst-gconv-init-failure.
34474 (modules-names, modules-names-tests): Add
34475 tst-gconv-init-failure-mod.
34476 (gconv-modules): New target.
34477 (tst-gconv-init-failure-mod.so): Link against libsupport.
34478 (tst-gconv-init-failure): Depend on gconv-modules,
34479 tst-gconv-init-failure-mod.so.
34480 * iconv/tst-gconv-init-failure-mod.c: New file.
34481 * iconv/tst-gconv-init-failure.c: Likewise.
34482 * iconv/test-gconv-modules: Likewise.
34483
34484 2017-08-29 Florian Weimer <fweimer@redhat.com>
34485
34486 [BZ #22025]
34487 * iconv/gconv_db.c (free_derivation): Remove redundant
34488 parentheses.
34489 (gen_steps): Unconditionally mangle __btowc_fct after
34490 initialization.
34491 (increment_counter): Likewise. Do not call init_fct for internal
34492 modules.
34493
34494 2017-08-29 Joseph Myers <joseph@codesourcery.com>
34495
34496 [BZ #22028]
34497 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
34498 (_MSUF_): Remove macro.
34499 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
34500 Likewise.
34501 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
34502 (__REDIRFROM_X): New macro.
34503 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
34504 Likewise.
34505 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
34506 (__REDIRTO_X): Likewise.
34507 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
34508 arguments.
34509 (__MATH_REDIRCALL_2): Likewise.
34510 (__MATH_REDIRCALL_INTERNAL): Likewise.
34511 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
34512 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
34513 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
34514 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
34515 * math/test-finite-macros.c: New file.
34516 * math/Makefile (tests): Add test-finite-macros.
34517 (CFLAGS-test-finite-macros.c): New variable.
34518
34519 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
34520 Jeff Law <law@redhat.com>
34521
34522 [BZ #22025]
34523 Mangle NULL pointers in iconv/gconv.
34524 * iconv/gconv_cache.c (find_module): Demangle init_fct before
34525 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
34526 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
34527 is non-NULL before demangling the end_fct. Check for NULL
34528 end_fct after demangling.
34529 (__gconv_release_step): Demangle the end_fct before checking
34530 it for NULL. Remove assert on __shlibc_handle != NULL.
34531 (gen_steps): Don't check btowc_fct for NULL before mangling.
34532 Demangle init_fct before checking for NULL.
34533 (increment_counter): Likewise.
34534 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
34535 end_fct for NULL before mangling.
34536 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
34537 for NULL.
34538
34539 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
34540
34541 [BZ #21971]
34542 * locale/iso-639.def: add Morisyen.
34543
34544 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34545
34546 [BZ #21930]
34547 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
34548 (iszero): New C++ implementation that does not use
34549 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
34550 signaling nans are enabled, since __builtin_types_compatible_p
34551 is a C-only feature.
34552 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
34553 defined, include ieee754_float128.h for access to the union and
34554 member ieee854_float128.ieee.
34555 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
34556 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
34557 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
34558 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
34559 options of test-math-zero on powerpc64le.
34560
34561 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
34562
34563 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
34564 Change double to float.
34565
34566 2017-08-28 Joseph Myers <joseph@codesourcery.com>
34567
34568 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
34569 unconditional.
34570 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
34571 conditional code; define contents only for [LIBM_SVID_COMPAT].
34572
34573 2017-08-28 Florian Weimer <fweimer@redhat.com>
34574
34575 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
34576 (abi-lp64_be-options): Remove.
34577 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
34578 (abi-hard-options): Likewise.
34579 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
34580 (abi-o32_hard-options, abi-o32_soft_2008-options)
34581 (abi-o32_hard_2008-options, abi-n32_soft-options)
34582 (abi-n32_hard-options, abi-n32_soft_2008-options)
34583 (abi-n32_hard_2008-options, abi-n64_soft-options)
34584 (abi-n64_hard-options, abi-n64_soft_2008-options)
34585 (abi-n64_hard_2008-options): Likewise.
34586 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
34587 (abi-64-v1-options, abi-64-v2-options): Likewise.
34588 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
34589 (abi-64-options): Likewise.
34590 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
34591 (abi-64-options): Likewise.
34592 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
34593 (abi-64-options): Likewise.
34594 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
34595 (abi-64-options, abi-x32-options): Likewise.
34596
34597 2017-08-28 Florian Weimer <fweimer@redhat.com>
34598
34599 Store supported list of SYS_* system calls in the source tree.
34600 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
34601 (bits/syscall.h): Generate from list file.
34602 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
34603 [$(subdir) = misc] (tests): Add tst-syscall-list.
34604 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
34605 [$(subdir) = misc] (tst-syscall-list-macros.list)
34606 [$(subdir) = misc] (tst-syscall-list-nr.list)
34607 (tst-syscall-list-sys.list): Helper targets for new
34608 tst-syscall-list test.
34609 [$(subdir) = misc] (tst-syscall-list.out): Run test script
34610 tst-syscall-list.sh.
34611 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
34612 target. Do not include bits/syscall.d.
34613 [$(subdir) = misc] (generated): Do not update.
34614 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
34615 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
34616 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
34617 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
34618
34619 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
34620
34621 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
34622 (tst-cxa_atexit, tst-on_exit): Likewise.
34623 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
34624 tst-cxa_atexit, and tst-on_exit.
34625 * stdlib/tst-atexit-common.c: New file.
34626 * stdlib/tst-atexit.c: New file.
34627 * stdlib/tst-at_quick_exit.c: New file.
34628 * stdlib/tst-cxa_atexit.c: New file.
34629 * stdlib/tst-on_exit.c: New file.
34630
34631 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
34632
34633 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
34634 * mach/stack_chk_fail_local.c: New file.
34635 * hurd/stack_chk_fail_local.c: New file.
34636 * mach/Machrules ($(interface-library)-routines): Add
34637 stack_chk_fail_local.
34638 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
34639 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
34640 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
34641 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
34642 * hurd/Makefile (CFLAGS-hurdstartup.o,
34643 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
34644
34645 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
34646
34647 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
34648 (index_cpu_*, index_arch_*): Removed.
34649
34650 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
34651
34652 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
34653 Use uint64_t instead of unsigned long.
34654
34655 2017-08-25 Joseph Myers <joseph@codesourcery.com>
34656
34657 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
34658 [__HAVE_DISTINCT_FLOAT128].
34659
34660 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
34661 of <bits/math-finite.h>.
34662 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
34663 inclusion of <bits/math-finite.h>.
34664 * math/bits/math-finite.h (__REDIRTO_X): Do not define
34665 conditionally on [__MATH_DECLARING_LDOUBLE && defined
34666 __NO_LONG_DOUBLE_MATH].
34667 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
34668 (__MATH_REDIRCALL_2): Likewise.
34669 (__MATH_REDIRCALL_INTERNAL): Likewise.
34670 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
34671 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
34672 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
34673
34674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
34675 Remove file.
34676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
34677 Likewise.
34678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
34679 Likewise.
34680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
34681 Likewise.
34682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
34683 Likewise.
34684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
34685 Likewise.
34686 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
34687 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
34688 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
34689 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
34690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
34691 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
34692 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
34693 w_sqrtf_compat-ppc32.
34694
34695 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34696
34697 * math/math.h [defined __cplusplus] (issignaling): In the long
34698 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
34699 is not defined. Call __issignaling, otherwise.
34700
34701 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34702
34703 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
34704 syscall definitions and replace __builtin_expect with __glibc_likely.
34705 * sysdeps/unix/syscall-template.S: Update comment about cancellable
34706 syscall.
34707 (SYSCALL_CANCELLABLE): Removedefinition
34708 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
34709 definition.
34710 (PSEUDO_END): Likewise.
34711 [IS_IN (libpthread)] (CENABLE): Likewise.
34712 [IS_IN (libpthread)] (CDISABLE): Likewise.
34713 [IS_IN (libc)] (CENABLE): Likewise.
34714 [IS_IN (libc)] (CENABLE): Likewise.
34715 [IS_IN (librt)] (CDISABLE): Likewise.
34716 [IS_IN (librt)] (CDISABLE): Likewise.
34717 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34718 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
34719 definition.
34720 (PSEUDO_END): Likewise.
34721 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
34722 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
34723 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
34724 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
34725 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
34726 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
34727 (CENABLE): Likewise.
34728 (CDISABLE): Likewise.
34729 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34730 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
34731 defintion.
34732 (PSEUDO_END): Likewise.
34733 [IS_IN (libpthread)] (CENABLE): Likewise.
34734 [IS_IN (libpthread)] (CDISABLE): Likewise.
34735 [IS_IN (libc)] (CENABLE): Likewise.
34736 [IS_IN (libc)] (CENABLE): Likewise.
34737 [IS_IN (librt)] (CDISABLE): Likewise.
34738 [IS_IN (librt)] (CDISABLE): Likewise.
34739 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34740 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
34741 definition.
34742 (PSEUDO_END): Likewise.
34743 [IS_IN (libpthread)] (CENABLE): Likewise.
34744 [IS_IN (libpthread)] (CDISABLE): Likewise.
34745 [IS_IN (libc)] (CENABLE): Likewise.
34746 [IS_IN (libc)] (CENABLE): Likewise.
34747 [IS_IN (librt)] (CDISABLE): Likewise.
34748 [IS_IN (librt)] (CDISABLE): Likewise.
34749 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34750 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
34751 definition.
34752 (PSEUDO_END): Likewise.
34753 [IS_IN (libpthread)] (CENABLE): Likewise.
34754 [IS_IN (libpthread)] (CDISABLE): Likewise.
34755 [IS_IN (libc)] (CENABLE): Likewise.
34756 [IS_IN (libc)] (CENABLE): Likewise.
34757 [IS_IN (librt)] (CDISABLE): Likewise.
34758 [IS_IN (librt)] (CDISABLE): Likewise.
34759 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34760 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
34761 definition.
34762 (PSEUDO_END): Likewise.
34763 [IS_IN (libpthread)] (CENABLE): Likewise.
34764 [IS_IN (libpthread)] (CDISABLE): Likewise.
34765 [IS_IN (libc)] (CENABLE): Likewise.
34766 [IS_IN (libc)] (CENABLE): Likewise.
34767 [IS_IN (librt)] (CDISABLE): Likewise.
34768 [IS_IN (librt)] (CDISABLE): Likewise.
34769 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34770 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
34771 definition.
34772 (PSEUDO_END): Likewise.
34773 [IS_IN (libpthread)] (CENABLE): Likewise.
34774 [IS_IN (libpthread)] (CDISABLE): Likewise.
34775 [IS_IN (libc)] (CENABLE): Likewise.
34776 [IS_IN (libc)] (CENABLE): Likewise.
34777 [IS_IN (librt)] (CDISABLE): Likewise.
34778 [IS_IN (librt)] (CDISABLE): Likewise.
34779 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34780 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
34781 definition.
34782 (PSEUDO_END): Likewise.
34783 [IS_IN (libpthread)] (CENABLE): Likewise.
34784 [IS_IN (libpthread)] (CDISABLE): Likewise.
34785 [IS_IN (libc)] (CENABLE): Likewise.
34786 [IS_IN (libc)] (CENABLE): Likewise.
34787 [IS_IN (librt)] (CDISABLE): Likewise.
34788 [IS_IN (librt)] (CDISABLE): Likewise.
34789 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34790 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
34791 Remove definition.
34792 (PSEUDO_END): Likewise.
34793 [IS_IN (libpthread)] (CENABLE): Likewise.
34794 [IS_IN (libpthread)] (CDISABLE): Likewise.
34795 [IS_IN (libc)] (CENABLE): Likewise.
34796 [IS_IN (libc)] (CENABLE): Likewise.
34797 [IS_IN (librt)] (CDISABLE): Likewise.
34798 [IS_IN (librt)] (CDISABLE): Likewise.
34799 (SINGLE_THREAD_P): Likewise.
34800 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
34801 definition.
34802 (PSEUDO_END): Likewise.
34803 [IS_IN (libpthread)] (CENABLE): Likewise.
34804 [IS_IN (libpthread)] (CDISABLE): Likewise.
34805 [IS_IN (libc)] (CENABLE): Likewise.
34806 [IS_IN (libc)] (CENABLE): Likewise.
34807 [IS_IN (librt)] (CDISABLE): Likewise.
34808 [IS_IN (librt)] (CDISABLE): Likewise.
34809 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34810 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
34811 definition.
34812 (PSEUDO_END): Likewise.
34813 [IS_IN (libpthread)] (CENABLE): Likewise.
34814 [IS_IN (libpthread)] (CDISABLE): Likewise.
34815 [IS_IN (libc)] (CENABLE): Likewise.
34816 [IS_IN (libc)] (CENABLE): Likewise.
34817 [IS_IN (librt)] (CDISABLE): Likewise.
34818 [IS_IN (librt)] (CDISABLE): Likewise.
34819 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34820 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
34821 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
34822 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
34823 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
34824 definition.
34825 (PSEUDO_END): Likewise.
34826 [IS_IN (libpthread)] (CENABLE): Likewise.
34827 [IS_IN (libpthread)] (CDISABLE): Likewise.
34828 [IS_IN (libc)] (CENABLE): Likewise.
34829 [IS_IN (libc)] (CENABLE): Likewise.
34830 [IS_IN (librt)] (CDISABLE): Likewise.
34831 [IS_IN (librt)] (CDISABLE): Likewise.
34832 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34833 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
34834 definition.
34835 (PSEUDO_END): Likewise.
34836 [IS_IN (libpthread)] (CENABLE): Likewise.
34837 [IS_IN (libpthread)] (CDISABLE): Likewise.
34838 [IS_IN (libc)] (CENABLE): Likewise.
34839 [IS_IN (libc)] (CENABLE): Likewise.
34840 [IS_IN (librt)] (CDISABLE): Likewise.
34841 [IS_IN (librt)] (CDISABLE): Likewise.
34842 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34843 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
34844 definition.
34845 (PSEUDO_END): Likewise.
34846 [IS_IN (libpthread)] (CENABLE): Likewise.
34847 [IS_IN (libpthread)] (CDISABLE): Likewise.
34848 [IS_IN (libc)] (CENABLE): Likewise.
34849 [IS_IN (libc)] (CENABLE): Likewise.
34850 [IS_IN (librt)] (CDISABLE): Likewise.
34851 [IS_IN (librt)] (CDISABLE): Likewise.
34852 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34853 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
34854 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
34855 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
34856 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
34857 definition.
34858 (PSEUDO_END): Likewise.
34859 [IS_IN (libpthread)] (CENABLE): Likewise.
34860 [IS_IN (libpthread)] (CDISABLE): Likewise.
34861 [IS_IN (libc)] (CENABLE): Likewise.
34862 [IS_IN (libc)] (CENABLE): Likewise.
34863 [IS_IN (librt)] (CDISABLE): Likewise.
34864 [IS_IN (librt)] (CDISABLE): Likewise.
34865 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34866 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
34867 definition.
34868 (PSEUDO_END): Likewise.
34869 [IS_IN (libpthread)] (CENABLE): Likewise.
34870 [IS_IN (libpthread)] (CDISABLE): Likewise.
34871 [IS_IN (libc)] (CENABLE): Likewise.
34872 [IS_IN (libc)] (CENABLE): Likewise.
34873 [IS_IN (librt)] (CDISABLE): Likewise.
34874 [IS_IN (librt)] (CDISABLE): Likewise.
34875 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
34876
34877 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
34878
34879 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
34880
34881 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
34882
34883 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34884
34885 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
34886
34887 [BZ #21982]
34888 * string/stratcliff.c (do_test): Declare size, nchars, inner,
34889 middle and outer with size_t instead of int. Repleace %d and
34890 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
34891 "MAX (outer, nchars - 64)" to support unsigned outer and
34892 nchars. Also exit loop when outer == 0.
34893
34894 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34895
34896 * include/fcntl.h (__fcntl_nocancel): Remove definition.
34897 * include/signal.h (__sigsuspend_nocancel): Likewise.
34898 * include/time.h (__nanosleep_nocancel): Likewise.
34899 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
34900 * login/utmp_file.c: Include non cancellable syscall header.
34901 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
34902 prototype.
34903
34904 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
34905
34906 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
34907 .byte sequences with AVX512F instructions.
34908 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
34909 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
34910 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
34911 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
34912 Likewise.
34913 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
34914 Likewise.
34915
34916 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
34917 Steve Ellcey <sellcey@cavium.com>
34918
34919 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
34920 Use PTR_REG macro in cmp instruction.
34921
34922 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34923
34924 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
34925 Change the return type of the ifunc resolver to match the return
34926 type of the target function.
34927
34928 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34929
34930 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
34931 (preadv64): Likewise.
34932 (pwrite64(: Likewise.
34933 (pwritev64): Likewise.
34934
34935 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
34936 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
34937 (LOAD_ARGS_0): Likewise.
34938 (LOAD_ARGS_1): Likewise.
34939 (LOAD_ARGS_2): Likewise.
34940 (LOAD_ARGS_3): Likewise.
34941 (LOAD_ARGS_4): Likewise.
34942 (LOAD_ARGS_5): Likewise.
34943 (LOAD_ARGS_6): Likewise.
34944 (LOAD_REGS_0): Likewise.
34945 (LOAD_REGS_1): Likewise.
34946 (LOAD_REGS_2): Likewise.
34947 (LOAD_REGS_3): Likewise.
34948 (LOAD_REGS_4): Likewise.
34949 (LOAD_REGS_5): Likewise.
34950 (LOAD_REGS_6): Likewise.
34951 (ASM_ARGS_0): Likewise.
34952 (ASM_ARGS_1): Likewise.
34953 (ASM_ARGS_2): Likewise.
34954 (ASM_ARGS_3): Likewise.
34955 (ASM_ARGS_4): Likewise.
34956 (ASM_ARGS_5): Likewise.
34957 (ASM_ARGS_6): Likewise.
34958 (LOAD_ARGS_TYPES_1): Likewise.
34959 (LOAD_ARGS_TYPES_2): Likewise.
34960 (LOAD_ARGS_TYPES_3): Likewise.
34961 (LOAD_ARGS_TYPES_4): Likewise.
34962 (LOAD_ARGS_TYPES_5): Likewise.
34963 (LOAD_ARGS_TYPES_6): Likewise.
34964 (LOAD_REGS_TYPES_1): Likewise.
34965 (LOAD_REGS_TYPES_2): Likewise.
34966 (LOAD_REGS_TYPES_3): Likewise.
34967 (LOAD_REGS_TYPES_4): Likewise.
34968 (LOAD_REGS_TYPES_5): Likewise.
34969 (LOAD_REGS_TYPES_6): Likewise.
34970 (TYPEFY): New define.
34971 (ARGIFY): Likewise.
34972 (internal_syscall0): Likewise.
34973 (internal_syscall1): Likewise.
34974 (internal_syscall2): Likewise.
34975 (internal_syscall3): Likewise.
34976 (internal_syscall4): Likewise.
34977 (internal_syscall5): Likewise.
34978 (internal_syscall6): Likewise.
34979 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
34980 (INTERNAL_SYSCALL_NCS): Remove define.
34981 (internal_syscall1): Add define.
34982
34983 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34984
34985 * math/w_remainder_compat.c: Remove duplicate inclusion of
34986 math-svid-compat.h.
34987 * math/w_remainderf_compat.c: Likewise.
34988 * math/w_remainderl_compat.c: Likewise.
34989
34990 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34991
34992 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34993
34994 2017-08-22 Joseph Myers <joseph@codesourcery.com>
34995
34996 [BZ #21684]
34997 * math/tgmath.h (__floating_type): Simplify definitions.
34998 (__real_integer_type): New macro.
34999 (__complex_integer_type): Likewise.
35000 (__expr_is_real): Likewise.
35001 (__tgmath_real_type_sub): Update comment to describe handling of
35002 complex types.
35003 (__tgmath_complex_type_sub): New macro.
35004 (__tgmath_complex_type): Likewise.
35005 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35006 (__TGMATH_CF128): Use __expr_is_real.
35007 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
35008 __expr_is_real.
35009 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35010 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
35011 * math/gen-tgmath-tests.py (Type.create_type): Create complex
35012 integer types.
35013
35014 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35015
35016 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
35017 macro.
35018 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
35019 alias.
35020 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
35021 Likewise.
35022
35023 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
35024 nanosleep_not_cancel with __nanosleep_nocancel.
35025 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
35026 (__nanosleep_nocancel): New macro.
35027 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
35028 function.
35029 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
35030 macro.
35031 (__nanosleep_nocancel): New prototype.
35032
35033 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
35034 pause_not_cancel with __pause_nocancel.
35035 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
35036 (__pause_nocancel): New macro.
35037 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
35038 macro.
35039 (__pause_nocancel): New prototype.
35040 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
35041
35042 2017-08-22 Martin Sebor <msebor@redhat.com>
35043
35044 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
35045 to return a pointer to the same type as the target function.
35046
35047 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
35048
35049 [BZ #18822]
35050 [BZ #21986]
35051 * include/printf.h (__printf_fphex): Add attribute_hidden.
35052 (__guess_grouping): New prototype.
35053 * stdio-common/printf_fp.c (__guess_grouping): Removed.
35054 * stdio-common/reg-printf.c (__register_printf_specifier): Add
35055 libc_hidden_proto and libc_hidden_def.
35056 * stdlib/strfmon_l.c (__guess_grouping): Removed.
35057 (__vstrfmon_l): Remove the third argument passed to
35058 __guess_grouping.
35059
35060 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35061
35062 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
35063 definition for issignaling that does not rely on __MATH_TG,
35064 since __MATH_TG uses __builtin_types_compatible_p, which is only
35065 available in C mode.
35066 (CFLAGS-test-math-issignaling.cc): New variable.
35067 * math/Makefile [CXX] (tests): Add test-math-issignaling.
35068 * math/test-math-issignaling.cc: New test for C++ implementation
35069 of type-generic issignaling.
35070 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
35071 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
35072 options of test-math-issignaling on powerpc64le.
35073
35074 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
35075
35076 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
35077 building libc.a.
35078 (hidden_proto): Likewise.
35079 (hidden_tls_proto): Likewise.
35080 (__hidden_proto): Likewise.
35081
35082 2017-08-22 Florian Weimer <fweimer@redhat.com>
35083
35084 math: Statically link tests of internal functionality.
35085 * math/Makefile (tests): Remove atest-exp, atest-sincos,
35086 atest-exp2.
35087 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
35088 (gmp-objs): Remove assignment.
35089 (atest-exp, atest-sincos, atest-exp2): Remove targets.
35090
35091 2017-08-22 Joseph Myers <joseph@codesourcery.com>
35092
35093 [BZ #21987]
35094 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
35095 and copy to ...
35096 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
35097 ... here.
35098 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
35099 ... and here.
35100
35101 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
35102 variable definitions above inclusion of ../Rules.
35103
35104 2017-08-21 Joseph Myers <joseph@codesourcery.com>
35105
35106 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
35107 case calling __builtin_unreachable.
35108
35109 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35110
35111 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
35112 __waitpid_nocancel.
35113 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
35114 (__waitpid_nocancel): New macro.
35115 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
35116 macro.
35117 (__waitpid_nocancel): Replace macro with a function.
35118 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
35119 function.
35120
35121 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
35122 __fcntl_nocancel.
35123 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
35124 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
35125
35126 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
35127 __writev_nocancel_nostatus.
35128 (write_call_graph): Likewise.
35129 (write_bb_counts): Likewise.
35130 * resolv/herror.c (herror): Likewise.
35131 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
35132 macro.
35133 (__writev_nocancel_nostatus): New macro.
35134 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
35135 Remove macro.
35136 (__writev_nocancel_nostatus): New function.
35137
35138 2017-08-21 Joseph Myers <joseph@codesourcery.com>
35139
35140 Revert:
35141 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35142
35143 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
35144 building libc.a.
35145 (hidden_proto): Likewise.
35146 (hidden_tls_proto): Likewise.
35147 (__hidden_proto): Likewise.
35148
35149 [BZ #21973]
35150 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
35151 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
35152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
35153 Likewise.
35154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
35155 Likewise.
35156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
35157 Likewise.
35158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
35159 Likewise.
35160 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
35161 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
35162 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
35163 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
35164 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
35165 GLIBC_2.0 sqrtl symbol.
35166
35167 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
35168 [__USE_MISC] (_LIB_VERSION): Likewise.
35169 [__USE_MISC] (struct exception): Likewise.
35170 [__USE_MISC] (matherr): Likewise.
35171 [__USE_MISC] (DOMAIN): Likewise.
35172 [__USE_MISC] (SING): Likewise.
35173 [__USE_MISC] (OVERFLOW): Likewise.
35174 [__USE_MISC] (UNDERFLOW): Likewise.
35175 [__USE_MISC] (TLOSS): Likewise.
35176 [__USE_MISC] (PLOSS): Likewise.
35177 [__USE_MISC] (HUGE): Likewise.
35178 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
35179 * math/math-svid-compat.h: New file.
35180 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
35181 and matherrl.
35182 * include/math.h [!_ISOMAC] (__matherr): Remove.
35183 * manual/arith.texi (FP Exceptions): Do not document matherr.
35184 * math/Makefile (tests): Change test-matherr to test-matherr-3.
35185 (tests-internal): New variable.
35186 (install-lib): Do not add libieee.a.
35187 (non-lib.a): Likewise.
35188 (extra-objs): Do not add libieee.a and ieee-math.o.
35189 (CPPFLAGS-s_lib_version.c): Remove variable.
35190 ($(objpfx)libieee.a): Remove rule.
35191 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
35192 * math/ieee-math.c: Remove.
35193 * math/libm-test-support.c (matherr): Remove.
35194 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
35195 and license notices. Include <math-svid-compat.h> and
35196 <shlib-compat.h>.
35197 (matherr): Undefine as macro. Use compat_symbol_reference.
35198 (_LIB_VERSION): Likewise.
35199 * math/test-matherr-2.c: New file.
35200 * math/test-matherr-3.c: Likewise.
35201 * sysdeps/generic/math_private.h (__kernel_standard): Remove
35202 declaration.
35203 (__kernel_standard_f): Likewise.
35204 (__kernel_standard_l): Likewise.
35205 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
35206 <math_private.h>. Include <math-svid-compat.h>.
35207 (_LIB_VERSION): Undefine as macro.
35208 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
35209 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
35210 [LIBM_SVID_COMPAT], use compat_symbol.
35211 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
35212 <math_private.h>. Include <math-svid-compat.h>.
35213 (matherr): Undefine as macro.
35214 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
35215 compat_symbol.
35216 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
35217 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
35218 compat_symbol_reference.
35219 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
35220 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
35221 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
35222 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
35223 (MATHERR_D): Remove declaration.
35224 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
35225 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
35226 [LIBM_BUILD] (pmatherrf): Likewise.
35227 [LIBM_BUILD] (pmatherr): Likewise.
35228 [LIBM_BUILD] (pmatherrl): Likewise.
35229 (DOMAIN): Likewise.
35230 (SING): Likewise.
35231 (OVERFLOW): Likewise.
35232 (UNDERFLOW): Likewise.
35233 (TLOSS): Likewise.
35234 (PLOSS): Likewise.
35235 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
35236 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
35237 compat_symbol.
35238 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
35239 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
35240 compat_symbol.
35241 * math/lgamma-compat.h: Include <math-svid-compat.h>.
35242 * math/w_acos_compat.c: Likewise.
35243 * math/w_acosf_compat.c: Likewise.
35244 * math/w_acosh_compat.c: Likewise.
35245 * math/w_acoshf_compat.c: Likewise.
35246 * math/w_acoshl_compat.c: Likewise.
35247 * math/w_acosl_compat.c: Likewise.
35248 * math/w_asin_compat.c: Likewise.
35249 * math/w_asinf_compat.c: Likewise.
35250 * math/w_asinl_compat.c: Likewise.
35251 * math/w_atan2_compat.c: Likewise.
35252 * math/w_atan2f_compat.c: Likewise.
35253 * math/w_atan2l_compat.c: Likewise.
35254 * math/w_atanh_compat.c: Likewise.
35255 * math/w_atanhf_compat.c: Likewise.
35256 * math/w_atanhl_compat.c: Likewise.
35257 * math/w_cosh_compat.c: Likewise.
35258 * math/w_coshf_compat.c: Likewise.
35259 * math/w_coshl_compat.c: Likewise.
35260 * math/w_exp10_compat.c: Likewise.
35261 * math/w_exp10f_compat.c: Likewise.
35262 * math/w_exp10l_compat.c: Likewise.
35263 * math/w_exp2_compat.c: Likewise.
35264 * math/w_exp2f_compat.c: Likewise.
35265 * math/w_exp2l_compat.c: Likewise.
35266 * math/w_fmod_compat.c: Likewise.
35267 * math/w_fmodf_compat.c: Likewise.
35268 * math/w_fmodl_compat.c: Likewise.
35269 * math/w_hypot_compat.c: Likewise.
35270 * math/w_hypotf_compat.c: Likewise.
35271 * math/w_hypotl_compat.c: Likewise.
35272 * math/w_j0_compat.c: Likewise.
35273 * math/w_j0f_compat.c: Likewise.
35274 * math/w_j0l_compat.c: Likewise.
35275 * math/w_j1_compat.c: Likewise.
35276 * math/w_j1f_compat.c: Likewise.
35277 * math/w_j1l_compat.c: Likewise.
35278 * math/w_jn_compat.c: Likewise.
35279 * math/w_jnf_compat.c: Likewise.
35280 * math/w_jnl_compat.c: Likewise.
35281 * math/w_lgamma_main.c: Likewise.
35282 * math/w_lgamma_r_compat.c: Likewise.
35283 * math/w_lgammaf_main.c: Likewise.
35284 * math/w_lgammaf_r_compat.c: Likewise.
35285 * math/w_lgammal_main.c: Likewise.
35286 * math/w_lgammal_r_compat.c: Likewise.
35287 * math/w_log10_compat.c: Likewise.
35288 * math/w_log10f_compat.c: Likewise.
35289 * math/w_log10l_compat.c: Likewise.
35290 * math/w_log2_compat.c: Likewise.
35291 * math/w_log2f_compat.c: Likewise.
35292 * math/w_log2l_compat.c: Likewise.
35293 * math/w_log_compat.c: Likewise.
35294 * math/w_logf_compat.c: Likewise.
35295 * math/w_logl_compat.c: Likewise.
35296 * math/w_pow_compat.c: Likewise.
35297 * math/w_powf_compat.c: Likewise.
35298 * math/w_powl_compat.c: Likewise.
35299 * math/w_remainder_compat.c: Likewise.
35300 * math/w_remainderf_compat.c: Likewise.
35301 * math/w_remainderl_compat.c: Likewise.
35302 * math/w_scalb_compat.c: Likewise.
35303 * math/w_scalbf_compat.c: Likewise.
35304 * math/w_scalbl_compat.c: Likewise.
35305 * math/w_sinh_compat.c: Likewise.
35306 * math/w_sinhf_compat.c: Likewise.
35307 * math/w_sinhl_compat.c: Likewise.
35308 * math/w_sqrt_compat.c: Likewise.
35309 * math/w_sqrtf_compat.c: Likewise.
35310 * math/w_sqrtl_compat.c: Likewise.
35311 * math/w_tgamma_compat.c: Likewise.
35312 * math/w_tgammaf_compat.c: Likewise.
35313 * math/w_tgammal_compat.c: Likewise.
35314 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
35315 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
35316 * sysdeps/ieee754/k_standard.c: Likewise.
35317 * sysdeps/ieee754/k_standardf.c: Likewise.
35318 * sysdeps/ieee754/k_standardl.c: Likewise.
35319 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
35320 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
35321 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
35322 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
35323 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
35324 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
35325 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
35326 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
35327 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
35328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
35329 Likewise.
35330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
35331 Likewise.
35332 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
35333 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
35334 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
35335 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
35336
35337 2017-08-21 Florian Weimer <fweimer@redhat.com>
35338
35339 [BZ #21864]
35340 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
35341 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
35342 Move before inclusion of ../Rules.
35343
35344 2017-08-21 Florian Weimer <fweimer@redhat.com>
35345
35346 [BZ #21972]
35347 * assert/assert.h (assert): Use static_cast (bool) for C++.
35348 Use the ternary operator in the warning branch for GNU C.
35349 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
35350 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
35351 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
35352 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
35353 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
35354
35355 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35356
35357 [BZ #18822]
35358 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35359 (__syscall_clock_gettime): Add attribute_hidden.
35360 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
35361 (__start_context): Likewise.
35362
35363 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35364
35365 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
35366 building libc.a.
35367 (hidden_proto): Likewise.
35368 (hidden_tls_proto): Likewise.
35369 (__hidden_proto): Likewise.
35370
35371 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35372
35373 * include/libc-symbols.h (attribute_hidden): Enable hidden
35374 visibility in libc.a compiled with PIE.
35375
35376 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35377
35378 [BZ #18822]
35379 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
35380 Add attribute_hidden.
35381
35382 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35383
35384 [BZ #21864]
35385 * Makerules (all-nonlib): Add $(others-extras).
35386 * catgets/Makefile (others-extras): New.
35387 * elf/Makefile (others-extras): Likewise.
35388 * nss/Makefile (others-extras): Likewise.
35389
35390 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35391
35392 [BZ #18822]
35393 * csu/libc-start.c (__libc_multiple_libcs): Removed.
35394 * elf/dl-open.c: Include <libc-internal.h>.
35395 (__libc_multiple_libcs): Removed.
35396 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
35397 <hp-timing.h>.
35398 * include/libc-internal.h (__libc_multiple_libcs): New.
35399 * misc/sbrk.c: Include <libc-internal.h>.
35400 (__libc_multiple_libcs): Removed.
35401
35402 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35403
35404 [BZ #18822]
35405 * grp/initgroups.c (__nss_group_database): Removed.
35406 (__nss_initgroups_database): Likewise.
35407 * nscd/gai.c (__nss_hosts_database): Likewise.
35408 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
35409 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
35410 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
35411 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
35412 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
35413 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
35414 attribute_hidden.
35415 * nss/nsswitch.c (__nss_database_custom): Define only if
35416 USE_NSCD is defined.
35417 (__nss_configure_lookup): Use __nss_database_custom only if
35418 USE_NSCD is defined.
35419 * nss/nsswitch.h (__nss_database_custom): Declare only if
35420 USE_NSCD is defined. Add attribute_hidden.
35421 (__nss_setent): Add attribute_hidden.
35422 (__nss_endent): Likewise.
35423 (__nss_getent_r): Likewise.
35424 (__nss_getent): Likewise.
35425 (DEFINE_DATABASE): Declare __nss_##arg##_database.
35426
35427 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
35428
35429 [BZ #18822]
35430 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
35431 libc_hidden_proto and libc_hidden_def.
35432
35433 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
35434
35435 [BZ #18822]
35436 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
35437 Add libc_hidden_proto.
35438 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
35439 Add libc_hidden_def.
35440
35441 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
35442
35443 [BZ #21974]
35444 * gmon/Makefile (routines): Remove bb_init_func and
35445 bb_exit_func.
35446 (elide-routines.os): Removed.
35447 * gmon/bb_exit_func.c: Likewise.
35448 * gmon/bb_init_func.c: Likewise.
35449 * include/sys/gmon.h (__bb): Likewise.
35450 (__bb_init_func): Likewise.
35451 (__bb_exit_func): Likewise.
35452 * sysdeps/alpha/bb_init_func.S: Likewise.
35453
35454 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
35455
35456 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
35457 * include/setjmp.h (____longjmp_chk): Here. Add
35458 attribute_hidden.
35459
35460 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
35461
35462 [BZ #18822]
35463 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
35464 attribute_hidden.
35465 (__strspn_sse2): Likewise.
35466
35467 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35468
35469 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
35470 (close_not_cancel_no_status): Likewise.
35471 (__close_nocancel): New macro.
35472 (__close_nocancel_nostatus): Likewise.
35473 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
35474 macro.
35475 (close_not_cancel): Likewise.
35476 (close_not_cancel_no_status): Likewise.
35477 (__close_nocancel): New prototype.
35478 (__close_nocancel_nostatus): New function.
35479 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
35480 * catgets/open_catalog.c (__open_catalog): Replace
35481 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
35482 * gmon/gmon.c (write_gmon): Likewise.
35483 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
35484 * intl/loadmsgcat.c (close): Likewise.
35485 * io/ftw.c (open_dir_stream): Likewise.
35486 (ftw_startup): Likewise.
35487 * libio/fileops.c (_IO_file_open): Likewise.
35488 (_IO_file_close_mmap): Likewise.
35489 (_IO_file_close): Likewise.
35490 * libio/iopopen.c (_IO_dup2): Likewise.
35491 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
35492 * locale/loadlocale.c (_nl_load_locale): Likewise.
35493 * login/utmp_file.c (pututline_file): Likewise.
35494 (endutent_file): Likewise.
35495 * misc/daemon.c (daemon): Likewise.
35496 * nscd/nscd_getai.c (__nscd_getai): Likewise.
35497 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35498 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
35499 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
35500 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35501 * nscd/nscd_helper.c (open_socket): Likewise.
35502 (__nscd_open_socket): Likewise.
35503 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
35504 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
35505 (__nscd_innetgr): Likewise.
35506 * nss/nss_db/db-open.c (internal_setent): Likewise.
35507 * resolv/res-close.c (__res_iclose): Likewise.
35508 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
35509 * sysdeps/posix/closedir.c (__closedir): Likewise.
35510 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
35511 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
35512 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
35513 (opendir_tail): Likewise.
35514 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
35515 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
35516 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
35517 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
35518 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
35519 (gethostid): Likewise.
35520 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
35521 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35522 Likewise.
35523 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
35524 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
35525 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
35526 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
35527 Likewise.
35528 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
35529 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
35530 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
35531 Likewise.
35532 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
35533 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
35534 Likewise.
35535 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
35536 Likewise.
35537 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
35538 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
35539 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
35540 __close_nocancel.
35541
35542 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
35543 (openat_not_cancel_3): Likewise.
35544 (openat64_not_cancel_3): Likewise).
35545 (openat_not_cancel_3): Likewise).
35546 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
35547 macro.
35548 (openat_not_cancel_3): Likewise.
35549 (openat64_not_cancel): Likewise.
35550 (openat64_not_cancel_3): Likewise.
35551 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
35552 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
35553 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
35554 __open{64}_nocancel.
35555 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
35556 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
35557 * sysdeps/posix/opendir.c (__opendirat): Likewise.
35558
35559 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
35560
35561 [BZ #18822]
35562 * include/argz.h (__argz_create_sep): New function prototype.
35563 (__argz_append): Likewise.
35564 (__argz_add): Likewise.
35565 (__argz_add_sep): Likewise.
35566 (__argz_delete): Likewise.
35567 (__argz_insert): Likewise.
35568 (__argz_replace): Likewise.
35569 * string/argz.h (__argz_create_sep): Removed.
35570 (__argz_append): Likewise.
35571 (__argz_add): Likewise.
35572 (__argz_add_sep): Likewise.
35573 (__argz_delete): Likewise.
35574 (__argz_insert): Likewise.
35575 (__argz_replace): Likewise.
35576
35577 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
35578
35579 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
35580 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
35581 (GNU_PROPERTY_STACK_SIZE): Likewie.
35582 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
35583 (GNU_PROPERTY_LOPROC): Likewise.
35584 (GNU_PROPERTY_HIPROC): Likewise.
35585 (GNU_PROPERTY_LOUSER): Likewise.
35586 (GNU_PROPERTY_HIUSER): Likewise.
35587 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
35588 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
35589 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
35590 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
35591 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
35592 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
35593 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
35594 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
35595 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
35596 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
35597 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
35598 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
35599 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
35600 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
35601 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
35602 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
35603 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
35604 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
35605 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
35606 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
35607 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
35608 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
35609 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
35610
35611 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35612
35613 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
35614 in C++ mode.
35615
35616 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35617
35618 [BZ #21930]
35619 * math/math.h (isinf): Check if in C or C++ mode before using
35620 __builtin_types_compatible_p, since this is a C mode feature.
35621
35622 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35623
35624 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
35625 (__write_nocancel): New macro.
35626 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
35627 Rewrite as a function prototype.
35628 (write_not_cancel): Remove macro.
35629 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
35630 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
35631 (write_gmon): Likewise.
35632 * libio/fileops.c (_IO_new_file_write): Likewise.
35633 * login/utmp_file.c (pututline_file): Likewise.
35634 (updwtmp_file): Likewise.
35635 * stdio-common/psiginfo.c (psiginfo): Likewise.
35636 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
35637 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
35638 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
35639 Likewise.
35640 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
35641 Likewise.
35642
35643 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
35644 (__read_nocancel): New macro.
35645 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
35646 __read_nocancel.
35647 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
35648 macro.
35649 (__read_nocancel): New prototype.
35650 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
35651 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
35652 with __read_nocancel.
35653 * intl/loadmsgcat.c (read): Likewise.
35654 * libio/fileops.c (_IO_file_read): Likewise.
35655 * locale/loadlocale.c (_nl_load_locale): Likewise.
35656 * login/utmp_file.c (getutent_r_file): Likewise.
35657 (internal_getut_r): Likewise.
35658 (getutline_r_file): Likewise.
35659 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
35660 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
35661 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
35662 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35663 Likewise.
35664 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
35665 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
35666 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
35667 Likewise.
35668 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
35669 Likewise.
35670 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
35671 Likewise.
35672 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
35673 Likewise.
35674 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
35675
35676 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
35677
35678 [BZ #21966]
35679 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
35680 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
35681 usable.
35682
35683 2017-08-17 DJ Delorie <dj@redhat.com>
35684
35685 * bug17079.c: Update to new test harness.
35686 * test-digits-dots.c: Likewise.
35687 * test-netdb.c: Likewise.
35688 * tst-field.c: Likewise.
35689 * tst-nss-getpwent.c: Likewise.
35690 * tst-nss-static.c: Likewise.
35691 * tst-nss-test1.c: Likewise.
35692 * tst-nss-test2.c: Likewise.
35693 * tst-nss-test3.c: Likewise.
35694 * tst-nss-test4.c: Likewise.
35695 * tst-nss-test5.c: Likewise.
35696
35697 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35698
35699 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
35700 (open_not_cancel_2): Likewise.
35701 (open_nocancel): New macro.
35702 (open64_nocancel): Likewise.
35703 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
35704 (open_not_cancel_2): Likewise.
35705 (__open_nocancel): New prototype.
35706 (__open64_nocancel): Likewise.
35707 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
35708 __open_nocancel.
35709 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
35710 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
35711 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
35712 with __open_nocancel.
35713 * csu/check_fds.c (check_one_fd): Likewise.
35714 * gmon/gmon.c (write_gmon): Likewise.
35715 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
35716 * intl/loadmsgcat.c (open): Likewise.
35717 * libio/fileops.c (_IO_file_open): Likewise.
35718 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
35719 * locale/loadlocale.c (_nl_load_locale): Likewise.
35720 * login/utmp_file.c (setutent_file): Likewise.
35721 * misc/daemon.c (daemon): Likewise.
35722 * nss/nss_db/db-open.c (internal_setent): Likewise.
35723 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
35724 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
35725 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
35726 (__opendir): Likewise.
35727 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
35728 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
35729 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
35730 (gethostid): Likewise.
35731 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
35732 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35733 Likewise.
35734 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
35735 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
35736 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
35737 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
35738 Likewise.
35739 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
35740 Likewise.
35741 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
35742 Likewise.
35743 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
35744 Likewise.
35745 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
35746 Likewise.
35747 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
35748 Likewise.
35749 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
35750 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
35751
35752 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
35753
35754 * benchtests/bench-skeleton.c (main): Add support for
35755 latency benchmarking.
35756 * benchtests/scripts/bench.py: Add support for latency benchmarking.
35757
35758 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
35759
35760 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
35761 the startup object.
35762
35763 2017-08-17 Florian Weimer <fweimer@redhat.com>
35764
35765 * include/sys/socket.h (__opensock): Remove internal_function.
35766 * socket/opensock.c (__opensock): Likewise.
35767 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
35768
35769 2017-08-16 Joseph Myers <joseph@codesourcery.com>
35770
35771 [BZ #21944]
35772 * signal/bits/types/__sigval_t.h: New file.
35773 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
35774 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
35775 and define sigval_t using __sigval_t.
35776 * include/bits/types/__sigval_t.h: New file.
35777 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
35778 instead of <bits/types/__sigval_t.h>.
35779 (struct sigevent): Use __sigval_t instead of sigval_t.
35780 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
35781 instead of <bits/types/__sigval_t.h>.
35782 (siginfo_t): Use __sigval_t instead of sigval_t.
35783 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
35784 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
35785 (struct sigevent): Use __sigval_t instead of sigval_t.
35786 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
35787 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
35788 (siginfo_t): Use __sigval_t instead of sigval_t.
35789 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
35790
35791 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
35792
35793 * NEWS: Remove "[Add new features here]" for 2.27.
35794
35795 2017-08-16 Joseph Myers <joseph@codesourcery.com>
35796
35797 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
35798 libc.so.
35799
35800 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
35801
35802 * NEWS: Mention x86-64 FMA optimization.
35803
35804 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
35805
35806 [BZ #21912]
35807 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35808 Add e_expf-fma.
35809 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
35810 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
35811 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
35812
35813 2017-08-16 Andreas Schwab <schwab@suse.de>
35814
35815 [BZ #16750]
35816 CVE-2009-5064
35817 * elf/ldd.bash.in: Never run file directly.
35818
35819 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
35820
35821 [BZ #21955]
35822 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
35823 (L(SP_INF_0)): Likewise.
35824
35825 2017-08-15 Florian Weimer <fweimer@redhat.com>
35826
35827 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
35828 run-built-tests.
35829
35830 2017-08-15 Florian Weimer <fweimer@redhat.com>
35831
35832 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
35833 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
35834 BROKEN_THREAD_SIGNALS code.
35835 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
35836 request_list): Remove caller_pid member used for
35837 BROKEN_THREAD_SIGNALS.
35838 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
35839 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
35840 Remove BROKEN_THREAD_SIGNALS support.
35841 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
35842 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
35843
35844 2017-08-15 Florian Weimer <fweimer@redhat.com>
35845
35846 * gmon/Makefile (tests): Add tst-gmon.
35847 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
35848 Set.
35849 (tests-special): Add tst-gmon-prof.out.
35850 (tst-gmon.out): Depend on clean-tst-gmon-data.
35851 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
35852 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
35853 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
35854 startup object.
35855 * aclocal.m4 (GPROF): Set and substitute.
35856 * config.amke.in (GPROF): Set.
35857 * configure: Regenerate.
35858
35859 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
35860
35861 * elf/elf.h A (NT_PPC_TAR): New macro.
35862 (NT_PPC_PPR): Likewise.
35863 (NT_PPC_DSCR): Likewise.
35864 (NT_PPC_EBB): Likewise.
35865 (NT_PPC_PMU): Likewise.
35866 (NT_PPC_TM_CGPR): Likewise.
35867 (NT_PPC_TM_CFPR): Likewise.
35868 (NT_PPC_TM_CVMX): Likewise.
35869 (NT_PPC_TM_CVSX): Likewise.
35870 (NT_PPC_TM_SPR): Likewise.
35871 (NT_PPC_TM_CTAR): Likewise.
35872 (NT_PPC_TM_CPPR): Likewise.
35873 (NT_PPC_TM_CDSCR): Likewise.
35874
35875 2017-08-15 Florian Weimer <fweimer@redhat.com>
35876
35877 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
35878 regparm (2) instead of internal_function.
35879 (_MCOUNT_DECL): Adjust.
35880
35881 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
35882
35883 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
35884 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
35885
35886 2017-08-14 Joseph Myers <joseph@codesourcery.com>
35887
35888 * conform/data/sys/wait.h-data (si_value): Do not expect for
35889 XPG42.
35890
35891 2017-08-14 Florian Weimer <fweimer@redhat.com>
35892
35893 [BZ #21962]
35894 NSS: Create stubs for accidentally exported lookup functions.
35895 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
35896 Remove declaration.
35897 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
35898 (ether_hostton): Call __nss_ethers_lookup2 instead.
35899 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
35900 (ether_ntohost): Call __nss_ethers_lookup2 instead.
35901 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
35902 (setup): Call __nss_netgroup_lookup2 instead.
35903 * nss/Makefile (routines): Add compat-lookup.
35904 * nss/Versions (GLIBC_2.27): Add symbol version.
35905 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
35906 (DB_COMPAT_FCT): Remove.
35907 * nss/compat-lookup.c: New file.
35908 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
35909 from databases.def.
35910 * nss/service-lookup.c (NO_COMPAT): Remove definition.
35911 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
35912 (netname2user): Call __nss_publickey_lookup2 instead.
35913 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
35914 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
35915 instead.
35916
35917 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35918 Sergei Trofimovich <slyfox@inbox.ru>
35919
35920 [BZ #21908]
35921 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
35922 Rename to MMAP2_PAGE_UNIT.
35923 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
35924 __OFF_T_MATCHES_OFF64_T is not defined.
35925 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
35926 uint64_t.
35927 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
35928 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
35929
35930 2017-08-14 Florian Weimer <fweimer@redhat.com>
35931
35932 i386: Do not set internal_function.
35933 * config.h.in (USE_REGPARMS, internal_function): Remove.
35934 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
35935 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
35936
35937 2017-08-14 Florian Weimer <fweimer@redhat.com>
35938
35939 * elf/dl-init.c (_dl_init): Remove internal_function.
35940 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
35941 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
35942
35943 2017-08-14 Florian Weimer <fweimer@redhat.com>
35944
35945 * elf/rtld.c (_dl_start): Remove internal_function.
35946 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
35947 _dl_start.
35948
35949 2017-08-14 Florian Weimer <fweimer@redhat.com>
35950
35951 * elf/dl-fini.c (_dl_fini): Remove internal_function
35952 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
35953
35954 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
35955
35956 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
35957 (bit_cpu_SHSTK): Likewise.
35958 (index_cpu_IBT): Likewise.
35959 (index_cpu_SHSTK): Likewise.
35960 (reg_IBT): Likewise.
35961 (reg_SHSTK): Likewise.
35962 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
35963 Handle index_cpu_IBT and index_cpu_SHSTK.
35964
35965 2017-08-14 Mike FABIAN <mfabian@redhat.com>
35966
35967 [BZ #19982]
35968 * po/fr.po: Fix spelling mistake.
35969
35970 2017-08-13 Florian Weimer <fweimer@redhat.com>
35971
35972 * elf/dl-addr.c (_dl_addr): Remove internal_function.
35973 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
35974 (_dl_catch_error, _dl_receive_error): Likewise.
35975 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
35976 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
35977 (_dl_deallocate_tls): Likewise.
35978 * include/dlfcn.h (_dl_addr): Likewise.
35979 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
35980 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
35981 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
35982 Likewise.
35983
35984 2017-08-13 Florian Weimer <fweimer@redhat.com>
35985
35986 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
35987 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
35988 internal_function.
35989 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
35990
35991 2017-08-13 Florian Weimer <fweimer@redhat.com>
35992
35993 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
35994 internal_function.
35995 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
35996 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
35997 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
35998 internal_function from _dl_make_stack_executable_hook member.
35999 (_dl_make_stack_executable): Remove internal_function.
36000 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
36001 Likewise.
36002 * sysdeps/unix/sysv/linux/dl-execstack.c
36003 (_dl_make_stack_executable): Likewise.
36004
36005 2017-08-13 Florian Weimer <fweimer@redhat.com>
36006
36007 * sysdeps/unix/sysv/linux/netlinkaccess.h
36008 (__netlink_assert_response): Remove internal_function.
36009 * sysdeps/unix/sysv/linux/netlink_assert_response.c
36010 (__netlink_assert_response): Likewise.
36011
36012 2017-08-13 Florian Weimer <fweimer@redhat.com>
36013
36014 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
36015 internal_function.
36016 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
36017
36018 2017-08-13 Florian Weimer <fweimer@redhat.com>
36019
36020 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
36021 internal_function.
36022 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
36023 * inet/netgroup.h (__internal_setnetgrent)
36024 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
36025 * inet/getnetgrent_r.c (__internal_setnetgrent)
36026 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
36027 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
36028 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
36029 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
36030 * nss/nsswitch.h (db_lookup_function): Likewise.
36031
36032 2017-08-13 Florian Weimer <fweimer@redhat.com>
36033
36034 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
36035 Remove internal_function.
36036 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
36037 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
36038 message argument on the stack.
36039 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
36040 Likeweise.
36041
36042 2017-08-12 Mike FABIAN <mfabian@redhat.com>
36043
36044 Adapt test case data to the changes in the thousands
36045 separators.
36046
36047 [BZ #20756]
36048 * localedata/tst-langinfo.sh: Adapt test case data.
36049 * stdlib/tst-strfmon_l.c: Likewise.
36050 * stdlib/tst-strtod4.c: Likewise.
36051 * stdlib/tst-strtod5i.c: Likewise.
36052
36053 2017-08-11 Florian Weimer <fweimer@redhat.com>
36054
36055 [BZ #21242]
36056 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
36057 Suppress pedantic warning resulting from statement expression.
36058 (__ASSERT_FUNCTION): Add missing __extension__.
36059
36060 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
36061
36062 * benchtests/bench-memmove-large.c: Print output in JSON
36063 format.
36064 * benchtests/bench-memmove.c: Likewise.
36065
36066 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
36067 * benchtests/bench-memchr.c (do_one_test): Likewise.
36068 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
36069 * benchtests/bench-memcpy.c (do_one_test): Likewise.
36070 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
36071 * benchtests/bench-memmove.c (do_one_test): Likewise.
36072 * benchtests/bench-memset-large.c (do_one_test): Likewise.
36073 * benchtests/bench-memset.c (do_one_test): Likewise.
36074 * benchtests/bench-string.h (test_init): Remove memsets.
36075
36076 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
36077
36078 * manual/lang.texi
36079 (Computing the Width of an Integer Data Type): Rename section to
36080 "Width of an Integer Type". Remove inaccurate statement regarding
36081 lack of C language facilities for determining width of integer
36082 types, and reorder content to improve flow and context of
36083 discussion.
36084
36085 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
36086
36087 * lang.texi (va_copy): Change standard from ISO to C99.
36088 (__va_copy): Add standard and header annotation.
36089 Update description for clarity of origins and current use.
36090
36091 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36092
36093 [BZ #21941]
36094 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
36095 xssqrtqp requires operands to be in Vector Registers
36096 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
36097 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
36098 (__ieee754_sqrtf128): Likewise.
36099
36100 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
36101
36102 * sysdeps/aarch64/memcmp.S (memcmp):
36103 Rewrite of optimized memcmp.
36104
36105 2017-08-10 Florian Weimer <fweimer@redhat.com>
36106
36107 Introduce ld.so exceptions.
36108 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
36109 (_dl_exception_create, _dl_exception_create_format)
36110 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
36111 (_dl_catch_exception): Declare.
36112 (_dl_catch_error): Update comment.
36113 * elf/dl-error-skeleton.c (struct catch): Replace objname,
36114 errstring, malloced members with exception member.
36115 (_dl_out_of_memory): Remove.
36116 (fatal_error): New function, extracted from _dl_signal_error.
36117 (_dl_signal_exception, _dl_signal_cexception): New functions.
36118 (_dl_signal_error): Call _dl_exception_create to allocate an
36119 exception object.
36120 (_dl_catch_exception): New function, based on _dl_catch_error.
36121 (_dl_catch_error): Implement using _dl_catch_exception.
36122 * elf/dl-exception.c: New file.
36123 * elf/Makefile (dl-routines): Add dl-exception.
36124 (elide-routines.os): Likewise.
36125 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
36126 _dl_exception_create_format, _dl_exception_free.
36127 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
36128 _dl_signal_exception.
36129 * elf/dl-lookup.c (make_string): Remove.
36130 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
36131 _dl_signal_cexception, _dl_exception_free.
36132 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
36133 _dl_signal_exception.
36134 * elf/dl-sym.c (do_sym): Likewise.
36135 * elf/dl-version.c (make_string): Remove.
36136 (match_symbol): Use _dl_exception_create_format,
36137 _dl_signal_cexception, _dl_exception_free.
36138 (_dl_check_map_versions): Likewise.
36139 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
36140 _dl_catch_exception.
36141 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
36142 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
36143 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
36144 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
36145 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
36146 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
36147 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
36148 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
36149 Likewise.
36150 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
36151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
36152 (ld.so): Likewise.
36153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
36154 (ld.so): Likewise.
36155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
36156 Likewise.
36157 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
36158 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
36159 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
36160 Likewise.
36161 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
36162 Likewise.
36163 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
36164
36165 2017-08-10 Florian Weimer <fweimer@redhat.com>
36166
36167 * inet/net-internal.h (__inet6_scopeid_pton): Remove
36168 attribute_hidden, internal_function.
36169 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
36170 internal_function.
36171
36172 2017-08-10 Florian Weimer <fweimer@redhat.com>
36173
36174 * malloc/malloc.c (get_max_fast): Reimplement as an inline
36175 function which calls __builtin_unreachable.
36176
36177 2017-08-10 Mike FABIAN <mfabian@redhat.com>
36178
36179 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
36180 Indian monetary formatting
36181 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
36182 test cases.
36183
36184 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
36185
36186 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
36187 Fix typo in comment.
36188
36189 [BZ #21928]
36190 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
36191 PTRACE_SEIZE_DEVEL): Remove.
36192 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
36193 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
36194 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36195 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36196 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36197
36198 2017-08-09 Joseph Myers <joseph@codesourcery.com>
36199
36200 * posix/bits/types.h (__qaddr_t): Remove.
36201
36202 [BZ #21457]
36203 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
36204 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36205 __glibc_reserved1.
36206 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
36207 (ucontext_t): Use __ctx with uc_flags.
36208 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
36209 (__ctxt): Likewise.
36210 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36211 __glibc_reserved1.
36212 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
36213 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36214 __glibc_reserved1.
36215 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
36216 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36217 __glibc_reserved1.
36218 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
36219 macro.
36220 (ucontext_t): Use __ctx with uc_flags.
36221 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
36222 (ucontext_t): Use __ctx with uc_flags.
36223 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
36224 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
36225 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
36226 (ucontext_t): Use __ctx with uc_flags.
36227 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
36228 undefine further down.
36229 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36230 __glibc_reserved1.
36231 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
36232 undefine further down.
36233 (ucontext_t): Use __ctx with uc_flags.
36234 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
36235 undefine further down.
36236 (ucontext_t): Use __ctx with uc_flags.
36237 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
36238 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
36239 Rename uc_pad to __glibc_reserved1.
36240 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
36241 undefine further down.
36242 (ucontext_t): Use __ctx with uc_flags.
36243 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
36244 further down.
36245 (ucontext_t): Use __ctx with uc_flags.
36246 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
36247 __ctx with uc_flags.
36248 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
36249 (ucontext_t): Use __ctx with uc_flags.
36250 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
36251 __ctx with uc_flags.
36252
36253 2017-08-09 Florian Weimer <fweimer@redhat.com>
36254
36255 [BZ #21932]
36256 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
36257 before early return.
36258
36259 2017-08-09 Andreas Schwab <schwab@suse.de>
36260
36261 [BZ #21041]
36262 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
36263 renamed alias.
36264
36265 [BZ #21041]
36266 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
36267 tst-compat-forwarder.
36268 (modules-names): Add tst-compat-forwarder-mod.
36269 ($(objpfx)tst-compat-forwarder): Depend on
36270 $(objpfx)tst-compat-forwarder-mod.so.
36271 * nptl/tst-compat-forwarder.c: New file.
36272 * nptl/tst-compat-forwarder-mod.c: New file.
36273
36274 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
36275
36276 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
36277 comments.
36278
36279 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
36280 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
36281 memcpy_falkor.
36282 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
36283 Bump.
36284 (__libc_ifunc_impl_list): Add __memcpy_falkor.
36285 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
36286 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
36287 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
36288 Add falkor.
36289 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
36290 New macro.
36291
36292 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36293
36294 [BZ #759]
36295 * manual/setjmp.texi (getcontex): Document uc_stack value
36296 compatibility differences.
36297
36298 2017-08-08 Joseph Myers <joseph@codesourcery.com>
36299
36300 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
36301 (old_malloc_hook): Likewise.
36302 (old_memalign_hook): Likewise.
36303 (old_realloc_hook): Likewise.
36304 (struct hdr): Likewise.
36305 (flood): Likewise.
36306 (freehook): Likewise.
36307 (mallochook): Likewise.
36308 (memalignhook): Likewise.
36309 (reallochook): Likewise.
36310 (mprobe): Likewise.
36311 * malloc/mtrace.c (mallwatch): Likewise.
36312 (tr_old_free_hook): Likewise.
36313 (tr_old_malloc_hook): Likewise.
36314 (tr_old_realloc_hook): Likewise.
36315 (tr_old_memalign_hook): Likewise.
36316 (tr_where): Likewise.
36317 (lock_and_info): Likewise.
36318 (tr_freehook): Likewise.
36319 (tr_mallochook): Likewise.
36320 (tr_reallochook): Likewise.
36321 (tr_memalignhook): Likewise.
36322 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
36323 * misc/mmap.c (__mmap): Likewise.
36324 * misc/mmap64.c (__mmap64): Likewise.
36325 * misc/mprotect.c (__mprotect): Likewise.
36326 * misc/msync.c (msync): Likewise.
36327 * misc/munmap.c (__munmap): Likewise.
36328 * posix/posix_madvise.c (posix_madvise): Likewise.
36329 * socket/send.c (__send): Likewise.
36330 * socket/sendto.c (__sendto): Likewise.
36331 * socket/setsockopt.c (__setsockopt): Likewise.
36332 * string/memcmp.c (__ptr_t): Remove macro.
36333 (MEMCMP): Use void * instead of ptr_t.
36334 * string/memrchr.c (__ptr_t): Remove macro.
36335 (__memrchr): Use void * instead of ptr_t.
36336 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
36337 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
36338 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
36339 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
36340 * sysdeps/mach/msync.c (msync): Likewise.
36341 * sysdeps/mach/munmap.c (__munmap): Likewise.
36342 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
36343 Likewise.
36344 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36345 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
36346 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
36347 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
36348 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
36349 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
36350 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
36351 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
36352 Likewise.
36353 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
36354 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
36355 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
36356 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
36357 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
36358 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
36359 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
36360 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
36361 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
36362 Likewise.
36363 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
36364 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
36365 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
36366 (MEMCMP): Use void * instead of ptr_t.
36367 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
36368 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
36369
36370 2017-08-08 Florian Weimer <fweimer@redhat.com>
36371
36372 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
36373 return statement.
36374
36375 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
36376
36377 [BZ #21913]
36378 * csu/libc-tls.c: Include <startup.h> first.
36379 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
36380 * elf/dl-tunables.c: Include <startup.h> first.
36381 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
36382 * sysdeps/generic/startup.h: New file.
36383 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
36384 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
36385 (I386_USE_SYSENTER): New. Defined to 0.
36386
36387 2017-08-08 Andreas Schwab <schwab@suse.de>
36388
36389 [BZ #21041]
36390 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
36391 * nptl/pt-system.c (system): Likewise.
36392
36393 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36394
36395 [BZ #21780]
36396 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
36397 EOPNOTSUPP.
36398 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
36399 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
36400 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
36401 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
36402 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
36403 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
36404 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
36405
36406 2017-08-07 Joseph Myers <joseph@codesourcery.com>
36407
36408 [BZ #21899]
36409 * bits/sigaction.h (struct sigaction): Define sa_handler and
36410 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
36411 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36412 [__USE_XOPEN_EXTENDED].
36413 (SA_RESTART): Likewise.
36414 (SA_NODEFER): Likewise.
36415 (SA_RESETHAND): Likewise.
36416 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
36417 (struct sigaction): Define sa_handler and sa_sigaction using union
36418 also for [__USE_XOPEN_EXTENDED].
36419 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36420 [__USE_XOPEN_EXTENDED].
36421 (SA_RESTART): Likewise.
36422 (SA_NODEFER): Likewise.
36423 (SA_RESETHAND): Likewise.
36424 * sysdeps/unix/sysv/linux/bits/sigaction.h
36425 (struct sigaction): Define sa_handler and sa_sigaction using union
36426 also for [__USE_XOPEN_EXTENDED].
36427 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36428 [__USE_XOPEN_EXTENDED].
36429 (SA_RESTART): Likewise.
36430 (SA_NODEFER): Likewise.
36431 (SA_RESETHAND): Likewise.
36432 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
36433 (struct sigaction): Define sa_handler and sa_sigaction using union
36434 also for [__USE_XOPEN_EXTENDED].
36435 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36436 [__USE_XOPEN_EXTENDED].
36437 (SA_RESTART): Likewise.
36438 (SA_NODEFER): Likewise.
36439 (SA_RESETHAND): Likewise.
36440 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
36441 (struct sigaction): Define sa_handler and sa_sigaction using union
36442 also for [__USE_XOPEN_EXTENDED].
36443 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36444 [__USE_XOPEN_EXTENDED].
36445 (SA_RESTART): Likewise.
36446 (SA_NODEFER): Likewise.
36447 (SA_RESETHAND): Likewise.
36448 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
36449 (struct sigaction): Define sa_handler and sa_sigaction using union
36450 also for [__USE_XOPEN_EXTENDED].
36451 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36452 [__USE_XOPEN_EXTENDED].
36453 (SA_RESTART): Likewise.
36454 (SA_NODEFER): Likewise.
36455 (SA_RESETHAND): Likewise.
36456 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
36457 (struct sigaction): Define sa_handler and sa_sigaction using union
36458 also for [__USE_XOPEN_EXTENDED].
36459 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36460 [__USE_XOPEN_EXTENDED].
36461 (SA_RESTART): Likewise.
36462 (SA_NODEFER): Likewise.
36463 (SA_RESETHAND): Likewise.
36464 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
36465 (struct sigaction): Define sa_handler and sa_sigaction using union
36466 also for [__USE_XOPEN_EXTENDED].
36467 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36468 [__USE_XOPEN_EXTENDED].
36469 (SA_RESTART): Likewise.
36470 (SA_NODEFER): Likewise. Define directly rather than as alias.
36471 (SA_RESETHAND): Likewise.
36472 (SA_INTERRUPT): Define only for [__USE_MISC].
36473 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
36474 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
36475 [__USE_MISC].
36476 (SA_STACK): Define only for [__USE_MISC].
36477 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
36478 (struct sigaction): Define sa_handler and sa_sigaction using union
36479 also for [__USE_XOPEN_EXTENDED].
36480 (SA_ONSTACK): Change [__USE_UNIX98] condition to
36481 [__USE_XOPEN_EXTENDED].
36482 (SA_RESTART): Likewise.
36483 (SA_NODEFER): Likewise.
36484 (SA_RESETHAND): Likewise.
36485 (SA_NOPTRACE): Define only for [__USE_MISC].
36486
36487 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
36488 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
36489 (struct catalog_info): Likewise.
36490 * inet/htontest.c (lo): Likewise.
36491 (foo): Likewise.
36492 * inet/inet_lnaof.c (inet_lnaof): Likewise.
36493 * inet/inet_net.c (inet_network): Likewise.
36494 * inet/inet_netof.c (inet_netof): Likewise.
36495 * inet/rcmd.c (__ivaliduser): Likewise.
36496 (iruserok): Likewise.
36497 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
36498 * locale/programs/locale-spec.c (locale_special): Likewise.
36499 * nis/nis_findserv.c (struct findserv_req): Likewise.
36500 (__nis_findfastest_with_timeout): Likewise.
36501 * nss/test-netdb.c (test_network): Likewise.
36502 * resolv/inet_neta.c (inet_neta): Likewise.
36503 * resolv/ns_date.c (ns_datetosecs): Likewise.
36504 (SECS_PER_DAY): Likewise.
36505 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
36506 Likewise.
36507 * resolv/res_comp.c (__putlong): Likewise.
36508 (__putshort): Likewise.
36509 (_getlong): Likewise.
36510 (_getshort): Likewise.
36511 * resolv/res_debug.c (p_time): Likewise.
36512 (precsize_ntoa): Likewise.
36513 (precsize_aton): Likewise.
36514 (latlon2ul): Likewise.
36515 (loc_aton): Likewise.
36516 (loc_ntoa): Likewise.
36517 * resolv/res_hconf.c (struct netaddr): Likewise.
36518 (_res_hconf_reorder_addrs): Likewise.
36519 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
36520 (clnttcp_control): Likewise.
36521 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36522 (clntudp_control): Likewise.
36523 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
36524 (clntunix_control): Likewise.
36525 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
36526 * sunrpc/rpc/auth.h (union des_block): Likewise.
36527 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
36528 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
36529 (xdrrec_create): Likewise.
36530 (xdrrec_endofrecord): Likewise.
36531 (flush_out): Likewise.
36532 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
36533 (xdrstdio_putlong): Likewise.
36534 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
36535 Likewise.
36536
36537 * misc/sys/cdefs.h (__long_double_t): Remove.
36538 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
36539 instead of __long_double_t,
36540 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
36541
36542 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
36543
36544 * benchtests/scripts/compare_strings.py: Avoid display error when
36545 running on a text terminal.
36546
36547 * benchtests/scripts/compare_strings.py (main): Add an
36548 optional -base option.
36549 (process_results): New argument base_func.
36550
36551 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
36552 hardcoding memcpy.
36553 * benchtests/bench-memcpy-large.c (test_name): Likewise.
36554 * benchtests/bench-memcpy-random.c (test_name): Likewise.
36555
36556 2017-08-07 Andreas Schwab <schwab@suse.de>
36557
36558 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
36559 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
36560 * intl/Makefile ($(objpfx)tst-gettext.out)
36561 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
36562 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
36563 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
36564 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
36565 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
36566 * posix/Makefile ($(objpfx)globtest.out)
36567 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
36568 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
36569 ($(objpfx)tst-printf.out): Likewise.
36570 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
36571 ($(objpfx)tst-setcontext3.out): Likewise.
36572
36573 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
36574
36575 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36576 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
36577 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
36578 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
36579 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
36580 and mptan-fma.
36581 (CFLAGS-doasin-fma.c): New.
36582 (CFLAGS-dosincos-fma.c): Likewise.
36583 (CFLAGS-e_asin-fma.c): Likewise.
36584 (CFLAGS-e_atan2-fma.c): Likewise.
36585 (CFLAGS-e_exp-fma.c): Likewise.
36586 (CFLAGS-e_log-fma.c): Likewise.
36587 (CFLAGS-e_pow-fma.c): Likewise.
36588 (CFLAGS-halfulp-fma.c): Likewise.
36589 (CFLAGS-mpa-fma.c): Likewise.
36590 (CFLAGS-mpatan-fma.c): Likewise.
36591 (CFLAGS-mpatan2-fma.c): Likewise.
36592 (CFLAGS-mpexp-fma.c): Likewise.
36593 (CFLAGS-mplog-fma.c): Likewise.
36594 (CFLAGS-mpsqrt-fma.c): Likewise.
36595 (CFLAGS-mptan-fma.c): Likewise.
36596 (CFLAGS-s_atan-fma.c): Likewise.
36597 (CFLAGS-sincos32-fma.c): Likewise.
36598 (CFLAGS-slowexp-fma.c): Likewise.
36599 (CFLAGS-slowpow-fma.c): Likewise.
36600 (CFLAGS-s_sin-fma.c): Likewise.
36601 (CFLAGS-s_tan-fma.c): Likewise.
36602 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
36603 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
36604 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
36605 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
36606 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
36607 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
36608 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
36609 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
36610 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
36611 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
36612 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
36613 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
36614 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
36615 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
36616 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
36617 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
36618 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
36619 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
36620 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
36621 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
36622 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
36623 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
36624 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
36625 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
36626 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36627 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36628 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36629 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
36630 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36631 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36632 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36633
36634 2017-08-04 Joseph Myers <joseph@codesourcery.com>
36635
36636 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
36637 (min_of_type_f): New macro.
36638 (min_of_type_): Likewise.
36639 (min_of_type_l): Likewise.
36640 (min_of_type_f128): Likewise.
36641 (min_of_type): Define using __MATH_TG and taking an expression
36642 argument.
36643 (math_check_force_underflow): Pass expression instead of type to
36644 min_of_type.
36645 (math_check_force_underflow_nonneg): Likewise.
36646
36647 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36648
36649 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
36650 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
36651 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
36652
36653 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36654
36655 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36656 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
36657 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
36658 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
36659 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
36660 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
36661 memcpy_chk-nonshared, mempcpy_chk-nonshared,
36662 memmove_chk-nonshared and memset_chk-nonshared
36663 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
36664 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
36665 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
36666 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
36667 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
36668 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
36669 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
36670 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
36671 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
36672 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
36673 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
36674 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
36675 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
36676 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
36677 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
36678 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
36679 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
36680 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
36681 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
36682 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
36683 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
36684 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
36685 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
36686 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
36687 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
36688 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
36689 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
36690 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
36691 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
36692 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
36693 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
36694 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
36695 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
36696 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
36697 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
36698 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
36699 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
36700 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
36701 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
36702 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
36703 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
36704 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
36705 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
36706 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
36707 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
36708 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
36709 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
36710 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
36711 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
36712 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
36713 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
36714 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
36715 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
36716 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
36717 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
36718 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
36719 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
36720 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
36721 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
36722 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
36723 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
36724 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
36725 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
36726 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
36727 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
36728 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
36729 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
36730 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
36731 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
36732 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
36733 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
36734 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36735 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36736 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36737 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36738 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36739 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36740 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36741 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36742 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36743 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36744 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36745 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36746 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36747 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36748 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36749 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36750 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36751 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36752 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36753 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36754 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36755 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36756 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36757 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36758 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36759 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36760 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36761 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36762 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36763 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36764 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36765 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36766 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36767 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36768 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36769 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36770 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36771
36772 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
36773
36774 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
36775 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
36776 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
36777 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
36778 svml_d_log2_core-sse2, svml_d_log4_core-sse,
36779 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
36780 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
36781 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
36782 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
36783 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
36784 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
36785 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
36786 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
36787 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
36788 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
36789 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
36790 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
36791 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
36792 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
36793 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
36794 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
36795 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
36796 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
36797 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
36798 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
36799 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
36800 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
36801 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
36802 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
36803 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
36804 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
36805 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
36806 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
36807 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
36808 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
36809 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
36810 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
36811 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
36812 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
36813 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
36814 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
36815 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
36816 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
36817 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
36818 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
36819 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
36820 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
36821 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
36822 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
36823 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
36824 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
36825 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
36826 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
36827 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
36828 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
36829 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
36830 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
36831 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
36832 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
36833 ...
36834 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
36835 Don't include <sysdep.h> nor <init-arch.h>.
36836 (_ZGVbN2v_cos): Removed.
36837 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
36838 ...
36839 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
36840 Don't include <sysdep.h> nor <init-arch.h>.
36841 (_ZGVdN4v_cos): Removed.
36842 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
36843 ...
36844 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
36845 Don't include <sysdep.h> nor <init-arch.h>.
36846 (_ZGVeN8v_cos): Removed.
36847 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
36848 ...
36849 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
36850 Don't include <sysdep.h> nor <init-arch.h>.
36851 (_ZGVbN2v_exp): Removed.
36852 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
36853 ...
36854 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
36855 Don't include <sysdep.h> nor <init-arch.h>.
36856 (_ZGVdN4v_exp): Removed.
36857 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
36858 ...
36859 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
36860 Don't include <sysdep.h> nor <init-arch.h>.
36861 (_ZGVeN8v_exp): Removed.
36862 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
36863 ...
36864 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
36865 Don't include <sysdep.h> nor <init-arch.h>.
36866 (_ZGVbN2v_log): Removed.
36867 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
36868 ...
36869 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
36870 Don't include <sysdep.h> nor <init-arch.h>.
36871 (_ZGVdN4v_log): Removed.
36872 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
36873 ...
36874 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
36875 Don't include <sysdep.h> nor <init-arch.h>.
36876 (_ZGVeN8v_log): Removed.
36877 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
36878 ...
36879 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
36880 Don't include <sysdep.h> nor <init-arch.h>.
36881 (_ZGVbN2vv_pow): Removed.
36882 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
36883 ...
36884 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
36885 Don't include <sysdep.h> nor <init-arch.h>.
36886 (_ZGVdN4vv_pow): Removed.
36887 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
36888 ...
36889 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
36890 Don't include <sysdep.h> nor <init-arch.h>.
36891 (_ZGVeN8vv_pow): Removed.
36892 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
36893 ...
36894 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
36895 Don't include <sysdep.h> nor <init-arch.h>.
36896 (_ZGVbN2v_sin): Removed.
36897 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
36898 ...
36899 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
36900 Don't include <sysdep.h> nor <init-arch.h>.
36901 (_ZGVbN4v_sin): Removed.
36902 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
36903 ...
36904 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
36905 Don't include <sysdep.h> nor <init-arch.h>.
36906 (_ZGVbN8v_sin): Removed.
36907 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
36908 ...
36909 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
36910 Don't include <sysdep.h> nor <init-arch.h>.
36911 (_ZGVbN2vvv_sincos): Removed.
36912 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
36913 ...
36914 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
36915 Don't include <sysdep.h> nor <init-arch.h>.
36916 (_ZGVdN4vvv_sincos): Removed.
36917 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
36918 ...
36919 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
36920 Don't include <sysdep.h> nor <init-arch.h>.
36921 (_ZGVeN8vvv_sincos): Removed.
36922 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
36923 ...
36924 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
36925 Don't include <sysdep.h> nor <init-arch.h>.
36926 (_ZGVeN16v_cosf): Removed.
36927 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
36928 ...
36929 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
36930 Don't include <sysdep.h> nor <init-arch.h>.
36931 (_ZGVbN4v_cosf): Removed.
36932 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
36933 ...
36934 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
36935 Don't include <sysdep.h> nor <init-arch.h>.
36936 (_ZGVdN8v_cosf): Removed.
36937 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
36938 ...
36939 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
36940 Don't include <sysdep.h> nor <init-arch.h>.
36941 (_ZGVeN16v_expf): Removed.
36942 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
36943 ...
36944 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
36945 Don't include <sysdep.h> nor <init-arch.h>.
36946 (_ZGVbN4v_expf): Removed.
36947 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
36948 ...
36949 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
36950 Don't include <sysdep.h> nor <init-arch.h>.
36951 (_ZGVdN8v_expf): Removed.
36952 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
36953 ...
36954 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
36955 Don't include <sysdep.h> nor <init-arch.h>.
36956 (_ZGVeN16v_logf): Removed.
36957 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
36958 ...
36959 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
36960 Don't include <sysdep.h> nor <init-arch.h>.
36961 (_ZGVbN4v_logf): Removed.
36962 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
36963 ...
36964 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
36965 Don't include <sysdep.h> nor <init-arch.h>.
36966 (_ZGVdN8v_logf): Removed.
36967 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
36968 ...
36969 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
36970 Don't include <sysdep.h> nor <init-arch.h>.
36971 (_ZGVeN16vv_powf): Removed.
36972 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
36973 ...
36974 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
36975 Don't include <sysdep.h> nor <init-arch.h>.
36976 (_ZGVbN4vv_powf): Removed.
36977 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
36978 ...
36979 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
36980 Don't include <sysdep.h> nor <init-arch.h>.
36981 (_ZGVdN8vv_powf): Removed.
36982 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
36983 ...
36984 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
36985 Don't include <sysdep.h> nor <init-arch.h>.
36986 (_ZGVeN16vvv_sincosf): Removed.
36987 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
36988 ...
36989 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
36990 Don't include <sysdep.h> nor <init-arch.h>.
36991 (_ZGVbN4vvv_sincosf): Removed.
36992 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
36993 ...
36994 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
36995 Don't include <sysdep.h> nor <init-arch.h>.
36996 (_ZGVdN8vvv_sincosf): Removed.
36997 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
36998 ...
36999 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
37000 Don't include <sysdep.h> nor <init-arch.h>.
37001 (_ZGVeN16v_sinf): Removed.
37002 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
37003 ...
37004 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
37005 Don't include <sysdep.h> nor <init-arch.h>.
37006 (_ZGVbN4v_sinf): Removed.
37007 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
37008 ...
37009 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
37010 Don't include <sysdep.h> nor <init-arch.h>.
37011 (_ZGVdN8v_sinf): Removed.
37012
37013 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37014
37015 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37016 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
37017 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
37018 s_rint-sse4_1 and s_rintf-sse4_1.
37019 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
37020 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
37021 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
37022 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
37023 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
37024 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
37025 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
37026 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
37027 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
37028 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
37029 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
37030 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37031 (__ceil): Removed.
37032 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
37033 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
37034 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37035 (__ceilf): Removed.
37036 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
37037 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
37038 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37039 (__floor): Removed.
37040 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
37041 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
37042 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37043 (__floorf): Removed.
37044 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
37045 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
37046 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37047 (__nearbyint): Removed.
37048 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
37049 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
37050 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37051 (__nearbyintf): Removed.
37052 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
37053 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
37054 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37055 (__rint): Removed.
37056 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
37057 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
37058 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37059 (__rintf): Removed.
37060
37061 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37062
37063 * sysdeps/i386/start.S (_start): Check Check PIC instead of
37064 SHARED. Avoid dynamic relocation against main in static PIE.
37065
37066 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37067
37068 [BZ #21815]
37069 * elf/Makefile (CFLAGS-tst-prelink.c): New.
37070 (LDFLAGS-tst-prelink): Likewise.
37071
37072 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37073
37074 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
37075 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
37076 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
37077 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
37078 (INTERNAL_SYSCALL_NCS): Likewise.
37079 (LOADARGS_1): Likewise.
37080 (LOADARGS_5): Likewise.
37081 (RESTOREARGS_1): Likewise.
37082 (RESTOREARGS_5): Likewise.
37083
37084 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37085
37086 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
37087 (MEMPCPY_SYMBOL): Likewise.
37088 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
37089 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
37090 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
37091 in libc.a.
37092 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37093 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
37094 Likewise.
37095 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
37096 (__hidden_ver1): Don't use in libc.a.
37097 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
37098 (__mempcpy): Don't create a weak alias in libc.a.
37099 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
37100 libc.a.
37101 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
37102 (__hidden_ver1): Don't use in libc.a.
37103
37104 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37105
37106 * config.make.in (have-insert): New.
37107 * configure.ac (libc_cv_insert): New. Set to yes if linker
37108 supports INSERT in linker script.
37109 (AC_SUBST(libc_cv_insert): New.
37110 * configure: Regenerated.
37111 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
37112 if $(have-insert) == yes.
37113
37114 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37115
37116 * elf/Makefile (tests): Add vismain only if
37117 $(have-protected-data) == yes.
37118 (tests-pie): Likewise.
37119
37120 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37121
37122 [BZ #21871]
37123 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
37124 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
37125
37126 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37127
37128 [BZ #21790]
37129 * sysdeps/i386/i586/memset.S
37130 (__memset_zero_constant_len_parameter): Removed.
37131 * sysdeps/i386/i686/memset.S
37132 (__memset_zero_constant_len_parameter): Likewise.
37133 * sysdeps/i386/i686/multiarch/memset_chk.S
37134 (__memset_zero_constant_len_parameter): Likewise.
37135 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
37136 Likewise.
37137
37138 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
37139
37140 * stdlib/getentropy.c (getentropy): Change return type to int.
37141
37142 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
37143
37144 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
37145
37146 2017-08-03 Joseph Myers <joseph@codesourcery.com>
37147
37148 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
37149 u_intN_t.
37150 * math/s_nexttowardf.c (__nexttowardf): Likewise.
37151 * sysdeps/generic/math_private.h (ieee_double_shape_type):
37152 Likewise.
37153 (ieee_float_shape_type): Likewise.
37154 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
37155 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
37156 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
37157 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37158 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
37159 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
37160 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
37161 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
37162 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
37163 Likewise.
37164 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
37165 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
37166 (__ieee754_yn): Likewise.
37167 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
37168 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
37169 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
37170 Likewise.
37171 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
37172 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
37173 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
37174 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
37175 (__erfc): Likewise.
37176 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
37177 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
37178 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
37179 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
37180 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
37181 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
37182 Likewise.
37183 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
37184 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
37185 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
37186 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
37187 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
37188 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
37189 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
37190 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
37191 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
37192 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
37193 (__issignaling): Likewise.
37194 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
37195 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
37196 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
37197 Likewise.
37198 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37199 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
37200 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
37201 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
37202 Likewise.
37203 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
37204 Likewise.
37205 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
37206 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
37207 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
37208 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
37209 (__erfcf): Likewise.
37210 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
37211 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
37212 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
37213 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
37214 Likewise.
37215 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
37216 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
37217 Likewise.
37218 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
37219 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
37220 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
37221 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
37222 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
37223 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
37224 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
37225 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
37226 Likewise.
37227 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
37228 Likewise.
37229 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
37230 Likewise.
37231 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
37232 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
37233 Likewise.
37234 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
37235 Likewise.
37236 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
37237 (__ieee754_ynl): Likewise.
37238 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
37239 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
37240 Likewise.
37241 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
37242 Likewise.
37243 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
37244 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
37245 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37246 Likewise.
37247 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
37248 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
37249 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
37250 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
37251 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
37252 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
37253 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
37254 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
37255 Likewise.
37256 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
37257 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
37258 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
37259 Likewise.
37260 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
37261 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
37262 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
37263 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
37264 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
37265 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
37266 Likewise.
37267 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
37268 Likewise.
37269 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37270 Likewise.
37271 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37272 Likewise.
37273 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
37274 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
37275 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37276 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
37277 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
37278 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
37279 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
37280 Likewise.
37281 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
37282 Likewise.
37283 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
37284 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37285 Likewise.
37286 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
37287 (__ieee754_remainderl): Likewise.
37288 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37289 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37290 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
37291 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
37292 Likewise.
37293 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
37294 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37295 Likewise.
37296 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
37297 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
37298 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
37299 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
37300 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
37301 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
37302 Likewise.
37303 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
37304 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
37305 (__ieee754_y0l): Likewise.
37306 (pzero): Likewise.
37307 (qzero): Likewise.
37308 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37309 (__ieee754_y1l): Likewise.
37310 (pone): Likewise.
37311 (qone): Likewise.
37312 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
37313 (__ieee754_ynl): Likewise.
37314 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
37315 (__ieee754_lgammal_r): Likewise.
37316 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
37317 Likewise.
37318 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
37319 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
37320 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
37321 (__erfcl): Likewise.
37322 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
37323 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
37324 Likewise.
37325 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
37326 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
37327 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
37328 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
37329 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
37330 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37331 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37332 Likewise.
37333 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
37334 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
37335 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
37336 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
37337 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37338 Likewise.
37339 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
37340 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
37341 Likewise.
37342 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
37343 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
37344 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
37345 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
37346 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
37347
37348 2017-08-03 Florian Weimer <fweimer@redhat.com>
37349
37350 [BZ #21885]
37351 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
37352 on memory allocation failure.
37353
37354 2017-08-03 Alan Modra <amodra@gmail.com>
37355
37356 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
37357 tst-tlsopt-powerpc.c with function name change and no test harness.
37358 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
37359 Call tls_get_addr_opt_test.
37360 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
37361 (modules-names): Add mod-tlsopt-powerpc.
37362 (mod-tlsopt-powerpc.so-no-z-defs): Define.
37363 (tst-tlsopt-powerpc): Depend on .so.
37364 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
37365 define. Expand use in TLS_GD and TLS_LD.
37366
37367 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37368
37369 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
37370 function.
37371 * sysdeps/posix/shm_open.c: Include <pthread.h>.
37372
37373 2017-08-02 Joseph Myers <joseph@codesourcery.com>
37374
37375 [BZ #21686]
37376 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
37377 comparing size with that of double.
37378 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
37379 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
37380 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
37381 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
37382 (__TGMATH_BINARY_REAL_IMAG): Likewise.
37383 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
37384 unsigned __int128 types.
37385
37386 2017-08-02 Steve Ellcey <sellcey@cavium.com>
37387
37388 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
37389 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
37390 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
37391 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
37392 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
37393
37394 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
37395
37396 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
37397
37398 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
37399
37400 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
37401 of SHARED.
37402 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
37403 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37404 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37405 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37406 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37407 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37408 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37409
37410 2017-08-02 Joseph Myers <joseph@codesourcery.com>
37411
37412 [BZ #21685]
37413 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
37414 bit-field expressions passed to sizeof or typeof.
37415 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
37416 (__TGMATH_F128): Likewise.
37417 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
37418 (__TGMATH_CF128): Likewise.
37419 (__TGMATH_UNARY_REAL_ONLY): Likewise.
37420 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
37421 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
37422 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
37423 (__TGMATH_BINARY_REAL_ONLY): Likewise.
37424 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
37425 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
37426 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
37427 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
37428 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
37429 (__TGMATH_UNARY_REAL_IMAG): Likewise.
37430 (__TGMATH_UNARY_IMAG): Likewise.
37431 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
37432 (__TGMATH_BINARY_REAL_IMAG): Likewise.
37433 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
37434 type.
37435 (define_vars_for_type): Handle bit_field type specially.
37436 (Tests.__init__): Declare structure with bit-field element.
37437
37438 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
37439
37440 [BZ #21791]
37441 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
37442 (MEMCPY_CHK): Define only if SHARED is defined.
37443 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
37444 Likewise.
37445 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
37446 Likewise.
37447
37448 See ChangeLog.18 for earlier changes.